vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   VBStatExtended: advanced statistics for your board (https://vborg.vbsupport.ru/showthread.php?t=99854)

stonyarc 10-31-2005 10:00 PM

VBStatExtended: advanced statistics for your board
 
################################################## ##
VBStatExtended
################################################## ##

This Extension for Vbulletin 3.5.1 offers detailed statistics for forum members.

Current Features

Statistics Dashboard

Top posters on the bulletin board
Newest members on the bulletin board
Latest replies on the bulletin board
Most viewed threads
Most replied to threads
Top posters on the bulletin board including thread and post %
Your statistics on the bulletin board
Graphical posters chart

All stats include several calculations and additional fields

http://www.xboxusersgroup.com/images...atextended.gif

Planned Features

Additional statistics
Detailled calculations
Visitor statistics

FAQ
Field list:
Member: shows the member name (link to the profiles page)
Posts: shows the number of posts
UP: links to the user page of that user
Joined (D): number of days that the user has been a member
Inactive: number of days that the user has been inactive
Joined: date the user joined
Last visit: date of the last visit
Last activity: date of the last real activity
Last post: date of the last post
Title: title the user has
Time zone: offset of time zone
Thread: thread title and link
Thread Starter: user that started a thread
Last Poster: last user to post as a reply to a thread
Views: number of times a thread has been viewed
Replies: number of replies
Posts per day: average number of post per day
Posts %: percentage of the users posts compared to the total of posts
threads: number of threads made by user
threads %: percentage of the users threads compared to the total of threads
TP Ratio: the thread/post ratio, a high number means a users has started a lot of threads compared to his posts

Demonstration
http://www.xboxusersgroup.com/forums/vbstatextended.php

Screenshots
Some screenshots can be found here

Installation
(also included in ZIP)
1. upload VBStatExtended.php to the forum root
2. Upload the libchart folder and all contents to the forum root
3. Create a new subfolder with name: generated in your forum root

################################################## ##############
IMPORTANT
Set the file permissions on the generated folder to 777

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

5. add product-VBStatExtended.xml(Plugin System / Manage Products / Add Import product)
6. add a link in the navbar template to VBStatExtended.php (depends if you want users to see it and when)
7. Enjoy

Cheertobi 11-01-2005 06:47 PM

Hi,

what is userpage.php, found links to that script, but I think its not a part of vB!?

Tobi

stonyarc 11-01-2005 06:58 PM

Hi,

On Xboxusersgroup.com I included the link to the userpage modification.
So you can directly go to a users homepage.

I corrected the XML in the zip file. Should be ok.

I have a version with the userpage integrated too.

Extreme John 11-01-2005 07:08 PM

I love this, nice tool for sure.

I have never really played with the navbar before and dont want to screw anything up, so Ill try to figure that out later. Easy install and I love it.

stonyarc 11-01-2005 07:14 PM

Thank you,

For the navbar

Just go to navbar template and add the link where you're sure a users is logged in. There is enough code in it.

You'll probably have to add something like

Code:

<if condition="$bbuserinfo['userid']">
<td class="vbmenu_control">
<a href="VBStatExtended.php$session[sessionurl_q]">$vbphrase[statistics]</a></td>
</if>

That should do the trick

There is a minor issue on the "Top posters on the bulletin board including thread and post %"

The allignment is a bit of. There is a redundant
Code:

<td align="left" nowrap="nowrap"><div class="smallfont">
It's located in the VBStatExtended_userstatsgroup_bit template. It's on line 229 of the old xml file.
You can safely remove it.

The version now online has this flaw corrected.

Gr

Gizmo5h1t3 11-01-2005 08:11 PM

excellent addition m8, installed!!

predatorkill 11-01-2005 09:21 PM

got this error 10 times when i click "Top posters on the bulletin board including thread and post %"

Warning: Division by zero in /VBStatExtended.php on line 498
check it out www.xbox-live.gr/forum/VBStatExtended.php

also i get a "/" instead of number of posts and number of last post when i click
"Newest members on the bulletin board"

also,when i set a number other than 30 to display,when i click the button no results are shown for the category i was "in" before.I got to click again the category to see the results with 70 users.
nice product *installed*

stonyarc 11-01-2005 09:34 PM

http://www.xboxusersgroup.com/forums...layrecords=200 seems to work fine. He doesn't seem to be able to number of posts or you have a top poster that has still 0 posts.

To correct the issue:

You can change the line 498 and replace it with
Code:

        if ($gettopgroupstat[posts] == 0){
                $gettopgroupstat[posts] = "1"; // PHP DOESN'T LIKE DIVISION BY 0
        }
        $gettopgroupstat[threadpostratio] = vb_number_format(($gettopgroupstat[threadcount]/$gettopgroupstat[posts]),3);

or download the changed version.

The VBStatExtended.php is updated to correct this issue.

The / indicate non relevant information. For new users this is non relevant to know their total post. I did this to be able to reuse the top header template.

Next release will correct this.

PS If you are an Xbox fan you should check https://vborg.vbsupport.ru/showthread.php?t=99867 on how to integrate the Xbox.com Gamercard in your forum !!!!!!!!!!!

AndyA 11-01-2005 09:50 PM

Installed, thanks for this.

DS MrSinister 11-01-2005 10:47 PM

Nice Job. keep up the great work. i will be looking forward for the googlemap hack when it comes out. :D

stonyarc 11-01-2005 11:06 PM

Quote:

Originally Posted by DS MrSinister
Nice Job. keep up the great work. i will be looking forward for the googlemap hack when it comes out. :D

Well well,

People are getting hungry ;)

