webking (User)
Fresh Boarder
Posts: 17
|
|
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.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
webking (User)
Fresh Boarder
Posts: 17
|
|
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.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|