News:

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

Main Menu

SMF-Bridge 3.02 Fixes and Mods Released !!!

Started by cowboy1015, March 21, 2005, 02:39:02 PM

Previous topic - Next topic

ziggie

#20
Update:

While looking at my Mambo administration
page>menu>mainmenu>forum menu item, I noticed the type is 'Component - TinyMCE-EXP Admin'. Is this what it should be?

Thanks,
-ziggie

Kindred

no...  tiny should never be called as a menu item...   that is one of the editors.

the forum should be calling component - SMF forum or component - Simple Machines Forum (depending on what version of the component you have installed)

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

ziggie

Thanks kindred, I thought it looked out of place!

How do I change it? I don't see a way to change it in the mainmenu type column.

Thanks,
-ziggie

grymlin72

I just installed the original version of bridge (unsuccessfully)...what would i have to do to try it with this updated version? Undue everything i've changed so far?  uninstall all the components etc...?

grymlin
Big Easy Domains [nofollow]

Kindred

Ziggy...

Delete the menu item, empty the trash... add a new menu item.

Grymlin...

Exactly... uninstall all the old bridge components and modules. Install new ones...
Other components and modules (unrelated to the bridge) will have no effect (except for community builder, which does not currently merge well with the bridge.)
Сл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."

Fardo

does community builder work with this version?

cowboy1015

Quote from: grymlin72 on March 22, 2005, 10:53:58 PM
I just installed the original version of bridge (unsuccessfully)...what would i have to do to try it with this updated version? Undue everything i've changed so far?  uninstall all the components etc...?

grymlin

Go to this article for instruction.

By the way, I've just updated the version to 1.1. I re-implemented the update link.
Get the details of my changes here. Thanks to kindred for discovering this.

http://www.i-vibe.com - The Internet Vibe (Personal)
http://www.mambohacks.com - All hacks for Mambo! now Integrated w/ SMF almost flawlessly!
http://www.mamboserve.com - MamboHacks preferred hosting

cowboy1015

Quote from: Fardo on March 23, 2005, 01:06:33 AM
does community builder work with this version?

I'm not sure how com_builder was designed. If it uses a different user table, then no. Not for now.
http://www.i-vibe.com - The Internet Vibe (Personal)
http://www.mambohacks.com - All hacks for Mambo! now Integrated w/ SMF almost flawlessly!
http://www.mamboserve.com - MamboHacks preferred hosting

janoss

My config:
SMF 1.0.2
Mambo 4.5 Stable-1.0.9

In Mambo->Component Install
When I go to upload file: com_mambo_smf_integration_1.1.zip  I receive the following mysql error:

Upload new component - error
SQL Error DB function failed with error number 1064
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '"mainmenu", "Forum", "index.php?option SQL=INSERT INTO mos_menu (menutype,name,link,type,published,parent,componentid,sublevel,ordering,checked_out,checked_out_time,pollid,browserNav,access,utaccess) VALUES ("mainmenu", "Forum", "index.php?option=com_smf", "components", 1, 0, 19, 0, 8, 0, "0000-00-00 00:00:00", 0, 0, 0, 3)
SQL =

INSERT INTO mos_menu (menutype,name,link,type,published,parent,componentid,sublevel,ordering,checked_out,checked_out_time,pollid,browserNav,access,utaccess) VALUES ("mainmenu", "Forum", "index.php?option=com_smf", "components", 1, 0, 19, 0, 8, 0, "0000-00-00 00:00:00", 0, 0, 0, 3)



Do I have a versioning problem when trying to apply Mambo-SMF_Integration component?


thanks,
jim

cowboy1015

Quote from: janoss on March 23, 2005, 01:57:42 AM
My config:
SMF 1.0.2
Mambo 4.5 Stable-1.0.9

Do I have a versioning problem when trying to apply Mambo-SMF_Integration component?

I'm sorry if my download category in  my website was not clear. But I already changed it. What I meant with 4.5.x was actually 4.5.1 above.
So about your issue, I did not test this with 4.5.0. I think 4.5.0 have a different table structure. This component is fully tested 4.5.2. And I believe that this would also work with 4.5.1.
http://www.i-vibe.com - The Internet Vibe (Personal)
http://www.mambohacks.com - All hacks for Mambo! now Integrated w/ SMF almost flawlessly!
http://www.mamboserve.com - MamboHacks preferred hosting

ziggie

QuoteDelete the menu item, empty the trash... add a new menu item.

Thanks kindred but still no dice!

-ziggie

Kindred

Yes, 4.5.0 has a different structure

Neither Orstio nor Cowboy's version of the bridge will work below 4.5.1.


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

janoss

Quote from: kindred on March 23, 2005, 10:13:22 AM
Yes, 4.5.0 has a different structure

Neither Orstio nor Cowboy's version of the bridge will work below 4.5.1.





Thanks, I will upgrade to 4.5.1

Kindred

upgrade to 4.5.2b!   there are security issues with 4.5.1
Сл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."

janoss

