vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Activity stream (https://vborg.vbsupport.ru/showthread.php?t=283483)

GKPet 05-26-2012 12:56 PM

Activity stream
 
How do I prevent it from capturing activity from particular areas or disable it altogether?

dacho 05-26-2012 02:14 PM

I guess it shows according to user permissions

Lynne 05-26-2012 02:30 PM

It does show based on the user's permissions.

I wrote this over on vb.com on how to edit it to not show certain forums:

Quote:

Currently, in vb/activitiystream/view/perm/forum/post.php and thread.php, add this to the query:

PHP Code:

                    AND
                
t.forumid NOT IN (2

change 2 to whatever forum you like or add several like:
PHP Code:

                    AND
                
t.forumid NOT IN (2,4,6,8



Boofo 05-26-2012 02:55 PM

They don't have any hooks to add to those queries?

Lynne 05-26-2012 03:07 PM

Nope

Boofo 05-26-2012 03:15 PM

Take care of them adding that for me then would you, dear? ;)

GKPet 05-26-2012 04:10 PM

when I say particular areas, I also mean areas like visitor profile, etc..

Lynne 05-26-2012 06:06 PM

I gave you an example of what you need to do. That example excludes certain forums from showing. If you want to do other areas, then you would do something similar in the other files.

And just for you boofo, dear - http://tracker.vbulletin.com/browse/VBIV-15186

Boofo 05-26-2012 06:20 PM

Excellent! Thank you, young lady. ;)

You have been added to the "$5 or more for gift' on my Christmas card list. ;)


All times are GMT. The time now is 11:34 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.01045 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
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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