PDA

View Full Version : Hiding posts by a certain user on the front page


vsforums
01-23-2007, 04:49 PM
I've written an application that parses an XML feed of sports information and then posts stories that it finds to specific forums on a site as a specific user (sorry, can't provide the code). Now, I've been asked to make sure that any posts by this user do not show up as new posts on the front page of the site. Go to www.basketballforum.com to see what I'm talking about.

I've been digging around both in the templates and the underlying code and haven't been able to isolate a function that lets me say "show me all the posts EXCEPT ones by a specific user".

If someone could point me in the right direction, I'd greatly appreciate it.

ericgtr
01-23-2007, 05:53 PM
I am not sure how this will work in your custom script but Tachy Goes to Coventry designed to hide posts from a specific user from the normal forums by adding that user to everyone's Ignore list. You can find this in vBulletin Options > Banning Options (at the bottom).

vsforums
01-23-2007, 06:30 PM
Ahhh...now I see that I can probably create a plugin to dynamically add someone to the $vbulletin->options['globalignore'] variable when the front page is being displayed. Thanks for pointing me in the right direction.