Back to vBulletin 4.x Add-ons

Innovative Default Profile Tab
Mod Version: 1.0, by TheLastSuperman

vB Version: 4.2.x Rating: (1 vote - 4.00 average) Installs: 20
Released: 19 Mar 2015 Last Update: 19 Mar 2015 Downloads: 69
Supported Uses Plugins Re-usable Code Translations  

This modification allows the administrator to specify the default profile tab, so in other words when you visit a members profile page the tab you specify shows. Its very similar in nature to the recently removed mod "[OzzModz] Default Profile Tab" and can be used as a replacement.

- Ability to enable/disable the modification.
- Ability to set default tab as any of the following:
-- Use Custom Tab Name
-- Visitor Messages
-- My Activity
-- About Me
-- Friends
-- Blog

More importantly is the latter i.e. if you've installed a mod that added a profile tab, you can enter in the name of the custom tab to show as the default - this way when a user visits a member profile on your site the custom tab and its contents are shown instead of visitor messaging (in newer versions of 4.x "My Activity" tab is shown i.e. Activity Stream content.

Very basic mod, screenshots provided.
To access settings: AdminCP > Settings > Options > Innovative Default Profile Tab

Credits: I stumbled across a post by a member on vbulletin.com which linked to a post by BOP5

Spoiler (click to open)


Log into the Admin CP.

On the side menu expand "Products & Plugins"

Click on "Plugin Manager"

At the very bottom there is a link to "Add New Plugin"

On that page put in the following information-

Product: vBulletin (this should be default)
Title: Tab Fix
Hook: member_build_blocks_start (from a drop-down list)
Execution Order: 5 (default value)

To make Visitor Messaging the default past this into the PHP Code box:

PHP Code:
if (!$vbulletin->GPC_exists['tab'])
{
    
$vbulletin->GPC['tab'] = 'visitor_messaging';


Or to make About Me as the default paste in this instead:

PHP Code:
if (!$vbulletin->GPC_exists['tab'])
{
    
$vbulletin->GPC['tab'] = 'aboutme';

Save the plugin and you should be done- go to a profile page to test.

Close
although I remember seeing Andreas also post similar code if I'm not mistaken SO with that being said credit is to either of them!

Tips: This mod only allows you to choose which tab should show by default - If you like the custom tab shown in the screenshot, you can code one too and include your own content by following info in this article by Cellarius to make a profile tab.

Download

File Type: %1$s product-innovative_default_profile_tab.xml (4.0 KB, 69 downloads)

Screenshots

Click image for larger version
Name:	idpt_settings.png
Views:	153
Size:	34.4 KB
ID:	152101   Click image for larger version
Name:	idpt_profile.png
Views:	289
Size:	37.1 KB
ID:	152102  

Similar Mods

Profile Enhancements Default Profile Pic vBulletin 3.7 Add-ons
Default profile pic/ Show user's profile pic anywhere vBulletin 3.5 Add-ons

vblts.ru supports vBulletin®, 2022-2024