Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 12 Jul 2010, 10:32
ranz ranz is offline
 
Join Date: Dec 2005
VB4 Custom Page: URL redirect after Login OR Register

Hi,

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:

?add=Submit&param1=data&param2=data

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

Can somebody provide me with some direction ...
__________________
Cheers,
Ranz
vb site: Bub Club | hosting on: Server World
Reply With Quote
  #2  
Old 16 Jul 2010, 14:01
ranz ranz is offline
 
Join Date: Dec 2005
sorry to bump, but I really need to know if someone can assist?
__________________
Cheers,
Ranz
vb site: Bub Club | hosting on: Server World
Reply With Quote
  #3  
Old 20 Jul 2010, 20:58
psypher psypher is offline
 
Join Date: Dec 2009
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.
Reply With Quote
  #4  
Old 11 Mar 2011, 17:39
abdicar abdicar is offline
 
Join Date: Oct 2006
Actually this is a very important question... we wait for any help too.
Reply With Quote
  #5  
Old 16 Nov 2012, 09:26
vrinteractive vrinteractive is offline
 
Join Date: Nov 2005
any luck?
bumpbump
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mini Mods Redirect guests to register page from no permission page. Increase Registrations SEOvB vBulletin 3.7 Add-ons 96 11 Jan 2009 07:42



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 11:54.

Layout Options | Width: Wide Color: