Hi! I'm running SMF in a separate window from Mambo but I've some problems with the login/logout urls.
I followed the readme text and changed login2 to mambo_login and logout to mambo_logout.
I get the following urls but nothing happens when I clicked on them.
http://www.mysite.com/forum/index.php?action=mambo_login
http://www.mysite.com/forum/index.php?action=mambo_logout
I am now using the following:
index.php?option=com_smf&Itemid=41&?action=mambo_login
throws the page back to Mambo index with the forum integrated.
index.php?option=com_smf&Itemid=41&?action=mambo_logout
logs out and goes back to Mambo frontpage
When I enter error login info, I also get thrown back to Mambo index with the forum integrated.
Using the default login2/logout works fine, but if I log in from the forum, the User Menu in Mambo will not show up. I've seen a post on this but can't follow ???
Any solution?
QuoteHi! I'm running SMF in a separate window from Mambo but I've some problems with the login/logout urls.
So, you are not using the forum wrapped?
In that case, you need to add these two lines to your SMF index.php $actionArray:
'mambo_login' => array('MOS_SMF.php', 'MOS_Login'),
'mambo_logout' => array('MOS_SMF.php', 'MOS_Logout'),
I get this error:
Fatal error: Call to undefined function: mosgetparam() in W:\www\Mambo451\forum\Sources\MOS_SMF.php on line 40
:-\
Hi Orstio,
I went to your site with the forum in it's own window at http://www.everything-science.com/components/com_smf/ and clicked the quick login button w/o entering user id and password and got the same error. Sorry, I wasn't trying to funny.. :-[
Btw, in the end, I decided to make a copy of the classic theme to remove the login, i.e. only access via Mambo. Hopefully this will stall some time till I can get a proper theme to match my orangy Mambo template. Otherwise, wrapping looks distatseful ;D
QuoteI get this error:
Fatal error: Call to undefined function: mosgetparam() in W:\www\Mambo451\forum\Sources\MOS_SMF.php on line 40
Yeah, I noticed this last night, also. It is because in the unwrapped SMF, nothing from Mambo is initialized. I am going to have to release a separate MOS_SMF.php for those who wish to have a single login, but an unwrapped forum. (It would sure be nice if Mambo had something like SSI.php)
Awaiting your file :)
In the interim, these are my layman solutions:
Quick Login generates error -- remove it from template(s) and irritate impatient members
SMF Login results in User Menu not showing up in Mambo -- Change action=login link to Mambo Index/Re-direct users to login from Mambo and irritate them further ;D joking..
Anyway, I have another question.. I tried the MOS to SMF file. It was very handy!!! Thanks alot! BUT, how can I edit the dateRegistered? I tried to do it in SQL directly but the data don't seem to be saved in the normal date format.. Now all my users joined in (I think) 1970. I wasn't even born...