miniBB ®®
Fight the automated spam - protect your miniBB-forums,
getting the Captcha addon! Click here to read more.
Captcha Addon for miniBB
Community Forum
 | Forums | File Bank | Sign Up | Search | Statistics | Manual |
Specific miniBB Community Forum / Specific /

recent discussions on the new page

 
Persian
Forums Member
#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?
Paul
CEO
#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.
 
This topic is closed. You can't post a reply.
 
Online now: Guests - 39
Members - 0
Most users ever online: 191 [24 Dec 2007 14:33]
Guests - 191 / Members - 0

Forums are powered by miniBB®