PDA

View Full Version : Photostats


pixelpunk
10-27-2004, 12:28 PM
Download and Details (http://www.pixelpunk.se/software/index.php?x=downloads&details=12)

Photostats

Small, very tiny in fact, addon that adds three tags for use in templates.

1. The date the first photo was posted, in essence when the site came alive.
2. The number of days the site has been running (calculated from the first post)
3. Number of photos posted per day on average.

// punK

turnover
10-27-2004, 01:23 PM
work fine. Thks punk :)

blinking8s
10-27-2004, 09:54 PM
works great...

how many hits per day might be a cool addition

and how many people are online

pixelpunk
10-28-2004, 08:43 AM
It would be a real easy thing to check how many hits the current day has, like 26 visitors so far today or something.

Is it something like that you mean blinking?

blinking8s
10-28-2004, 12:13 PM
It would be a real easy thing to check how many hits the current day has, like 26 visitors so far today or something.

Is it something like that you mean blinking?

exactly. Like rather than "799 visitors" id like a less misleading "26 daily visits" or visits today...hehe

the options to have the number of current online viewers would be cool too.

pixelpunk
10-28-2004, 02:23 PM
How is "799" visits misleading?

Anyway, I'll write a quick thing for the visitors today thingie.

// punk

pixelpunk
10-28-2004, 02:56 PM
http://www.pixelpunk.se/software/index.php?x=downloads&details=13

Daily Visits.

// punK

Kenneth K
10-29-2004, 11:00 AM
I get a error with the Daily visits addon. I get this in the admin panel:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/hotels/.dk/pinx/html/photoblog/addons/visits_today.php on line 16

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/hotels/.dk/pinx/html/photoblog/addons/visits_today.php on line 20
Visits Today visits_today.php - version 0.1
Check how many visitors you've had today and your daily average.
New tags to use are:
<STATS_VISITORS_TODAY>, <STATS_VISITORS_DAILY_AVERAGE>

/Kenneth

pixelpunk
10-29-2004, 12:15 PM
Are you using the newest version of pixelpost? Version 1.2.
There's a slight difference in the table names that affects these sort of things.

// pixel

Kenneth K
10-29-2004, 12:42 PM
No, I'm not. I tried to update but now it's fucked up!

pixelpunk
10-29-2004, 01:18 PM
You updated now and it went wrong?

// punK

Kenneth K
10-29-2004, 02:12 PM
I ran the upgrade.php and overwrote the pixelpost files. Now I get this: http://www.pinx.dk/photoblog/ where do I go from here? In the admin section it wants to create new tables and if I enter the same info as before it say that they already exists.

/Kenneth

pixelmassive
12-08-2004, 08:45 PM
Hi, I like this addon. What would also be useful for me is NUMBER OF DAYS/HOURS/MINUTES SINCE LAST POST, and to be able to configure it to say

-MINUTES if less than 60, HOURS if less than 24, else DAYS

Something along those lines.

Pixelpost rocks. Thanks.

EDIT: I meant to suggest this change for Pixelpost Stats, but I guess it would be just as useful for Photostats.

winklebleck
12-09-2004, 02:39 PM
How doth one go about calling up these stats remotely?
Say I wanted "xx Photos Posted" to show up on another site outside of pixelpost. I'm sure pixelpunk already knows how to do this, it's in function on the software main page with the "photoblogs running pixelpost" showing hits.

Hearts,
Winklebleck

pixelpunk
12-09-2004, 02:54 PM
How doth one go about calling up these stats remotely?
Say I wanted "xx Photos Posted" to show up on another site outside of pixelpost. I'm sure pixelpunk already knows how to do this, it's in function on the software main page with the "photoblogs running pixelpost" showing hits.

Hearts,
Winklebleck

You have to query the database and count the number of entries.
Or, you can set up a cronjob and a custom script to write the number to say just a regular text document somewhere on the server.
There's no other way.

The hits thing on the front page of this site is a local hitcounter for each listed site. I have setup a table for links in my database and if you'd like to be included on that list you submit your link.
Everytime someone clicks on a link my local database updates the number of hits for that listed site.
I can't get your photoblogs hit statistics, obviously.

// punk

Edit: you could write a script that sits locally and queries the database for such info, then just include the script in some other script. Nice idea actually, might do that as an addon :)

|Shrued
06-14-2005, 12:03 PM
Will this DL be available again? I click the link and it brings me to the main page.

raminia
06-14-2005, 03:48 PM
try pixelpost.org/v1

abhikutty
03-02-2007, 05:01 PM
pixelpunk,
i am using visits_today v 1 addon on my HITS page at http://www.abhijitsplanet.com/pratibimb/

The average visits number suddenly drops down dramatically.
I think it resents itself every month.

How can I stop it to reset?
Plz guide me.
Thanks.
Abhi