vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Hiding posts by a certain user on the front page (https://vborg.vbsupport.ru/showthread.php?t=137329)

vsforums 01-23-2007 04:49 PM

Hiding posts by a certain user on the front page
 
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.


All times are GMT. The time now is 03:52 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01120 seconds
  • Memory Usage 1,710KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete