PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Possible to let the gallery use a custom vb style ? (http://www.photopost.com/forum/photopost-pro-how-do-i/140220-possible-let-gallery-use-custom-vbulletin-style.html)

ggnetworks June 3rd, 2009 10:20 PM

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.:)

Chuck S June 4th, 2009 10:17 AM

it is the same the gallery is going to load a users selected style or the forum default if the user uses that.

ggnetworks June 4th, 2009 05:38 PM

Chuck S > yes but I want the gallery to use another style than the one I have set as default in vb admincp settings.

Michael P June 4th, 2009 07:32 PM

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.

Chuck S June 5th, 2009 07:45 AM

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.

ggnetworks June 5th, 2009 08:02 AM

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.
Where 169 is my styleID.

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.

Chuck S June 5th, 2009 02:09 PM

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.

ggnetworks June 5th, 2009 04:30 PM

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

Chuck S June 5th, 2009 08:02 PM

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97