Quote:
Originally Posted by brianFL1
Sorry if this has been asked before, but is it possible to redirect to a specified page with our own URL instead of a thankyou message. Thankyou
|
Hi,
I needed to do this. This is how I modified.
Open the plugin and find the part starts with
Code:
if ($redirectoption == "1")
{
$vbulletin->url = 'showthread.php?' . $vbulletin->session->vars['sessionurl'] . "p=$newpost[postid]";
eval(print_standard_redirect('redirect_postthanks'));
exit();
There are four options. So choose the one you won't need. For example I modified fourth redirect option.
instead of
Code:
url = 'showthread.php?' . $vbulletin->session->vars['sessionurl'] . "p=$newpost[postid]";
changed to
Code:
url = 'http://www.urluwant.com' . $vbulletin->session->vars['sessionurl'] . "";
also from top you must choose the option you edited. for ex: $redirectoption = "4";
it is solved...