php forum
php mysql forum
php mysql smarty
 
Topic Options
#173772 - 02/22/02 10:29 AM Mega Mod - Authority List . . .
*Speedy* Offline
Member

Registered: 01/28/02
Posts: 141
Loc: Speedy's World

   Mega Mod - Authority List . . .  to Del.icio.us Add to del.icio.us
  Digg Mega Mod - Authority List . . . 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
#173773 - 02/22/02 11:18 AM Re: Mega Mod - Authority List . . .
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Use Lord Dexter/TechNiKal's Authority List hack.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#173774 - 02/23/02 12:54 AM Re: Mega Mod - Authority List . . .
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
It's changed since then. You'll need to do that in public_auth_list.pl now. Those instructions are for the 6.1 version.

Top
#173775 - 02/24/02 03:04 PM Re: Mega Mod - Authority List . . .
*Speedy* Offline
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 wink

~Speedy~
_________________________
~Your Super Speedy Member!~
AIM: zXzXMikeXzXz
MSN: zXzXMikeXzXz@hotmail.com
Email: zXzXMikeXzXz@hotmail.com

Top
#173776 - 02/24/02 11:03 PM Re: Mega Mod - Authority List . . .
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Are those wordlets your talking about from the MegaMod hack? Also I will get you some instructions so you can add the Mega Mods to the Auth List. They need to be updated.

Top
#173777 - 02/25/02 04:31 AM Re: Mega Mod - Authority List . . .
*Speedy* Offline
Member

Registered: 01/28/02
Posts: 141
Loc: Speedy's World
Yes they are(I think) they might be for authriry list but i think they are for mega mod, and thank you very much, but how long till they are done? Thanks a lot for helping! :-P

~Speedy~
_________________________
~Your Super Speedy Member!~
AIM: zXzXMikeXzXz
MSN: zXzXMikeXzXz@hotmail.com
Email: zXzXMikeXzXz@hotmail.com

Top
#173778 - 02/25/02 04:32 AM Re: Mega Mod - Authority List . . .
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Give me a few days. I'm going to be busy over these next few days. So yeah..

Top
#173779 - 02/25/02 04:47 AM Re: Mega Mod - Authority List . . .
*Speedy* Offline
Member

Registered: 01/28/02
Posts: 141
Loc: Speedy's World
OK cool, and hey, no rush, my ubb can wait tipsy and anyways I would be more than happy to wait, cuz I have a lot of tests, and exams anyways (coming up) so yeah, a couple days is cool wink thankx again

~Speedy~
_________________________
~Your Super Speedy Member!~
AIM: zXzXMikeXzXz
MSN: zXzXMikeXzXz@hotmail.com
Email: zXzXMikeXzXz@hotmail.com

Top
#173780 - 02/27/02 03:07 AM Re: Mega Mod - Authority List . . .
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Speedy, Check out the hack topic in v6.2 Beta Mods. Download the zip and the Mega Mod addon instructions are in there.

Top


Moderator:  Gizmo 
Who's Online
0 Registered (), 28 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Team UBBDev Rides Again!
by AllenAyres
10/13/08 01:36 PM
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Newest Members
Kevs, pisa666, ghengis317, NitroX, Dogan
13346 Registered Users
Top Posters Last 30 Days
AllenAyres 11
blaaskaak 6
Ian_W 4
tackaberry 4
Chris Bale 4
Gizmo 4
FREAK1 4

 

 

 
fusionbb message board php hacks