Topic: Print icons in front of topics
I release a very dirty extensions, dirty because the code was written quickly without any quality matters in mind.
The extentions can be used to add icons in front of topics in the list of topics page.
I would like to offer it as a base for futher extensions development. Just hope that it can be usefull for somebody. I will continue to update it in the futur.
Thank you very much,
You can download it here: http://forum.frandroid.com/forum/viewtopic.php?id=27668
GPL Licence, based on pun_tags
Icons from famfamfam, Creative Commons Attribution 2.5 License, More icons on
1 . Open db.sql replace PUMBB_PREFIX_ by your database prefix;
2 . Execute the sql file on your db via phpmyadmin for example
3 . Move cat-menu to your punbb 'img' folder
4 . move pun_catid to extentions folder
5 . Line 95 in file viewforum.php,
find the lines:
> $query = array(
> 'SELECT' => 't.id, t.poster, t.subject, t.posted, t.first_post_id, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to',
and chand it to:
> 'SELECT' => 't.id, t.poster, t.subject, t.posted, t.first_post_id, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to, pun_catid',
6 . Activate extention in adminstration console
1 . There is no administration interface for the moment (maybe later), you have to
2 . Bugs on order field ?
3. Sorry to the punbb team, i did't realized that 'pun_*' names was extentions from the punbb's team