vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   vBulletin 4 Request - need help to exclude a forum id from activity stream (https://vborg.vbsupport.ru/showthread.php?t=323296)

X-or 08-19-2016 08:06 PM

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

MarkFL 08-21-2016 04:33 AM

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. :)

BirdOPrey5 08-21-2016 01:03 PM

It's nn longer on vBulletin.org but there is a free mod here: http://ozzmodz.com/showthread.php/40...ctivity-Stream

Paul M 08-21-2016 02:00 PM

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.

X-or 08-21-2016 11:00 PM

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

Paul M 08-22-2016 02:59 PM

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.

X-or 08-22-2016 07:13 PM

Quote:

Originally Posted by Paul M (Post 2575111)
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.


All times are GMT. The time now is 09:13 AM.

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.01086 seconds
  • Memory Usage 1,725KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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