[ADDON] Forum images in recent active topics

Download and support for PhpBB3 Top Stats Mod
User avatar
Martin_K
BBCoder III
BBCoder III
Posts: 121
Joined: 02 Sep 2011, 11:13
BBCodes: 10
Favourite BBCode: textarea
Favourite MOD: Newsletter Add on
Location: London, UK
Contact:

[ADDON] Forum images in recent active topics

Post by Martin_K »

Thanks, worked fine for me, with the instructions in the first post.
User avatar
Martin_K
BBCoder III
BBCoder III
Posts: 121
Joined: 02 Sep 2011, 11:13
BBCodes: 10
Favourite BBCode: textarea
Favourite MOD: Newsletter Add on
Location: London, UK
Contact:

[ADDON] Forum images in recent active topics

Post by Martin_K »

doktornotor wrote: In recent_active_body.html, find:

Code: Select all

<!-- IF recent_active.FORUM_IMAGE -->{ROOT_PATH}{recent_active.FORUM_IMAGE}<!-- ELSE -->{ROOT_PATH}images/starimg.png<!-- ENDIF -->
and replace with

Code: Select all

<!-- IF recent_active.FORUM_IMAGE --><img src="{ROOT_PATH}{recent_active.FORUM_IMAGE}" width="32" height="32" alt="" /><!-- ELSE --><img src="{ROOT_PATH}images/starimg.png"  alt="" /><!-- ENDIF -->
Always a good idea to put the image width and height attributes in and to make your icons of that size, so there is no re-sizing going on, this is 'good practice' for images. 32*32 px is a good size for forum images.
Specifying a width and height for all images allows for faster rendering by eliminating the need for unnecessary reflows and repaints.
- http://gtmetrix.com
smithjohn
BBCoder I
BBCoder I
Posts: 1
Joined: 20 Feb 2013, 07:25
BBCodes: 3
Contact:

[ADDON] Forum images in recent active topics

Post by smithjohn »

wow am I ever having some bad luck
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 »

Its about to get a lot worse.
Ultimate Edition, Ultimate Edition Oz, Oz Unity

“We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.”
m1s3rys1gn4l
BBCoder II
BBCoder II
Posts: 9
Joined: 20 Jul 2012, 13:37
BBCodes: 6

[ADDON] Forum images in recent active topics

Post by m1s3rys1gn4l »

is that included in phpbb3bbcode premod ? :evil:
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
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 »

no, the premod doesnt have topstats.
Board rules! No PM support
UPSIDE
BBCoder II
BBCoder II
Posts: 15
Joined: 05 Dec 2014, 16:41
BBCodes: 10

Re: [ADDON] Forum images in recent active topics

Post by UPSIDE »

nice mod
Locked