The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Redirect guest on payments.php to landing page
I am wondering if anyone knows how I can redirect guests who hit the payments.php elsewhere? (I want to send them to a landing page that explains what the payments are about - and prompt them to register first).
I've got the redirect code (from a redirect plugin here): if ($show['guest']){ $vbulletin->url = '' . $vbulletin->options['bburl'] . '/misc.php?do=page&template=mylandingpage'; standard_redirect(); } Put I can't find a hook for the payments.php start. Any help please? |
#2
|
||||
|
||||
Hook in at global_setup_complete, and use:
PHP Code:
|
#3
|
|||
|
|||
That worked, thanks Dismounted!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|