View Full Version : Default Member Profile Tab
gfran5
12-21-2014, 01:20 PM
I am trying to change the default profile tab from "My Activity" to my custom built tab "My Profile".. i used a plugin as shown in this tutorial (https://vborg.vbsupport.ru/showpost.php?p=2338670&postcount=20).
However when i go to the tab, at first the template does not render, then once i click on another tab and come back to the "my profile tab" everything is then loaded.
Is there something i should as to the PHP tab plugin to make sure the template renders straight away?
In your template at the beginning there's a vb:if:
...<vb:if condition="$selected_tab == 'test'">...
Does whatever you have for 'test' match the blockid of your new tab (assuming that you didn't use 'test' as the id)?
ozzy47
12-21-2014, 02:38 PM
Or try this mod, https://vborg.vbsupport.ru/showthread.php?t=302655
gfran5
12-21-2014, 03:03 PM
That was the issue Kevin, Thanks!
--------------- Added 1419243039 at 1419243039 ---------------
This is off topic, but does anybody know how they did this ?? bodybuilding.com (http://forum.bodybuilding.com/)
--------------- Added 1419244092 at 1419244092 ---------------
Are they using wordpress? or is it something else?
Sorry, the post merging kind of hides follow-up questions. But the page you linked to just looks like customized vbulletin, so I'm not sure what you mean.
HM666
12-24-2014, 11:30 PM
That was the issue Kevin, Thanks!
--------------- Added 1419243039 at 1419243039 ---------------
This is off topic, but does anybody know how they did this ?? bodybuilding.com (http://forum.bodybuilding.com/)
--------------- Added 1419244092 at 1419244092 ---------------
Are they using wordpress? or is it something else?
Its vBulletin 4 with a static stay in place menu. So its just some extra code added into the templates. It looks like they are using a custom menu for the top tabs and left the bottom navbar in place to me. Using a custom menu for the top tabs can look great but can also cause issues when you install a mod that needs to add a tab for an extra page like videos, articles and so on. you would have to add those links/tabs yourself to the code probably unless they have coded it in such a way where even though the menu is custom it accepts any new tabs added from a mod. It looks like they are using the built in sidebar (I think) and just coded it differently as well as the footer. There are endless things that you can do in some of the templates within vBulletin to customize it. :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.