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):
PHP Code:
eval(print_standard_redirect('redirect_updatethanks'));
eval(print_standard_redirect('redirect_updatethanks', true, true));
eval(print_standard_redirect('redirect_updatethanks', 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.
Code:
$vbulletin->url = 'profile.php?' . $vbulletin->session->vars['sessionurl_q'];
Something like this should work, but doesn't. What am I missing?