The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vbTrends - An Enhanced Statistics Box on Forum Home Details »» | |||||||||||||||||||||||||||
vbTrends - An Enhanced Statistics Box on Forum Home
Developer Last Online: Apr 2013
Note: This product is now being supported at www.catnine.net Keywords: Statistics, New members, joins, trends, Forum Home, threads, posts ATTENTION: If you download the latest version go into your usergroups and set the 'can view trends' permission. SAVE the usergroup even if you haven't changed the setting or things may not work. There is an odd permissions bug I haven't figured out yet. Also note that overwrite will not work. Please uninstall the previous version before installing the new one. Description: Enhances the "YourBBS" Statistics box on the forum home to show trends of posts, threads and new users vs. the overall history of the board. Also allows you to display more than one "newest member". Version 2.0.0:
This is a major rewrite, so I've set the hack to beta for now. Version 1.2.6:
Version 1.2.5:
Version 1.2.3:
Show Your Support
|
Comments |
#212
|
|||
|
|||
Installed and working great on my forum, i think!
|
#213
|
|||
|
|||
There is an option in the admincp Set this to number of previous months you want included in trend data.
If I set this to 1, will it calculate the figures based on the previous months registrations, posts, threads etc? I'm assuming that by leaving it at 6 months it uses averages based on a 6 month period? Can anyone confirm this for me please? Thanks |
#214
|
|||
|
|||
It's not working for me. I tried it with and without auto replace. If "auto replace" is off and I add edit the template, the statistics box is empty. And if I turn "auto replace" on and leave the template unedited, it just shows the default statistics.
|
#215
|
||||
|
||||
Awesome hack
|
#216
|
|||
|
|||
will surely install when it is out of beta stage.
I hope by that time, more features get added. |
#217
|
|||
|
|||
Edited: I got it fixed. Great hack!
|
#218
|
|||
|
|||
Quote:
Thanks! |
#219
|
||||
|
||||
Quote:
NVM... guys if it doesn't work.. MAKE SURE it is FTPed properly. Since my admincp folder is different it missed 1 file.. but anyways, be SURE everything is FTPed right.. double check it for the people that it isn't working for. |
#220
|
||||
|
||||
Yes, that is how it works. Month to date average for the past x months (not including the current month, since the current month is the comparison point).
|
#221
|
|||
|
|||
heres a alteration to show the newest members in the usergroup colour
FIND: plugin manager > [vbTrends] Run Main Trends Code Code:
$vbtrends_newmembers_bit = ''; while($member = $db->fetch_array($vbtrends_last_x_joins_result)) { $newuserid = $member['userid']; $newusername = $member['username']; eval('$vbtrends_newmembers_bit .= "' . fetch_template('forumhome_vbtrends_newmember_bit') . '";'); } } Code:
$vbtrends_newmembers_bit = ''; while($member = $db->fetch_array($vbtrends_last_x_joins_result)) { $newuserid = $member['userid']; fetch_musername($member); $newusername = $member['musername']; eval('$vbtrends_newmembers_bit .= "' . fetch_template('forumhome_vbtrends_newmember_bit') . '";'); } } Code:
// Last x joins $vbtrends_last_x_joins_result = $db->query_read(" SELECT * FROM " . TABLE_PREFIX . "user ORDER BY joindate DESC LIMIT " . $vbulletin->options['vbtrends_newmembers'] ); Code:
// Last x joins $vbtrends_last_x_joins_result = $db->query_read(" SELECT username, userid, joindate, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid FROM " . TABLE_PREFIX . "user AS user ORDER BY joindate DESC LIMIT " . $vbulletin->options['vbtrends_newmembers'] ); asked bwt it a while bk and no response so made it my self |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|