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


All times are GMT. The time now is 12:28 AM.

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.01073 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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