php forum
php mysql forum
php mysql smarty
 
Topic Options
#243039 - 04/16/03 09:00 AM Add PPPro Stats to Stats Pal
Raconteur_dup1 Offline
Member

Registered: 01/29/03
Posts: 258
Loc: SF, CA
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. <br /> <br />You can see a demo at http://www.syngnathid.org <br /> <br />Hope you enjoy it! <br /> <br />################### <br /> <br />Mod Name / Version - Add PPPro Stats to Stats Pal <br /> <br />Description - Adds statistics from Photo Post Pro to the Short Stats Pal <br /> <br />Working Under - UBB.Threads 6.2.2 - 6.2.3 <br /> <br />Pre-requisites - none <br /> <br />Author - Raconteur - for discussions and bug reports come to www.threadsdev.com <br />or email []chris@syngnathid.org[/] <br /> <br />Files Altered - /pals/languagepal.php, /pals/shortstatspal.php <br /> <br />Caveats - None <br /> <br />Backup your files before doing any modifing of your code.


Attachments
75967-PPProStats.txt (39 downloads)

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

Top
#243040 - 04/16/03 09:47 AM Re: Add PPPro Stats to Stats Pal [Re: ]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Thanks! <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#243041 - 04/16/03 10:38 AM Re: Add PPPro Stats to Stats Pal [Re: Daine]
Raconteur_dup1 Offline
Member

Registered: 01/29/03
Posts: 258
Loc: SF, CA
Ain't no thang!
_________________________
"Some dream of doing great things, while others stay awake and get on with it."
      -- Anonymous

Top
#243042 - 04/16/03 05:46 PM Re: Add PPPro Stats to Stats Pal [Re: ]
fishtails Offline
Enthusiast

Registered: 06/19/02
Posts: 307
Loc: Fernandina Beach, FL
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.<br /><br />Maybe a rendition of this.
_________________________
Fish or Cut Bait! http://www.fish-tails.net

[:"red"]Air traffic control? It has its ups and downs.[/] http://www.natcazjx.org

Top
#243043 - 04/16/03 07:18 PM Re: Add PPPro Stats to Stats Pal [Re: ]
PhotoPost Offline
Hacker

Registered: 02/03/02
Posts: 989
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! <img src="/forum/images/graemlins/wink.gif" alt="" /> <br /> <br /> <br />[]http://www.danasoft.com/fun/new-admin.jpg[/] <br /> <br />
_________________________
[]http://www.danasoft.com/vipersig.jpg[/]
Viper Alley - http://www.viperalley.com
Extreme Fitness - http://www.extremefitness.com[/b]

Top
#243044 - 04/17/03 10:49 AM Re: Add PPPro Stats to Stats Pal [Re: ]
Raconteur_dup1 Offline
Member

Registered: 01/29/03
Posts: 258
Loc: SF, CA
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

Top
#243045 - 04/17/03 03:11 PM Re: Add PPPro Stats to Stats Pal [Re: gailg]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Sounds exciting Michael. I can't wait.<br /><br />I gotta renew my member area license with PhotoPost and upgrade. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#243046 - 04/21/03 07:52 PM Re: Add PPPro Stats to Stats Pal [Re: Daine]
dimopoulos Offline
Kahuna

Registered: 08/18/02
Posts: 1271
Loc: Vienna, Austria
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.<br /><br />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

Top
#243047 - 04/22/03 01:41 PM Re: Add PPPro Stats to Stats Pal [Re: Hal_dup2]
Raconteur_dup1 Offline
Member

Registered: 01/29/03
Posts: 258
Loc: SF, CA
Hi Nikos,<br /><br />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!<br /><br />
Code:
<br />$StatArray = split(",",$ShortStatData);<br />
<br /><br />So, I ended up taking it out...
_________________________
"Some dream of doing great things, while others stay awake and get on with it."
      -- Anonymous

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks