Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-19-2016, 08:06 PM
X-or X-or is offline
 
Join Date: Nov 2005
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default vBulletin 4 Request - need help to exclude a forum id from activity stream

There was a plugin workaround posted on vb.com forums years ago, but it appears to be inoperative on latest vb4.

http://www.vbulletin.com/forum/forum...ream-excluding

Anybody know how to fix such a plugin? Thanks
Reply With Quote
  #2  
Old 08-21-2016, 04:33 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The best suggestion I could find is here:

Exclude specific users/usergroups or forum sections from activity stream?

Pay particular attention to posts #4 and #15 by Lynne.

Because there appear to be no relevant plugin hooks and query strings, this will unfortunately require core file hacks.

You could wrap the relevant activity stream templates in conditionals, but I suspect that may throw off the displayed number of elements grabbed via the "More Activity" link. I think the best solution is to alter the query as Lynne suggests rather than hide posts after they have been retrieved from the db.
Reply With Quote
Благодарность от:
X-or
  #3  
Old 08-21-2016, 01:03 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's nn longer on vBulletin.org but there is a free mod here: http://ozzmodz.com/showthread.php/40...ctivity-Stream
Reply With Quote
2 благодарности(ей) от:
MarkFL, RichieBoy67
  #4  
Old 08-21-2016, 02:00 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Most queries in vB4 have hooks associated with them.

If these dont, I suggest adding a hook request to Jira.
While 4.2.4 & 4.2.5 are still in Beta/Alpha, simple requests like that I can generally accomodate.
Reply With Quote
Благодарность от:
MarkFL
  #5  
Old 08-21-2016, 11:00 PM
X-or X-or is offline
 
Join Date: Nov 2005
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the replies

@ MarkFL
I might try that as a last resort, none of my core files are edited and I would hate starting on that road

@BirdOPrey5
I have tried that mod and it doesn't work on latest vb

@Paul M
AFAIK hooks were requested and added for this
postdata_presave & threaddata_presave
but the plugins just don't work anymore for some reason, possibly broken after an update

http://www.vbulletin.com/forum/forum...ream-excluding
Reply With Quote
  #6  
Old 08-22-2016, 02:59 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nothing has changed as far as those hooks are concerned, bear in mind they will only stop new posts/threads goin in the stream list, they wont have any effect on whats already there, nor will it have any effect on the queries mentioned in that other thread.
Reply With Quote
Благодарность от:
MarkFL
  #7  
Old 08-22-2016, 07:13 PM
X-or X-or is offline
 
Join Date: Nov 2005
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
Nothing has changed as far as those hooks are concerned, bear in mind they will only stop new posts/threads goin in the stream list, they wont have any effect on whats already there, nor will it have any effect on the queries mentioned in that other thread.
Thank you, I figured that out, yet, for some reason neither the plugins suggested on vb.com nor ooz mod (which basically uses these plugins and hooks) could prevent new posts & threads from being added to the activity stream. Either they were never functional or they were broken by some change in the activity stream scripts. They were posted over four years ago after all.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:16 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05108 seconds
  • Memory Usage 2,233KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (5)post_thanks_box_bit
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete