View Single Post
Old November 14th, 2008, 09:39 AM   #7 (permalink)
Luciano
Moderator
Verified Customer
 
Join Date: Aug 2005
Posts: 1,231
Well I think I know what the problem is..
it comes from your style.. I had a similar problem once.. it was a different style but I think the same problem.

by the screenshots I assume it is a complex style that uses tabs..
the tabchange can be done done with a plugin or by css in the template..
(i dont know how yours is done) (mine used both)

the problem is that the style uses in the code: $vbulletin->userinfo['styleid] in the code and $bbuserinfo[styleid] in the template...

For registered users this is no problem.. but for guests its not working.. because it always uses the forums styleid.

at the time i fixed that by replacing $vbulletin->userinfo['styleid] by STYLEID in the plugin and $bbuserinfo[styleid] with $styleid in headinclude template.. that worked..

If it only uses plugin.. it could also be that your style plugin in fetch_style is executed before the plugin that sets the style for vbgallery.. in that case (if the style only uses plugin and does not load a different styledependant css) your special style with tab is set BEFORE the style is defined for vbgallery. In that case you will have to change the execution order of the style plugin: try 100 so it will be executed after the style is defined in the vbgallery plugin. (the vbgallery plugin has execution order 5 the cmps one has 3 --- maybe you would have to change the cmps plugin order also..)


Maybe those ideas help.

Luc

Last edited by Luciano; November 14th, 2008 at 09:53 AM.
Luciano is offline   Reply With Quote