php forum
php mysql forum
php mysql smarty
 
Page 2 of 2 < 1 2
Topic Options
#224768 - 10/01/02 09:00 PM Re: Group Moderators v1.1 [Re: palmen]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
Is that the error you posted here?<br /><br />If so, you may need to comment-out the "admin-only" check in mysql.inc.php so that you can get the actual error message.
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#224769 - 10/01/02 11:55 PM Re: Group Moderators v1.1 [Re: joeuser]
Aglavalin Offline
Enthusiast

Registered: 06/18/02
Posts: 394
Loc: Southern California
I really have no idea what the error could be. Try commenting out mysql.inc.php where it hides the error, then you can see what the error really is. This should shed some more light on it.

Top
#224770 - 10/14/02 01:39 PM Re: Group Moderators v1.0 [Re: palmen]
msula Offline
Addict

Registered: 02/18/02
Posts: 1969
Loc: Lansing, Michigan
been very busy, but I figured out the problem. Just a small typo in your pickuser.php<br /><br /><pre><font class="small">code:</font><hr>// -----------------------------------------------<br />// check to see if they are a group moderator<br /> $query = " <br /> SELECT GM_Username<br /> FROM {$config['tbprefix']}groupmods<br /> WHERE GM_Username = '$Username'<br /> "; </pre><hr><br /><br />Where it says groupmods it should say Groupmods <img src="/forum/images/graemlins/smile.gif" alt="" />

Top
#224771 - 10/15/02 12:19 AM Re: Group Moderators v1.0 [Re: palmen]
Aglavalin Offline
Enthusiast

Registered: 06/18/02
Posts: 394
Loc: Southern California
Would be nice if MySQL was case sensative on all servers so I would notice this kind of stuff, lol

Top
#224772 - 01/19/03 08:38 AM Re: Group Moderators v1.0 [Re: neuron]
dreamer_dup1 Offline
User

Registered: 08/27/02
Posts: 45
Does anyone knows if it's compatible with 6.2 ?<br />I think it's very useful mod

Top
#224773 - 02/24/03 04:46 PM Re: Group Moderators v1.0 [Re: himik]
Datal Offline
Member

Registered: 08/27/01
Posts: 203
So far it works with me....

Top
#224774 - 02/25/03 02:35 AM Re: Group Moderators v1.0 [Re: Macthorn]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
Hmm<br />I got it so it adds the moderator to the group with the different powers. But when I log in as the new moderator they don't have the power..... I also added the restrict moderator mod while installing this one. Any ideas why my new group moderator has no power?<br /><br />Running 6.2.2

Top
#224775 - 02/27/03 06:55 AM Re: Group Moderators v1.0 [Re: Kelly]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
Ok found what I needed... I had to give them mod powers to the specific forum. Somehow lost my add group moderators in the process. (*Then with mod powers they could read all the previously private mod forums) Yikes..<br /><br />also had to adjust my previously private forums to admin/private usergroup acess so the "new group mods"... couldn't read what the actual mods (now a privatemod usergroup).<br /><br />Works like a charm... very creative and should be very useful for private groups/clubs. Thanks<br /><br />BTW I had to add a bit of code msula posted in the restrict moderators mod.<br /><br />Thanks for a very powerful addition.

Top
#224776 - 02/28/03 06:16 AM Re: Group Moderators v1.0 [Re: palmen]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
Well I almost got this...(I thought) I setup a test group moderator and when he adds a user to the group. The user gets removed from (users group), but placed in the private usergroup. Then the only forum the user added gets to view is the private one they just got added to, unless I go search the name and readd them to the user group. Kinda defeats the purpose of the mod if I have to fix every added user. <br /> <br />HELP>>> thanks in advance... <br /> <br /> <br /> <br />using 6.2.2 but shouldn't be a issue... will review the hack piece by piece when I get a chance to make sure I followed along correctly. Looks ok just a permission step in here someplace... doeditusergroup.php? <br /> <br />The usergroup the group moderator removes the user from never shows up on the list to be checked or unchecked. Like a default uncheck command is being used as it updates the user behinds the scenes. Need to limit the moderator from using that kind of power. <br /> <br />I got about every hack offered here going so it should be just a switch on a restriction.


Edited by Smilesforu (03/02/03 02:48 AM)

Top
Page 2 of 2 < 1 2


Who's Online
2 registered (AllenAyres, blaaskaak), 19 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Spell Check [beta]
by AllenAyres
12/01/08 09:32 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25449
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks