miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Search | Statistics | Manual |
Specific miniBB Support Forums / Specific /   

recent discussions on the new page

Author Persian
Registered
#1 | Posted: 16 Aug 2008 11:38 
I have been added this New.html ( for viewing last dis in new page )
then I added this code to index.php

elseif($action=='new')
{
$action='';
require($pathToFiles.'bb_func_ldisc.php');
$listTopics=$list_topics;
echo load_header();
echo ParseTpl(makeUp('main_last_discussions'));
$action=='new';
}
elseif($action=='')
require($pathToFiles.'bb_func_vforum.php');


so it's ok and working...but forum icon not showing in last dis ( new page ) showing all like this default.gif

any fix?

Author Paul
Lead Developer
#2 | Posted: 18 Aug 2008 02:12 | Edited by: Paul 
First of all you did it wrong adding something to index.php. That way you destroyed the core file. Everything in miniBB may be achieved at the add-ons level, not saying about your problem which is quite simple to solve, but from completely different side. Turn on your imagination, and stop flooding our forums with your lame questions please. I already wrote you in this thread that you must use 1st page news add-on, and for displaying a forum icon you just need to modify it a bit similarly how it's done for bb_func_vtopic.php.

Specific miniBB Support Forums / Specific / recent discussions on the new page Top
This topic is closed. New replies are not allowed.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB