I have Authority list on my comp, Here are the instructions.
========================================
In ubb_forum_summary.cgi Find:
========================================
sub forum_summary {
local($file_name, $RegisteredMemberLine, @CATEGORIES, @sortedforums);
local(*MEM);
========================================
BELOW that paste:
========================================
require "$vars_config{CGIPath}/ubb_registration.cgi";
my $last_number = &GetLastMemberNumber;
for ($start = &Do8Digit(1);$start le $last_number;$start = &Do8Digit($start + 1)) {
if (-e "$vars_config{MembersPath}/$start.cgi") {
@user_profile = &OpenProfile($start);
chomp($user_profile[0]);
chomp($user_profile[8]);
chomp($user_profile[15]);
if ($user_profile[8] eq "Administrator") {
if ($user_profile[15]) {
$Administrator .= qq~
$user_profile[15], ~;
} else {
$Administrator .= qq~
$user_profile[0], ~;
}
}
elsif ($user_profile[8] eq "Moderator") {
if ($user_profile[15]) {
$Moderators .= qq~
$user_profile[15], ~;
} else {
$Moderators .= qq~
$user_profile[0], ~;
}
}
}
}
$Administrator =~ s/, $/ /;
$Moderators =~ s/, $/ /;
========================================
In public_forum_summary.pl Find:
========================================
sub PageBottom {
my $Bottom = qq~
========================================
BELOW that paste:
========================================
FACE="$vars_style{FontFace}"> Authority List
|
align="center">
|
Administrators: $Administrator
Moderators: $Moderators
As for Category descriptions, I haven't got that.
Thanx Dex, the authority mod works perfectly. Now to see if we can get m2sc.com to put the category description mod back out.
No problem, Glad to help. Tne Authrotiy list is a good and best of all easy mod to install. What does the Category descriptions do? Never heard of it before...
HACK NAME: Category Descriptions/Icons
DESCRIPTION: Adds Descriptions & Icons(like a forum) to Categories when you display Categories only on the intro page
My board starts with the categories (due to 59+ forums), and I want to show a small description for each of them so people know what is where.
They were talking about different icons for each forum, but, like I said, the link is dead to grab the mod.
[ 09-25-2001: Message edited by: Lord Nite ]
So does anyone have the Category Description mod or what?
|