![]() |
ADDing Post Redirection
I see a lot of posts here asking how to remove redirection after someone replies to a post. I am looking for something a little different, almost the reverse.
I want the ability to redirect a user after successfully adding to a post to another URL that I pass in the URL to vBulletin. Anyone seen anything like this or can tell me where to look? Let me answer my own question. I was adding a url to return to after making a reply to post. Here are the steps I took: 1. I first needed to accept the passed in variable, in this case "returnurl" in "newreply.php" down in "do=newreply": Code:
$vbulletin->input->clean_gpc('g', 'returnurl', TYPE_NOHTML); Code:
<input type="hidden" name="returnurl" value="$returnurl" /> Code:
$returnurl =& $vbulletin->input->clean_gpc('r', 'returnurl', TYPE_NOHTML); Code:
if ($returnurl) { |
All times are GMT. The time now is 01:53 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|