 |
 |
 |
 |
#173772 - 02/22/02 10:29 AM
Mega Mod - Authority List . . .
|
Member
Registered: 01/28/02
Posts: 141
Loc: Speedy's World
Add to del.icio.us
Digg it
|
Hello, I am trying to install the mega mod patch for Authority List . . . I get to the 2ed to last step
### #Find: ### $vars_wordlets_mods{auth_admins} $Administrator
### #Add Under: ### $vars_wordlets_mods{auth_megamod} $MegaModerator
### Close ubb_auth_list.cgi
well that is no where to be found on my ubb_auth_list.cgi here is the whole file for crying out loud!
#Ubb_auth_list.cgi coded by Tech-Ni-Kal modified by Lord Dexter
sub auth_list { &RequireCode("$ _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~<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_profile&u=$start">$user_profile[15]</a>, ~; } else { $Administrator .= qq~<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_profile&u=$start">$user_profile[0]</a>, ~; } } if ($user_profile[8] eq "MegaModerator") { if ($user_profile[15]) { $MegaModerator .= qq~<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_profile&u=$start">$user_profile[15]</a>, ~; } else { $MegaModerator .= qq~<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_profile&u=$start">$user_profile[0]</a>, ~; } } elsif ($user_profile[8] eq "Moderator") { if ($user_profile[15]) { $Moderators .= qq~<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_profile&u=$start">$user_profile[15]</a>, ~; } else { $Moderators .= qq~<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_profile&u=$start">$user_profile[0]</a>, ~; } } } } $Administrator =~ s/, $/ /; $MegaModerator =~ s/, $/ /; $Moderators =~ s/, $/ /; my @mods = &OpenFileAsArray("$vars_config{CGIPath}/vars_mods.cgi"); @mods = reverse(@mods); foreach (@mods) { @split_for_fnum = split(/=/, $_); @fnum = $split_for_fnum[0] =~ /d{1,4}/g; @unums = $_ =~ /d{8}/g; foreach $num (@unums) { my @thisforum = &GetForumRecord($fnum[0]); $forum_name = $thisforum[1]; if ($forum_name) { $mod_f_count{$num} = $mod_f_count{$num} + 1; $mod_which_f{$num} = "<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=forum;f=$fnum[0]">$forum_name</a>, $mod_which_f{$num}"; $mod_which_f{$num} =~ s/, $/ /; $mod{$num} = [ $mod_f_count{$num}, $mod_which_f{$num} ]; } } } foreach $key (keys %mod) { my @user_profile = &OpenProfile($key); $Usernumber = $key; chomp ($user_profile[15]); chomp ($user_profile[0]); chomp ($user_profile[7]);
if ($user_profile[7] eq '') { $Posts = "(no current posts)"; } else { $Posts = "$user_profile[7]"; }
if ($user_profile[15]) { $Name = qq~<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_profile;u=$key">$user_profile[15]</a>~; } else { $Name = qq~<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=get_profile;u=$key">$user_profile[0]</a>~; } $mod_info_row .= qq~ <td bgcolor="$vars_style{AltColumnColor1}" height="2" valign="middle"> <font size="1" color="$vars_style{TextColor}" face="$vars_style{FontFace}"> $Name </font> </td> <td bgcolor="$vars_style{AltColumnColor2}" height="2"> <font size="1" color="$vars_style{TextColor}" face="$vars_style{FontFace}"> $mod{$key}[1]</font> </td> <td align="center" bgcolor="$vars_style{AltColumnColor1}" height="2"> <font size="1" color="$vars_style{TextColor}" face="$vars_style{FontFace}">$Posts</font></td></tr>
~; $mod_info_row =~ s/<tr>$/ /; }
&set_page_elements; &RequireCode("$vars_config{NonCGIPath}/Templates/public_auth_list.pl"); }
# DANGER: Do not remove the next line! 1;
as you can see it is not in there please help me as soon as posible Thankx!
~Speedy~
_________________________
~Your Super Speedy Member!~ AIM: zXzXMikeXzXz MSN: zXzXMikeXzXz@hotmail.com Email: zXzXMikeXzXz@hotmail.com
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#173775 - 02/24/02 03:04 PM
Re: Mega Mod - Authority List . . .
|
Member
Registered: 01/28/02
Posts: 141
Loc: Speedy's World
|
OK I figured out some stuff to get this sorta working but still not working working. Every time I put 'MegaModerator_settings' => 'MegaModerator Settings', 'MegaModerator_warning' => 'IMPORTANT: Provide the MegaModerator's MEMBER NUMBER, not name. You can discover the person's member number by viewing the member's profile.', into my vars_wordlets_cp.cgi it makes it so their is nothing in their (in other words when i go to my www...cp.cgi alot of the links are not their no log out text by ur name its just *Speedy& [] and alot of other stuff (plus if u go into the part in the cp Update vars_wordlets_cp or what ever it is called in their, it is blank, so I re uploaded the old vars_wordlets_cp.cgi and it works but I dont have thoeses 2 things in their. I think I need them in so help me their, and plus I did the athoury patch and cant see it, I did sorta find the thing he was talking about erlyer but is thieir "offiaial" ubb621 hack add on for mega mod in the atorirty list or someone know what the difference is to get it working, please help asap their are other problems but lets get one fixed at a time ~Speedy~
_________________________
~Your Super Speedy Member!~ AIM: zXzXMikeXzXz MSN: zXzXMikeXzXz@hotmail.com Email: zXzXMikeXzXz@hotmail.com
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|