I have installed the com_sf, com_registration and mod_smf_login, published it and on my mambo homepage I got the login box module
Looking at the code, the form's action attribute is:
http://localhost/mambo/?option=com_smf&Itemid=55&?action=mambo_login
SO when I try to login, nothing happens, the login module box still says "Welcome, guest. Please login or register"
Now the weird thing is, after logging in and still seeing the "welcome guest" message, if I go to the forum component, which is located at this URL:
http://127.0.0.1/mambo/index.php?option=com_smf&Itemid=55
and then, if I click on the login button (which has this url: http://localhost/mambo/index.php?option=com_smf&Itemid=55&?action=login )
..I just click it and automatically I'm logged in, then if I go back to my mambo index page, now the login module box shows the correct information, that I'm logged in...
by the way, I've my forums settings so that "local storage of cookies" and "use subdomain independent cookies" are unchecked, and "allow guests to browse the forum" is checked
Not sure what's happening, please help
Did you put MOS_SMF.php in your SMF Sources directory?
Thanks,
yes, the MOS_SMF.php file is located at:
http://localhost/mambo/smf/Sources directory
I've installed the forum script at: http://localhost/mambo/smf
So seems that the login form in the module box doesn't work in the beggining but if I point my browser to http://localhost/mambo/index.php?option=com_smf&Itemid=55&?action=login, just pointing to it (no typing login information again), then going back to the front page, the box now says that I'm logged...
installed the bridge twice from scratch, running on my win2k box with PHP; also tried deleting all cookies...
Also, the registration module at this url:
http://localhost/mambo/index.php?option=com_smf_registration&task=register
works perfectly, upon registering, I see both mos_users table and smf_members table are updated with a new row for each, so the registration module is working fine.
QuoteSo seems that the login form in the module box doesn't work in the beggining but if I point my browser to http://localhost/mambo/index.php?option=com_smf&Itemid=55&?action=login, just pointing to it (no typing login information again), then going back to the front page, the box now says that I'm logged...
Chances are that you have a corrupt session cookie. Clearing cookies from your browser does not necessarily work when this happens.
You can delete your cookies by closing all browser windows, and going to your cookies folder and deleting the cookie in question. It is very important that no browser window is open when you do this.
Thanks man,
I deleted the cookies by going to C:\Documents and Settings\Tom and also C:\Documents and Settings\Default User
didn't work;
maybe if I could understand what's the difference between
http://localhost/mambo/?option=com_smf&Itemid=55&?action=mambo_login
http://localhost/mambo/?option=com_smf&Itemid=55&?action=login
Because the form action in the module box on the homepage goes to ?action=mambo_login and doesn't work quite right - that is - I have to then visit the link with ?action=login for it to work
so which files is called when the url action parameter is set to mambo_login and which file is called when the action is set to "login" only
maybe I can fix my error if I knew what these actions are doing
thanks,
-tom
The mambo_login action replaces SMF's login2 action.
thanks Orstio, now working after I reinstalled everything including Mambo; couldn't find what caused that though...
It was looking like you might have changed a "action='login'" to action='mambo_login'" somewhere in your SMF theme.
As I stated, mambo_login replaces login2, not login.
Hi Orstio,
I just replied to your PM 8).