I just Installed Mambo 4.5.2
It is using the same database as my SMF 1.0.2.

Per the http://www.mambohacks.com/content/view/28/ [nofollow] mambohacks instructions, I installed MamboSmfIntegration 1.0 -  mambo smf component, smf module, and added the SMFMamboMod via the SMF Package Manager. No errors on installation or loading the component, modules, and package.

When I go to my main page all looks good with the default mambo template. http://www.cyclesolutions.net [nofollow] when I click on the forums link I get:

Warning: template_main_above(SSI.php): failed to open stream: No such file or directory in /home/content/j/a/n/janoss/html/forums/Sources/Load.php(1040) : eval()'d code on line 51

Fatal error: template_main_above(): Failed opening required 'SSI.php' (include_path='.:/usr/local/lib/php') in /home/content/j/a/n/janoss/html/forums/Sources/Load.php(1040) : eval()'d code on line 51


Also, when I try using the login form on the main page using an existing SMF forum account, the login fails with: Incorrect Username, Please try again.

the smf root index.php has the required mambo login lines:
      'mambo_login' => array('MOS_SMF.php', 'MOS_Login'),
      'mambo_logout' => array('MOS_SMF.php', 'MOS_Logout'),

Any ideas on what I am missing?

cowboy1015

Quote from: janoss on March 23, 2005, 01:33:25 PM

When I go to my main page all looks good with the default mambo template. http://www.cyclesolutions.net when I click on the forums link I get:

Warning: template_main_above(SSI.php): failed to open stream: No such file or directory in /home/content/j/a/n/janoss/html/forums/Sources/Load.php(1040) : eval()'d code on line 51

Fatal error: template_main_above(): Failed opening required 'SSI.php' (include_path='.:/usr/local/lib/php') in /home/content/j/a/n/janoss/html/forums/Sources/Load.php(1040) : eval()'d code on line 51

...

Any ideas on what I am missing?


Have you added the lines of code on your mambo template index.php or have the right smf path in component admin?
http://www.i-vibe.com - The Internet Vibe (Personal)
http://www.mambohacks.com - All hacks for Mambo! now Integrated w/ SMF almost flawlessly!
http://www.mamboserve.com - MamboHacks preferred hosting

janoss

#36
Quote from: cowboy1015 on March 23, 2005, 02:48:40 PM
Quote from: janoss on March 23, 2005, 01:33:25 PM

When I go to my main page all looks good with the default mambo template. http://www.cyclesolutions.net [nofollow] when I click on the forums link I get:

Warning: template_main_above(SSI.php): failed to open stream: No such file or directory in /home/content/j/a/n/janoss/html/forums/Sources/Load.php(1040) : eval()'d code on line 51

Fatal error: template_main_above(): Failed opening required 'SSI.php' (include_path='.:/usr/local/lib/php') in /home/content/j/a/n/janoss/html/forums/Sources/Load.php(1040) : eval()'d code on line 51

...

Any ideas on what I am missing?


Have you added the lines of code on your mambo template index.php or have the right smf path in component admin?


Ok, I added echo's to the SMF SSI.php and Load.phps to try and figure this out.
All the mambo path and mambo template settings are correct as instructed. On my SMF 1.0.2 forum, I have the TinyPortal package installed. in the SMF defaul theme in the index.template.php file there is a require_once('SSI.php') call. This explains the error above. So TinyPortal is killing me. I am going to uninstall the TinyPortal package and reinstall the default SMF 1.0.2 theme and see if I can get this to work.

Got it!  :D
Removed the SMF TinyPortal Package and reinstalled the default SMF template theme. This fixed the above error. The reason the Mambo authentication was not working against the SMF user info was that I did not publish the Mambo-Smf Login module. I installed it, but did not publish it.   Good learning experience to get a handle on this portal and php technology.  Cool stuff.

ziggie

Ok I feel like a DUMB A**, I got it working!! For some reason the index.php file in my default template was not letting my change its permissions and allowing me to update it. I had to change the name of the folder and re-upload it with the altered index.php in it and sweetness!

http://www.ziggiepix.ziggiesoft.com/mambo [nofollow]

Thanks,
ziggie

janoss

How do you prevent users from bypassing the main Mambo portal and going right to the SMF forums?

Problem I have is that if a user puts in the http://cyclesolutions.net/forums [nofollow] they bypaa the Mambo portal and get the SMF forums without the Mambo template. Did I miss a configuration README somewhere on this?

chadness

Quote from: janoss on March 23, 2005, 11:10:21 PM
How do you prevent users from bypassing the main Mambo portal and going right to the SMF forums?

Problem I have is that if a user puts in the http://cyclesolutions.net/forums they bypaa the Mambo portal and get the SMF forums without the Mambo template. Did I miss a configuration README somewhere on this?
Go to index.php of your SMF installation and put this at the top (underneath the comments):

if (strpos($_SERVER['QUERY_STRING'], 'dlattach') === false)
{
defined('_VALID_MOS') or die('Direct Access to this location is not allowed.');
}

Advertisement: