My URL is... www.globalyouthfund.org
http://www.globalyouthfund.org/forum/hack_1stpagenews2.php
I've set the options as...
/* Some options */ $displayForums=array(1,2,3,4); /* Define comma-delimited array of IDs of your forum(s). Topic data from these forum(s) will be displayed in addon. To view forum ID, mouse over on forum's title in forum on the first page, and check out the data link saying "forum=...".IDs of forums to use in display */
$limit=5; /* Number of topics to be displayed */
$displayMethod=2; /* Usual echo - 1; Display via JavaScript - 2; just keep content within $tplNews - 0 */
$sort='topic_last_post_id DESC'; /* Order by: 'topic_id' OR 'topic_last_post_id' */
$post_sort=1; /* If 0, first post will be displayed under topic's title (slower); else last (faster) */
$maxTxtLength=200; /* Maximum Text length within display. If 0, post text will not be displayed, and script execution will be FASTER. */
$path='/usr/var/www/forum/'; /* Absolute or relative path to your forums directory (with ending slash). You can define it as '/usr/var/www' or something, if you know it exactly, or you can define it comparatively to your script that calls HACK_1stPageNews2.php. For example, if you have /forums/ directory inside your main directory, you can define it as './forums'. Please note: if you are calling script from JavaScript source, you NEED to define it as '/usr/var/www' (e.g. absolute). */
$l_months='January:February:March:April:May:June:July:August:September :October:November:December'; /* Textual definitions of Months, may be the same or not as in Language Pack */
$dateFormatNews='F j, Y'; /* Date format; may differ from what you have on forums */
$excludeIncludes=FALSE; /* If you are including this file from the file, which is already using minBB functions, set to TRUE so they will not repeat each other and produce an error. */ |