Wired1
12-09-2009, 06:51 AM
Anyone have a snippet of code for redirecting the user to a Front-End Redirect Message after they save a page (think saving profile fields)? Can't get it to work for the life of me.
Here's some snippets of what I've tried (not each line at the same time obviously):
eval(print_standard_redirect('redirect_updatethank s'));
eval(print_standard_redirect('redirect_updatethank s', true, true));
eval(print_standard_redirect('redirect_updatethank s', true, true, -1));
Note that regardless of those lines being commented out it always comes back to the user.php page. Also can't redirect back to the same page like I used to.
$vbulletin->url = 'profile.php?' . $vbulletin->session->vars['sessionurl_q'];Something like this should work, but doesn't. What am I missing?
Here's some snippets of what I've tried (not each line at the same time obviously):
eval(print_standard_redirect('redirect_updatethank s'));
eval(print_standard_redirect('redirect_updatethank s', true, true));
eval(print_standard_redirect('redirect_updatethank s', true, true, -1));
Note that regardless of those lines being commented out it always comes back to the user.php page. Also can't redirect back to the same page like I used to.
$vbulletin->url = 'profile.php?' . $vbulletin->session->vars['sessionurl_q'];Something like this should work, but doesn't. What am I missing?