vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How do I ... hide posts by a particular user, unless replied to ? (https://vborg.vbsupport.ru/showthread.php?t=121005)

jlthomsen 07-12-2006 11:29 AM

How do I ... hide posts by a particular user, unless replied to ?
 
I'm working on a website that regularly creates new vB threads with a short notifications of new items (using the vB API and posting as a user called "RSS Watchdog"). Should visitors wish to comment on a story on the sites frontpage they get redirected to vBulletins thread for that particular story. That all works as planned.

However, there are a *lot* of new items coming in, which means that a lot of vB threads are created. Users who visit the forum directly should not see these threads on the forum/thread/latestposts listings/etc - unless replies have been posted. The idea being that an item is only interessting to the regular forum users at the moment someone adds their say. After that it's open season, so to speak. The first comment has to come from a user clicking the "add comment" button on the the site that does the aggregation. This will take the user directly to the vB thread created when the item was added to the system.

I tried surrounding the threadbit template with "<if condition="$thread[replycount] > 0 AND $thread[lastposter] <> 'RSS Watchdog'"> ... </if>" but of course that only works for the threadlist. Unfortunately this modification also messes up the pagenav. My current testforum has a few thousand threads and only a few of those have had replies added, so there's now a huge number of empty pages.

Any ideas on how to pull this off ? Or if it's at all possible ?


All times are GMT. The time now is 04:27 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.01360 seconds
  • Memory Usage 1,702KB
  • 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
  • (1)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