Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
#150217 02/24/2002 9:21 AM
Joined: Aug 2001
Posts: 8
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 8
Thanx a lot for the help. I d/l´ed it and now I´m goin´ to kill my UBB wink

Sponsored Links
#150218 02/26/2002 5:07 AM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
The 1st, Argh. Are you switching servers raiyan?

#150219 02/27/2002 11:52 AM
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
No, we just exceeded the bandwidth (surprisingly). plain and simple. I learned from this and won't let it happen again. wink

#150220 02/28/2002 12:23 AM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Isn't it because we got so much more visitors and posts in the last month or so?

#150221 03/03/2002 11:05 AM
Joined: Mar 2002
Posts: 2
Junior Member
Junior Member
Offline
Joined: Mar 2002
Posts: 2
I'm sorry if this is a stupid question, but I'm using UBB 6.04 and I cannot find:

if (($ubb eq 'vars_mod') && ($status eq 'Administrator')) {
&view_vars("mods");
exit(0);
} #end vars_mod

in cp.cgi. This may be because of the other hacks I've done, but I rather doubt it... Is there another megamod hack that definitely works with 6.04 or what can I do about this problem? Thank you.

:edit: Oops. I just realized I've been looking in the wrong forum. Nevermind! ^^;;

Sponsored Links
#150222 03/04/2002 12:36 AM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
It's because this MegaMod if for 6.1, not 6.04.

#150223 03/10/2002 7:21 AM
Joined: Aug 2001
Posts: 8
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 8
You can name me mad, but I tried to patch the UBB 6.2.1 with the Mega-Moderator-Hack.

I found everything and patched it. Besides only one thing frown

quote:
Open ubb_lib.cgi
Find:
sub is_admin_or_mod {
local ($f, @profile, $Moderator, @mods, $mod_name, $mod_num, $mod_match, $is_one, @mod_profile);

I can´t find. But I found this part which should be the right one. How must it be patched?

quote:
sub is_admin_or_mod {
my ($Moderator, $mod_match, $is_one);

my ($f, @profile) = @_;
chomp($profile[8]);
chomp($profile[0]);

if ($profile[8] eq 'Administrator') {
$is_one = 'true';
} elsif ($profile[8] eq 'Moderator') {

if ($f ne 'ALL') {

# check to see if user is moderator of particular forum

# check if moderator
&RequireVars("$vars_config{VariablesPath}/vars_mods.cgi");

$Moderator = ${ "Forum" . "$f" . "Moderator" };

#split up Mod var
my @mods = split (/||^||/, $Moderator);

my @mod_profile = ();
foreach (@mods) {
chomp($_);
if (-s "$vars_config{MembersPath}/$_.cgi") {
@mod_profile = &OpenProfile($_);
chomp($mod_profile[0]);

if ($mod_profile[0] eq $profile[0]) {
$mod_match = 'true';
} # end if
} # end if
} # end foreach

if ($mod_match ne 'true') {
$is_one = 'false';
} else {
$is_one = 'true';
} # end if
} else {
# this is just to see if user is a mod of any forum
$is_one = 'true';
} # end if
} else {
$is_one = 'false';
} # end if

return ($is_one);
} # is_admin_or_mod

Thanx a lot
Locutus of Borg

#150224 03/10/2002 9:56 AM
Joined: Aug 2001
Posts: 8
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 8
Sorry. Forget it. I saw that there is already a Hack for the 6.2.0 (v2.1)

Page 2 of 2 1 2

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,575
Posts293,931
Members13,823
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)