![]() |
Possible to let the gallery use a custom vb style ? In this latest photopost pro is it possible if I want the gallery to pick another vb style than then default one? I know it was not possible a year back, but I just want to know if it is possible now. Like if my vBulletin is using style A as default, but I want my photopost gallery to use another Style B, or C. How can I get that done? Thanks in advance.:) |
it is the same the gallery is going to load a users selected style or the forum default if the user uses that. |
Chuck S > yes but I want the gallery to use another style than the one I have set as default in vb admincp settings. |
It might be possible in header-inc.php if you were to set stytleid manually; but you'd have to mess around with it to see what it needed to be "$styleid=7;" might not be enough. |
This should work make sure to change 8 in the bold code below added in header-inc.php where noted to the numeric styleid you wish on the gallery Code: Content visible to verified customers only. |
That is how that part of my header-inc.php is after I edited it reading your reply. Code: Content visible to verified customers only.but Main Index - Pakistani Pictures is still loading the vb default style which is PakMusic - The Pure Pakistani Forums | Pakistani Music Movies Dramas Desi Forums - Powered by vBulletin what have I done wrong. |
The code I noted only applies if there is not a cookie styleid Have you cleared cookies and tried? Not that I have really tried this personally only that I know when a user switches styles in vb a style cookie is created therefore if a style cookie does not exist the code I posted should set one. I would thus suspect you have a cookie set in your browser. |
Well I cleared cookies in firefox and tried, but the gallery link does not load the style id I defined in the header php file |
Okay well as stated these are just ideas and removing the conditional would work but again my idea wont work because it would also set the forum style to that one as well |
| All times are GMT -5. The time now is 06:40 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0