Author Topic: How to show top images on homepage from a specific category?  (Read 5331 times)

0 Members and 1 Guest are viewing this topic.

Offline DD_Dee

  • Pre-Newbie
  • Posts: 5
    • View Profile
How to show top images on homepage from a specific category?
« 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?

Offline ilaslan

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: How to show top images on homepage from a specific category?
« 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)

Rembrandt

  • Guest
Re: How to show top images on homepage from a specific category?
« Reply #2 on: October 04, 2010, 07:47:19 PM »
.... How do I do that?
FAQ -> SEARCH-> http://www.4homepages.de/forum/index.php?topic=27401.msg148269#msg148269

Offline ilaslan

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: How to show top images on homepage from a specific category?
« 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...

Rembrandt

  • Guest
Re: How to show top images on homepage from a specific category?
« Reply #4 on: October 04, 2010, 10:29:00 PM »
Quote
this mod request is top images in a specific category

not in, from:
Quote
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

Offline ilaslan

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: How to show top images on homepage from a specific category?
« 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:

Rembrandt

  • Guest
Re: How to show top images on homepage from a specific category?
« 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