Hide a Moderator - Posted (1367 Views)
Starting Member
Toodlewho
Posts: 43
43
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.
<
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Support Moderator
Shaggy
Posts: 6780
6780
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.
<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Posted
Starting Member
Toodlewho
Posts: 43
43
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?


<
Posted
Support Moderator
Shaggy
Posts: 6780
6780
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
<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Posted
Starting Member
Toodlewho
Posts: 43
43
Thanks.
Most helpfull.

Coffee Table? Cricket Bat! The sound of willow on skull. Ahh, school days. <
Posted
Support Moderator
Shaggy
Posts: 6780
6780
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
<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Posted
Starting Member
Toodlewho
Posts: 43
43
Just a quickie..
That's line 148 in v3.4.06???
I used Araneae 5.0.0.
Ta<
Posted
Support Moderator
Shaggy
Posts: 6780
6780
It is indeed; I must've had my cursor on the last line (which is 153) of that block when checking the line number.
<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Posted
Starting Member
Toodlewho
Posts: 43
43
Thanks


I claim the right to only be hit with an occasional table now.<
Posted
Advanced Member
JJenson
Posts: 2121
2121
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?<
Posted
Support Moderator
Shaggy
Posts: 6780
6780
Just to clarify, you want to hide the superadmin only or you want to hide all staff members except the superadmin?
<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
You Must enter a message