Joomla SMF intergrate login

Started by rgudino, June 20, 2006, 11:01:27 AM

Previous topic - Next topic

rgudino

Having problems trying to use the bridge. All I want is to have my users login only once on my site. Meaning the y will be logged into my website and the smf forums.

I'm using the new joomla 1.0.9
also using Community Builder 1.0
Bridge 1.1.4
SMF 1.1 RC2

I'm new to joomla and I think it's a great product I really want to get this to work please help.

Kindred

if you have installed the bridge, then you're all set.

you MUST use the mod_smf_login login module...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

rgudino

Yes, but when I do use that I lose the user menus. If I use that how do I add the user menu to the smf login

Kindred

try reading the sticky posts?

Or any of the dozen other posts where we answered this question....

Quote from: Kindred on April 10, 2006, 02:35:54 PM
For the 1.1.4 bridge, one small change needs to be made for the Joomla 1.0.9 upgrade.  Find this in smf.php (in the integrate_login function):

//Joomla 1.0.8 compatibility

if (isset($_VERSION) && $_VERSION->PRODUCT == 'Joomla!' && $_VERSION->DEV_LEVEL >= '8'){
$remCookieName = mosMainFrame::remCookieName_User();
                        $remCookieValue = mosMainFrame::remCookieValue_User( $username ) . mosMainFrame::remCookieValue_Pass( $passwd );
setcookie( $remCookieName, $remCookieValue, $lifetime, '/' );
}


and replace it with this:

//Joomla 1.0.8 compatibility

if (isset($_VERSION) && $_VERSION->PRODUCT == 'Joomla!' && $_VERSION->DEV_LEVEL >= '8'){
$remCookieName = mosMainFrame::remCookieName_User();
//Joomla 1.0.9 compatibility
                        if ($_VERSION->DEV_LEVEL>='9')
$remCookieValue = mosMainFrame::remCookieValue_User( $username ) . mosMainFrame::remCookieValue_Pass( $passwd ) . $row['id'];
                        else
$remCookieValue = mosMainFrame::remCookieValue_User( $username ) . mosMainFrame::remCookieValue_Pass( $passwd );
setcookie( $remCookieName, $remCookieValue, $lifetime, '/' );
}


Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: