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

Register | Forgot Password

Toplist Question

Version: 3.12
printPrint


Toplist Question
pablo
Beginner

Usergroup: Member
Joined: Jan 30, 2003
Total Topics: 2
Total Posts: 3
Posted 10/16/04 - 09:32 PM:
quote post
#1
Hello,

Just upgraded to 3.12.

Is it possible to make a toplist sorting by template variable {LINKHITSINPERMONTH} , so that I may display the top referrers in terms of this value instead of the absolute 'hitsin' field?

Thanks,
pablo

http://www.paulpolitis.com
http://art-and-photography.com
fresco
Forum Regular

Usergroup: Customer
Joined: Feb 19, 2003
Total Topics: 22
Total Posts: 101
Posted 10/16/04 - 10:03 PM:
quote post
#2
hi Pablo,

what is your page-generation time on 3.12?
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 6022
Posted 10/17/04 - 04:09 PM:
quote post
#3
hitsinpermonth is not a field, it's just a template variable. Temporary hits in is a field, so you can sort by that if you want. You could also invent a mysql formula to sort by, something like (hitsin / ((UNIX_TIME_STAMP() - time) / (60*60*24*30))) or whatever it is that would equate to meaning hits in per month.

"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
pablo
Beginner

Usergroup: Member
Joined: Jan 30, 2003
Total Topics: 2
Total Posts: 3
Posted 10/17/04 - 06:30 PM:
quote post
#4
Thanks.

Fresco: I haven't noted much change in page generation time between 2.56 (or whatever version I was previously using) and 3.12. Any increase I've seen so far is extremely minor.

http://www.paulpolitis.com
http://art-and-photography.com
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.