Version: 1.00, by InfiniteWebby
Developer Last Online: Aug 2007
Version: 3.0.0
Rating:
Released: 01-02-2004
Last Update: Never
Installs: 213
No support by the author.
This hack adds the top 'x' stats (top posters, newest members, newest replies) to your forumhome.
The original idea was nanoentities but he will not be releasing his hack for vB3. Basically this is the same idea, all new coding, all new templates.
This hack also shows a 'New' or 'Old' text if the thread was posted after your lastvisit or marking all forums as read. Also it posts the deleted message for those who can see it and can be set to exclude forums.
I am currently working on a seperate page where the user can set the number of stats he wishes to show.
Then you should have the same file as all of us. Sorry for taking up all this space, but here is what your code should look like at the top, if it doesn't then you have a problem and should redownload the package.
PHP Code:
<?php
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 3.0.1 - Licence Number [REMOVED LICENSE #]
|| # ---------------------------------------------------------------- # ||
|| # Copyright ?2000?2004 Jelsoft Enterprises Ltd. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # [url]http://www.vbulletin.com[/url] | [url]http://www.vbulletin.com/license.html[/url] # ||
|| #################################################################### ||
\*======================================================================*/
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'index');
// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array('holiday');
// get special data templates from the datastore
$specialtemplates = array(
'userstats',
'birthdaycache',
'maxloggedin',
'iconcache',
'eventcache',
'mailqueue'
);
// pre-cache templates used by all actions
$globaltemplates = array(
'FORUMHOME',
'forumhome_event',
'forumhome_forumbit_level1_nopost',
'forumhome_forumbit_level1_post',
'forumhome_forumbit_level2_nopost',
'forumhome_forumbit_level2_post',
'forumhome_lastpostby',
'forumhome_loggedinuser',
'forumhome_moderator',
'forumhome_pmloggedin',
'forumhome_subforumbit_nopost',
'forumhome_subforumbit_post',
'forumhome_subforumseparator_nopost',
'forumhome_subforumseparator_post',
'forumhome_stats_poster'
);
// pre-cache templates used by specific actions
$actiontemplates = array();
This hack in its current form works using forum permission. It also show deleted thread only to those members who can see them as well as being able to exclude forum id's so there should not be problems with members seeing what they shouldnt be able to.
I have finished my next version found here it includes an extra page so users can specify the number of stats to show added admincp settings for post title trunctaing, username truncating, excluded forum ids, most stats to show on forumhome and extra page, default to show on forum home and extra page as well as a prefix setting for new and old posts. It is all ready to go with htl but with the new admin settings i need to create an installer to add those into the dbase.
I'm wondering if AnimeWebby has finished the installer and would be releasing the new mod soon?
This really does not work with usergroup permission as there are replies in group-owned forums are not shown on the stats even when you are logged in and have permission to view such replies.