Activity Stream
48,167 MEMBERS
6969 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 5 of 5
  1.     
    #1
    JGM

    Question Prevent posts from a certain forum from showing up in "New Posts"

    I have Cyb Advanced New Posts installed on my site, now we have a section in which threads/topics which have dead links are put in to. Each one has a reply made by staff so as if the original poster has a subscription to the post then they get notified that the links are dead.

    Now the problem is that this reply stating that the links are dead shows up in the new posts link in the navbar. Is there any way at all to prevent this from happening?

    Forum is running vBulletin v3.8.5

    Thank you.

    JGM.
    JGM Reviewed by JGM on . Prevent posts from a certain forum from showing up in "New Posts" I have Cyb Advanced New Posts installed on my site, now we have a section in which threads/topics which have dead links are put in to. Each one has a reply made by staff so as if the original poster has a subscription to the post then they get notified that the links are dead. Now the problem is that this reply stating that the links are dead shows up in the new posts link in the navbar. Is there any way at all to prevent this from happening? Forum is running vBulletin v3.8.5 Thank Rating: 5

  Sponsored Links

  •     
    #2
    Respected Member
    Website's:
    DL4Everything.com Soft2050.in
    Which vbulletin version?

  •     
    #3
    JGM
    Sorry should have mentioned that, it is v3.8.5 (added to the first post).

    JGM.

  •     
    #4
    Respected Member
    Website's:
    DL4Everything.com Soft2050.in
    May work but untested

    Admin CP > Plugin Manager > Cyb - Advanced 'New Posts' - AE (Hook location: misc_start)

    Open the above file

    In the plugin php code, there would be sql query code, somewhat like this:

    PHP Code: 
    SELECT COUNT(*) AS postspost.threadidthread.forumid
                    FROM 
    " . TABLE_PREFIX . "post
                    LEFT JOIN 
    " . TABLE_PREFIX . "thread AS thread ON (thread.threadid post.threadid)
                    
    WHERE post.visible '1' $cybanp_exclforums AND post.dateline >= " . $db->escape_string($vbulletin->userinfo['lastvisit']) . "
                    
    GROUP BY post.threadid 
    You can amend the above code to your needs, maybe somewhat like this:

    PHP Code: 
    SELECT COUNT(*) AS postspost.threadidthread.forumid
                    FROM 
    " . TABLE_PREFIX . "post
                    LEFT JOIN 
    " . TABLE_PREFIX . "thread AS thread ON (thread.threadid post.threadid)
                    
    WHERE post.visible '1' $cybanp_exclforums AND  post.dateline >= " .  $db->escape_string($vbulletin->userinfo['lastvisit']) . " AND thread.forumid   !=myid
                    GROUP BY post
    .threadid 

  •     
    #5
    JGM
    Thanks I will try it out and see what happens it gets me that vBulletin does not have this feature built unless it is in v4.

    EDIT - Tried the code as is above and it stops the hack from working it won't show any new posts at all.

    JGM.

  • Thread Information

    Users Browsing this Thread

    There are currently 1 users browsing this thread. (0 members and 1 guests)

    Similar Threads

    1. what sites are similar to "reddit" to send posts to?
      By hscorp in forum Webmaster Discussion
      Replies: 0
      Last Post: 24th Sep 2012, 08:03 PM
    2. Replies: 3
      Last Post: 15th Apr 2012, 09:21 PM
    3. New Rule: Using The Word "Scam" In Threads/Posts
      By Jesse in forum News and Announcements
      Replies: 0
      Last Post: 2nd Mar 2012, 01:28 PM
    4. Replies: 3
      Last Post: 15th Jun 2011, 12:15 AM
    5. Replies: 1
      Last Post: 6th Sep 2010, 03:43 PM

    Tags for this Thread

    BE SOCIAL