Show last posts on other site:

Started by Sicarius, April 15, 2010, 09:54:04 AM

Previous topic - Next topic

Sicarius

How i can make so new posts that written in the forum will show on other site?

There is an option in the forum that if you turn that on you can see the last posts on topics.
I want to put that on other site so they will see the last posts on topics there.

Is there some script or a way to do that?

Thanks

Kindred

get an RSS feed set up (there is a mod which will make an rss feed for each board within the forum)
and then display the feed on the second site.
Сл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."

Sicarius

That is not what i need.
What i need is to show on my other site the last 10 topics from the forum.

I don't have the knowledge how to do that, i will be glad if you or someone else can help with that.

Kindred

if they are on the same server, you can use the second site's SSI.php
Сл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."

Sicarius

They are in the same server but not the same database.


And anyway, i will also like to know what to do if the sites are not on the same server to rich my knowledge.

Kindred

that's OK.... if they are on the same server, then you can call the SSI.php from forum2 with the full path.
Сл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."

Sicarius

I tried something but it gave me an error, which code to write?

Thanks for support.

Kindred

I would suggest installing a portal mod (tinyPortal, EZPortal, etc) and using the PHP block to call the SSI.php and ssi function from the second forum
Сл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."

Advertisement: