I have a similar problem logging in when trying to integrate Mambo+Community Builder+SMF.
System: Windows 2003 with IIS 6.0 with PHP 4.3.9 and MySQL 4.0.18 Mambo 4.5.2 Community Builder 1.0 RC Mambo-SMF 1.3.1 SMF 1.0.3
I've tried to trace the issues so I could report the problem correctly but its very confusing.
When I attempt to login from mod_comprofilerlogin panel: - Login is shown as succesful BUT the message "You are not authorized to view this resource is displayed" where the wrapped smf front page should be. - If I click on the SMF Forum link You will get the wrapped SMF frontpage with GUEST access only. SMF user is not logged in BUT mod_comprofilerlogin panel still says user is logged in. - THEN if you click on the login link on top of smf and enter the same userid and password in the login box, the login box BRIEFLY display a message that "An ERROR has occurred!" BUT THEN the wrapped SMF jumps to the SMF front page and the user is shown as logged in.
Results differ depending on whether you re loggin in with mod_comprofilerlogin, through SMF login link on top of page to login box OR using the SMF mini login box on bottom of page.
Logging out from either mod_comprofilerlogin or SMF is also problematic, sometime prodicing the error "An error has occurred. Unable to load main template."
unfortunately, your error is still in the KNOWN ISSUES list. This happen on some servers. I haven't got a chance to look at it because it's not happening on my servers.
I have uncovered another problem on the Mambo back-end with com_smf which I'm not sure if it is linked to the login/logout problem.
If I create a new user with Community Builder or Mambo's User Manager and synchronize with Community Builders synch tool, the user is then exists for Mambo and Community Builder but NOT for SMF.
Not knowing better, I'm assuming that Community Builder and Mambo share the same user table so this is as it should be.
I'm also assuming that the synchronization with SMF is only done by com_smf when the admin clicks on "Synchronize Mambo and SMF users" in "Mambo-SMF Forum Configuration". It is only when I click on this that the user is created in my SMF forum. Fine.
Here's the thing: when Mambo, Community Builder and SMF are in synch and show the same users, if I delete a user using Mambo's user Manager or Community Builder and then synch with Community Builder, the change is reflected in both. Only SMF still has the user. If I then go and click on "Synchronize Mambo and SMF users" in "Mambo-SMF Forum Configuration", I would EXPECT the user to be deleted in SMF. This is not the case.
Instead of deleting the user in SMF to synchronize the tables, com_smf instead re-creates the deleted user back in Mambo/Community Builder which is NOT my intention. I want user creation/deletion control to reside with Community Builder or Mambo. I've tried disabling registration in SMF (as well as using Registration with Approval, etc.) but this has no effect.
If I delete the user in SMF and leave him in Mambo/Community Builder, the user is re-created in SMF the next time I synch with com_smf.
Cowboy, have you had the opportunity to investigate the login/logout issue yet? I have been delaying the launch of a client's site and it's getting near the point where I'll choose between using SMF linked to Mambo or try another package. Please advise.
You're right, PSmith, there are problems with Login modules and com_smf when CB is installed. Here is what I experienced: If you use CB login module, login will be fine, but you won't be able to log out, and of course you won't have the Recent Posts, Updated Topics and Members list options in your menu once logged in. But the CB registration options (aproval methods) will work.
On the other hand, if you use Mambo-SMF login module, you'll have the SMF user's avatar, the nice menu options in the frontend, and the logout will work fine. But you'll have a problem with registration, it will use Mambo basic default registration process, no matter the method you chose in CB. The Mambo-SMF login module is apparently not compatible with CB. Another bug I found is that the SMF Registration activation is never checked. Any registered user will be able to login even if he's not approved.
It seems there is no solution if you want to benefit from the CB registration features (especially the aproval process) and the Mambo-SMF login menu options at the same time. More problematic, you actually can't use the CB login module since it never logs you out.
The user deletion problem is another big issue; you're right, SMF and Mambo user lists are not in synchornized when a user is deleted in either SMF or Mambo. You need to manually delete the user account in both locations to have it really deleted.
Cowboy, did you have a chance to have a look at these issues ?
Thanks for your great work
« Last Edit: May 26, 2005, 07:52:11 PM by PifGadget »
None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by MamboHacks.com. Powered by Mambo. All rights reserved. TERMS OF USE