Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Hide a Moderator
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Toodlewho
Starting Member

United Kingdom
43 Posts

Posted - 08 November 2006 :  11:48:35  Show Profile  Reply with Quote
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.

<

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 08 November 2006 :  12:06:01  Show Profile  Reply with Quote
Find the following on line 153 of members.asp:
	if mlev = 4 then
		strSql3 = " WHERE M_NAME <> 'n/a' "
	else
		strSql3 = " WHERE M_STATUS = " & 1
	end if
And replace it with the following:
	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.”
Go to Top of Page

Toodlewho
Starting Member

United Kingdom
43 Posts

Posted - 08 November 2006 :  12:11:42  Show Profile  Reply with Quote
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?



<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 08 November 2006 :  12:19:40  Show Profile  Reply with Quote
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! 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 out
This 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.”

Edited by - Shaggy on 08 November 2006 12:20:22
Go to Top of Page

Toodlewho
Starting Member

United Kingdom
43 Posts

Posted - 08 November 2006 :  12:32:22  Show Profile  Reply with Quote
Thanks.

Most helpfull.


Coffee Table? Cricket Bat! The sound of willow on skull. Ahh, school days.
<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 08 November 2006 :  12:40:50  Show Profile  Reply with Quote
You're welcome

I've always found a coffee table to be more effective in getting my point across than a cricket bat!

<

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.”
Go to Top of Page

Toodlewho
Starting Member

United Kingdom
43 Posts

Posted - 08 November 2006 :  12:49:53  Show Profile  Reply with Quote
Just a quickie..

That's line 148 in v3.4.06???

I used Araneae 5.0.0.

Ta<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 08 November 2006 :  12:51:50  Show Profile  Reply with Quote
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.”
Go to Top of Page

Toodlewho
Starting Member

United Kingdom
43 Posts

Posted - 08 November 2006 :  13:00:36  Show Profile  Reply with Quote
Thanks


I claim the right to only be hit with an occasional table now.<
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 08 November 2006 :  13:52:45  Show Profile  Visit JJenson's Homepage  Reply with Quote
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?<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 09 November 2006 :  03:58:38  Show Profile  Reply with Quote
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.”
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 09 November 2006 :  08:34:43  Show Profile  Visit JJenson's Homepage  Reply with Quote
Yeah only the Super Admin. The rest of the Admins and Moderators I want to be shown.<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 09 November 2006 :  08:42:33  Show Profile  Reply with Quote
Change the M_LEVEL<2 I added above to MEMBER_ID<>"&intAdminMemberID&".

<

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.”
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 09 November 2006 :  10:02:18  Show Profile  Visit JJenson's Homepage  Reply with Quote
Again you always have the answers and I thought that would be a tricky one lol<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 09 November 2006 :  10:04:09  Show Profile  Reply with Quote
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.

<

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.”
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 09 November 2006 :  10:19:13  Show Profile  Visit JJenson's Homepage  Reply with Quote
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<
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07