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/TomasDR Forum Statistics (https://vborg.vbsupport.ru/showthread.php?t=164479)

TomasDR 12-05-2007 10:00 PM

Dream/TomasDR Forum Statistics
 
Dream/TomasDR Forum Statistics

About This Hack:
With permission from Dream I have modified and expanded his statistics add-on, plus I added a couple changes.

You can use Dream's original Forum Statistics add-on here or you can download mine. Note the product names are different so you will need to uninstall Dream's Forum Statistics first.

The same warning applies with this add-on as with Dream's.
Warning: This add-on is not good for big forums, it calculates all the info on the fly.

Changes from Dream's statistics:
  • I changed the Oldest & Youngest members shown to also include people that set their profile to "Display Age", originally Dream has it where it only displayed people who set it to "Display Age and Date of Birth".
  • I also added a Lowest Reputation column for the Users statistics page.
Additions to Dream's statistics:
  • Added the ability to set the default number of results in the settings. (Default Number of Results, default 10)
  • Added the ability to display all users' Birthdays, even those who choose to hide their age, in the youngest/oldest column in the settings. (Show All Birthdays?)
  • Added a statistics page for the Post Groan Hack if installed. (Enable it in settings)
  • Changed the Thread statistics page if you have the Who Has Read Hack installed, I feel it is a much better representation of popularity then # of views. It adds top number of "Who has read" threads and also adds "Most Viewed in the last X days" to compliment "Most Replied in X Days". (Enable it in settings, note there is no need to disable "Enable Thread Stats?")
  • Added a statistics page for the vbImageHosting Hack if installed, the statistics page is similar to the attachments page showing top users, latest uploads, and totals. (Enable it in settings)
Note all of the above additions are disabled by default, only enable them if you have the corresponding hack installed.

Installation Overview:
  1. Unzip the file.
  2. Upload everything in the Forum directory to your forums.
  3. Install the product.
  4. Optional: Edit the navbar to provide the link to statistics.php (Choose only one option)
    1. In the template Navbar
Option #1 - Find:
Code:

<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
Add AFTER:
Code:

<td class="vbmenu_control"><a href="statistics.php$session[sessionurl_q]">$vbphrase[statistics_statistics]</a>
OR If you want to add it to the QuickLinks dropdown.
Option # 2 - Find:
Code:

<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
Add AFTER:
Code:

<td class="vbmenu_option"><a href="statistics.php$session[sessionurl_q]">$vbphrase[statistics_statistics]</a>
OR If you want to HIDE the link from all but some usergroups.
Option # 3 - Find:
Code:

<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
Add AFTER: Where ($vbulletin->userinfo, 6, 7) are the usergroup #'s
Code:

<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>
Version Info:

Version 4.0:
Please post your comments or suggestions for this hack. I will read ALL posts.

PLEASE CLICK INSTALL!
(You will get an email when a new version is released.)

TomasDR 12-06-2007 04:17 AM

reserved

shadowevil 12-06-2007 06:21 AM

first post ... *installed*

Wulfnoth 12-06-2007 10:40 AM

Are their any demo or screenshots?

yahoooh 12-06-2007 12:27 PM

demooo?

Derek Chai 12-06-2007 08:50 PM

I would like a demo.

xixxon 12-06-2007 11:46 PM

demo pleaseee

aycan555 12-07-2007 01:49 AM

is there any demo??¿

gbml4u 12-07-2007 02:23 AM

demo could be nice :)

SuperTaz 12-07-2007 02:56 AM

Edit...Did not know about you having an adult site.


All times are GMT. The time now is 12:56 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.01098 seconds
  • Memory Usage 1,742KB
  • 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_code_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
  • (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