| Author |  Topic  | 
              
                | rabufoJunior Member
 
   
 
                Italy328 Posts
 | 
                    
                      |  Posted - 11 December 2002 :  07:08:57   
 |  
                      | which is the best way to make any topic with one post only, in other way not allowing users to reply? 
 
 Thank you very much
 |  
                      | Edited by - ruirib on 11 December 2002  08:06:07
 |  | 
              
                | ruiribSnitz Forums Admin
 
      
 
                Portugal26364 Posts
 |  | 
              
                | rabufoJunior Member
 
   
 
                Italy328 Posts
 | 
                    
                      |  Posted - 11 December 2002 :  07:30:03   
 |  
                      | thank you ruirib...........but the forum has a lot of subforums, and I would allow any user to post the first mesaages only, but no replies....and following all those topics could be hard ....is there no way to make "no replies" as default? |  
                      |  |  | 
              
                | ruiribSnitz Forums Admin
 
      
 
                Portugal26364 Posts
 | 
                    
                      |  Posted - 11 December 2002 :  07:48:23   
 |  
                      | No, not without changing code. If that's what you want I can change the topic title and move this to the MOD w/O code. 
 
 <P.S.: Done>
 |  
                      | 
 Snitz 3.4 Readme | Like the support? Support Snitz too
 |  
                      | Edited by - ruirib on 11 December 2002  08:07:06
 |  
                      |  |  | 
              
                | rabufoJunior Member
 
   
 
                Italy328 Posts
 | 
                    
                      |  Posted - 11 December 2002 :  08:00:55   
 |  
                      | quote:Originally posted by ruirib
 
 No, not without changing code. If that's what you want I can change the forum title and move this to the MOD w/O code.
 
 
 
 yes  thank you ruirib.....please do..........
 |  
                      |  |  | 
              
                | GauravBhabuAdvanced Member
 
      
 
                4288 Posts | 
                    
                      |  Posted - 11 December 2002 :  08:14:47   
 |  
                      | quote:Originally posted by ruirib
 
 No, not without changing code. If that's what you want I can change the topic title and move this to the MOD w/O code.
 
 
 <P.S.: Done>
 
 
 
 I think you intended to move it to MOD w/O code forum.
 |  
                      |  |  | 
              
                | ruiribSnitz Forums Admin
 
      
 
                Portugal26364 Posts
 | 
                    
                      |  Posted - 11 December 2002 :  09:04:45   
 |  
                      | quote:Originally posted by GauravBhabu
 
 
 quote:Originally posted by ruirib
 
 No, not without changing code. If that's what you want I can change the topic title and move this to the MOD w/O code.
 
 
 <P.S.: Done>
 
 
 
 I think you intended to move it to MOD w/O code forum.
 
 
 Yeah, I guess you are right. My mistake, and now I cannot correct it, since I have no moderator rights here...
 |  
                      | 
 Snitz 3.4 Readme | Like the support? Support Snitz too
 |  
                      | Edited by - ruirib on 11 December 2002  09:05:40
 |  
                      |  |  | 
              
                | DoraMoonAverage Member
 
    
 
                Taiwan661 Posts
 | 
                    
                      |  Posted - 11 December 2002 :  10:12:51   
 |  
                      | quote:Originally posted by rabufo
 
 which is the best way to make any topic with one post only, in other way not allowing users to reply?
 
 i know there is a "Posting Restrictions MOD" can do this job easily.(i think it's made by HuwR...) it really a great & useful MOD, but i do'nt know where you can get this mod now.
  
 maybe you can try getting the HuwR's portal snitz package on HuwR's site, then............. ask help if you have trouble to "extract" this mod. i think the main modified code you need should be in post.asp and post_info.asp these two files.
 
 another way.. turn on moderation feature to all forums, then just as ruirib mentioned, after approving a topic/first post, LOCK it immediately!
  
 anyway, it really a strange mod request. i'm very wonder what's forum situation you'll need this feature ??
  |  
                      |  |  | 
              
                | rabufoJunior Member
 
   
 
                Italy328 Posts
 | 
                    
                      |  Posted - 11 December 2002 :  10:24:02   
 |  
                      | quote:Originally posted by DoraMoon
 anyway, it really a strange mod request. i'm very wonder what's forum situation you'll need this feature ??
  
 
 
 
   a forum dedicated exclusively to advertising posts....please look at www.aquariabiz.com
 I need to avoid users reply to advertising post, also to not allow eventual polemic thread.....but at the same time I want to leave any user free to post advertising also for commercial people not able to use Internet
 
 
 ....just checked...that MOD doesn't exists in HuwR's site
  |  
                      | Edited by - rabufo on 11 December 2002  10:29:58
 |  
                      |  |  | 
              
                | GauravBhabuAdvanced Member
 
      
 
                4288 Posts | 
                    
                      |  Posted - 11 December 2002 :  11:10:51   
 |  
                      | I did update posting restrictions to be used for 3.03. It was basically instructions in a text file. I will try to find if I have that file somwhere. |  
                      |  |  | 
              
                | GauravBhabuAdvanced Member
 
      
 
                4288 Posts | 
                    
                      |  Posted - 11 December 2002 :  11:30:40   
 |  
                      | File: post_info.asp 
 Lines: 812-813
 
 Find the following statements:
 
 if Request.Form("lock") = 1 and ForumChkSkipAllowed = 1) then
	strSql = strSql & ", 0 "
 Modify the above statements as below:
 
 
