News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Re: Mambo-SMF Bridge FAQ

Started by jdebord, February 17, 2005, 12:21:20 PM

Previous topic - Next topic

jdebord

When i installed the bridge my super administrator account got deleted from mambo.  I can still login via the SMF login, but I can't login and get super administrator access to my mambo backend.

adamlasser

Quote from: Orstio on January 16, 2005, 06:22:23 PM
Known incompatibilities with other components:

1)  The phpBB component for Mambo.  This component modifies the structure of the mos_user table, and the mos_core_acl_aro table.  The SMF bridge asssumes the structure of core tables are the same as a fresh Mambo installation.


I was having problems with the bridge component - login/logout functions were not working quite right (mod_smf_login would login to SMF but not MOS), but user registration functions were (upon logging into an account in SMF, the account would be created properly in MOS).

Then I saw this post and thought that previous testing with phpBB could have caused my problems. I had already removed all phpBB files/components/modules, but things were still odd. I even followed some instructions for "cleanly" performing a complete removal of phpBB and still no luck.

Well, I just installed the upgrade to Mambo 4.5.2 and ran the upgrade script and everything works. So, when all else fails and you had a previous installation of phpBB, upgrade.

jdebord

Heh...nevermind.  Superadministrator magically reappeared in mambo.  However, I do have another question regarding logins.  How can I get rid of all the other login places besides the form in mambo.  SMF has another login at the top that isn't really needed if you're using it in a mambo wrapper.  Also, if you enter the incorrect password SMF will bring up a box in the main window to reenter login info.  When you enter the correct info however it takes you out of mambo alltogether.  How could i make it so if the login info is entered incorrectly it just display a message about the login being incorrect in the mambo login form.  I would also want to take the login function out of coppermine so it acts in the same way that SMF does only allowing login through mambo form.  This way everything stays neat and organized and you never get out of mambo's interface.

Kindred

For coppermine, you'll have to edit the coppermine template.

For SMF, to remove the "top login box" (and/or the login.logout buttons) You have to edit the SMF index.template.php.
Сл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."

Orstio

QuoteWhen you enter the correct info however it takes you out of mambo alltogether.  How could i make it so if the login info is entered incorrectly it just display a message about the login being incorrect in the mambo login form.

That's very odd.  That shouldn't happen, regardless of where you try to login.  Do you have a URL?

jdebord

hxxp:www.wheresbarringer.com [nonactive]
User: test
Pass: test

If you enter an incorrect password it will prompt for a new one in the main forum block.  If you enter the correct information in there it will show the forum fullscreen (which i don't want).  Plus it tells me that an error occured and i have to wait 5 secs.  The same thing happens if you want to enter the login info in the other boxes.  I would rather just have one login box though...I saw a suggestion.  Right now i have the site plugged into one of the included templates...so it is rather ugly.

Orstio

QuoteIf you enter the correct information in there it will show the forum fullscreen (which i don't want).  Plus it tells me that an error occured and i have to wait 5 secs.

This is a known issue:  errors are not wrapped.  It isn't that the link is taking you out of Mambo, just that error messages do not display within Mambo.  If you look at the URL of the error message, it is still a Mambo URL:

http://www.wheresbarringer.com/index.php?option=com_smf&Itemid=26&?action=mambo_login

As soon as you hit the "Home" button, you're back to a wrapped forum.

This will be fixed soon.

jdebord

It stays wrapped on the error though.  If you enter the incorrect username and/or password it tells you they are incorrect but stays wrapped.  Why is it an error when the correct information is entered?

Orstio

Entering the wrong password does not bring up an error message, it brings up a login screen with a warning.

This:


QuoteYou will have to wait about 5 seconds to login again, sorry.

Is an error message, and it will not be wrapped.  No error messages are wrapped currently.

The error message occurs, because you are trying too often to enter the password, and SMF throws up an error message for your security.  You wouldn't want a script-kiddie writing a script to guess your password, and reload the page until the script got it right, would you?

sniffers

Hi,

I've just installed the 3.0.1 bridge on 1.0.1 smf, and I'm getting the above 5 seconds error when I register as a test person?

I don't appear on who's online unless I logout and login again as well.

I've had to turn off SEF as I was getting duplicate URLs as well all off a sudden (was working fine with 1.0)

Also (this is probably all wrong randomly adding all this in here) I don't get an activation email any more? It just logs me straight in..

heeeeeelllppp pleease am I doing something insane??

Tiff

Advertisement: