vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Statistics Modifications - Dream's Forum Statistics (https://vborg.vbsupport.ru/showthread.php?t=140812)

admolot 09-28-2007 10:25 PM

Brilliant mod. Is there anyway to set the display for 'forum activity' to show forums with 0 posts?

chris.williams 09-29-2007 12:43 AM

The description states that you can set this so that only administrators can see the stats. How do you do this?

Merrillizer 09-29-2007 01:57 AM

Installed. Real nice. Thanks!

http://www.marshmarauders.org/forums/statistics.php

Dream 09-30-2007 02:39 PM

Quote:

Originally Posted by chris.williams (Post 1349289)
The description states that you can set this so that only administrators can see the stats. How do you do this?

In the options you can set that

vBulletin Options >> Statistics Options

Dream 09-30-2007 02:40 PM

Quote:

Originally Posted by admolot (Post 1349248)
Brilliant mod. Is there anyway to set the display for 'forum activity' to show forums with 0 posts?

I don't think so, I think they were left out willingly. Don't remember, it has been a while.

hnjco 10-10-2007 07:26 PM

I moved my forum to new server and then upgrade this mod and now getting this error when i click to view.

Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:

SELECT COUNT(*) AS total
FROM vbull_post
WHERE visible = 1;

MySQL Error : Got error 127 from storage engine
Error Number : 1030
Date : Wednesday, October 10th 2007 @ 06:23:48 PM
Script : http://www.geopakistani.com/forums/statistics.php
Referrer : http://www.geopakistani.com/forums/index.php?
IP Address : *********
Username : *****
Classname : vB_Database

Nickbe 10-14-2007 02:20 PM

If you are an admin and want it so only you can see the statistics link on the navbar ad this code to the navbar template as opposed to the code shown in the text file. (add in the same location)

Quote:

<if condition="is_member_of($vbulletin->userinfo, 6)"><td class="vbmenu_control"><a href="statistics.php$session[sessionurl_q]">$vbphrase[statistics_statistics]</a></td></if>

If you want it so only the admin and mods can see use this code:

Quote:

<if condition="is_member_of($vbulletin->userinfo, 6, 7)"><td class="vbmenu_control"><a href="statistics.php$session[sessionurl_q]">$vbphrase[statistics_statistics]</a></td></if>

This works with the default settings for mod and admin usergroup ID's. If you want to add additional usergroup id's just edit this part of the code

Quote:

($vbulletin->userinfo, 6, 7)

Just add the user group id's in this format 6, 7, 2, 3, 4

I figured I would write this since I myself used this code so only I could see statistics on the navbar. I did not want my members seeing them but I still wanted easy access through the navbar.

Note: I know you can restrict certain usergroups from viewing the statistics page itself but I though it would be annoying as a normal member to see statistics link in the navbar but be restricted from viewing the page.

sduckie2k5 10-15-2007 10:29 AM

Installed, everything seems to work but I get this error when viewing registrations although, it shows the stats for it as well. Heres the error and it appears at the top of the page:

Warning: Division by zero in \ statsmod \ statistics_registrations.php on line 57

any suggestions? Thanks

Dream 10-22-2007 09:42 PM

This mod has some bugs depending of what info you are missing on your forums.

This mod is now "Re-usable Code", meaning anyone can modify it and release his own version. I encourage someone doing that as I'm not updating this anymore for the time being.

Konstantinos 10-23-2007 05:24 AM

the average is wrong cause it sais 60 while i have an old average age stats which shows 33 . i think it caclulates people who have emplty birthday , and how do i make stats like this http://www.s10planet.com/forum/statistics.php meaning having not so many drop down menus. also in profile stats it doesnt display the N/A (there few people who have the mandatory custom fields unset cause they dont visit the forum before all fields became mandatory) + it doesnt display the percentages order from highest to lowest but with the order of the fields instead


All times are GMT. The time now is 11:07 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.01494 seconds
  • Memory Usage 1,744KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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