Page Index Toggle Pages: [1] 2 3 ... 6 Send TopicPrint
Very Hot Topic (More than 25 Replies) TopStats 1.1 - More Forum Statistics SP 1.1-1.3.1 (Read 18372 times)
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
TopStats 1.1 - More Forum Statistics SP 1.1-1.3.1
Nov 24th, 2003 at 4:56am
Print Post  
The TopStats adds two links to the Info Center on Board Index for detailed statistics:

- Number of Members and Guests on-line "live" (new in ver. 1.0)
- Number of categories
- Number of boards
- Number of topics
- Number of posts (total, by members, by guests)
- Number of members (male, female, N/A)
- Top (n) members (YaMS bars if YaMS 4+ installed)
- Top (n) karma (if Karma installed)
- Top (n) countries (if MemberMap installed)
- Top (n) boards
- Top (n) topics by posts (today, latest 14 days, 30 days, year or since forum start) (new in ver. 1.1)
- Top (n) topics by views
- Graphic view of topics and posts (latest 14 days, 14 weeks,  year)
- Graphic view of Members Registeder (latest 14 days, 14 weeks,  year)

- Guest statistics
- Total number of Guest Names
- Total number of Guest Posts
- Top (n) Guest Names or All Guest Names

In TopStats.pl you can:

- Set number of members, boards and topics in top-lists
- Set the bars-width
- Set hight of line-graph
- Set width of line-graph
- Set alignment of line-graph ("left", "right" or "center")
- Set if you have YaMS 4.+ installed
- Enable/disable guest-access
- Enable/disable guest-statistics
- View/hide online Members/Guests

If you have TopPosters mod installed i recommend you uninstall it before installing TopStats.

Live example

Download
« Last Edit: Dec 14th, 2003 at 2:40pm by Carsten »  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: TopStats 0.97 SP 1.1 - 1.3.1
Reply #1 - Nov 24th, 2003 at 7:29am
Print Post  
Carsten, you are the BOMB!

I always wanted that feature for YaBB, ever since I saw it on SE! Major coolness!
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: TopStats 0.97 SP 1.1 - 1.3.1
Reply #2 - Nov 24th, 2003 at 11:16am
Print Post  
Carsten,

Installed beautifully, works wonderfully ....

But I see one glitch. In the section on posts, it tells me there are 63 total posts, and 64 posts by members.

Which makes it sound like one of my members very specifically didn't post a post. Or something. Here's a link: http://gordonkorman.com/cgi-bin/test/yabb/YaBB.pl?board=;action=seltopstat

Figured I'd let you know! And thanks again for this terrific option!
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Re: TopStats 0.97 SP 1.1 - 1.3.1
Reply #3 - Nov 24th, 2003 at 2:33pm
Print Post  
@batchman - did you ttry a click on "Recount All Board Totals" in the "Maintenance Controls" area in Admin Center? (When i visited your board, your system said 15 topics - but you obviously had 16  Cheesy )
  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
IP Logged
 
wiebke
Senior Member
****
Offline



Posts: 328
Joined: Apr 24th, 2002
Gender: Female
Re: TopStats 0.97 - More Forum Statistics SP1.1-1.
Reply #4 - Nov 24th, 2003 at 5:01pm
Print Post  
for some strange reason the stats don´t separate males and females - it´shows all my members as N/A (and yes, there are some, who tell their gender)... I clicked "recount all baord totals" and "member totals" but, no difference. URL will come via IM
  
Back to top
 
IP Logged
 
davide
Guest


Re: TopStats 0.97 - More Forum Statistics SP1.1-1.
Reply #5 - Nov 24th, 2003 at 5:11pm
Print Post  
hello,

in topstats.pl replace this

Code
Select All
		if($member[11] eq $txt{'238'}) {$mz++}
		elsif($member[11] eq $txt{'239'}) {$fz++} 



By

Code
Select All
		if($member[11] eq 'Male') {$mz++}
		elsif($member[11] eq 'Female') {$fz++} 

  
