The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Automatically Close Threads after X Replies
Not per forum, not per day, not per week, not per member...
just a generic setting for the whole board... close any thread once it exceeds X number of replies -- or better -- when a member tries to reply to a post with X (the limit) number of replies already, it puts their reply as a new thread (and maybe gives them a message on screen that says it's doing so)... Anyone know if something likes this exists? |
#2
|
||||
|
||||
Quote:
In functions_newpost.php FIND PHP Code:
PHP Code:
|
#3
|
|||
|
|||
Quote:
but how about a message at the bottom of the page, or something, that indicates the post can't be replied to anymore? Your code didn't exactly work... when I hit "reply" on a post that had reached the limit of X, all I got was a blank page. |
#4
|
||||
|
||||
Hmm, does work just fine for me.
As for the message, put Code:
<if condition="!$thread['open']"> This thread is closed and you cannot post any further replies </if> |
#5
|
|||
|
|||
I'm using version 3.0.7 and I tried it again and your code doesn't work. I cut and paste it exactly as per your instructions and when I hit "reply" on the post that has reached the limit I just get a blank white page.
I still like the idea of the thread splitting into a new thread .... someone has posted a while back they were going to try that hack... did anyone ever? |
#6
|
||||
|
||||
I am also using 3.0.7 and as said it works fine for me.
Anyone else to try? |
#7
|
|||
|
|||
I tried it again, but it definitely doesn't work. I do have some hacks, but none of them include any modifications at all to the functions_newpost.php file. I tried putting your code ABOVE the "// update the thread if there are any conditions to update line", and even just to give it a shot, below that line. Same result both ways. Are you sure you cut and paste it here correctly? I'm not a php guru (by far) so if you had a little typo in there I might not notice it.
(and yes, I replaced "X" with the number I want to be the limit) |
#8
|
|||
|
|||
could this be implemented to auto close a specific thread or threads in a category after 'x' amount of replies? maybe as a choice in forum manager.
In other words not a default setting for the whole board. Only certain Categories will be affected by this. |
#9
|
|||
|
|||
if i want to make this only work on certian forums can i change if ($threadinfo for if ($forumid 1,3,4
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|