if (Request.Form("lock") = 1 and ForumChkSkipAllowed = 1) Or _
   (Forum_ID >= lowestForumID) then
	strSql = strSql & ", 0 "
 
 Lines: 1000-1002
 
 Find the following statements:
 
 
 if Request.Form("lock") = 1 and ForumChkSkipAllowed = 1 then
	strSql = strSql & ",        T_STATUS = 0 "
end if
 Modify the above statements as below:
 
 if (Request.Form("lock") = 1 and ForumChkSkipAllowed = 1)  Or _
   (Forum_ID >= lowestForumID) then
	strSql = strSql & ",        T_STATUS = 0 "
end if
 
 File: config.asp
 Add the following statement in config.asp.
 
 Const lowestForumID= 1 
 Edited: to allow all topics in any forum to be locked by default after posting.   Edited on 12/12/2002 13:52
 |  
                      | CSS and HTML4.01 Compilant Snitz Forum . ForumSquare . Rakesh Jain
 
 It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
 
 Prayer Of Forgiveness "I forgive all living beings. May all living beings forgive me!
 I cherish the friendliness towards all and harbour enmity towards none." -- Aavashyaka Sutra(Translated)
 |  
                      | Edited by - GauravBhabu on 12 December 2002  14:03:25
 |  
                      |  |  | 
              
                | rabufoJunior Member
 
   
 
                Italy328 Posts
 | 
                    
                      |  Posted - 11 December 2002 :  14:45:31   
 |  
                      | thank you very much, GauravBhabu!!!!   
 Now, the problem is: can I do the same changes in Snitz Forum 3.4.3????????
    |  
                      |  |  | 
              
                | David KJunior Member
 
   
 
                494 Posts | 
                    
                      |  Posted - 11 December 2002 :  19:26:37   
 |  
                      | I have an idea about that, add after line number 1101 in post.asp: '# Subscribe checkbox end ##
 
 this line:
 if strRqMethod = "Topic" or strRqMethod = "TopicQuote" then Response.Write	"<input name=""lock"" type=""hidden"" value=""1"">"
 
 It should Auto lock every post once a user Posts a message, while giving moderators the ability to unlock it.
 
 Edited it because i missunderstood you and I thought you wanted to allow one reply, If you need this to work only on a certin forum in your board, ask and I'll post the changes needed
 |  
                      | Edited by - David K on 11 December 2002  19:31:35
 |  
                      |  |  | 
              
                | GauravBhabuAdvanced Member
 
      
 
                4288 Posts | 
                    
                      |  Posted - 11 December 2002 :  20:13:52   
 |  
                      | rabufo it should not be different for 3.4.3 except for line numbers. 
 If that is for every topic in any forum than what David K suggested would be Ok.<Edited: Actually David K's solution won't work as desired>
 |  
                      | Edited by - GauravBhabu on 11 December 2002  20:42:30
 |  
                      |  |  | 
              
                | rabufoJunior Member
 
   
 
                Italy328 Posts
 | 
                    
                      |  Posted - 12 December 2002 :  06:03:51   
 |  
                      | Const advertisingForumID = [Forum ID of Advertising Forum] 
 
 this means I can block the reply for 1 forum only, right??
  isn't possible to block replies for ALL forums at the same time? Couldn't I write there ALL Forums ID?
 
 |  
                      |  |  | 
              
                | David KJunior Member
 
   
 
                494 Posts | 
                    
                      |  Posted - 12 December 2002 :  06:37:31   
 |  
                      | why wouldn't my solution work? |  
                      |  |  | 
              
                
                |  Topic  |  |