I better speed up the process :nervous:

Well I could use some help with figuring out a pagination mechanism because of performance reasong on high volume forums. Therefor it will be a beta.

Sooner95 11-01-2005 11:32 PM

Ah, great to have this one back. Great job.

stonyarc 11-01-2005 11:38 PM

Quote:

Originally Posted by Sooner95
Ah, great to have this one back. Great job.

It's a new development starting from the basic topXstats with a whole lot of extra's already in there and a lot more to come. but still thanks :ermm:

stonyarc 11-02-2005 04:21 PM

Anybody experience problems with the installation or configuration ?

Gr

Gizmo5h1t3 11-02-2005 04:49 PM

nope, installed and works a treat mate...just waiting for google map now...heh heh

stonyarc 11-02-2005 05:19 PM

Quote:

Originally Posted by Gizmo5h1t3
nope, installed and works a treat mate...just waiting for google map now...heh heh

Well I'm writing the how to install now:)

Just one testinstallation away from release!!!!!!!!!!!!

Gizmo5h1t3 11-02-2005 05:20 PM

whey hey!!!!

nice 1 m8y!!

stonyarc 11-02-2005 05:22 PM

Don't forget to add a rating to my VBStatExtended !!!!!!!!!!!!!!!!! :rolleyes:

yinyang 11-02-2005 05:42 PM

Quote:

Originally Posted by stonyarc
Don't forget to add a rating to my VBStatExtended !!!!!!!!!!!!!!!!! :rolleyes:

i rated! only 5 stars 'cause i couldn't find this one: https://vborg.vbsupport.ru/external/2006/12/11.gifhttps://vborg.vbsupport.ru/external/2006/12/11.gif :rolleyes:

stonyarc 11-02-2005 06:51 PM

This is it guys hope you like the first release of Googlemap

https://vborg.vbsupport.ru/showthread.php?p=810978

stonyarc 11-03-2005 08:35 AM

Are there any new feature requests next to the graphical display of the statistics?

TygerTyger 11-03-2005 09:07 AM

This looks like an excellent addition, but I couldn't work out how the stats were ordered? Do you have a choice how they're ordered? Are they ordered at all?

