Hi guys,
Small error I just noticed. Im using version 2.2 (just upgraded) of the bridge, and I was just checking for errors and i've found disabling guests from viewing my message board has stopped my members from being able to log in successfully with the bridged login. It's strange since version 2.11 was working completely without a hitch. There's something Im overlooking isnt there? ::)
*********
RESOLVED (see below)
*********
No, in the readme it specifically states that disabling guests will cause Login and registration problems. The reason is that it doesn't allow Mambo to see it as well. I'm surprised it worked at all with 2.11 - I know it didn't for me.
Can this be unchecked by editing a particuliar php file?
Well, the easiest way would be to add the mambo_login action to the guest whitelist in smf.php...
-[Unknown]
I changed from 0 to 1 in allow_guestAccess the board is now visible again without showing the login box.
Hi guys, appreciate your replies.
Chadness: Chadness i think you're right, it probably wasn't working in 2.11 i just didnt realise this problem as I was still playing with settings :-X. Has this got something to do with the access rights?
Profile: What do you mean that
Quote0 to 1 in allow_guestAccess the board is now visible again without showing the login box.
Isn't this just the same as using the checkbox anyway? Dont think manually changing it will solve the problem..or did it?
[Uknown]: What is this 'whitelist' you are referring to Unknown? Are you referring to this bit
// If guest access is off, a guest can only do one of the very few following actions.
elseif (empty($modSettings['allow_guestAccess']) && $user_info['is_guest'] && (!isset($_REQUEST['action']) || !in_array($_REQUEST['action'], array('login', 'login2', 'register', 'register2', 'reminder', 'activate', 'help', '.xml'))))
{
..and i just add mambo_login after say 'login2' in the array on the right?
Thanks again :D
Wohoo!!!!!
[Unknown] thats fantastic!, I took a stab an added 'mambo_login' to the actions array line 119 components/smf.php and administrator/components/smf.php and unchecked 'Allow Guests.to view board' in the smf admin and now it works!
// If guest access is off, a guest can only do one of the very few following actions.
elseif (empty($modSettings['allow_guestAccess']) && $user_info['is_guest'] && (!isset($_REQUEST['action']) || !in_array($_REQUEST['action'], array('login', 'login2', 'mambo_login', 'register', 'register2', 'reminder', 'activate', 'help', '.xml'))))
I'm sure it's the same setting and result. I used phpmyadmin to change the setting I mentioned. Can the experts confirm that it's the same?
Quote from: profile on January 31, 2005, 11:15:50 PM
I'm sure it's the same setting and result. I used phpmyadmin to change the setting I mentioned. Can the experts confirm that it's the same?
Yes, sorry, that's the value. I was just meaning, you can have your cake and eat it too - guest access off, login working.
-[Unknown]
Hi Unknown
So what I did above was correct? Seems to be working...
Yep, that's exactly what I meant ;).
-[Unknown]
Hi all,
I am terribly sorry to necro this thread up, but I am now experiencing the same problem as the Thread Starter.
Current Version of SMF: SMF v1.1 Beta 3.
Current Version of SMF-Mambo-bridge: MOS_SMF_BRIDGEv3.19a_SMF1.1b3.zip
I have read the replies and solutions posted in this thread and in the Mambo-SMF-Bridge FAQ (http://www.simplemachines.org/community/index.php?topic=20952.msg206330#msg206330), but I am having difficulty locating the exactly SMF.php file mentioned in both solutions.
Could I trouble someone to help me please? The forum was working, before curiosity got the better of me and now even I am locked out of it :( I am now regretting experimenting with the Server Features...
Thanks in advance and again sorry to bring this topic up.
QuoteI have read the replies and solutions posted in this thread and in the Mambo-SMF-Bridge FAQ, but I am having difficulty locating the exactly SMF.php file mentioned in both solutions.
That was for older versions of the bridge.
You'll want to change that in SMF's index.php now.
Quote from: Orstio on July 20, 2005, 06:25:07 AM
That was for older versions of the bridge.
You'll want to change that in SMF's index.php now.
Thanks Orstio, you are a lifesaver! I can access my board again.