PDA

View Full Version : Visitor Message Default Profile Tab Issue


Xen Chaotik
03-03-2014, 07:42 PM
Okay, so I have used a couple of different methods with this in the Plugin Manager. Both codes work on most profiles, but there always seem to be some members that experience their profile tabs being Mentions, Quotes, and others for example when I have these plugins active.

First plugin code is

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

hook - member_build_block_start

and

if (!$selected_tab)
{
$selected_tab = 'visitor_messaging';
}

hook - member_complete

I have tried both at the same time and one at a time, but there always seems to be an issue of it not working on all profiles. Any help is much appreciated.

ozzy47
03-03-2014, 09:09 PM
Try this mod, https://vborg.vbsupport.ru/showthread.php?t=302655

Xen Chaotik
03-03-2014, 10:23 PM
Try this mod, https://vborg.vbsupport.ru/showthread.php?t=302655

I installed your mod, which I like by the way. However, I am still having this issue of where certain members are having different default tabs.

:' [

ozzy47
03-03-2014, 10:43 PM
Is there any pattern to the users experiencing that?

Xen Chaotik
03-03-2014, 11:13 PM
Is there any pattern to the users experiencing that?

It appears at random from what I can see. I can't really see any similarities between the account settings or such.

ozzy47
03-03-2014, 11:15 PM
Hmmm, is the same user able to reproduce the issue all the time, or is that random also?

Xen Chaotik
03-04-2014, 04:32 PM
Hmmm, is the same user able to reproduce the issue all the time, or is that random also?

It appears to be constant. For example, I have one member who always goes to quotes, and another that always goes to mentions (DBtech User tagging mod).

ozzy47
03-04-2014, 04:37 PM
Ok so to be clear, it is when you go to these users profiles, it defaults to the wrong tab, or when those users go to someone's profile?

Xen Chaotik
03-04-2014, 07:21 PM
Ok so to be clear, it is when you go to these users profiles, it defaults to the wrong tab, or when those users go to someone's profile?

It defaults to the wrong tab.

ozzy47
03-04-2014, 07:31 PM
OK, if you want, PM me a admin account, and the link to the two users profiles that reproduce this and I will see if I can figure out what is going on.