Announcement

Collapse
No announcement yet.

Create group that allows users to reply to closed threads?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Titus
    replied
    I'm a little late, and shooting from the hip here, but maybe I can help. This could probably be accomplished with a combination of usergroup permissions and template conditional hacks. It would be a tangled mess, but I think you could do it.

    You'd probably have to set your usergroup permissions for that forum as suggested above, set so every user can post his own thread and reply to his own thread, but post in other threads. It appears you want this to be done in only one forum, so it would be relatively simple to do this to the Registered Users usergroup, thus applying it to everyone.

    You could then use a template conditional to check and see if the forum being displayed is the correct forum:
    HTML Code:
    <if condition="($forumid == 2)">
    <else />
    </if>
    this would wrap around your reply button code, like so:
    HTML Code:
     <if condition="($forumid == 2)">
    	
    <else />
    
    	<if condition="$show['largereplybutton']">
    		<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
    	<else />
    		<td class="smallfont">&nbsp;</td>
    	</if>
    	
    </if>
    This is where it gets tough. You have two choices. One, you can try figuring out a way to detect the user ID of the original poster, and then use that to create another IF statement to display the reply button to only him, using code something like this...
    HTML Code:
     <if condition="($forumid == 2)">
    	
    	pseudocode:
    	<if USERID == ORIGIONAL POSTER>
    		<if condition="$show['largereplybutton']">
    			<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
    		<else />
    			<td class="smallfont">&nbsp;</td>
    		</if>
    	<else />
    		Sod off you blighter!
    	</if>
    	
    <else />
    
    	<if condition="$show['largereplybutton']">
    		<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
    	<else />
    		<td class="smallfont">&nbsp;</td>
    	</if>
    	
    </if>
    . I'm not sure whether this can be done from within the SHOWTHREAD template. It might be. You might need some PHP code to drop in there too, I don't know.

    Or you could go with option 2, which would be to do something like...
    HTML Code:
     <if condition="($forumid == 2)">
    	If you are the Author of this article, you may post additional information by clicking <a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID">here</a>. Other users will be denied.
    <else />
    
    	<if condition="$show['largereplybutton']">
    		<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
    	<else />
    		<td class="smallfont">&nbsp;</td>
    	</if>
    	
    </if>
    Option 2 is what I'd go for, personally, since I have very little pity upon people who don't read rules. If they email you, ignore it. Stupid people who don't read sticky topics don't last long on message boards anyway.

    Option 1 is a far more elegant and professional-looking solution, if that's what you really want. It's probably doable, I just don't know for sure.

    Leave a comment:


  • erkme73
    replied
    Well, it's a round-about way of getting people to read but not post. Yet, one individual, for the sake of that thread ony, will have the ability to update the thread (either by editing the original post, or adding additional posts to the thread). Unlike the other forums and threads, this specific thread is explicitly try to avoid comments via posts...

    Setting permissions to only allow this one individual to post, but leaving the thread with a "reply" button will only result in a dozen emails a day from people who fail to read the posts instructions "DO NOT POST"... I just want to avoid confusion by visibly marking CLOSED. If someone clicks on reply and gets "sorry you don't have permission", I'll have hell to pay...

    Leave a comment:


  • Marco van Herwaarden
    replied
    You should not close it. If you want all users to only post and reply in their own threads in that forum, then set the same permissions for all, but leave the threads open.

    Leave a comment:


  • Steve Machol
    replied
    No, Mods can only be assigned to a specific forum. Whay are these threads closed to begin with? If the permissions are set correctly then only the people allowed to do so can reply to them.

    Leave a comment:


  • erkme73
    replied
    Daggonnit you're fast... So really what I need to do is under forum permissions allow this special usergroup to be able to open/close threads that user started. That seems to do the trick. Except, my concern is that during the time it's opened others may start posting. Or, more likely, the guy will forget to close it after he's done updating the thread.

    The idea of turning him into a moderator is interesting. There is no way to make a moderator of a THREAD only - vs. the forum, correct?

    Thanks again...

    Leave a comment:


  • Steve Machol
    replied
    No, only Admins and Mods can reply to closed threads. Sorry I didn't see this in your title.

    Leave a comment:


  • erkme73
    replied
    Originally posted by Steve Machol
    This can be done with forum permisssions and usergroups:

    Admin CP -> Forums & Moderators -> Forum Permissions

    Can Post Threads -> Yes
    Can Reply to Own Threads -> Yes
    Can Reply to Others' Threads -> No

    You would need to create a usergroup and place this member in it.
    Got it. I created a new group, and turn on permissions for the items you indicated. However, if the thread is closed, while logged in as the user, I cannot click on the "closed" button to add a post. I get a "Sorry thread is closed" error. I can open the thread, post, then reclose it, but it's not like it is when I'm logged in as the admin - where I click the closed button, and it functions as a reply button.

    Should the user of the group above be able to reply to his own thread if it's closed, or does it first have to be reopened?

    Leave a comment:


  • Steve Machol
    replied
    Originally posted by erkme73
    I may be over-complicating this. I want this one user to be able to post replies to closed threads - but only the ones HE started.
    This can be done with forum permisssions and usergroups:

    Admin CP -> Forums & Moderators -> Forum Permissions

    Can Post Threads -> Yes
    Can Reply to Own Threads -> Yes
    Can Reply to Others' Threads -> No

    You would need to create a usergroup and place this member in it.

    Leave a comment:


  • erkme73
    replied
    Steve, thanks for the prompt response.

    I may be over-complicating this. I want this one user to be able to post replies to closed threads - but only the ones HE started. If that's forum wide, that's ok, because chances are he's only started a couple of them anyway - and none of the others have been closed.

    So, what I needed from you was the location of the switch that permits a user to continue posting to a thread he started - even after it's been closed. Is this possible?

    Thanks!

    Leave a comment:


  • Nukey
    replied
    The only thing I can think of that would be similar to what you're asking for, is to:
    Put the user in a usergroup of their own, give that usergroup the ability to open/close their own threads for the forum in which you want them to be able to accomplish this. That will make it so that user can open/close the thread to post what he needs (not sure if it will allow him to post without opening it) while others cannot.

    Leave a comment:


  • Steve Machol
    replied
    Originally posted by erkme73
    I would like to have ONE user have the ability to add posts to a thread that he started - while it's closed to everyone else. This is only for ONE thread - not the whole forum.
    Limit him to just one thread? No. There is no function to do this. This requires modifying the code. We cannot officially support code modifications or forums running modified code, however can try searching or asking for help with this over at www.vbulletin.org.

    Leave a comment:


  • erkme73
    replied
    Originally posted by Zachery
    Yes, there is a permission that will only let thread starters post in their replies
    Zachery, could you please provide a little more detail? I would like to have ONE user have the ability to add posts to a thread that he started - while it's closed to everyone else. This is only for ONE thread - not the whole forum. Thus I don't want to assign him to any special group. Is this possible?

    Thanks!

    Leave a comment:


  • Andy Huang
    replied
    Make an admin demo account, create a test usergroup, on the specific forum, give it "can start new thread?" set to no (or yes, depending on your need), give it "can reply own thread?" set to yes, give it "can reply to other thread?" set to no. Then test to see if that's what you need.

    Cheers

    Leave a comment:


  • Zachery
    replied
    Yes, there is a permission that will only let thread starters post in their replies

    Leave a comment:


  • lsufan
    replied
    What I'm looking for is software that will allow only 1 user to post in a certain thread, but that thread must exist in a forum that everyone else has access to... is this possible in any fashion with vB without modifying the code (my superiors will not want to do this).

    Leave a comment:

widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X