Version: 1.00, by grog6
Developer Last Online: Dec 2008
Version: 2.3.x
Rating:
Released: 06-02-2003
Last Update: Never
Installs: 5
No support by the author.
With this hack, you will add a part when you create a new thread on your board, where you can
- enter a specific time before people are able to reply to the thread
- enter a number of replies before the thread was closed
Before this time, you can't answer to the thread (excepted if you're admin or moderator allowed ;-)
When the number of replies is equal to the number of replies the thread's creator wanted for his thread, the thread is closed, and only admin and mods allowed will be able to reply tho the thread.
The time you add when creating a new thread must be : Xhx
X for the number of hours
x for the number of minutes
Installation time : 10-15 min
Query to run : 1
Templates modifications : 2
Files modifications : 3
Avec ce hack, vous ajoutez une partie sur votre forum quand vous creez un nouveau sujet, ou vous pouvez
- entrer un temps specifique avant que les gens ne puissent repondre au sujet
- entrer un nombre de reponses avant que le sujet ne soit ferm?
Avant ce temps, vous ne pouvez pas repondre au sujet (sauf vi vous etes admin ou modo autoris? ;-)
Quand le nombre de reponses que vous avez saisi est egal au nombre de reponses du sujet, le sujet est ferm?
La date que vous saisissez doit etre du type : Xhx
X pour le nombre d'heures
x pour le nombre de minutes
Temps d'installation : 10-15 min
Requete a executer : 1
Modifications de templates : 2
Fichiers a modifier : 3
[HIGH]
UPGRADES TO COME :[/HIGH]
----------------------------
Can edit this 2 informations by editing the thread https://vborg.vbsupport.ru/showthrea...103#post404103
----------------------------
Can choose via the ACP forums where you want these 2 options to appear
[HIGH]Please clik INSTALL if you've installed this hack to obtain upgrades and show me you've liked this hack [/HIGH]
Here is the english version
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
There seems to be a major bug with this hack. It automaticly closes threads after 1 reply if the thread doesn't have a limit set for thread replies. post with no limit set should not be closed after 1 post.
PHP Code:
$count=$DB_site->query_first("SELECT replycount FROM thread WHERE threadid='$threadid'");
if ($count[replycount] >= $thread[reps])
$DB_site->query("UPDATE thread SET open= '0' WHERE threadid = '$threadid'");