Quote:
Originally Posted by Simon Lloyd
Are you sure you want that hook? maybe profile_updateprofile 
|
thank you for the answer
- i already tried the hook profile_updateprofile and the code just like this :
Quote:
$vbulletin->url = 'http://domain.com/forum/index.php';
standard_redirect();
|
the page are still redirected, but the profile still not saved
- i already tried profile_complete hook too, but its not redirected and the profile not saved
- the other alternative maybe using
if referrer page condition, like this
Quote:
if ($vbulletin->urlreferrer == 'http://domain.com/forum/profile.php?do=editprofile')
{
if ($_POST['do'] == 'updateprofile')
{
$vbulletin->url = 'http://domain.com/forum/index.php;
standard_redirect();
}
}
|
only need what is the right code to call referrer url in bold above
please help guys to make this works, its should be easy enough, how is the code need to used actually