Quote:
Originally Posted by JonZ
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?
|
The one used here uses a custom plugin attached to misc.php to run the code to change a user's style (similar to the one you posted).
Quote:
Originally Posted by JonZ
And I don't know how to make the query to land back the user to the same page he was browsing before.
|
Use the referrer.
Quote:
Originally Posted by JonZ
The reason why I am doing it outside of plugin mode or template for vB is I am doing this for outside vB, like portals. If I have to do your if code, I will have to do a pluggin to support the new chooser outside vB.
|
If you're creating a portal, aren't you include global.php or the like (to get user info and security tokens)?