The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi there
I want to write a page that changes the template a user is using, and then redirects them to another url (outside of vbulletin) but in the same domain so that when they return to vbulletin they get the new template. I thought I could do this on a php page - just change the template setting and then redirect their browser. But I can't figure out how or where the template setting for a user is stored. I see that there is a cookie called 'bbstyleid' which has the template's style id. And in the database there is a field in the 'user' table which is 'styleid'. And also there is another table called 'session' which has a field named 'styleid'. I have tried to modify the fields in the tables but they don't seem to take effect. And I have also tried changing the cookie value using Code:
setcookie("bbstyleid", "12345"); Does anyone have a suggestion? ![]() Plus |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|