Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 18 Sep 2008, 01:41
vb_mp vb_mp is offline
Join Date: Feb 2008
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';

Put I can't find a hook for the payments.php start.

Any help please?
Reply With Quote
Old 18 Sep 2008, 07:32
Dismounted's Avatar
Dismounted Dismounted is offline
Join Date: Jun 2005
Real name: Hanson
Hook in at global_setup_complete, and use:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Former Staff Member

View My Modifications
29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x)

Please do not PM me to ask for support - please use the relevant thread or forum.
Reply With Quote
Old 18 Sep 2008, 10:05
vb_mp vb_mp is offline
Join Date: Feb 2008
That worked, thanks Dismounted!
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 05:02.

Layout Options | Width: Wide Color: