The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
that ?styleid query is captured somewhere in the requested files, I have no idea which one is treating the '?styleid' since there's so many things happening in global.php. It would be logical to think it somewhere in global.php since it requested in all files, but by my experiments, it may not be in this file. If I can identify where the query is treated I could extract the formula where the theme change and refresh in the browser.
Meanwhile, I found an exchange solution for my redirect URL problem. In my form I replaced the "s" value: HTML Code:
<input type="hidden" name="s" value="index.php" />
in myprofile.php, I replaced the exec_header_redirect(); with this: PHP Code:
I'm going to re-edit my original code on post #1 on this effect. |
#22
|
|||
|
|||
AH yes...I did the redirect by changing the redirect line to this:
Code:
exec_header_redirect($_SERVER['HTTP_REFERER']); If anybody knows how to pull the URL out of this please let me know. |
#23
|
|||
|
|||
Quote:
Anyway I tried that already by the suggestion of Dismounted. Unfortunately, my server block this HTTP_REFERER requests and it not reliable on some browsers (IE from what I've read). Hence the workaround I've found on post #21. |
#24
|
||||
|
||||
Quote:
Whatever you do, don't use s. It is used by vBulletin to determine a user's session hash (if cookies are disabled). |
#25
|
|||
|
|||
|
#26
|
|||
|
|||
An old thread...but...does anyone know what changes would have to be made to myprofile.php to get this to work in vB4? Got the template side done but the form just reloads index.php.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|