View Full Version : How to make the photpost use another vbulletin than the default one
July 30th, 2007, 03:00 PM
OK here is my question.
photopost is located here at http://www.pakstop.com/pictures/ and my vbulletin forums are here http://www.pakstop.com/pmforums
the photopost is integrated with my vbulletin, vbadvanced.
Now my question is following.
What if i want the photopost to use another vb style than the default one. How is that done? Which files should i edit.
July 30th, 2007, 03:10 PM
We pul the user style but you can try hacking your header-inc.php file
October 26th, 2007, 01:39 PM
Can you provide some more info on how the header-inc.php file chooses the vBulletin default style? I'm trying to switch it to use another vBulletin style, as well, but I can't figure out how header-inc.php is selecting the default style.
October 26th, 2007, 02:23 PM
Oh we dont choose what style there is. It is always the users style choose in vb because we load the vb header. So essentially everything is handled by vb.
October 29th, 2007, 12:30 PM
Thanks for the response. In vBulletin, though, you can create multiple styles, but there's always a "default" style. So I guess that short of changing the default style, there's no way currently to make Photopost pick up and use the vBulletin header from a different style? There's no way to say, "hey users should use this vBulletin style, instead of the default"?
October 29th, 2007, 01:05 PM
Well I do beleive the way vbulletin achieves this is a category override which is much the same we do it in our standalone however given the integration we are limited by what can do here. vb passes I think a styleid=6 etc whatever on the end of a url to override a style. So you can try placing a hard coded variable in the header-inc.php like
or you can edit all urls in our program to place a styleid on the urls to set the gallery to some default style. This obviously is outside the normal parameters of the software so take care in any editing you do.
October 31st, 2007, 11:08 AM
Thanks for the help - I found another thread (http://www.photopost.com/forum/showthread.php?t=121397&highlight=ads) where you showed someone else how to create a duplicate template for navbar in vB, and then use update the header-inc.php Photopost file and point it to the new navbar2. Works perfectly for me, thanks.
October 31st, 2007, 11:12 AM
Okay not generally what we where talking about here but glad to help.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.