News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Re: SMF <-> Mambo Bridge (Combined Readme)

Started by rsuplido, March 18, 2005, 12:14:36 AM

Previous topic - Next topic

rsuplido

I'm not sure if this was asked before. After a certain part of the guide, The Solar Flare II was a bit messed up. When the main page is viewed in IE, the main news block displays below the left nav. What can I do to fix this.

Thanks in advance.

Kindred

ARGH!   does no one reda the other threads????


I've said this 3 dozen times, myself, alone...

The Solarflare (and Solarflare II) template SUCKS. It does not merge well with ANY wrapped utilities.
Сл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."

deejayh

QuoteThe Solarflare (and Solarflare II) template SUCKS. It does not merge well with ANY wrapped utilities.
Totally agree - get rid of it! I played around for weeks trying to get this to work - useless!

Question!:
I am using the current version. When I log into the login module on the frontpage, it then takes me to the forum. (Though I have changed the settings to go to the current page). When I click admin for the forum, it asks for my password again! Also when I logout it throws me back to the forum - And yet in mambo I am still logged in!

Cheers, Dave
Regards,
Dave
Family History UK  - http://www.familyhistory.uk.com

rsuplido

Quote from: kindred on March 18, 2005, 01:01:36 AM
ARGH!   does no one reda the other threads????


I've said this 3 dozen times, myself, alone...

The Solarflare (and Solarflare II) template SUCKS. It does not merge well with ANY wrapped utilities.

Well, I thought it was well done -- definitely a great CSS based template. Anyway, after much code tracing, I finally found the fix. I created a new thread for it:

http://www.simplemachines.org/community/index.php?topic=30797.0

Anyway, thanks for the advice.

rsuplido

Quote from: deejayh on March 18, 2005, 06:10:07 AM
Question!:
I am using the current version. When I log into the login module on the frontpage, it then takes me to the forum. (Though I have changed the settings to go to the current page). When I click admin for the forum, it asks for my password again! Also when I logout it throws me back to the forum - And yet in mambo I am still logged in!

Dave, most forum apps behave like that. I run several sites running vBulletin. For security reasons, having logged in will not necessarily let you access the admin module automatically. I think this is a good feature since you might forget to logout from a computer somewhere -- at least you are at ease that no one can access the admin module of your site.



Kindred

sorry, that is not a "feature" in this bridge...   something is not behaving correctly.

Dave, give us a URL?
Сл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."

xtremecruiser

#6
I just tried it on my test system, I am doing it with separate DB's and its working but I get 2 line errors that stay on top of the forum now.
Any help ?

Notice: Undefined variable: context in /home/NAME/public_html/smftest/Sources/Load.php on line 210

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/NAME/public_html/Mambo/components/com_smf/smf.php on line 44


Line 210 is this code
// Administrators can see all boards.
elseif ($user_info['is_admin'])
$user_info['query_see_board'] = '1';


Line 44 is
if (isset($result)){$row = mysql_fetch_array($result);}



I was using 4.52 and the latest bridge, after a few minutes it kinda went nuts one me and crashed and burned, so I removed the bridge mods on the Mambo.
I will try a combined DB install.

deejayh

#7
Hi Kindred,

The url is for a test site (subdomain) I am setting up before moving it to the main site - here.

The earlier bridges I have used seem to have worked for me OK.
I click logout on the frontpage, it throws me to SMF forum, I click logout again, then it shows I am not logged in.
But mambo shows I am still logged in!
Tried using Firefox (web Developer) to delete cookies - still there. I have also logged on previously with another name, which also says is logged in!
I have since found out that if I go into Mambo Admin in the backend - I can force the users to logout!
To me it seems that the bridge login/out is not working with the Mambo login/out!
Help, :(
Dave
Regards,
Dave
Family History UK  - http://www.familyhistory.uk.com

Kindred

yup.... this would appear to be the same issues I helped two other people fix, and one other person reported...

I have no idea what exactly is causing it...
but I suspect it comes from having multiple menu objects pointing to com_smf. mambo gets confused...


the fix is as follows:

uninstall the 2 bridge components
uninstall the bridge login module and any other bridge modules.
delete ALL references to a com_smf component or link in your menus.
empty the trash in mambo admin

add the com_smf
add the com_smf_registration
Add the mod_smf_login

Add a SINGLE (public) menu item pointing to the smf component.

do not add any other menu objects pointing to the smf component. If you need to have multiple links to the forum (say for example, one in the main menu and one in the top menu) then use the URL - link option and input "index.php?option=com_smf&Itemid=**" where ** is the actual item ID...



Сл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."

Advertisement: