Want to get involved in developing SMF, then why not lend a hand on our github!
Started by nomnomfish, May 04, 2009, 07:19:44 PM
QuoteDoes your smf database user have access to your mambo database (and vice versa?)
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 HERESTART: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 yourserver and start installation.This README has a detailed instructions, but the new one-step design makes thingsfairly 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_logout7 ) 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
Quote from: rsanchez78118 on May 07, 2009, 02:05:06 PMhttp://swampratracing.com/homeI went through all the steps on the FAQ on this website, but still no diceI would login to the mambo login, but it wouldn't login. no errors, just didn't loginQuoteDoes your smf database user have access to your mambo database (and vice versa?)How do i know if they have access to each other?
QuoteYou need to set the db users in cpanel... What Cpanel are you using for your site?