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.

TomasDR 12-07-2007 05:36 AM

While I understand everyone's need to see a demo, I (and vBulletin.org) have a problem with that.

I run a hardcore, adults only forum! I cannot link to my forum.

There are several demo sites listed with the original hack by Dream and I clearly spelt out the changes/additions I did to Dream's hack.

If someone wishes to "advertise" a demo for my hack I will gladly mention it in the description like Dream did for his original hack.

SuperTaz 12-07-2007 06:36 AM

Edit: I thought it was shown on the forumhome but I did not know you needed to add a link to get to the mod.

TomasDR 12-07-2007 08:16 AM

Quote:

Originally Posted by Warden-B- (Post 1396644)
Edit: I thought it was shown on the forumhome but I did not know you needed to add a link to get to the mod.

Sorry about that I "assumed" that everyone has navbar edits and it was a given. I have edited my instructions now to include 3 optional navbar edits.

tirol07 12-08-2007 12:28 PM

demo?

ovnnet 12-08-2007 03:45 PM

If statistic unit in cash mod, this mod is perfect

Hornstar 12-09-2007 04:10 AM

Quote:

Originally Posted by TomasDR (Post 1396626)
While I understand everyone's need to see a demo, I (and vBulletin.org) have a problem with that.

I run a hardcore, adults only forum! I cannot link to my forum.

There are several demo sites listed with the original hack by Dream and I clearly spelt out the changes/additions I did to Dream's hack.

If someone wishes to "advertise" a demo for my hack I will gladly mention it in the description like Dream did for his original hack.

mind pming me your link :D

anyway, thanks for updating this, there are some nice new features added :)

TomasDR 12-09-2007 05:54 AM

Quote:

Originally Posted by ovnnet (Post 1397430)
If statistic unit in cash mod, this mod is perfect

Can you link to the cash mod you mentioned, I will look into adding a statistics page for it.

Magnumutz 12-09-2007 06:31 AM

Then at least show a screenshot dude... geez, that can't harm anyone, can it?

TomasDR 12-11-2007 04:26 AM

Quote:

Originally Posted by Magnumutz (Post 1397755)
Then at least show a screenshot dude... geez, that can't harm anyone, can it?

Actually yes it could, even the usernames of my more prolific posters are quite offensive, and of course thread titles are completely off limits, not to mention attachment names, etc..

But I did go back to Dream's original hack.

And chose one of the live demo sites listed, Yaxley Village which you don't even have to register to demo.

And posted a screenshot of the "Top Posters" stats from there.

If anyone would like to see more, again there are live demos, as I mentioned in the original add-on description, listed on Dream's original hack.

PS. If the owner of Yaxley Villiage would like me to remove the screen shot I will gladly do it but since they still had their site listed for a live demo I figure they won't mind a simple screenshot.

softvnzla 01-04-2008 12:27 PM

Installed thanks very good!

ctfortner 01-23-2008 06:44 PM

great mod, thanks

scoobasteve 01-27-2008 09:40 AM

Hi, one of my favorite hacks! Thanks a ton!

I'd like to request a useful feature (addon) that displays website referrals. Kind of like this hack does: https://vborg.vbsupport.ru/showthrea...ght=%5Bajax%5D but in the stats (not on forumhome). I would also like to have usergroup (and userID) permission to view that particular page.

Think you could pull something like that?

TomasDR 01-28-2008 10:27 PM

Quote:

Originally Posted by scoobasteve (Post 1429952)
Hi, one of my favorite hacks! Thanks a ton!

I'd like to request a useful feature (addon) that displays website referrals. Kind of like this hack does: https://vborg.vbsupport.ru/showthrea...ght=%5Bajax%5D but in the stats (not on forumhome). I would also like to have usergroup (and userID) permission to view that particular page.

Think you could pull something like that?

Sure give me a few days. I am busy during the week.

scoobasteve 02-02-2008 07:20 AM

woohoo!!

thanks a ton dude, can't wait!!!

Dream 02-15-2008 11:28 PM

Hey Tomas, are you going to update this for 3.7 or should I? Update to add Blog statistics, people with most friends etc etc.

We can arrange something where if one of us updates the mod, he sends the mod to the thread starter so he can update it. Just a thought.

paulnis 06-21-2008 07:44 PM

Would love to see this upgraded to 3.7.

buddyheiko 12-10-2008 06:19 PM

Hello,

how can I get ALL statistics on one side ?

Greetings
Heiko


All times are GMT. The time now is 04:54 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.01331 seconds
  • Memory Usage 1,799KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (27)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete