View Full Version : Administrative and Maintenance Tools - Forum Statistics
ThorstenA
08-13-2008, 10:00 PM
Notice: This mod uses Re-usable Code, so please feel free to port it to vbulletin 4 under your username. Thanks.
Forum Statistics
What does this product do ?
It shows a detailled daily / weekly / monthly new post statistic for each forum.
FAQ
Who can see this statistics? Only moderators, super moderators, administrators.
Changes to my forum? No template edits, no database changes, no code changes. No additional queries to forumdisplay.php
Settings? No settings up to now. You can remove foruminclude value in url and then get a statistic of all your forums.
How to install?
Import Product. Done.
How to upgrade?
Import Product. Allow Overwrite: Yes. Done.
How to deinstall?
Deinstall Product. Done.
Version history
0.1 14.8.2008 Product Release
0.2 14.8.2008 adresses bug regarding auto-template
0.3 21.8.2008 does not need admin function any more.
ThorstenA
08-14-2008, 09:10 AM
Product updated. No template changes needed any more: It now works with Auto Templates.
john102774
08-14-2008, 09:40 AM
I just imported the product. Where do I go to find the status window?
Thanks!
cindy helmond
08-14-2008, 09:42 AM
thx installed :D
ThorstenA
08-14-2008, 09:42 AM
On top of each forum there is shown a link (see picture)
ThorstenA
08-14-2008, 10:50 AM
There was a bug with auto-template, new version 0.2 adresses this. Upgrade highly recommended.
digicom
08-14-2008, 12:06 PM
Thanks Installed :up:
Hostboard
08-14-2008, 12:46 PM
Pretty bars, numbers but no information on what this is statistics for??? I know it says in your description but you should place what it is somewhere in the header area.
ThorstenA
08-14-2008, 12:59 PM
This mod shows a detailled daily / weekly / monthly new post statistic for each forum.
So for example you have a forum "Chit Chat". And there were 20 posts last week. Then this statistic would show that there were 20 posts last week within this forum. Nothing more or less :)
This product is meant as a control tool so you have some figures how good some forums are going. And in which direction your traffic goes.
KURTZ
08-14-2008, 01:11 PM
hi thorsen, how many queries take this hack?
ThorstenA
08-14-2008, 01:15 PM
There are no additional queries for normal users and if you just surf on forumdisplay.
Only if you are moderator, supermoderator, administrator AND let you show statistic page, there are around 10 queries I think to display this page.
john102774
08-14-2008, 04:46 PM
There was a bug with auto-template, new version 0.2 adresses this. Upgrade highly recommended.
It works now. Thanks!:up:
munnakv
08-15-2008, 12:18 PM
Thanks. I have installed.
Animparadise
08-16-2008, 02:09 PM
is there anyway to add specific user/usergroup can see this?
ThorstenA
08-16-2008, 03:06 PM
is there anyway to add specific user/usergroup can see this?
Currently you can change usergroupids if you change these numbers on top of all plugins.
in_array($vbulletin->userinfo['usergroupid'], array(5,6,7)))
George_46
08-16-2008, 11:25 PM
Row: 92: $imgpath
$imgpath = '../' . $stylevars['imgdir_poll'];
Right:
$imgpath = './' . $stylevars['imgdir_poll'];
:up:
mlthmp
08-17-2008, 07:56 AM
Have a question. I have installed this mod, and so far I really like it. However its not displaying correctly in forums that do not have "sub-forums"
For all forum areas that do have subs, the link displays correctly (above the subforum listing) however, for areas without sub forums the link displays in the middle of the Page Nav links (1,2,3,4) and so on.
There anyway I can fix this?
Thanks!
ThorstenA
08-17-2008, 08:07 AM
Have a question. I have installed this mod, and so far I really like it. However its not displaying correctly in forums that do not have "sub-forums"
For all forum areas that do have subs, the link displays correctly (above the subforum listing) however, for areas without sub forums the link displays in the middle of the Page Nav links (1,2,3,4) and so on.
There anyway I can fix this?
Replace template forumstats_navbar with
<div class="smallfont"><a style="float:right" href="misc.php?do=statistics&foruminclude=$foruminfo[forumid]">Forum Statistics</a></div>
Is it working right now?
Goomzee
08-17-2008, 08:26 AM
very nice how could i set permission for Moderator and GModeratos
mlthmp
08-17-2008, 08:28 AM
Nope.. still in the page navigation field (1,2,3)
ThorstenA
08-17-2008, 08:30 AM
Nope.. still in the page navigation field (1,2,3)
Do you have changed your templates? Could you make a screenshot, so I can help you better? Thanks.
ThorstenA
08-17-2008, 08:31 AM
very nice how could i set permission for Moderator and GModeratos
Only moderators, super moderators, administrators can see link to forum stats and forum stats page. Do you want to include other usergroups to see forum statistics?
mlthmp
08-17-2008, 08:44 AM
Do you have changed your templates? Could you make a screenshot, so I can help you better? Thanks.
Sure. I hope imageshack links are allowed :erm:
This is the SS of the setup that works. This is taken from a forum that has sub forums. See what I mean? the stats link is above the sub forums and looks great!
http://img103.imageshack.us/my.php?image=nonamess6.jpg
This is taken from a forum that doesn't have any sub forums... see how the link is displayed here?
http://img383.imageshack.us/my.php?image=noname1ks3.jpg
We're using the default VB theme, but with a modified .css for colors, etc. The actual code for the theme, as far as I know wasn't really edited.. just the colors
ThorstenA
08-17-2008, 08:57 AM
It seems there is a problem with your modified css. This product is simply adding a new line on the right where "Forum Statistics" is displayed. It should display on normal styles without problems. Please take a look into your changed css settings. Thanks.
abrecher
08-18-2008, 02:07 AM
Fantastic simple mod! Thank you for this release.
Jason UK
08-18-2008, 03:00 AM
Could you possibly make it show the monthly threads also?
ThorstenA
08-18-2008, 06:00 AM
Could you possibly make it show the monthly threads also?
Currently it only shows stats daily / monthly / yearly. If lots of people are interested in this modification, I will also program some more options like thread statistics :)
Jason UK
08-19-2008, 02:12 AM
Yeah I would really appreciate it.
The calculations you did for the posts would also be wonderful for threads.
There isn't really a simple stats program on this site that does this. CYB Advanced Stats does a lot of good things and is one of his most popular mods because of the stat function but his one doesn't count monthly posts or threads.
In fact no one counts threads. So it is a very open market.
ThorstenA
08-21-2008, 11:45 AM
New version released. Includes no new functions. Only one minor fix.
0.3 21.8.2008 does not need admin function any more.
KrisP
09-07-2009, 01:21 PM
Nice mod. Would it be possible to go in and make an adjustment so the statistics go longer back?
ThorstenA
09-07-2009, 01:37 PM
Nice mod. Would it be possible to go in and make an adjustment so the statistics go longer back?
This mod is classified as "re-usable code", you are welcome to change it and make another product out of it.
KrisP
09-07-2009, 01:46 PM
Great, in the xml is there a specific setting that controls how long back stats are calculeted? There is date="1218708034" but if it where seconds it would go 470 months back ...
ThorstenA
09-07-2009, 02:24 PM
I coded this a long time ago and am therefore not a big help for recoding. Its the best to ask programming questions in the programmers forum on vb.org
ThorstenA
11-17-2009, 10:44 PM
Notice: This mod uses Re-usable Code, so please feel free to port it to vbulletin 4 under your username. Thanks.
ejwbegysv
11-22-2009, 10:14 PM
Installed and edited to show 3 years of stats
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.