Previous Thread
Next Thread
Print Thread
Rate Thread
#243039 04/16/2003 9:00 AM
Joined: Jan 2003
Posts: 250
Member
Member
Offline
Joined: Jan 2003
Posts: 250
Just something fun and simple... thought it would be cool to reflect the statistics from Photo Post Pro on our Entrance page in IIP's Short Stats Pal.

You can see a demo at http://www.syngnathid.org

Hope you enjoy it!

###################

Mod Name / Version - Add PPPro Stats to Stats Pal

Description - Adds statistics from Photo Post Pro to the Short Stats Pal

Working Under - UBB.Threads 6.2.2 - 6.2.3

Pre-requisites - none

Author - Raconteur - for discussions and bug reports come to www.ubbdev.com
or email [][email protected][/]

Files Altered - /pals/languagepal.php, /pals/shortstatspal.php

Caveats - None

Backup your files before doing any modifing of your code.
Attachments
75967-PPProStats.txt (0 Bytes, 64 downloads)


"Some dream of doing great things, while others stay awake and get on with it."
      -- Anonymous
Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Thanks!

Joined: Jan 2003
Posts: 250
Member
Member
Offline
Joined: Jan 2003
Posts: 250
Ain't no thang!


"Some dream of doing great things, while others stay awake and get on with it."
      -- Anonymous
Joined: Jun 2002
Posts: 303
Enthusiast
Enthusiast
Joined: Jun 2002
Posts: 303
Looks great, Chris! I wonder if anyone has thought about another stat. Visitor log, or simply put, a counter. It'd be nice to be able to show the total number of visitors and page views rather than using an outside service. To be a little more informative, add to the above a referer log for admins eyes only to see where traffic is coming from.

Maybe a rendition of this.

Joined: Feb 2002
Posts: 950
Hacker
Hacker
Offline
Joined: Feb 2002
Posts: 950
Very nice! I have a new statistics page for the 3.4 PhotoPost Admin page (also have change the admin menu to look similiar to Threads Admin with frames to the left). Not to mention a new Who's Online!


[]http://www.danasoft.com/fun/new-admin.jpg[/]


Sponsored Links
Joined: Jan 2003
Posts: 250
Member
Member
Offline
Joined: Jan 2003
Posts: 250
Thanks, Mark. Most of what is on that site in your example is surfaced by the domain host... I was trying to figure out a way to tap into those stats for our entrance page, but then I noticed the cool little RetroStats icon at the bottom of ThreadsDev and decided to give that a go for now.


"Some dream of doing great things, while others stay awake and get on with it."
      -- Anonymous
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Sounds exciting Michael. I can't wait.

I gotta renew my member area license with PhotoPost and upgrade.

Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
One minor suggestion. You can use the number_format php function on all numbers. It splits the thousands with a comma by default and makes the numbers easier to write.

Actually I should have posted this a long time ago but I am glad that Chris put it up here. You can see a similar implementation on the IIP page of my site


Nikos
Joined: Jan 2003
Posts: 250
Member
Member
Offline
Joined: Jan 2003
Posts: 250
Hi Nikos,

I actually had the number_function on all the numbers in there, but if you look at the code in the SHORTSTATSPAL.PHP you will see that the caching mechanism is tokenizing a string based on commas!

Code
<br />$StatArray = split(",",$ShortStatData);<br />


So, I ended up taking it out...


"Some dream of doing great things, while others stay awake and get on with it."
      -- Anonymous

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,153
Joined: July 2001
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 464
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 13
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)