WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Toplist help for last 10 images

Version:
printPrint


Toplist help for last 10 images
Colin
Beginner

Usergroup: Member
Joined: Jan 09, 2005
Location: UK
Total Topics: 1
Total Posts: 2
Posted 01/09/05 - 09:10 AM:
quote post
#1
Hi.
Im new to this so please bear with me.
Is it possible to create a top list or something else to show the last 10 uploaded images on the main page.
I have tried without success and to be honest im not all that good at this sort of thing.
I’ve read through the forums but can’t find what im looking for.
All help will be greatly appreciated.
Colin
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6316
Posted 01/10/05 - 09:31 AM:
quote post
#2
Isn't there already a default toplist there showing the newest images? I thought there was.

Use the toplist generator to be sure, but going by memory I think it'd be


images,id,10,descending




(Ignoring the http://www.webmastersite.net/forums/ that this buggy forum tacked on.)

Edited by Paul on 01/10/05 - 09:34 AM

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Colin
Beginner

Usergroup: Member
Joined: Jan 09, 2005
Location: UK
Total Topics: 1
Total Posts: 2
Posted 01/11/05 - 04:02 AM:
quote post
#3
Hi Paul.
That worked a treat. But,
The images are stacked on top on one and other.
Ie Vertical.
Is it possible to have them Horizontal accross the page.
Perhaps 3 to a line.

Would i need to edit a script and if so what one.
Cheers for the help.
Colin
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 57
Total Posts: 6316
Posted 01/13/05 - 06:27 AM:
quote post
#4
Simply use the toplist generator and specify the number of columns per row you want, and it'll put it in a table for you.

This is however a useless exercise since there already is a toplist for newest images. Go to your 'switches' page and turn on 'newest images on front page' if you have it off.

Edited by Paul on 01/13/05 - 06:30 AM

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.