Quote:
Originally Posted by Dismounted
You must write to the database to change the Style ID for the user, and this cannot be done in JS. (The data manager call writes to the database.) You may be able to piggyback on profile.php's action, but I haven't looked into that myself.
|
When you look on vb.org QSF, it transacting with misc.php, save the setting in the users profile and get you back to the page you were on. Is that what you mean by piggyback?
My php knowledge is pretty limited, I'm was not able so far to create a condition to switch user's theme if they are guests. I don't know what is the processing behind it (?styleid=x?).
And I don't know how to make the query to land back the user to the same page he was browsing before.
any more suggestions?
thanks