vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Visitor Message Default Profile Tab Issue (https://vborg.vbsupport.ru/showthread.php?t=309132)

Xen Chaotik 03-03-2014 07:42 PM

Visitor Message Default Profile Tab Issue
 
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

Code:

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

hook - member_build_block_start

and

Code:

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

Quote:

Originally Posted by ozzy47 (Post 2484836)

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

Quote:

Originally Posted by ozzy47 (Post 2484862)
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

Quote:

Originally Posted by ozzy47 (Post 2484870)
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

Quote:

Originally Posted by ozzy47 (Post 2485062)
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.


All times are GMT. The time now is 05:29 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01191 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete