How to integrate mambo with SMF database

Started by nomnomfish, May 04, 2009, 07:19:44 PM

Previous topic - Next topic

nomnomfish

I have SMF 1.1.8 and I would like to keep all of my smf users.
I installed mambo, but would like to integrate it my smf database.
How would i go about this?
any help would be appreciated.
A cool site I have come across: Nom Nom Fish - Internet Fishing
Control the Nomming Monster to Nom real fish! | Osama Dead Shirts

Kindred

read the sticky posts?   Install the smf-mambo 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."

nomnomfish

Okay, I installed the bridge and have exhuasted all options, but still can't get it to work. I am afraid I might mess something up. Can someone walk me through this, I will buy you a beer.

I am using SMF 1.1.8 and mambo 4.6.2, they are in seperate databases, what do i need to do for this?

Right now, I'm using the SSI.php login on my mambo site to login people straight into my forum. It works great, but not what I want.

I would like it to login to mambo first so people can upload pictures to the website. I am thinking about using Zoom media gallery for mambo as my picture gallery. Is there any galleries better than that?

Thanks for any help.  :)
A cool site I have come across: Nom Nom Fish - Internet Fishing
Control the Nomming Monster to Nom real fish! | Osama Dead Shirts

Kindred

"Can't get it to work" is not at all helpful or descriptive.
Do you get errors? If so what errors?

Please list the steps you went through to install the bridge...    What bridge did you install? What version of mambo?
Does your smf database user have access to your mambo database (and vice versa?)

List your 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."

nomnomfish

http://swampratracing.com/home

I installed the 112 mambo bridge

mambo version 462

I went through all the steps on the FAQ on this website, but still no dice
I would login to the mambo login, but it wouldn't login. no errors, just didn't login

QuoteDoes your smf database user have access to your mambo database (and vice versa?)

How do i know if they have access to each other?
A cool site I have come across: Nom Nom Fish - Internet Fishing
Control the Nomming Monster to Nom real fish! | Osama Dead Shirts

nomnomfish

these are the instructions i followed:
QuoteTHIS message specifically pertains to SMF 1.1.x in combination with Mambo version 4.6.2.

There is now a system mambot that automatically inserts the code that you were previously required to add, by hand, into the mambo template. If you have previously modified mambo templates, you MUST remove this code from the <head> section of that template!

It should be noted, before you start with this bridge...
Everything in these instructions assumes that you already have Mambo (4.6.2) and SMF (1.1.x) installed and working as stand-alone utilities.

For simplicity, if you don't know exactly what you are doing:
- SMF should be installed in a "sub level" directory. (i.e. www.yoursite.com/forum or something like that)
- Mambo can be installed in a "sub level" directory or at the top level itself.

The bridge is available HERE

START:

First, DO NOT extract the contents of the Bridge ZIP file.

For new installs:

Open the ZIP package, read the readme.html, and then install the bridge ZIP archive file in the Mambo Universal Installer.

For upgrades from bridges 1.1.2 or 1.1.3:

Uninstall the bridge component, the bridge registration component, and the mod_smf_login module.  Remove the code from your Mambo template.

For upgrades from bridges 1.1.4 through 1.1.7:

Uninstall the bridge component, the bridge registration component, the mod_smf_login module, and the smf_header_include mambot.

Open the ZIP package, read the readme.html, and then install the bridge ZIP archive file in the Mambo Universal Installer.


INSTALLATION INSTRUCTIONS:

Now that you have the archive ready to load, you can log in to your
server and start installation.

This README has a detailed instructions, but the new one-step design makes things
fairly easy and straight-forward. Make sure you read the README.HTML file first!

1 ) Make sure that the mambots/system directory and the mambots/authenticator directory are chmod 777 (they may not be, by default).

2 ) Install the Simple Machines Forum component.
      2a) Using Mambo Admin > Installers > Universal
      2b) Choose Upload File Package and Browse to the into which you extracted
             the bridge and choose the bridge ZIP file that you downloaded.
      2c) This now automatically installs the bridge, including the regsitration component,
             the mod_smf_login module and the SMF_header_include mambo as well
             as several other authenticator mambots.

3 ) Configure the SMF component in Mambo Admin.
      3a) Using the Mambo Admin, choose Components > SMF Bridge > Configuration

     CONFIGURATION TAB
      3b) Set the Path to SMF. This is NOT a URL! This is the absolute path to your SMF
            Installation.
            (Usually this will be something similar to /home/username/public_html/forum)
      3c) Choose if you want your Forum wrapped or unwrapped.

            It should be noted that there are essentially three formats to display your Mambo
            to Forum integration:
      Wrapped:         You are using SMF through the Mambo bridge. The Forum appears
                           "wrapped" in the Mambo template.
      Unwrapped:      You are still using SMF through Mambo, but it doesn't have the
                           look of a wrapped forum. It looks stand-alone, but it is actually
                           loading through Mambo.
                           This is set in the Mambo config for the component.

     REGISTRATION TAB
      3d) Choose what registration method you want to use:
            - The bridge registration looks like mambo's registration method...
              (please remember to UNPUBLISH the smf_register mambot)
            - The mambo registration uses Mambo's registration routine...
              (please remember to PUBLISH the smf_register mambot)
            - The SMF registration uses SMF's registration routine...
              (please remember to UNPUBLISH the smf_register mambot)
            - The Community Builder registration uses the CB registration component...
              (please remember to PUBLISH the smf_register mambot)
            - The MamboCharge registration uses the MamboCharge registration
               component...
            but all options will still result in the users being added to both databases (eventually).
      3e) Require Registration Agreement? Display the agreement.txt from SMF's directory and
           require "I agree" to be checked?
      3f) Ask for ICQ, AIM, YIM, MSN? At registration time, as for the IM info?
      3g) Send a SMF PM to the user on registration?
      3h) Use real name or username as display? For SMF, is the Mambo NAME
            (aka realname) used as their display name or is the Mambo USERNAME
            (login name) used for both the username AND display name fields?
      3i) Also register into Community Builder?
           (You must have Community Builder already installed, and be using Bridge Registration)

     GROUPS TAB
      3j) Associate the SMF groups with the Mambo Groups here. This is ONE WAY, SMF to Mambo!
           It will not make a Mambo admin into an SMF admin!

     SYNC TAB
      3k) This should be self-explanatory.