Back to top
 
IP Logged
 
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Re: TopStats 0.97 - More Forum Statistics SP1.1-1.
Reply #6 - Nov 24th, 2003 at 5:22pm
Print Post  
@davide - no, no, that would make the script "english only".

@wiebke - that is very strange - did you change anytiing in your .lng with the $txt{'238'} and $txt{'239'} ?
  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
IP Logged
 
wiebke
Senior Member
****
Offline



Posts: 328
Joined: Apr 24th, 2002
Gender: Female
Re: TopStats 0.97 - More Forum Statistics SP1.1-1.
Reply #7 - Nov 24th, 2003 at 5:27pm
Print Post  
it´s getting strange and stanger Undecided - if I replace the lines in totpstats.pl, it will count the males, but no females. If I replace $member[11] with $member[12] and only for the female part, it works fine. if I replace it for both, male and female, again it counts only the males  ??? ??? ???

BTW the number of males is way to high - if it counts them at all  ???
  
Back to top
 
IP Logged
 
wiebke
Senior Member
****
Offline



Posts: 328
Joined: Apr 24th, 2002
Gender: Female
Re: TopStats 0.97 - More Forum Statistics SP1.1-1.
Reply #8 - Nov 24th, 2003 at 5:30pm
Print Post  
@carsten - yes, it´s 'männlich' and 'weiblich', because I´m running a german board  Grin

(edit) in the admin.dat of my board, the gender is 'female', not 'weiblich' - so the .lng-thingy should make it no-english-no-working
  
Back to top
 
IP Logged
 
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Re: TopStats 0.97 - More Forum Statistics SP1.1-1.
Reply #9 - Nov 24th, 2003 at 5:33pm
Print Post  
Yep - davide is right and i'm wrong - sorry davide. YaBB does change the language variables to 'Male' and 'Female' internally. Will change that in the .pl in a moment.  Embarrassed
  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
IP Logged
 
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Re: TopStats 0.97 - More Forum Statistics SP1.1-1.
Reply #10 - Nov 24th, 2003 at 5:40pm
Print Post  
Fixed in the zip package now - thx. wiebke and davide...
  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
IP Logged
 
wiebke
Senior Member
****
Offline



Posts: 328
Joined: Apr 24th, 2002
Gender: Female
Re: TopStats 0.97 - More Forum Statistics SP1.1-1.
Reply #11 - Nov 24th, 2003 at 5:48pm
Print Post  
carsten - what about the problem I told in post #7? you can see it now with [12] for females only on my test-board
  
Back to top
 
IP Logged
 
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Re: TopStats 0.97 - More Forum Statistics SP1.1-1.
Reply #12 - Nov 24th, 2003 at 5:53pm
Print Post  
@wiebke - dont change $member[11]

The code must be:
Code
Select All
            if($member[11] eq "Male") {$mz++}
            elsif($member[11] eq "Female") {$fz++}
            else {$nz++}
 

  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
IP Logged
 
wiebke
Senior Member
****
Offline



Posts: 328
Joined: Apr 24th, 2002
Gender: Female
Re: TopStats 0.97 - More Forum Statistics SP1.1-1.
Reply #13 - Nov 24th, 2003 at 5:59pm
Print Post  
carsten - if I use [11] for females, then the stats don´t count any females at all. You can see it now on my test-board... Undecided
  
Back to top
 
IP Logged
 
Carsten
God Member
*****
Offline


...to much YaMS

Posts: 3281
Location: Langå
Joined: Aug 2nd, 2002
Gender: Male
Re: TopStats 0.97 - More Forum Statistics SP1.1-1.
Reply #14 - Nov 24th, 2003 at 6:13pm
Print Post  
@wiebke - it have to be [11] for both male and female - [12] is the "personal text". Could you post the two lines from your TopStats.pl file here.
  

If you knock your head against a brick wall and hear a hollow sound, it's not necessarily coming from the wall.
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 3 ... 6
Send TopicPrint