The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How can I make "Statistics" the default tab?
When someone opens the profile page (like /member.php?u=1) the current default tab displayed is "Visitor Messages".
Is it possible to change it so the default tab shown will be "Statistics"? Thanks for your help, James |
#2
|
||||
|
||||
Use this mod. https://vborg.vbsupport.ru/showthread.php?t=302655
|
#3
|
||||
|
||||
That one is for vb4, use this one, https://vborg.vbsupport.ru/showthread.php?t=269702
|
#4
|
||||
|
||||
Yep, did not see it was vB3, stupid phone.
|
#5
|
||||
|
||||
It happens a lot here lol
|
#6
|
|||
|
|||
Can I change something here?
Code:
vBulletin.register_control("vB_TabCtrl", "profile_tabs", "$selected_tab", "»", "profile.php?u=2&do=loadtab&tabid={1:tabid}"); |
#7
|
||||
|
||||
Just above the code you posted, you will see:
Code:
$blocks[visitor_messaging] $blocks[aboutme] $blocks[stats] $blocks[friends] $blocks[infractions] $blocks[contactinfo] |
#8
|
|||
|
|||
Rearranging them doesn't seem to change the display order.
Thanks for your help, James |
#9
|
||||
|
||||
I have no problem with rearranging them on my site.
MEMBERINFO template: Code:
<div id="profile_tabs"> $template_hook[profile_left_first] $blocks[friends] $blocks[visitor_messaging] $blocks[aboutme] $blocks[stats] $blocks[infractions] $blocks[contactinfo] $template_hook[profile_left_last] </div> Doing so renders... In this example I have $blocks[aboutme] as first tab. Doing so renders... This is style specific. |
#10
|
|||
|
|||
You are correct. it was my mistake. i was looking at the wrong theme when I was testing.
Thanks again for all your help. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|