mrwillt
05-05-2016, 06:07 AM
Hey guys, in VB4 I had it so that when you logged in you got taken to a different path (outside of the forum as we use the forum login system for the whole site).
After upgrading, when you login you end up on the forum page which is killing other parts of the site. Does anyone know how to make it so that you can redirect it to a specific page?
--------------- Added 1462437068 at 1462437068 ---------------
Ok guys this was actually easier than I thought.
If you have your own login form, then make sure you include $_POST['url']. Make sure you base64_encode this BEFORE you send it, as vb5 decodes it regardless.
You must send a full url - so in my case I was sending to /traderoom.html - make sure you send to https://www.mysite.com/traderoom.html
VB5 will send to anywhere it seems - so thats cool!
After upgrading, when you login you end up on the forum page which is killing other parts of the site. Does anyone know how to make it so that you can redirect it to a specific page?
--------------- Added 1462437068 at 1462437068 ---------------
Ok guys this was actually easier than I thought.
If you have your own login form, then make sure you include $_POST['url']. Make sure you base64_encode this BEFORE you send it, as vb5 decodes it regardless.
You must send a full url - so in my case I was sending to /traderoom.html - make sure you send to https://www.mysite.com/traderoom.html
VB5 will send to anywhere it seems - so thats cool!