Luc thanks for your response! But, I don't use any plugins for tab changing and I can't find $bbuserinfo[styleid] in template. I'm still think that problem in bug in vbGallery.
Chuck, I can't give you access to my site for your assist, but i can give you very simple instructions for bug reproducing in your lab.
Needed:
vbGallery 2.4.3
vBulletin 3.7.4
"Default Style" - everybody who have Vbulletin also have Default Style.
In my examle vbGallery placed in forum folder (/forum/gallery)
1. Add new style:
Styles & Templates ->
Style Manager -> [Add New Style]. Set the following settings for that style:
Parent Style: Default Style
Title: GALLERY_DEFAULT_STYLE
Allow User Selection: No
Display Order: 1
2. Change GALLERY_DEFAULT_STYLE. Just add to
header one line:
Code:
Content visible to verified customers only.
before:
Code:
Content visible to verified customers only.
3. Set "Default Style" as default style to forum.
vBulletin Options ->
Style and Language Settings 1.JPG
4. Set "GALLERY_DEFAULT_STYLE" as defaut style for vbGallery.
vBGallery ->
Modify Settings 2.JPG
5. Check that all works fine.
http://localhost/forum/ (you will see "Default Style")
http://localhost/forum/gallery (you will see "GALLERY_DEFAULT_STYLE")
6. LOGOUT
7. Check it again
http://localhost/forum/ (you will see "Default Style")
http://localhost/forum/gallery (you will see "Default Style")