Apparently, the below code which was unnecessary if I put in the other code in my previous post solved the problem.
Quote:
Originally Posted by ffaat
I fixed the lack of tab styling in the user profile by the following (the classes needed updating):
Edit YAAS - Profile Tab to be:
PHP Code:
if ($selected_tab == 'myawards') { $template_hook['profile_tabs_last'] .= '<dd class="userprof_module"><a id="myawards-tab" href="'.$vbulletin->input->fetch_relpath().'#myawards" onclick="return tabViewPicker(this);">Awards</a></dd>'; } else { $template_hook['profile_tabs_last'] .= '<dd class="userprof_moduleinactive"><a id=" myawards-tab" href="'.$vbulletin->input->fetch_relpath().'#myawards" onclick="return tabViewPicker(this);">Awards</a></dd>'; }
But I also still have a ghost award tab down at the bottom with a link of &tab=myawards#myawards
Could this be a remnant from upgrading from version 3 that didn't get cleaned out?
-Rob A>
|
So no more additional help needed about the tab situation.