The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
So,
I took the source code from the login field that appears in the navbar of vBulletin, and plugged it into my websites front page (PHP). Login functions fine, but instead of redirecting to the forum after login, it just redirects back to the front page. To get to the forums, I click my "Forums" link, and alas, I really have been logged, but I didn't get to the forums as expected. I realize this is NOT something vBulletin was designed to do, and accept full risk of hacking it, as minor as it may be. I was wondering if anyone had any thoughts on how to do one of two things:
-Troy |
#2
|
||||
|
||||
![]()
For #2, create a plugin & choose login_redirect as the hook location, then add the following code:
Code:
$vbulletin->url = 'http://your-forum-url-here'; |
#3
|
|||
|
|||
![]()
WORKS BEAUTIFULLY!
![]() Thanks so much! I'm still interested in hearing ideas if anyone has them on option 1. Until then, I'm happy with #2! Whee! |
#4
|
|||
|
|||
![]()
It depends how the front page is coded.
If its in PHP you could edit the PHP PHP Code:
|
#5
|
||||
|
||||
![]()
All you really need to include is init.php and you save some overhead since you don't need all the code in global.php
|
#6
|
|||
|
|||
![]()
Thanks I'll try that!
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|