| Author |  Topic  |  | 
              
                | AliasMozeNew Member
 
  
 
                USA55 Posts
 | 
                    
                      |  Posted - 04 August 2002 :  20:48:21     
 |  
                      | I noticed that -in the current version- users can search through Private Forums, whether or not they are Members.  Is there a way to keep this from happening?  To show just the forums the user has access to?  And to keep a search of All Forums from revealing Private Forums? 
 AliasMoze
 "That activates my hilarity unit."
 
 Edited by - Gremlin on 08 August 2002  03:06:08
 |  | 
              
                | GremlinGeneral Help Moderator
 
      
 
                New Zealand7528 Posts
 | 
                    
                      |  Posted - 04 August 2002 :  22:54:33     
 |  
                      | Are you referring to the drop-down list of forums in the search box ? that should be restricted to only the forums the user has access too.  Have you made any changes to your forum ? 
 www.daoc-halo.com
 |  
                      |  |  | 
              
                | AliasMozeNew Member
 
  
 
                USA55 Posts
 | 
                    
                      |  Posted - 05 August 2002 :  00:27:21     
 |  
                      | Gremlin, No mods yet.
 
 Even when I log out and can't see the hidden forums on the main page, I can see the hidden forum listed in the dropdown list.
 
 Note:  This is not up on our server, just my personal web server.
 |  
                      |  |  | 
              
                | GremlinGeneral Help Moderator
 
      
 
                New Zealand7528 Posts
 | 
                    
                      |  Posted - 05 August 2002 :  03:13:24     
 |  
                      | Members Only (Hidden) or Allowed Members Only (Hidden) ?? 
 www.daoc-halo.com
 |  
                      |  |  | 
              
                | GremlinGeneral Help Moderator
 
      
 
                New Zealand7528 Posts
 | 
                    
                      |  Posted - 05 August 2002 :  04:10:08     
 |  
                      | I'll answer my own question, I suspect Members Only (Hidden) and yes your right there is a problem there. 
 To fix try this out.  In inc_functions.asp, locate the function called ChkForumAccess (should start around line 1555)
 
 Scroll down the function until you find this code (the bit I've highlighted in Red is what you will need to add to correct the issue)
 
 
 '## end code added 07/13/2000
 
 case 4, 5 '## members only
 if Usernum = "" or Usernum < 0 then
 chkForumAccess = false
 else '## V3.1 SR4
 chkForumAccess = true
 end if
 
 case 8, 9
 
 
 www.daoc-halo.com
 
 Edited by - Gremlin on 05 August 2002  04:10:52
 |  
                      |  |  | 
              
                | AliasMozeNew Member
 
  
 
                USA55 Posts
 | 
                    
                      |  Posted - 06 August 2002 :  18:10:15     
 |  
                      | Great.  Thanks! |  
                      |  |  | 
              
                | GremlinGeneral Help Moderator
 
      
 
                New Zealand7528 Posts
 | 
                    
                      |  Posted - 06 August 2002 :  19:11:48     
 |  
                      | Your welcome. 
 www.daoc-halo.com
 |  
                      |  |  | 
              
                | ruiribSnitz Forums Admin
 
      
 
                Portugal26364 Posts
 | 
                    
                      |  Posted - 08 August 2002 :  01:09:00   
 |  
                      | Gremlin, have you consider moving this to the Bug Forums? I think you probably should... 
 -------------------------------------------------
 Installation Guide | Do's and Dont's | MODs
 |  
                      |  |  | 
              
                | GremlinGeneral Help Moderator
 
      
 
                New Zealand7528 Posts
 | 
                    
                      |  Posted - 08 August 2002 :  02:41:30     
 |  
                      | I did a quick search on bugs and must admit i didnt get any hits, but then I also thought that this was bound to have been something that had come up before and likely to be fixed in 3.4 .. then again you know what they say about assuming things :) 
 www.daoc-halo.com
 |  
                      |  |  | 
              
                | ruiribSnitz Forums Admin
 
      
 
                Portugal26364 Posts
 | 
                    
                      |  Posted - 08 August 2002 :  02:56:50   
 |  
                      | Well this seems to have been fixed in 3.4 RC1. Nevertheless posting it as a bug could still be useful for people using 3.3.x... 
 -------------------------------------------------
 Installation Guide | Do's and Dont's | MODs
 |  
                      |  |  | 
              
                |  |  Topic  |  |