![]() |
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? |
Hook in at global_setup_complete, and use:
PHP Code:
|
That worked, thanks Dismounted!
|
All times are GMT. The time now is 03:08 AM. |
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:
|