<? DEW-CODE.COM  

Downloads

Assorted scripts  (1)
DewNewPHPLinks  (9)





Lost Password?
No account yet? Register

Dew-Code Newsfeed

Resources


 USdigitalcable.com

Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Re:What's New, Cool, Popular in the index page? (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:What's New, Cool, Popular in the index page?
#1640
webking (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
What's New, Cool, Popular in the index page? 11 Months, 2 Weeks ago Karma: 0  
Hi again,

Instead of clicking What's New, Cool, Popular links to get to the page, would it be possible to insert all of them in the index page?

Let say I want to make a 3-column table at the bottom of the index page and each has its own cell title. First cell would have What's new, 2nd What's cool, and 3rd Popular.

What I also like to see if we could enhance the What's popular function a bit by let say Today's Popular, This Week's Popular, This Month's Popular, This Year's Popular, All Time Popular, and very special one "Random Links."

If these can be done with your help, I'll definitely send in more donations. I've sent a small donation to start with. When the site gets better with adsense, I'll donate some more each month to you guys and the red cross.

God bless and I m loving it.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1641
Dewed (Admin)
Admin
Posts: 605
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:What's New, Cool, Popular in the index page? 11 Months, 2 Weeks ago Karma: 9  
It certainly can be done, but it is a fair amount of work. More than I can provide for free via this forum. I am a freelance coder though and could be hired to do this for you if you like.
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#1647
webking (User)
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
Re:What's New, Cool, Popular in the index page? 11 Months, 2 Weeks ago Karma: 0  
For now, can you point me to the right direction on what to look for in order to make New, Cool, Popular to the front index page? Thanks.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1648
Dewed (Admin)
Admin
Posts: 605
graph
User Online Now Click here to see the profile of this user
Dew-Code.com
Re:What's New, Cool, Popular in the index page? 11 Months, 2 Weeks ago Karma: 9  
if you look at /include/show.php you will see how the queries are constructed for the various pages.

Seems you would need to write something that ran daily via cron, that routine would write hit count data to a file, then the next time it runs, use the previous run's data to calc the most popular entries for that time period, output those results to a file, which in turn gets included for display.
 
Report to moderator   Logged Logged  
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop
Outsource your projects to thousands of programmers at
ScriptLance.com
Newsflash
Interested in
advertising?

This space for rent!

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2008