PDA

View Full Version : How to disable certain member's new posts amount counting into the "Show New Posts"?


imprezion
12-02-2007, 01:50 AM
In the Welcome Block Options, there is a "Show New Posts" displaying the number of new posts since a user's last visit, along with a link to the posts.

How to disable certain member's new posts going into the "Show New Posts"?

let say, Member A launched 10 threads/posts, but this does not increase the "Show New Posts" counts, and not displaying the 10 links to the threads/posts.


i know this is tricky, but I really can't figure out what I can change in order to do that.

thanks a lot!

Kev

Brian
12-02-2007, 01:14 PM
If you look in your modules/welcomeblock.php file for this code:
WHERE dateline >= " . $vbulletin->userinfo['lastvisit'] .

And replace with something like this:
WHERE post.userid NOT IN(X, Y, Z) AND dateline >= " . $vbulletin->userinfo['lastvisit'] .

Replace the X, Y, Z there with the userids that you wish to exclude, and that should do the trick.

Our Sponsors
 

imprezion
12-03-2007, 04:16 PM
Thanks Brain,

now, how to make a member's new posts not showing as new posts when anyone click the "New Posts" in the Usercp or do a "Search Posts/Forum"?

Brian
12-04-2007, 01:17 PM
Not sure about that one off the top of my head. That really doesn't have anything to do with the CMPS, but you might be able to find something on vbulletin.org.