4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 12, 2018, 12:05:34 PM

Login with username, password and session length
Search:     Advanced search
Check the new Tutorial subforum with helpfull guides and tutorials for modifications and tweaks.
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Modifications / Modifikationen
| |-+  Mods & Plugins (Requests & Discussions) (Moderators: mawenzi, Rembrandt)
| | |-+  How to show top images on homepage from a specific category?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: How to show top images on homepage from a specific category?  (Read 3720 times)
DD_Dee
Pre-Newbie

Offline Offline

Posts: 5

Thank You
-Given: 0
-Receive: 1


View Profile
« on: October 04, 2010, 01:01:10 AM »

On my homepage, I want to list the top images from one specific category. How do I do that?

Follow members gave a thank to your post:
ilaslan

For this post, 1 member gave a thank you!
Logged
ilaslan
Newbie
*
Offline Offline

Posts: 44

Thank You
-Given: 15
-Receive: 0


View Profile
« Reply #1 on: October 04, 2010, 10:56:25 AM »

heyy. thnx that is a nice idea..

and top rated images. directory...

and of course we will determine the number of image.
(i am using cache and not problem for cpu usage :d)
Logged
Rembrandt
Moderator
4images Guru
*****
Offline Offline

Posts: 4187

Thank You
-Given: 116
-Receive: 900

Vienna


View Profile WWW
« Reply #2 on: October 04, 2010, 07:47:19 PM »

FAQ -> SEARCH-> http://www.4homepages.de/forum/index.php?topic=27401.msg148269#msg148269
Logged

Meine 4Images Modifikationen  Now over 100 Modification Online!    Meine 4images Demo Seite


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)
ilaslan
Newbie
*
Offline Offline

Posts: 44

Thank You
-Given: 15
-Receive: 0


View Profile
« Reply #3 on: October 04, 2010, 09:52:58 PM »

sory my english is not very good but. probably your links mod a category for new images...
this mod request is top images in a specific category...
Logged
Rembrandt
Moderator
4images Guru
*****
Offline Offline

Posts: 4187

Thank You
-Given: 116
-Receive: 900

Vienna


View Profile WWW
« Reply #4 on: October 04, 2010, 10:29:00 PM »

Quote  [Expand]
this mod request is top images in a specific category

not in, from:
Quote  [Expand]
On my homepage, I want to list the top images from one specific category


look in the code, you can in the SQl query replace
ORDER BY i.image_date DESC
with
ORDER BY i.image_hits DESC
or
ORDER BY i.image_votes DESC
or
ORDER BY i.image_rating DESC

Follow members gave a thank to your post:
ilaslan

For this post, 1 member gave a thank you!
Logged

Meine 4Images Modifikationen  Now over 100 Modification Online!    Meine 4images Demo Seite


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)
ilaslan
Newbie
*
Offline Offline

Posts: 44

Thank You
-Given: 15
-Receive: 0


View Profile
« Reply #5 on: October 05, 2010, 03:17:49 PM »

hmm thnx. i see ... this is also good.

but .. i had thought a specific directory for example...---> populer directory

and sub directory ---> top votes directory
                              top hits directory  .........
 Wink
Logged
Rembrandt
Moderator
4images Guru
*****
Offline Offline

Posts: 4187

Thank You
-Given: 116
-Receive: 900

Vienna


View Profile WWW
« Reply #6 on: October 05, 2010, 05:20:55 PM »

but .. i had thought a specific directory for example...---> populer directory...
this can the mod
Logged

Meine 4Images Modifikationen  Now over 100 Modification Online!    Meine 4images Demo Seite


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)
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.127 seconds with 23 queries.