4 ) Other Configuration notes
      4a) You will probably want to start SMF off with default settings...
      4b) If you make the Mambo menu item (for the SMF - Bridge component) available to
            registered users only, the login and registration may not function correctly.
      4c) Activation emails should be handled by Mambo (for mambo or Bridge Registration)
            or in SMF (for SMF registration)
      4d) Decide how you want to handle login/logout.
            Do you want to use the basic Mambo login module (mod_login)? [skip to 6, below]
            or
            do you want to use the bridge login module (mod_smf_login)? [read 5, below, skip 6]

5) Using the Bridge login module:
      5a) Configure the Login Form (mod_smf_login)
            Choose what options you want displayed in your Login box...
      5b) Even if you do not change any options, click SAVE!
            It is a known issue in Mambo that modules must sometimes be "saved" at least
            once in order to be fully activated.
      5c) Make sure that the following mambots are UNPUBLISHED:
            SMF_login
            SMF_logout
      5d) In Mambo Admin > Menu > User Menu : Remove the link for the Mambo Logout.

6) Using the Mambo login module:
      6a) Configure the Login Form (mod_login)
      6b) Make sure that the following mambots are PUBLISHED:
            SMF_login
            SMF_logout

7 ) Mambots
     7a) Make sure that the other smf authenticator mambots are published.
         This will enable changes in the Mambo user profile to be mirrored to the SMF user profile.

8 ) In Mambo Admin > Menu > Main Menu
     8a) Add a new Component Menu item for the SMF- Bridge Component.
           (this is not a link - URL!)
     8b) If you want to add the forum link to any other menu, use Link - Component
           AFTER you have added the original Component to the main menu.

9 ) In SMF Admin:
     9a) Server Settings > Feature Configuration > "Use subdomain independent cookies" turned ON
     9b) Server Settings > Feature Configuration > "Enable local storage of cookies" turned OFF
     9c) Server Settings > Feature Configuration > "Enable Compressed Output" turned OFF
     9d) Features & Options > "Search engine friendly URLs" turned OFF
A cool site I have come across: Nom Nom Fish - Internet Fishing
Control the Nomming Monster to Nom real fish! | Osama Dead Shirts

Kindred

Quote from: rsanchez78118 on May 07, 2009, 02:05:06 PM
http://swampratracing.com/home

I went through all the steps on the FAQ on this website, but still no dice
I would login to the mambo login, but it wouldn't login. no errors, just didn't login

QuoteDoes your smf database user have access to your mambo database (and vice versa?)

How do i know if they have access to each other?

You need to set the db users in cpanel... What Cpanel are you using for your site?

It looks like you currently have the smf_login module.   That means that you need to UNpublish the smf_login and smf_logout mambots
You also need to make sure that the smf_header mambot is published.

And last of all...  you do not have an item in your main menu that points to the BRIDGED forum (aka com_smf)


test login?

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

nomnomfish

#7
QuoteYou need to set the db users in cpanel... What Cpanel are you using for your site?

I am new to databases. What do you mean by cpanel? Do you mean phpMyAdmin?

I have IX web hosting if that helps

My best guess is that the databases are not communicating with each other

how would i set the db users in cpanel?

thanks
A cool site I have come across: Nom Nom Fish - Internet Fishing
Control the Nomming Monster to Nom real fish! | Osama Dead Shirts

Kindred

What software does your host use to allow you to maintain your site?

(not phpmyadmin)
Сл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."

nomnomfish

A cool site I have come across: Nom Nom Fish - Internet Fishing
Control the Nomming Monster to Nom real fish! | Osama Dead Shirts

Kindred

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

nomnomfish

I think i granted database access. users are starting to show in my mambo administrator user section  :)
A cool site I have come across: Nom Nom Fish - Internet Fishing
Control the Nomming Monster to Nom real fish! | Osama Dead Shirts

JBlaze

Hello, just going through some old support topics. Do you still require assistance with this issue?

If so, please reply with more information about what isn't working.

Additionally, if this is already solved, please mark it solved by clicking 'Mark Topic Solved' at the lower left of your screen.
Jason Clemons
Former Team Member 2009 - 2012

Advertisement: