![]() |
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 |
Use this mod. https://vborg.vbsupport.ru/showthread.php?t=302655
|
That one is for vb4, use this one, https://vborg.vbsupport.ru/showthread.php?t=269702
|
Yep, did not see it was vB3, stupid phone. :p
|
It happens a lot here lol
|
Can I change something here?
Code:
vBulletin.register_control("vB_TabCtrl", "profile_tabs", "$selected_tab", "»", "profile.php?u=2&do=loadtab&tabid={1:tabid}"); |
Just above the code you posted, you will see:
Code:
$blocks[visitor_messaging] |
Rearranging them doesn't seem to change the display order. :confused:
Thanks for your help, James |
I have no problem with rearranging them on my site.
MEMBERINFO template: Code:
<div id="profile_tabs"> Doing so renders... http://northamericancarclub.com/imag...e7caac9b8e.png In this example I have $blocks[aboutme] as first tab. Doing so renders... http://northamericancarclub.com/imag...e7caae49fb.png This is style specific. |
You are correct. it was my mistake. i was looking at the wrong theme when I was testing.
Thanks again for all your help. |
Not a problem, glad I could help out another vb3 board owner.
|
I know it's off topic for this thread, but do you know where the code for $pagenav is created?
|
Yes sir, in your acp/styles and templates/search in templates, select template, search for: pagenav, titles only.
You will see the Page Navigation Templates. |
Thanks blind-eddie.
I'm actually looking for the underlying PHP code, because when I see 1000+ results the $pagnav vatriable displays too many results and it breaks my mobile design. Maybe I can fix it in the template if I work to understand the results, but I'm guessing I may need to edit the PHP file to return fewer page choices when there are too many pages. |
This info by BOP5 (Joe) also indicates how to change the default tab - https://vborg.vbsupport.ru/showthrea...72#post2333472
|
All times are GMT. The time now is 11:00 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|