Page 1 of 5

[ADDON] Forum images in recent active topics

Posted: 19 Nov 2011, 12:34
by Stoker
Use Forum images in recent active topics instead of the Star img.
This snippet is nice for people who use forum images of small sizes.

You need version 1.0.6 or later for this to work.

Open includes/functions_top_stats.php
Find: f.forum_name
Inline, after add: , f.forum_image
Find: (the first) 'FORUM_NAME' => $row['forum_name'],
After add: 'FORUM_IMAGE' => $row['forum_image'],

Open styles/prosilver/template/recent_active_body.html
Find: {ROOT_PATH}images/starimg.png
Replace with: <!-- IF recent_active.FORUM_IMAGE -->{ROOT_PATH}{recent_active.FORUM_IMAGE}<!-- ELSE -->{ROOT_PATH}images/starimg.png<!-- ENDIF -->

Upload and refresh template.

[ADDON] Forum images in recent active topics

Posted: 19 Nov 2011, 13:10
by Blackwolf
Open includes/functions_top_stats.php
Find:
Forum images in recent active topics

Cant find that line, not even part of it in includes/functions_top_stats.php :?

Even checked includes/functions_top_stats.php from 1.0.6....

[ADDON] Forum images in recent active topics

Posted: 19 Nov 2011, 13:41
by doktornotor
@Blackwolf, that obviously is a "pasto" error there... search for f.forum_name instead. :D

[ADDON] Forum images in recent active topics

Posted: 19 Nov 2011, 13:46
by Blackwolf
doktornotor wrote:@Blackwolf, that obviously is a "pasto" error there... search for f.forum_name instead. :D
Thanks.....but no sign of that either.....

[ADDON] Forum images in recent active topics

Posted: 19 Nov 2011, 13:47
by Stoker
Thanks doktornotor. It was f.forum_name
BlackWolf, its there.

[ADDON] Forum images in recent active topics

Posted: 19 Nov 2011, 13:48
by doktornotor
@BlackWolf - this assumes using latest version.

[ADDON] Forum images in recent active topics

Posted: 19 Nov 2011, 14:22
by Arnevb
Can you also replace it by the standard read/unread icons?

[ADDON] Forum images in recent active topics

Posted: 19 Nov 2011, 14:24
by Stoker
Nope, I have not loaded the unread info.
Maybe in a future release.

[ADDON] Forum images in recent active topics

Posted: 19 Nov 2011, 21:55
by Makis
Can we reduce the size of the original forum image, and how?

Thanks

[ADDON] Forum images in recent active topics

Posted: 19 Nov 2011, 22:07
by Stoker
Use smaller forum images ;)