The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Redirect after submit
On the edit profile page there are buttons
HTML Code:
<input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" /> <input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" /> I would like to go to a custom page, newthread.php?do=hpde. One site I found recommended HTML Code:
onclick="document.location = '/index.php';" Any hints? |
#2
|
|||
|
|||
In profile.php, find and change the following lines:
PHP Code:
PHP Code:
|
#3
|
||||
|
||||
To continue from last post.
Thank you. Editing profile.php worked just fine. Although if the person is on the edit password page they will be redirected to the wrong page otherwise the redirect is exactly what I am looking for. In the statement. PHP Code:
If $vbulletin->url = 'profile.php?do=editdereg' . $vbulletin->session->vars['sessionurl_q']; Then goto $vbulletin->url = 'newthread.php?do=hpde' . $vbulletin->session->vars['sessionurl_q']; So I can retain the original function of the statement. Is that possible? Thanks again. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|