vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to remove "All" activity stream from user profile tab? (https://vborg.vbsupport.ru/showthread.php?t=286446)

Mobo 08-08-2012 09:05 AM

How to remove "All" activity stream from user profile tab?
 
Does anyone know how I'd go about removing the All activity tab on a user's profile tab? I can't understand why under a user's activity page, the default display would be to display the entire forums activity and not only that user's activity.

If there is not a way to remove it, how about changing the default display to the user's activity sub tab, similar to what this little mod does?

ProFifaLeagues 08-08-2012 09:18 AM

https://vborg.vbsupport.ru/showthrea...light=activity
https://vborg.vbsupport.ru/showthrea...light=activity


Not sure they may be helpful for now

Or maybe this info will help but I have not tried it
https://vborg.vbsupport.ru/showthread.php?t=283761

Mobo 08-08-2012 09:47 AM

Thanks ProFifaLeagues, but those are not quite what I'm looking for. I'm actually beginning to think that there is something odd with my site as it does not act like the vB.com site does on the page in question.

Mobo 08-09-2012 05:50 PM

1 Attachment(s)
Okay, apparently, the All tab under a user's profile shows all of the activity by the user or his friends.

So, I guess I either want to remove the all tab still or just change the default displayed tab to the user's actual activity tab.

Here is a screen shot of the tab I'm talking about:

Syxguns 08-09-2012 11:13 PM

1 Attachment(s)
I just removed the code for the activity tab, so that there is not a tab at all for activity. I also removed the Activity from the tab menu. I tried commenting out the script, but that didn't work for some reason. Then I just removed all the script and the Activity Stream in the User Profile was gone! They should have set the option for that feature to be turned on or off. I have DBTech Forum Live Feed, so I didn't and don't want the Activity Stream.

You have to remove all code from memberinfo_block_activity if you do not want the Activity Stream.

Mobo 08-11-2012 08:17 AM

Thanks Syxguns, I'll did into that template and see what I can come up with.

alfanexus 12-15-2012 12:54 PM

Did you ever find a solution to remove the all tab?

iraqiboy90 01-10-2014 09:21 AM

After careful reading on the php code at member.php, I found something...
I know this is a year old thread, but, here is another solution than to remove the "All" tab:

Add new plugin

Product: vBulletin
Hook Location: member_execute_start
Title: anything...
Execution Order:
Plugin PHP Code: $_REQUEST['type'] = 'user';

This will make the user subtab on the activity stream to be the default to be shown.

ozzy47 01-10-2014 09:54 AM

Quote:

Originally Posted by iraqiboy90 (Post 2473407)
After careful reading on the php code at member.php, I found something...
I know this is a year old thread, but, here is another solution than to remove the "All" tab:

Add new plugin

Product: vBulletin
Hook Location: member_execute_start
Title: anything...
Execution Order:
Plugin PHP Code: $_REQUEST['type'] = 'user';

This will make the user subtab on the activity stream to be the default to be shown.

You could just use this mod to set a default profile tab, https://vborg.vbsupport.ru/showthread.php?t=302655


All times are GMT. The time now is 07:08 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.00987 seconds
  • Memory Usage 1,726KB
  • 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
  • (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