[ADDON] Forum images in recent active topics

Download and support for PhpBB3 Top Stats Mod
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 »

Same problem here...
I cant find your commands, and i'm pretty shure I have the latest version installed.
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 »

Arnevb wrote:Same problem here...
I cant find your commands, and i'm pretty shure I have the latest version installed.
Post up the same file and check the edit of functions_top_stats.php <- You too Geeko80
Board rules! No PM support
geeko80
BBCoder II
BBCoder II
Posts: 17
Joined: 18 Nov 2011, 21:57

[ADDON] Forum images in recent active topics

Post by geeko80 »

the version is the 1.0.6
i attached the two files
tnx for helping me.
should i add these files only in prosilver folders, only in madevo or both?
Attachments
topstatsfiles.zip
(3.62 KiB) Downloaded 233 times
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 »

geeko, can you also provide a screenshot of the forum Presenti from ACP?
Board rules! No PM support
geeko80
BBCoder II
BBCoder II
Posts: 17
Joined: 18 Nov 2011, 21:57

[ADDON] Forum images in recent active topics

Post by geeko80 »

what do u mean?

i posted a screenshot here:
viewtopic.php?f=49&t=1538&start=10#p9739
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 »

Thats not the forum with the problem.
I need a screenshot of the forum which images is not displayed - from ACP
Board rules! No PM support
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 »

Okay, i was able to reproduce the problem.
It appears when there is spaces in the image name. Like this: pc dvd rosso scuro.png
Board rules! No PM support
geeko80
BBCoder II
BBCoder II
Posts: 17
Joined: 18 Nov 2011, 21:57

[ADDON] Forum images in recent active topics

Post by geeko80 »

Stoker wrote:Okay, i was able to reproduce the problem.
It appears when there is spaces in the image name. Like this: pc dvd rosso scuro.png
great!!!
i will fix it! Thank you very much again
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 »

geeko80 wrote:
Stoker wrote:Okay, i was able to reproduce the problem.
It appears when there is spaces in the image name. Like this: pc dvd rosso scuro.png
great!!!
i will fix it! Thank you very much again
:thumb:

Arnevb wrote:Same problem here...
I cant find your commands, and i'm pretty shure I have the latest version installed.
Does above solve your problem Arne?
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 »

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

Thanks
Sure. If all you need is a hardcoded size, then

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
<!-- 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 -->
Support requests via PM go straight to /dev/null!
Locked