Jump to content

Help with SSI for SMF


flyalaska

Recommended Posts

I am using SMF 2.0 RC3. I am having problems displaying the recent topics. Here is what I have done.

Before the head I have

<?php require("./forums/SSI.php"); ?>

Where I want to display it I have

<!--#include virtual="./forums/SSI.php?ssi_function=recentTopics" -->

also tried

<?php ssi_recentTopics(); ?>

All attempts have an error.

Fatal error: Call to undefined function ssi_recenttopics() in /home/flyakaco/public_html/lib/skins/_SKIN/frontpage_main.tpl  on line 33

Any help would be appreciated!

Link to comment
Share on other sites

  • Moderators

Lorenzo made me a code for that. It worked perfectly for SMF 1.1 but as soon as I updated to v 2.0 it just showed a blank space. Click for post

I need that for 1.1.

But i got the error.....

Warning: Invalid argument supplied for foreach() in /home/flyiceni/public_html/lib/skins/ObsessBlue/frontpage_main.tpl  on line 548

What is wrong?

Link to comment
Share on other sites

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...