miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Specific miniBB Support Forums / Specific /  
 

First page news add-on doesn't display anything

 
Author Olga
Guest
#1 | Posted: 10 Sep 2009 14:07 
I have installed firstpagenews addon and try to call it via javascript, but it doesn't show anything, just blank page!

i will provide the data:


/* Some options */
$displayForums=array(); /* 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. For displaying all forums, just leave the array empty. */

$limit=10; /* 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='/data03/virt21276/domeenid/www.kirss.net/htdocs/foorum/'; /* 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. */

/* THAT'S ALL. DO NOT EDIT BELOW IF YOU ARE NEWBIE */

I am trying to include it into the blank page: http://www.kirss.net/foorum/uued.php and the code is:

<script language="text/javaScript" src="http://www.kirss.net/foorum/addon_1stpagenews2.php"></script>

why it doesn't work? Please, help.

Author Paul
Lead Developer 
#2 | Posted: 11 Sep 2009 08:20 
First of all, it's a bit strange to call this news from the same folder where forums are located.

It was planned to call from some external page.

Anyway, it's up to you as the customer... the main problem is that you're using the older version of miniBB, but trying to install the add-on which is compatible only with newer version 2.4. We do not support outdated versions. You need to upgrade your forums first, then to install this add-on.

Author ripper
Partaker
#3 | Posted: 19 Feb 2010 16:33 
We have an older version of minibb (v.2.0), is there any possibility to get previous compatible version of first page news addon?

Author Paul
Lead Developer 
#4 | Posted: 20 Feb 2010 08:47 
Unfortunately, we support only the currently produced version, and so all the add-ons.

Specific miniBB Support Forums / Specific /
 First page news add-on doesn't display anything
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