The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
mysite: http://www.mydomain.org/
myforums: http://bbs.mydomain.org/forums/ Integrating mysite with myforums (vBulletin 3.5.4), login process is working nicely thanks to the following post? https://vborg.vbsupport.ru/showthread.php?t=108026 Once a visitor logs in to mysite they are seamlessly logged in to myforums. However, my logout process has a little problem, it doesn?t work. Step 1. mysite logout script completes then redirects to myforum logout script Step 2. myforum logout script: <?php chdir('c:/htdocs/bbs.myforums.org/forums'); require_once('c:/htdocs/bbs.myforums.org/forums/global.php'); $url = "http://bbs.myforums.org/forums/login.php?" . $session[sessionurl] . "do=logout&logouthash=" . $vbulletin->userinfo['logouthash']; header("Location: $url"); ?> I get the following vB message: An error occurred while attempting to log you out. Click here to log out. Does anyone know why? Thanks for your help in advance ever mind, I found the issue $url = "http://bbs.myforums.org/forums/login.php?" . $session[sessionurl] . "do=logout&logouthash=" . $vbulletin->userinfo['logouthash']; should be... $url = "http://bbs.myforums.org/forums/login.php?" . $session[sessionurl] . "do=logout&logouthash=" . $vbulletin->userinfo['logouthash']; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|