PDA

View Full Version : When going to a profile, change the way you view the page


steveman0018
05-26-2010, 02:56 AM
Hello all,

Ok when i go to someones profile, it goes right to the visitor message. Is there a setting or code to instead of defaulting to that tab, it would default to the about me tab. It looks better seeing there info and if they want to leave a message, they can click the tab to do so. I am running vb 4.0.3

Lynne
05-26-2010, 01:42 PM
This has been posted a few times already.

hook location - member_build_blocks_start
code -
if (!$vbulletin->GPC['tab']) $vbulletin->GPC['tab'] = 'aboutme';

ragtek
05-26-2010, 04:13 PM
i'm using
if (empty($_REQUEST['tab']))
{
$_REQUEST['tab'] = 'xxx'; // change xxx with your tab
} at the hook member_execute_start

but it's the same^^