Quote:
Originally Posted by ozzy47
To set a different tab as default, use this mod, [ozzy47] Default Profile Tab
To remove the Activity tab in the profiles, open the template MEMBERINFO, and find the following code:
Code:
<vb:if condition="$blocks[activitystream]"><dd<vb:if condition="$selected_tab == 'activitystream' OR $selected_tab == ''"> class="userprof_module" <vb:else /> class="userprof_moduleinactive" </vb:if>><a id="activitystream-tab" href="{vb:link member, {vb:raw userinfo}, "tab=activitystream"}#activitystream" onclick="return tabViewPicker(this);">{vb:raw activity_phrase}</a></dd></vb:if>
And change it to this:
Code:
<vb:comment><vb:if condition="$blocks[activitystream]"><dd<vb:if condition="$selected_tab == 'activitystream' OR $selected_tab == ''"> class="userprof_module" <vb:else /> class="userprof_moduleinactive" </vb:if>><a id="activitystream-tab" href="{vb:link member, {vb:raw userinfo}, "tab=activitystream"}#activitystream" onclick="return tabViewPicker(this);">{vb:raw activity_phrase}</a></dd></vb:if></vb:comment>
|
Thank you ozzy47!! This code removed the activity stream from user profiles entirely and your plug-in allowed me to set the default tab to About Me. Perfect!
Thanks again,
clubkeeper