stonyarc 11-03-2005 11:40 AM

Quote:

Originally Posted by TygerTyger
This looks like an excellent addition, but I couldn't work out how the stats were ordered? Do you have a choice how they're ordered? Are they ordered at all?

Top posters on the bulletin board => Order by posts
Newest members on the bulletin board => Order by date
Latest replies on the bulletin board => Order by date
Most viewed threads => Order by number of views
Most replied to threads => Order by number of replies
Top posters on the bulletin board including thread and post % => Order by posts
Your statistics on the bulletin board => No ordering

Maybe a nice thing to add dynamic ordering in the future

stonyarc 11-05-2005 01:16 AM

Tested and running on 3.5.1

stonyarc 11-05-2005 04:30 PM

All,

In attachment the first screenshot of the next version including rendered bar graphics.

I'm buidling it to be really dynamic

yessir 11-05-2005 05:06 PM

It's a nice mod for sure.

2 things I would like to see better.
  • Support for 800 x 600 width display.
  • The abililty to refresh the current stats with a larger count. Right now, you have to change the count (get returned to the main menu) and reselect your stat query.

stonyarc 11-06-2005 05:07 PM

All,

Feel free to test out the version 1.0.0

http://www.xboxusersgroup.com/forums/vbstatextended.php

features:

- full phrases (in dev)
- graphics (in dev)
- easy stat select
- query performance (in dev)

Have fun

I'll be releasing this very soon !

Rhoads 11-07-2005 12:08 PM

The demo sees terrible good, especially the Statistics dashboard are very nice.

I have 1 question:
How do I aligned my templates, see attachment.
My Main Table Width is not 100% but 800.

stonyarc 11-07-2005 05:41 PM

All,

Just to inform you that vbstatextended has just received a major update

Statistics Dashboard with memory of your selected stat
On the fly generated png graphs with reload function
3 types (horizontal, vertical and pie) for posters
Performance
AdminCP added field (max graphical records (to avoid cluttering))
AdminCP template group added to avoid cluttering of the templates
Additional phrases integration (some left to do for the next version)


Install procedure

1. upload VBStatExtended.php to the forum root
2. Upload the libchart folder and all contents to the forum root
3. Create a new subfolder with name: generated in your forum root


################################################## ##############
IMPORTANT
Set the file permissions on the generated folder to 777

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

5. add product-VBStatExtended.xml(Plugin System / Manage Products / Add Import product)
6. add a link in the navbar template to VBStatExtended.php (depends if you want users to see it and when)
7. Enjoy

Hope you like it

test before install on http://www.xboxusersgroup.com/forums/vbstatextended.php.

StonyArc

TygerTyger 11-07-2005 06:04 PM

Fantastic stuff! I have a couple of issues though...

I'm getting this error message when trying to create a graphical chart:
Warning: imagepng(): Unable to open 'generated/posters.png' for writing in /libchart/classes/PieChart.php on line 367

Yes, I double-checked the permissions of 'generated' ;)

I also have a thread showing up twice with different statistics in the list. If I were to take a guess, I'd say it was because I moved the thread (can't remember if there was a redirect, can't find one). It looks to me like it's treated the before/after move as two separate threads despite the fact the older one no longer exists.

And just a small suggestion, would be nice to have the Pie Chart option greyed out when it can't be used.

Thanks for the mod! :D

stonyarc 11-07-2005 06:11 PM

Quote:

Originally Posted by TygerTyger
Fantastic stuff! I have a couple of issues though...

I'm getting this error message when trying to create a graphical chart:
Warning: imagepng(): Unable to open 'generated/posters.png' for writing in /libchart/classes/PieChart.php on line 367

Yes, I double-checked the permissions of 'generated' ;)

I can only reproduce the error if the generated is set to 766.

The folder must really be 777. I hope this is the origin of your error.

