[ADDON] Forum images in recent active topics

Download and support for PhpBB3 Top Stats Mod
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

[ADDON] Forum images in recent active topics

Post 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.
Board rules! No PM support
User avatar
Blackwolf
BBCoder IV
BBCoder IV
Posts: 272
Joined: 04 Dec 2010, 12:36
BBCodes: 101
Favourite BBCode: Dropcap
Favourite MOD: mchat
Location: Melbourne Australia

[ADDON] Forum images in recent active topics

Post 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....
Ultimate Edition, Ultimate Edition Oz, Oz Unity

“We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.”
User avatar
doktornotor
BBCoder IV
BBCoder IV
Posts: 167
Joined: 14 Sep 2011, 23:20
BBCodes: 30
Favourite MOD: Thanks for Posts
Contact:

[ADDON] Forum images in recent active topics

Post by doktornotor »

@Blackwolf, that obviously is a "pasto" error there... search for f.forum_name instead. :D
Support requests via PM go straight to /dev/null!
User avatar
Blackwolf
BBCoder IV
BBCoder IV
Posts: 272
Joined: 04 Dec 2010, 12:36
BBCodes: 101
Favourite BBCode: Dropcap
Favourite MOD: mchat
Location: Melbourne Australia

[ADDON] Forum images in recent active topics

Post 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.....
Ultimate Edition, Ultimate Edition Oz, Oz Unity

“We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.”
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

[ADDON] Forum images in recent active topics

Post by Stoker »

Thanks doktornotor. It was f.forum_name
BlackWolf, its there.
Board rules! No PM support
User avatar
doktornotor
BBCoder IV
BBCoder IV
Posts: 167
Joined: 14 Sep 2011, 23:20
BBCodes: 30
Favourite MOD: Thanks for Posts
Contact:

[ADDON] Forum images in recent active topics

Post by doktornotor »

@BlackWolf - this assumes using latest version.
Support requests via PM go straight to /dev/null!
User avatar
Arnevb
BBCoder III
BBCoder III
Posts: 98
Joined: 08 Oct 2011, 18:23
BBCodes: 8
Location: Belgium
Contact:

[ADDON] Forum images in recent active topics

Post by Arnevb »

Can you also replace it by the standard read/unread icons?
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

[ADDON] Forum images in recent active topics

Post by Stoker »

Nope, I have not loaded the unread info.
Maybe in a future release.
Board rules! No PM support
User avatar
Makis
BBCoder III
BBCoder III
Posts: 91
Joined: 10 Mar 2010, 18:01
BBCodes: 67
Favourite MOD: Welcome On Index
Location: Athens Greece

[ADDON] Forum images in recent active topics

Post by Makis »

Can we reduce the size of the original forum image, and how?

Thanks
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

[ADDON] Forum images in recent active topics

Post by Stoker »

Use smaller forum images ;)
Board rules! No PM support
Locked