vBulletin Mods

The Official vBulletin Modifications Site

VB4 Custom Page: URL redirect after Login OR Register
by ranz
12 Jul 2010 09:32


I'm making a VB4 custom page, and I want it to allow people to fill out the form, but then after submitting it will check if they're logged in and redirect them to Register or Login.

I can get this to work using this code:

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

However, what I need is it to submit the form after successful login or registration.

I've been looking at the VB API and code. I can see that in Registration page, there is a <input type="hidden"> field for URL redirection. but you can't add params to it (or that I could see).

And what about login? how do I pass the URL (including params) to redirect back?

The script can accept something like:


(the security of it will force back to login/register if not)

Can somebody provide me with some direction ... :confused:

ranz 16 Jul 2010 13:01

sorry to bump, but I really need to know if someone can assist?

psypher 20 Jul 2010 19:58

I am interested in the answer as well, I am running into the same type of bug that would be resolved by this on my custom application form.

abdicar 11 Mar 2011 16:39

Actually this is a very important question... we wait for any help too.

vrinteractive 16 Nov 2012 08:26

any luck?

All times are GMT. The time now is 08:39.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.