Jump to content

Recommended Posts

Posted

Hi all,

I am using SMF forum and I am trying to show the latest forum posts on my homepage.

I searched the forum and have tried a few things but it wont work.

My ssi is

<?php require("/home/mysite/public_html/core/modules/forum/SSI.php"); ?>

When it put this at the yop of my frontpage.tpl and then goto my website it redirects to my forum.

Am i putting it in the wrong place??

Any help would be much appreciated

Alan

Posted

If you have an rss feed from your forum, all you have to do is get an RSS emulator to show the contents of the rss. Much easier than trying to get the ssi.php to work.

Posted

Im not all that familiar with smf but put that require in your header not in the frontpage main.

There should be some other code to display you put in your frontpage

Where can I find the header. I dont have a header.tpl

Posted

Hi there,

I have solved this at last. What you need to make a seperate page with your ssi code.

Put it in the same directory as your SSI.php and the call it to where ever you want to show it on your site.

Posted

Sorted it out with the ssi.php. My forum folder was buried to far into my site. I moved the folder to the root directory added the ssi to the top of the page and called the latest post in and it all worked. I am a happy CEO lol

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...