Sometimes FTP clients go in cached mode zo permissions are not really changed. A reconnect of your FTP client can confirm that.

stonyarc 11-07-2005 06:20 PM

Quote:

Originally Posted by TygerTyger
I also have a thread showing up twice with different statistics in the list. If I were to take a guess, I'd say it was because I moved the thread (can't remember if there was a redirect, can't find one). It looks to me like it's treated the before/after move as two separate threads despite the fact the older one no longer exists.

And just a small suggestion, would be nice to have the Pie Chart option greyed out when it can't be used.

Thanks for the mod! :D

I'll look into the thread double appearance. (link?)

The graphic options are only valid on the last in the list op possible stats but I could make it appear when the last one is clicked. Should be a cool feature.

TygerTyger 11-07-2005 06:21 PM

Hm. Permissions are definitely set correctly, and I tried it 766 as well on the offchance, still the same error.

Quote:

Originally Posted by stonyarc
I'll look into the thread double appearance. (link?)

The graphic options are only valid on the last in the list op possible stats but I could make it appear when the last one is clicked. Should be a cool feature.

Link: http://www.forumwhatever.co.uk/vbsta...playrecords=30
First and third in the list.

stonyarc 11-07-2005 06:26 PM

Quote:

Originally Posted by TygerTyger
Hm. Permissions are definitely set correctly, and I tried it 766 as well on the offchance, still the same error.
Link: http://www.forumwhatever.co.uk/vbsta...playrecords=30
First and third in the list.

TygerTyger,
Can you set the permissions on the file itself on 777 to test the effect of that?

TygerTyger 11-07-2005 06:29 PM

Quote:

Originally Posted by stonyarc
TygerTyger,
Can you set the permissions on the file itself on 777 to test the effect of that?

The file doesn't exist. It wouldn't do if the error is that it can't write to the folder.

The generated subfolder is supposed to be within libchart, is it not? Just wondering if I put it in the wrong place...

stonyarc 11-07-2005 06:34 PM

Quote:

Originally Posted by TygerTyger
The file doesn't exist. It wouldn't do if the error is that it can't write to the folder.

The generated subfolder is supposed to be within libchart, is it not? Just wondering if I put it in the wrong place...

generated must be in the root of your forums libchart also in the root.
both should be on the same level.

I did 3 testinstalls and all worked out fine.

TygerTyger 11-07-2005 06:58 PM

Ok now it works. Lol.

Maybe I'm just being dense but in the instructions it says:

Quote:

2. Upload the libchart folder and all contents to the forum root
3. Create a new subfolder with name: generated
To me that sounds like you have to create a subfolder in libchart :confused:

Thanks very much for your help anyway :D

stonyarc 11-07-2005 07:03 PM

The install text and all the posts are already changed. Thanks for finding this confusing matter in the text.

I also added a nice graphic we rendered on our forum to show the function. Don't forget to click install and rate this modification !!!!!!!!! :smoke:

TygerTyger 11-07-2005 07:19 PM

Terribly sorry to keep doing this to you, but the numbers for posts/days on the New Members section appear to be missing, replaced with a /:

http://www.forumwhatever.co.uk/vbsta...playrecords=30

Another couple of suggestions (sorry!) but for the Detailed Poster Statistics including Percentages section, it would be nice if the date format matched the format you specify in your main vB Options, and perhaps knock a few decimal places off the percentages? I say this because the large length of the date format and percentage decimals makes the page wider than the screen, and I could happily live with slightly shorter versions of both. At least as an option.

Rhoads 11-07-2005 07:38 PM

Beautiful update, everything work perfectly, I only miss a phrase in my vbulletin options, the field is empty. (see attachment)
Also I came that my forum was to wide, because there are too many stats present, see my question above.
https://vborg.vbsupport.ru/showpost....3&postcount=28


All times are GMT. The time now is 04:50 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01577 seconds
  • Memory Usage 1,841KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete