PDA

View Full Version : Set styleid in custom pages - cookie?


Ronny
07-20-2007, 03:41 AM
I've a question about the vBulletin template system, styles and custom pages. Right now i'm settin the style for any of my custom pages with myphpfile.php?styleid=1 (2, 3, ...). For this to work i have to activate the style dropdown box for all users in the admincp.

There must be a way to set the style i wanna use on any custom page inside my php code before or after i include the vBulletin global.php - like a function call with the style id or something else. I didn't found anything yet that could me lead to this. I can set different styles for any forum but i am unable to find any code in the default vBulletin php files about setting styleid or something like that nor any function.

Thanks :)

Ronny
07-23-2007, 05:41 PM
I think i have to set the style cookie for the user on pageload ... ill try it sometimes, thanks anyways :)