If I were to handle member template variables in that spot (which I haven't been), {MEMBERID} would end up redirecting to the link owner's home (or an error page for guest submissions) rather than yours. {THISMEMBERID} would go to the page viewer's home as you probably want. Neither is processed though, so it only falls to the catch-all processing at the end of the page which assumes it's for the viewer -- but that spot is never reached if you bypass the redirect page.
I'll add {THISMEMBER handling for redirect bypassing.
0/5
1
2
3
4
5
Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.
Comments on Redirect causing error
Forum Regular
Usergroup: Customer
Joined: Nov 26, 2003
Total Topics: 70
Total Comments: 211
When I force a redirect, I want the user to go back to their memberhome area after editing a listing.
Currently when I use:
profile.php?action=memberhome&id={MEMBERID}
The edit is saved however after pressing submit the page goes blank except for this error:
"Non-numeric id value requested: {MEMBERID}"
EDIT
-----------------
When Bypass redirects is YES the error is present, when set to NO, it works.
This looks like a bug. For now I'll leave the redirect blank.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
If I were to handle member template variables in that spot (which I haven't been), {MEMBERID} would end up redirecting to the link owner's home (or an error page for guest submissions) rather than yours. {THISMEMBERID} would go to the page viewer's home as you probably want. Neither is processed though, so it only falls to the catch-all processing at the end of the page which assumes it's for the viewer -- but that spot is never reached if you bypass the redirect page.
I'll add {THISMEMBER handling for redirect bypassing.