Hi All
I want to display the latest posts from SMF board on my Joomla website and SSI seems just the ticket.
Not being a PHP/CSS expert I'm looking for a simple WYSIWYG extension that will help me create the menu item I want within Joomla. Is there such a thing? Or which standard feature do I use to create a module I can add to the sidebar of my home page?
Thanks
Menu item?
No, ssi would not be used for that.
Displaying the most recent post in a php module, yes.
<?php
require_once('path/to/smf/install/SSI.php');
ssi_recentTopics($num_recent = 1, $exclude_boards = null, $include_boards = null, $output_method = 'echo'); ?>
Thanks Kindred
I'm not sure if I'm heading in the right direction. I'm trying to use a Custom HTML module and, after installing Sourcerer so it will run PHP, I've got this code in the module:
{source}<?php require(wwforum/SSI.php); ?>
<?php ssi_recentTopics($num_recent = 8, $exclude_boards = null, $include_boards = null, $output_method = 'echo'); ?>{/source}
This was a direct copy from the examples in the SMF manual but when I try to publish it, it crashes my website.
I've also just noticed that I got an entry in my SMF error log alerting that the Admin had attempted to log in so wondering if this is a problem.
Is this just a problem with my syntax (having never written PHP code before) or is the approach flawed in some way?
Thanks
1- use the absolute path to SMF, not the relative one...
2- turn ON sub-domain independent cookies.
Hi Kindred
After a lot of trial and error I contacted my web hosting company to find out why it wasn't working and they told me, because it's on a shared server, they don't give permissions for SSI links to the user database!
What a waste of time that was :-(
Thanks for your help in any case
Steve
Well, that's a really stupid host.... I'd switch hosting, if I was you...