Hide a Moderator

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/63241?pagenum=1
06 November 2025, 06:50

Topic


Toodlewho
Hide a Moderator
08 November 2006, 11:48


Is it possible to hide a member or in my case a Moderator?
I don't want Moderators to appear in the Member Information/List.
Merci.
<

 

Replies ...


Shaggy
08 November 2006, 12:06


Find the following on line 153 of members.asp:
Code:
	if mlev = 4 then
strSql3 = " WHERE M_NAME <> 'n/a' "
else
strSql3 = " WHERE M_STATUS = " & 1
end if
And replace it with the following:
Code:
	if mlev = 4 then
strSql3 = " WHERE M_NAME <> 'n/a' "
else
strSql3 = " WHERE M_LEVEL<2 AND M_STATUS = " & 1
end if
That will hide moderators and administrators from regular members and moderators (unless they happen across them when searching) but still display them to administrators.
<
Toodlewho
08 November 2006, 12:11


Thanks

Should I 'Remark Out' the section from line 153 and add below it or just replace it because it has to be at line 153?
If so - how do I 'remark out' I'm not a programmer.

Is editing still an issue in FrontPage if using FrontPage 2003?
Is it true that FP 2003 won't change the code for me?


<
Shaggy
08 November 2006, 12:19


I'm the wrong person to ask about FrontPage as my tendency is to slap anyone who mentions any sort of so-called "WYSIWYG" editor upside the head with a rather hefty coffee table! wink Always best to use a text editor (such as Notepad, which comes with Windows) to edit your ASP files.
You can simply overwrite the code I referenced with the edited code I provided.
For future reference, though, to comment out a line, simply place a ' in front of it. For example:

'This line would be commented outThis line wouldn't
<
Toodlewho
08 November 2006, 12:32


Thanks.
Most helpfull.

Coffee Table? Cricket Bat! The sound of willow on skull. Ahh, school days. <
Shaggy
08 November 2006, 12:40


You're welcome smile
I've always found a coffee table to be more effective in getting my point across than a cricket bat! tongue
<
Toodlewho
08 November 2006, 12:49


Just a quickie..
That's line 148 in v3.4.06???
I used Araneae 5.0.0.
Ta<
Shaggy
08 November 2006, 12:51


It is indeed; I must've had my cursor on the last line (which is 153) of that block when checking the line number.
<
Toodlewho
08 November 2006, 13:00


Thanks


I claim the right to only be hit with an occasional table now.<
JJenson
08 November 2006, 13:52


Shaggy here might be a tricky one for you but can you do this but only have it include the super admin. I have people taking over their own forums but I am still the Super Admin and would like nothing to go through me just through the people I am doing it for?<
Shaggy
09 November 2006, 03:58


Just to clarify, you want to hide the superadmin only or you want to hide all staff members except the superadmin?
<
JJenson
09 November 2006, 08:34


Yeah only the Super Admin. The rest of the Admins and Moderators I want to be shown.<
Shaggy
09 November 2006, 08:42


Change the M_LEVEL<2 I added above to MEMBER_ID<>"&intAdminMemberID&".
<
JJenson
09 November 2006, 10:02


Again you always have the answers and I thought that would be a tricky one lol<
Shaggy
09 November 2006, 10:04


Note that the superadmin will stil ahow up for other admins only when viewing the full list of members and for anyone who happens to search for a string that matches your username.
<
JJenson
09 November 2006, 10:19


Yeah thats ok I don't mind having the other admins see it. I just don't want all their forum members to see it. Thanks Shaggy for you help<
Shaggy
09 November 2006, 10:29


You're welcome.
<
pdrg
10 November 2006, 12:21


Shaggy's a minor deity, isn't he!<
© 2000-2021 Snitz™ Communications