Back to vBulletin 3.0 Add-Ons

Top X Stats - Permissions for Latest Post
Mod Version: 1.00, by gfxhavenowner

This modification is in the archives.
vB Version: 3.0.3 Rating: (0 vote - 0 average) Installs: 4
Released: 09 Sep 2004 Last Update: Never Downloads: 0
Not Supported  

This is my very first hack. It allows you to set usergroups that will bypass the $excludedforums variable and show all the latest posts, regardless of the forum. This is very useful if you want staff to see new threads in the staff forum on the Top X, but not regular members.

You must have the Top X Stats hack installed first!

Open index.php

Find:

PHP Code:
$excludedforums "13"// forums to be excluded from latest threads. Format "0,5,7" 
Above, add:

PHP Code:
$privlagedgroups "1"//which groups should see everything?
if ($privlagedgroups == $bbuserinfo['usergroupid'])
{
$excludedforums ="0";
}
else

Find:

PHP Code:
$excludedforums "13"// forums to be excluded from latest threads. Format "0,5,7" 
Below, add:

PHP Code:

Closed and upload index.php

Enjoy!

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024