The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
Facts: - main site on www.DOMAIN.com - vBulletin installed on forum.DOMAIN.com - vBulletin authentication integrated in main site (no problems here) Question: How can I redirect user to some URL from the www subdomain upon authentication? Extra info: I am already using the extra "url" field in the login form, but it only works for URLs relative to forum root (i.e. I can set it to "forum.php?...", but if I set it to "http://some_domain/" it is ignored and user is redirected to forum home after authentication). The URL to redirect to is dynamic, so modifying templates to hard code it is not a solution. Thanks, Puiu |
#2
|
|||
|
|||
![]()
Found the answer myself: just created a plugin attached to "login_redirect" hook
and modify the $vbulletin->url value to the desired URL ("url" field in POST in my case), don't forget to escape/check the value in the "url" field you get from the login form ![]() |
#3
|
|||
|
|||
![]()
Hi hpuiu.
Could you give me that addon please? I'm searching for exactly that one. The old one can't be downloaded and the german version is not supported by vb4. Best regards |
#4
|
||||
|
||||
![]() Quote:
https://vborg.vbsupport.ru/showthread.php?t=235203 |
#5
|
|||
|
|||
![]()
I'll give it a try borbole. Weired that I didn't find this one oO
Thank you ![]() //edit Just tested it. Works perfectly ![]() |
#6
|
||||
|
||||
![]() Quote:
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|