Helpful Information
 
 
Category: vBindex
Logout Issues

Just installed it and everything seems to work, except when I logout via the portal, I get a "an error has occured message", and it proceeds to log me out but takes me to the forum index, rather than the portal index. Logging in via the portal works just fine, however. Any ideas?

Also, any tutorials on how to make custom pages?

same problem :(

I use something like this:
login.php?$session[sessionurl]do=logout&u=$bbuserinfo[userid]
and I dont get that error anymore.
I place that where ever there is a logout (in the templates)

in includes/init.php
This may solve the problem is your main domain:
www.domain.com is been redirected to your
forums.domain.com/vbindex.php


Find:

$http_host = preg_replace('#^www\.#i', '', $http_host);


Replace With:

$http_host = preg_replace('#^(forum|www)\.#i', '', $http_host);










privacy (GDPR)