Quote from: sottwell at Feb 01, 2008, 10:12 AM
This really needs a serious update incorporating quite a number of bug fixes that can be found by going through the forum posts.
That’s a great idea Susan and I think Shawn W. did a temporary update patch incorporating all the bug fixes we had listed throughout the forum, but he removed it due to some quirky behavior I think. I tried replacing all the REDIRECT_REFRESH’s with REDIRECT_HEADER’s and: the problem is still there (it refreshes the page and show the default RegSuccessTpl and THEN it goes to RegSuccessID! I don’t know why its not immediately redirecting to the right page. Anyway....
*UPDATE/Partial Fix*: I gave up trying to fix the REDIRECT issue, so I just decided to change what the user sees in the interrim. (The solution might be worthwhile even if you’ve managed to fix the problem):
The snippet calls for
$displayRegSuccessTpl = isset($registerSuccessTpl) ? $wlpe->Template($registerSuccessTpl) : $wlpeDefaultFormTpl;
So I created a chunk called: "registerSuccessTpl" which simply said : "CREATING ACCOUNT" and it had an AJAX loader underneath it to make it seem like the website was "working".
In the actual WebLoginPE call, I just added the parameter: "®isterSuccessTpl=`registerSuccessTpl`".
[just like styling any other template] . And so, I couldn’t get rid of the interim screen, but if you try to register, at least you get a cool "creating account" screen for a second. This is a stupid and unsustainable fix, but at least it’s not ugly anymore.
Lo and behold, WShawn come up with the same solution to this problem here:
http://modxcms.com/forums/index.php/topic,20330.0.html
*UPDATE #2* - "Register" is not working in IE....just keeps kicking me back to the RegisterTpl, doesn’t go to RegSuccessID. I am frustrated, annoyed and I am moving on to do other things. (Apparently has nothing to do with REDIRECT_REFRESH, either)
Scotty, I’ll PAY YA man, just get over here and fix this thing when you get some time!! Thanks for your hard work!