Version: 1.2.2, by InfiniteWebby
Developer Last Online: Aug 2007
Version: 3.5.0 RC1
Rating:
Released: 07-27-2005
Last Update: 09-03-2006
Installs: 538
Uses Plugins Template Edits
Additional Files
No support by the author.
[high]Security Fix: The uploaded version fixes all issues concerned with the recent security vulnerabilities. Sorry I haven't been around I don't really do anything plugin wise anymore.[/high]
Oh this version also works with all current version of vB 3.6. So feel free to use it on that version.
- InfiniteWebby
The low down
Well this is the vB 3.5.0 version of my hack. It is much the same as the original except that for some added stuff that I never released
Basically what it does is show the Top 'X' (edited via the vBulletin options in the admincp) newest members, top posters and newest replies on the Forumhome.
So what's new in this version?
Well for one all settings, which include amount of stats to show on forumhome and the extended page, thread title and username truncation, excluded forums and 'new' and 'old' thread prefixes.
Secondly there is now an extra page where you are able to choose exactly how many stats to show.
And lastly and most importantly it only takes 3 simple steps to install =)
What's on the horizon?
- More "stat blocks" including top reputation and top thread based on views or replies. If you have a suggestion please let me know, prefferably via pm.
- Proper can view other users threads permissions. At the moment I cannot think of how to block other people threads while still showing your own without totally re-writing the hack =(.
Version 1.2.1 is a re-release with who's online additions as well as some template changes. So you are best to reinstall the whole thing all over again.
So anyway enjoy and click install.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I'd like to install Amykhar's Hideaways extention, this allows certain usergroups to essentially spawn their own private forums.
What this creates for me is a situation where those will appear (for those users) in the TopXStats area, and I'd like to avoid that.
Does anyone know how I might turn the 'excludes' field into an 'includes' instead. There are only a few forums I want showing up on that list, and would much prefer to approach it from that angle.
I'd like to install Amykhar's Hideaways extention, this allows certain usergroups to essentially spawn their own private forums.
What this creates for me is a situation where those will appear (for those users) in the TopXStats area, and I'd like to avoid that.
Does anyone know how I might turn the 'excludes' field into an 'includes' instead. There are only a few forums I want showing up on that list, and would much prefer to approach it from that angle.
// ## HIDE FORUMS WITHOUT THE CANVIEW, CANVIEWOTHERS OR CANSEEDELNOTICE PERMISSION ## if (!($forumpermissions[$forum["forumid"]] & $vbulletin->bf_ugp_forumpermissions['canview']) AND !$vbulletin->options['showprivateforums']) { $excludedforums = $excludedforums . ',' . $forum['forumid']; } // filter out deletion notices if can't be seen if ($forumpermissions[$forum["forumid"]] & $vbulletin->bf_ugp_forumpermissions['canseedelnotice'] OR can_moderate($forum['forumid'])){ $deljoin = "LEFT JOIN " . TABLE_PREFIX . "deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread')"; } else { $deljoin = ''; } }
unset($forum);
// get rid of initial comma $excludedforums = substr($excludedforums, 1);
if ($excludedforums != "") { $excludedforums = "AND thread.forumid NOT IN ($excludedforums)"; }
// ## HIDE FORUMS WITHOUT THE CANVIEW, CANVIEWOTHERS OR CANSEEDELNOTICE PERMISSION ## if (!($forumpermissions[$forum["forumid"]] & $vbulletin->bf_ugp_forumpermissions['canview']) AND !$vbulletin->options['showprivateforums']) { $excludedforums = ',' . $forum['forumid']; } // filter out deletion notices if can't be seen if ($forumpermissions[$forum["forumid"]] & $vbulletin->bf_ugp_forumpermissions['canseedelnotice'] OR can_moderate($forum['forumid'])){ $deljoin = "LEFT JOIN " . TABLE_PREFIX . "deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread')"; } else { $deljoin = ''; } }
unset($forum);
// get rid of initial comma $excludedforums = substr($excludedforums, 1); $includedforums = substr($includedforums, 1);
if ($excludedforums != "") { $excludedforums = "AND thread.forumid IN ($includedforums) AND thread.forumid NOT IN ($excludedforums)"; }
This is untested so I am not sure if it will work properly. You also still need to use the setting "excluded forums" to set which forums you want to show. Cause messing with settings is alot harder than a simple code edit.
Thanks IW, that's a huge help. Will try it out first thing tomorrow. Appreciate the 'above and beyond' on top of making an already outstanding plug-in.
Actually, it's showing posts from forums that are not listed in excluded, but only a few. Bizarre behavior. Been looking at it, I'm no coder, but you'd think it's more a logic puzzle than anything else. In the unlikely event I can figure out why it's doing what it is, I'll post something here.