vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   # reply in # hours for new threads (https://vborg.vbsupport.ru/showthread.php?t=53765)

grog6 06-02-2003 10:00 PM

# reply in # hours for new threads
 
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

grog6 06-02-2003 11:22 PM

VOici la version francaise

grog6 06-02-2003 11:23 PM

SC1 when creating a new thread :p

grog6 06-02-2003 11:23 PM

SC2

Koutaru 06-02-2003 11:49 PM

Not bad :) I might use it after I look through the code

Erwin 06-03-2003 12:09 AM

This is a good idea... Good work. :)

squawell 06-03-2003 12:35 AM

nice work grog6........

/me click install.....

by the way....if i set 1 hour 5 posts..can this do every 1 hour

5posts limit?can it?

thankz........

assassingod 06-03-2003 06:17 AM

Nice hack there;)

Chris M 06-03-2003 08:56 AM

Nice idea Bastien:)

Satan

Kmaster 06-03-2003 04:51 PM

cool hack~~~is that possible add one function, set a time in it when it was over the thread is closed. thanks for your effort.


All times are GMT. The time now is 10:01 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01334 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete