Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Saturday, May 18 2013 @ 08:21 AM EDT


 Forum Index > Support > General Geeklog Support New Topic Post Reply
 what script runs "Older Stories"?
   
tstockma
 02/05/05 02:09AM (Read 331 times)  
+++++
Full Member

Status: offline


Registered: 07/22/03
Posts: 169
I've realized that the Older Stories block on my site prints the story title, then the number of comments people have made...I want to to see the number of times a story's been viewed.

Which script outputs that, and does anyone know the name of the variable that is the number-of-views for a story? That second question is just a bonus...what I really need is to find the script name & the section in the script that does "older stories".

Thanks for any help!

Tom www.southparkcity.com
 
Profile Email Website
 Quote
Dirk
 02/05/05 03:43AM  
AAAAA
Admin

Status: offline


Registered: 01/12/02
Posts: 13027
The Older Stories block is stored in the database and only refreshed when a new story is submitted. That makes it harder to provide the current number of views for a story ...

The function that does the update of the block is COM_olderStuff in lib-common.php.

bye, Dirk

 
Profile Email Website
 Quote
Content generated in: 1.77 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content