Customizing SMF > Mambo Bridge Support
Quick question
higherauthority:
Long ago when i was using Joomla with SMF I had some issues with the template on joomla after installing the bridge.
There was something called a joomla/mambo tag cleanup utility
This seemed to help me with many of my issues with wrapped selected.
Does anyone know if there is one for smf 2.0 and mambo 4.6.5?
Orstio:
You shouldn't need it. The bridge for SMF 2.0 cleans up the tags automatically. Just make sure the SMF_header_include mambot is published.
higherauthority:
When i publish that I get this
Notice: Undefined variable: configuration in /home1/computi1/public_html/manew/modules/mod_smf_login.php on line 110
Fatal error: Call to a member function get() on a non-object in /home1/computi1/public_html/manew/modules/mod_smf_login.php on line 110
I have seen a few different posts with the directions word for word on how to properly configure the bridge. i saw it once I know its here. It listed what modules and such needed to be published. Can you point me to a more recent post for 2.0 RC3 and mambo 4.6.5 is it the same? I asume it is i just cant find it
Orstio:
You're getting that error even when the mambot is not published, you just don't see it because it's suppressed.
Add $configuration to the list of globals on line 52 of mod_smf_login.php to fix the error.
The SMF_header_include mambot should always be published.
The other mambots are dependent on your personal choices of login and registration methods.
higherauthority:
I did this
--- Code: ---if (!defined('_VALID_MOS'))
die('Direct Access to this location is not allowed.');
global $configuration, $smf_path, $bridge_reg, $maintenance, $sourcedir, $context, $user, $settings ;
$configuration =& mamboCore::getMamboCore();
$database =& mamboDatabase::getInstance();
$mainframe =& mosMainFrame::getInstance();
// Get the configuration. This will tell Mambo where SMF is, and some integration settings
--- End code ---
I then get an error
--- Quote ---Notice: Undefined variable: configuration in /home1/computi1/public_html/manew/modules/mod_smf_login.php on line 219
Fatal error: Call to a member function get() on a non-object in /home1/computi1/public_html/manew/modules/mod_smf_login.php on line 219
--- End quote ---
Navigation
[0] Message Index
[#] Next page
Go to full version