06-05-2008, 12:38 PM
Pages: 1 2
06-05-2008, 03:18 PM
In the 'lastpost'-column ?
06-08-2008, 08:47 AM
Exactly !
like vbulletin
Can u guide me?
like vbulletin
Can u guide me?
06-08-2008, 09:03 AM
Open ./inc/functions_forumlist.php
Find
Change into
Find
Add Above
Then open your forumbit_depth2_forum_lastpost template
And add {$lastpost_icon} where you want to display it.
Find
PHP Code:
global $fcache,
Change into
PHP Code:
global $fcache, $cache,
Find
PHP Code:
// Format lastpost date and time
Add Above
PHP Code:
// GET THREAD ICON
$lastpost_icon = "";
$thread = get_thread($lastpost_data['lastposttid']);
$icon_cache = $cache->read("posticons");
if($thread['icon'] > 0 && $icon_cache[$thread['icon']])
{
$icon = $icon_cache[$thread['icon']];
$lastpost_icon = "<img src=\"{$icon['path']}\" alt=\"{$icon['name']}\" /> ";
}
Then open your forumbit_depth2_forum_lastpost template
And add {$lastpost_icon} where you want to display it.
08-06-2008, 09:27 AM
have someone tested this on 1.4?
I used to do this mod for old mybb 1.0.x
I just tried this mod on mybb 1.4
it is working perfectly
I used to do this mod for old mybb 1.0.x
I just tried this mod on mybb 1.4
it is working perfectly

08-06-2008, 10:02 AM
yes this still works
08-19-2008, 05:10 AM
This worked fine for me in 1.4, but when I updated to 1.4.1, reverted the templates, modified inc/functions_forumlist.php again and did the template modifications above, I got
So I added
right above
(as suggested by an admon here, even though $cache is already in the global line at the top of the file as instructed in this thread), and now the error is gone, but the icons don't display. Can someone help me get this working in 1.4.1?
Code:
Fatal error: Call to a member function read() on a non-object in /home/*****/public_html/inc/functions_forumlist.php on line 345PHP Code:
global $cache;
PHP Code:
$icon_cache = $cache->read("posticons");
09-15-2008, 08:39 AM
please up!
09-17-2008, 11:11 AM
can some one make a plugin for this?
10-04-2008, 10:55 PM
Yes please, this would be an incredible plugin !
Pages: 1 2