Previous Thread
Next Thread
Print Thread
Rate Thread
#225208 09/24/2002 7:29 PM
Joined: Aug 2002
Posts: 45
User
User
Offline
Joined: Aug 2002
Posts: 45
I removed a person from being a moderator on my forums, but his name is still there under Moderators! Which is kinda annoying hahaha. Any thoughts anyone?

Sponsored Links
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
Did you only remove him as a moderator from specific forums, or did you also remove his moderator status?

Joined: Aug 2002
Posts: 45
User
User
Offline
Joined: Aug 2002
Posts: 45
I removed his moderator status too. Yet his name still remains...so odd so so odd

Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
To diagnose this, run the following queries, with XYZ replaced by the person's username:

SELECT Mod_Board,Mod_Username FROM w3t_Moderators WHERE Mod_Username='XYZ'

SELECT Bo_Number,Bo_Moderators FROM w3t_Boards WHERE Bo_Moderators LIKE '%XYZ%'

SELECT U_Username,U_Number,U_Status,U_Groups,U_Title FROM w3t_Users WHERE U_Username = 'XYZ'

SELECT G_Name,G_Id FROM w3t_Groups WHERE G_Name='Moderators'

Last edited by Dave_L; 09/24/2002 8:28 PM.
Joined: Aug 2002
Posts: 45
User
User
Offline
Joined: Aug 2002
Posts: 45
Ahh he shows up in the second query.
SELECT Bo_Number,Bo_Moderators FROM w3t_Boards WHERE Bo_Moderators LIKE '%XYZ%'

How do I get rid of it? just manually run a sql statement and kill him? hahaha

Sponsored Links
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
Probably. You might also check the U_Groups column in the w3t_Users table to see if he's in the Moderators' group.

Do you know how to do that?

If not, I edited my post above to add a couple of display columns to the third query, and added a fourth query.

If you'll rerun all four queries, and post the results here, or PM them to me, I can tell you what query to run to fix it. Also mention which version you're running.

Joined: Aug 2002
Posts: 45
User
User
Offline
Joined: Aug 2002
Posts: 45
Oh no worries, I figured it out. Took some thinking and some odd sql statements. It works now. thanks for the queries you wrote earlier.


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
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
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,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)