Search
Enter Keywords:
Sunday, 20 July 2008
Hosted Forums
Templates
Your own

commuity forum

for your church

or non-profit

organization.

Home arrow Modules arrow Simple Machines arrow Simple Machines Latest Post Module
ADVERTISEMENT
Simple Machines Latest Post Module
Written by Ben   
Friday, 12 November 2004
This module requires the bulletin board software Simple Machines to be installed local to your Joomla! installation.  When setup properly, it will display the name of the topic which was last posted or replied in which will be linkable.  I can display other bits of information which can be usefull and is described below.

INITIAL SETUP

Two things are REQUIRED for this module to work properly.  The most obvious, of course, is that the module is to be installed as any other through your Administration Panel.  The second is that the following code is needed to be placed BEFORE the first html tag.  It also must be edited to reflect the correct path on your server.

Below are examples to help demonstrate what needs to be added to your template. 

<?php require("/path/to/your/SSI.php"); ?>

ex:

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



The easiest way to get the exact code to add to your template is to edit the following url to reflect your site: 

www.yoursite.com/yourforum/ssi_examples.php 



There you will see the exact code needed to add in your template.

CONFIGURATION

Now that it is installed properly you will need to, of course, publish it in the desired location and setup the different parameters to give the desired look.  Below we discuss the different parameters and what they do.

Link To Forum

Here you can select to show or hide a linkable title to the forum of which the topic resides in.  This can be usefull if there is one or more topics with the same name that are very active.  Turning it off can allow it to fit better within your site and it's design.

Parameters
Parameters
Overview
Overview











Post Information

Here you can select to show or hide the date and time of the post or most recent reply.  Good information for the users of your main site.  Turning it off can allow it to fit better within your site and it's design.

Parameters
Parameters
Overview
Overview












Posted By

Here you can select to show or hide the users that posted or replied.  Again this can be usefull to your users or can be turned off to fit better within your site.

Parameters
Parameters
Overview
Overview











Limit Number of Recent Posts

Here you can set the maximum number of topics you want to be displayed as being posted in or replied to recently.  5 - 10 are good recommended numbers.  In the overview below you can see that there are only five topics displayed.

Parameters
Parameters
Overview
Overview











Exclude Forums

Here you can exclude forums from being listed on your site as having a recent post or reply.  This is very usefull if you have mambers only forums or forums that are not considered relative to your site.  To exclude a forum you will need to know the number of the forum.  To get this you will need to visit this forum and then look in the address bar.  See the example below.

Example
Example





Here you will notice that the highlighted area says "board,1.0"  so the board number is 1. 

Now that you have the forum numbers that you want to exclude, just enter them in any order seperated by commas.

Parameters
Parameters









Using any combination of the above parameters will allow you to customize this module to best fit your site's style or necessary space constraints that you may have.


DOWNLOAD

If you would like to download this module you may do so here.
 

© 2008 Church Ministries Online
Joomla! is Free Software released under the GNU/GPL License.