Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-08-2012, 09:05 AM
Mobo Mobo is offline
 
Join Date: Jan 2004
Location: Colorado
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 08-08-2012, 09:18 AM
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Location: Uk
Posts: 1,191
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 08-08-2012, 09:47 AM
Mobo Mobo is offline
 
Join Date: Jan 2004
Location: Colorado
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 08-09-2012, 05:50 PM
Mobo Mobo is offline
 
Join Date: Jan 2004
Location: Colorado
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Attached Images
File Type: jpg Alltab.jpg (76.0 KB, 0 views)
Reply With Quote
  #5  
Old 08-09-2012, 11:13 PM
Syxguns's Avatar
Syxguns Syxguns is offline
 
Join Date: Jul 2011
Posts: 280
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Attached Images
File Type: jpg activity.jpg (37.8 KB, 0 views)
Reply With Quote
  #6  
Old 08-11-2012, 08:17 AM
Mobo Mobo is offline
 
Join Date: Jan 2004
Location: Colorado
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Syxguns, I'll did into that template and see what I can come up with.
Reply With Quote
  #7  
Old 12-15-2012, 12:54 PM
alfanexus alfanexus is offline
 
Join Date: Dec 2008
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you ever find a solution to remove the all tab?
Reply With Quote
  #8  
Old 01-10-2014, 09:21 AM
iraqiboy90 iraqiboy90 is offline
 
Join Date: Sep 2012
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 01-10-2014, 09:54 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iraqiboy90 View Post
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
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 04:24 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.06577 seconds
  • Memory Usage 2,262KB
  • Queries Executed 14 (?)
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
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (2)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete