PDA


View Full Version : Problem with vBulletin 3.5.1 and vBadvanced CMPS v2.0.0


Brubaum
11-16-2005, 01:31 PM
Hello!
I have installed vBulletin 3.5.1 (www.brubaum.it/forums) and after I installed vBadvanced CMPS 2.0.0

All ok after installation, I personalized various modules...When I log out with my user administrator and I return to my home page (www.brubaum.it/index.php where index.php is the ex cmps_index.php) when I log it redirects me to a blank page-> "www.brubaum.it/login.php"...The correct page would be "www.brubaum.it/forums/login.php"

Why this error? Please help me!

Best regards

DWard
11-16-2005, 02:24 PM
Yer I have the same problem

Brubaum
11-17-2005, 05:42 AM
Please someone help me!!! :( :( :(

oly51
11-17-2005, 07:36 AM
I searched and found this thread: http://www.vbadvanced.com/forum/showthread.php?t=11561

Brubaum
11-17-2005, 07:53 AM
I solved...


For the logout problem:

1. Edit template adv_portal_welcomeblock:

Find

PHP Code:
$vboptions/login.php?$session[sessionurl]do=logout&u=$bbuserinfo[userid]

Replace with

PHP Code:
$vboptions[bburl]/login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]

For the login problem, first read this: http://www.vbadvanced.com/forum/showthread.php?t=11561 (http://www.vbadvanced.com/forum/showthread.php?t=11561)

I didn't solve with that one, so I searched in all templates for the string "login.php" and I found out 5 templates: [B]forumhome, lostpw, navbar, standard_error, standard_error_lite.

In these 5 templates, look for all calls to login.php and make sure the script's name is preceded by "$vboptions[bburl]/" so it should be "$vboptions[bburl]/login.php".

I think probably there's a more elegant solution that doesn't require editing vB's default templates...but at least this works...;)

Hope it helps...

The url

http://www.vbadvanced.com/forum/showthread.php?p=71554#post71554