4images Forum & Community
The forum for all 4images gallery administrators
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
[2023-01-23] 4images 1.10 released
Home
Help
Search
Login
Register
4images Forum & Community
»
4images Modifications / Modifikationen
»
Mods & Plugins (Requests & Discussions)
(Moderator:
mawenzi
) »
Top 10 (or more) images in ACP?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Top 10 (or more) images in ACP? (Read 4397 times)
0 Members and 1 Guest are viewing this topic.
IzyB
Jr. Member
Posts: 69
Top 10 (or more) images in ACP?
«
on:
July 19, 2005, 12:24:20 AM »
Is there a Mod, or can one be made, that will show the Top 10 (or more) categories by hits, images by hits/rating/votes/downloads in the ACP? I'd like to be able to see more than the Top 5. I'd like to see the top 10-20:) Thanks!
Logged
Namaste,
Tina
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Global Moderator
4images Guru
Posts: 17.849
mmm PHP...
Re: Top 10 (or more) images in ACP?
«
Reply #1 on:
July 19, 2005, 01:11:17 AM »
admin/home.php:
Code:
[Select]
$stats_limit = 5;
Logged
Your first three "must do" before you ask a question:
Forum rules
FAQ
Error messages
Bug Fixes & Patches
Search
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer.
(
forum rule #6
)
Extension for Firefox/Thunderbird:
Master Password+
Back/Forward History Tweaks (restartless)
Cookies Manager+
Fit Images (restartless for Thunderbird)
IzyB
Jr. Member
Posts: 69
Re: Top 10 (or more) images in ACP?
«
Reply #2 on:
July 19, 2005, 01:16:39 AM »
Thanks, once again, V@no!
Logged
Namaste,
Tina
IzyB
Jr. Member
Posts: 69
Re: Top 10 (or more) images in ACP?
«
Reply #3 on:
July 19, 2005, 01:28:25 AM »
Quick question V@no (or anyone else). I was just scanning through the code while changing the setting and was wondering what these do? I'm just wondering if these are something I may want to change for my own preference.
$per = intval($row['cat_hits'] / $max * 100);
$per = intval($row['image_hits'] / $max * 100);
$per = intval($row['image_rating'] / $max * 100);
$per = intval($row['image_votes'] / $max * 100);
$per = intval($row['image_downloads'] / $max * 100);
Logged
Namaste,
Tina
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Global Moderator
4images Guru
Posts: 17.849
mmm PHP...
Re: Top 10 (or more) images in ACP?
«
Reply #4 on:
July 19, 2005, 02:52:45 AM »
these are simple mathematic alghoritm to calculate procentage.
Logged
Your first three "must do" before you ask a question:
Forum rules
FAQ
Error messages
Bug Fixes & Patches
Search
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer.
(
forum rule #6
)
Extension for Firefox/Thunderbird:
Master Password+
Back/Forward History Tweaks (restartless)
Cookies Manager+
Fit Images (restartless for Thunderbird)
Print
Pages: [
1
]
« previous
next »
4images Forum & Community
»
4images Modifications / Modifikationen
»
Mods & Plugins (Requests & Discussions)
(Moderator:
mawenzi
) »
Top 10 (or more) images in ACP?