Using SMF to comment on Mambo Topics

Started by wing, September 16, 2007, 12:04:07 AM

Previous topic - Next topic

wing

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!

Orstio

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/

wing



wing

Thanks!  :D

While I'm at it, can you use SSI.php from SMF in Mambo as well for content?

Orstio

No.

If you want to do that, you probably want a portal, rather than a CMS.  You should look at TinyPortal instead of Mambo.

Kindred

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

wing

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.

fernandop

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!


fernandop

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.

Orstio

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?

fernandop

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!


Orstio

What sort of control panel does your host use?

fernandop


Orstio

Do you also have the SMF_header_include mambot published?

fernandop


Orstio

You can't really expect anything bridge-related to work correctly without it.

fernandop

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.

Orstio

Why are you editing the template index?

Advertisement: