Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

latest topics on website page outside SMF

Aloittaja NotNice, joulukuu 17, 2007, 03:15:11 IP

« edellinen - seuraava »

NotNice

I am rebuilding my joomla website, and I am keeping my SMF forum, I need to have  a seperate database for the website and the forum since I do a lot of my 'fun stuff' on my website-database and I manage to crass it completely on a good day (which is why I am rebuilding my website, again  :D )

No I would like to have somthing like 'latest posts' on the front-page of my new website, but that is completely outside the SMF-domain, my website being www.my-website.ext and my forum being forum.my-website.ext, and as said, both have seperate databases

is it possible to show the 'last posts' on the website?
and if so, would anyone be willing to help me with the code?
or help met with a link if there is an answer that I did not find after using the search-option?
or is it not possible?

thank you for your help and advice!
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little.

weightman

You can do it with the Mambo bridge, using mod_smf_RecentPosts:
 
"This module uses the SSI function to display the last 5 posts made in the SMF Forum."

So, maybe thats a good place to start.

http://www.simplemachines.org/community/index.php?topic=199761.0

NotNice

I tried that brigde before, however in order for it to work properly you need to have both the joomla/mambo stuff and the SMF stuff in the same database, and that is not really an option at this moment. Giving Joomla and SMF access to eachothers database is not possible with the host I have.
I am also using joomla 1.5 and I dont think there is a bridge for that yet

so what I am asking basicly is:
if I have a plain html-website, could I put the last posts from the SMF-forum on the front-page of it?
(because then i'll get it to work in the joomla-template as well, or any other cms-template, basic website-entry page or whatever for that matter)
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little.

weightman

Actually, I don't think they have to share the same database as long as both databases have permission to access each other, but you need to search through the Mambo bridge subforum to be sure and ask Orstio, the author of the Mambo bridge, if you don't find the answer. The Jooma SMF bridge is dead. But, that mod I linked to uses SSI to show the latest posts and though I am not an expert in any of this stuff, that is probably how you would go about doing what you want to do. So, even if you want to do it in Joomla, that SSI module should point you in the right direction.

Best of luck

NotNice

the database-permission is a bit of a problem, but I'll start searching for more information on the ssi module-bit
thanks for the advice so far!
The most overlooked advantage to owning a computer is that if they foul up there's no law against wacking them around a little.

Advertisement: