| Author | 
                
                  Topic   | 
                
              
              
                | 
                 Toodlewho 
                Starting Member 
                 
                 
                
                United Kingdom 
                43 Posts  | 
                
                  
                    
                      
                       Posted - 08 November 2006 :  11:48:35
                        
                        
                      
  | 
                     
                    
                       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
                        
                        
                      
  | 
                     
                    
                       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.” | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 Toodlewho 
                Starting Member 
                 
                 
                
                United Kingdom 
                43 Posts  | 
                
                  
                    
                      
                       Posted - 08 November 2006 :  12:11:42
                        
                        
                      
  | 
                     
                    
                       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 
                Support Moderator 
                      
                 
                
                Ireland 
                6780 Posts  | 
                
                  
                    
                      
                       Posted - 08 November 2006 :  12:19:40
                        
                        
                      
  | 
                     
                    
                       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 | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 Toodlewho 
                Starting Member 
                 
                 
                
                United Kingdom 
                43 Posts  | 
                
                  
                    
                      
                       Posted - 08 November 2006 :  12:32:22
                        
                        
                      
  | 
                     
                    
                       Thanks.
  Most helpfull.
 
  Coffee Table? Cricket Bat! The sound of willow on skull. Ahh, school days. < | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 Shaggy 
                Support Moderator 
                      
                 
                
                Ireland 
                6780 Posts  | 
                
                  
                    
                      
                       Posted - 08 November 2006 :  12:40:50
                        
                        
                      
  | 
                     
                    
                       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.” | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 Toodlewho 
                Starting Member 
                 
                 
                
                United Kingdom 
                43 Posts  | 
                
                  
                    
                      
                       Posted - 08 November 2006 :  12:49:53
                        
                        
                      
  | 
                     
                    
                       Just a quickie..
  That's line 148 in v3.4.06???
  I used Araneae 5.0.0.
  Ta< | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 Shaggy 
                Support Moderator 
                      
                 
                
                Ireland 
                6780 Posts  | 
                
                  
                    
                      
                       Posted - 08 November 2006 :  12:51:50
                        
                        
                      
  | 
                     
                    
                       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.” | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 Toodlewho 
                Starting Member 
                 
                 
                
                United Kingdom 
                43 Posts  | 
                
                  
                    
                      
                       Posted - 08 November 2006 :  13:00:36
                        
                        
                      
  | 
                     
                    
                       Thanks
 
  I claim the right to only be hit with an occasional table now.< | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 JJenson 
                Advanced Member 
                      
                 
                
                USA 
                2121 Posts  | 
                
                  
                    
                      
                       Posted - 08 November 2006 :  13:52:45
                        
                        
                        
                      
  | 
                     
                    
                      |  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 
                Support Moderator 
                      
                 
                
                Ireland 
                6780 Posts  | 
                
                  
                    
                      
                       Posted - 09 November 2006 :  03:58:38
                        
                        
                      
  | 
                     
                    
                       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.” | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 JJenson 
                Advanced Member 
                      
                 
                
                USA 
                2121 Posts  | 
                
                  
                    
                      
                       Posted - 09 November 2006 :  08:34:43
                        
                        
                        
                      
  | 
                     
                    
                      |  Yeah only the Super Admin. The rest of the Admins and Moderators I want to be shown.< | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 Shaggy 
                Support Moderator 
                      
                 
                
                Ireland 
                6780 Posts  | 
                
                  
                    
                      
                       Posted - 09 November 2006 :  08:42:33
                        
                        
                      
  | 
                     
                    
                       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.” | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 JJenson 
                Advanced Member 
                      
                 
                
                USA 
                2121 Posts  | 
                
                  
                    
                      
                       Posted - 09 November 2006 :  10:02:18
                        
                        
                        
                      
  | 
                     
                    
                      |  Again you always have the answers and I thought that would be a tricky one lol< | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 Shaggy 
                Support Moderator 
                      
                 
                
                Ireland 
                6780 Posts  | 
                
                  
                    
                      
                       Posted - 09 November 2006 :  10:04:09
                        
                        
                      
  | 
                     
                    
                       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.” | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 JJenson 
                Advanced Member 
                      
                 
                
                USA 
                2121 Posts  | 
                
                  
                    
                      
                       Posted - 09 November 2006 :  10:19:13
                        
                        
                        
                      
  | 
                     
                    
                      |  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< | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                
                
                  Topic   | 
                  |