Just as the title suggests?
If I use the Mambo - SMF bridge (I am in the process of getting this working....) could it be done so that if content is posted in Mambo and some comment module was added (not sure what I'm new to this). Could SMF be used as the comment engine for the Mambo content?
Any info you have on this would be great! Thanks!
Yes.
I have modified the discussbot to work with Mambo 4.6.x.
You can see it in action here:
http://www.everything-science.com/content/view/215/98/en/
Awesome, where do I download it?
Thanks!
Try this.
Thanks! :D
While I'm at it, can you use SSI.php from SMF in Mambo as well for content?
No.
If you want to do that, you probably want a portal, rather than a CMS. You should look at TinyPortal instead of Mambo.
While I agree with Orstio, there is a round-about way to get SMF posts into Mambo content...
get fetchRSS or some other RSS importer for Mambo, and run the RSS importer on the SMF RSS feed.
It's not an absolute requirement but it would be a nice to have and only for select threads, I can probably write a mambot or something for what I need to do.
I need UHP2 (user homepages) so Mambo is pretty much a requirement unless I can do something similar with tiniportal.
Can I use it with SMF 1.1.9?
My question is because with this SMF version and Mambo 4.6.5, using multiple databases (alrady configured at discussbot page), i get an error from SSI.php and other from Load.php (both SMF files):
Table 'db_sitebd.smf_messages' doesn't exist
File: /home/site/public_html/forum/SSI.php
Linha: 267
Table 'db_sitebd.smf_sessions' doesn't exist
Arquivo: /home/site/public_html/forum/Sources/Load.php
Linha: 2017
As we can see, the discussbot is trying to access my Mambo Database (not the SMF database, named db_forum).
Can anynone help me?
Thanks!
Bridge version?
I'm sorry.
The bridge is the last: SMF 1.1 Mambo 4.6 bridge 1.1.2.
Thanks for the interest in my issue.
And you're sure that your SMF database user has access to your Mambo database, and that your Mambo database user has access to your SMF database?
Yes, I'm sure. I'm using the same user to both databases, with all privileges.
If you look at error message, an attempt to access the worng database is made. The tables smf_sessions and smf_messages really don't exist on sitedb database because it's not the SMF database. The SMF database name is db_forum (already configured).
The most strange is that SSI.php is a SMF page, not a component page. Can be a SMF bug? I don't know but I have inserted the PHP command mysql_select_db("db_forum") before the line that this error occur and voilĂ , the erro was bypassed. With some adjusts (using forum numbers instead names and other small things), the component works but the layout on frontpage was destroyed. If I unpublish the component and repuslish the Login Form module, the layout back to normal state.
Thanks!
What sort of control panel does your host use?
cPanel 11.24.4-STABLE Build 36281
Do you also have the SMF_header_include mambot published?
No. What is the correct?
You can't really expect anything bridge-related to work correctly without it.
Ok, but publishing it had no effects. The layout still is bad.
The SMF_header_include does automatically what I do editing the template index?
All other SMF mambots are unpublished.
Why are you editing the template index?
To put the follow code:
<?php
ob_start('output');
$buffer = ob_get_contents();
ob_end_clean();
$buffer = str_replace('<input type="hidden" name="sc" value="" />'
,'<input type=hidden name="sc" value="'.$sc.'">', $buffer);
echo $buffer;
?>
Anyway, the template bug persist, with or without it.
What template bug?
With SMF_discussbot mambot published and the line "mysql_select_db("bd_forum");" inserted on SSI.php, the front-end layout/template is affected, like I said earlier. It loses the margins and orientation. So, we're talking about two things:
1. Warnings (my initial post) - solved with mysql_select_db PHP command in SSI.php but needs atention.
2. Layout problems - after bypass the warnings issue above, I'm having layout inconsistences when I publish the discussbot mambot: my menu margin grows right and the content on frontpage is supressed by left menu.
Thanks again!
Please, guys, don't forget my topic. =)
I don't know the solution yet... :-[
What is your URL?