vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Limit new thread (https://vborg.vbsupport.ru/showthread.php?t=40094)

MrLister 06-20-2002 11:16 PM

Limit new thread
 
I'm not sure if a hack like this exists yet but basically a hack that will allow a user to post 1 new thread in a specific forum per day.

Logician 06-21-2002 05:28 AM

I think this exists.. If you cant find it, holler and I'll give you the code..

MrLister 06-21-2002 12:44 PM

I tried searching, now again. Could you please pass the code.

Thanks

Logician 06-21-2002 02:49 PM

1 Attachment(s)
ok here you go

khobar 11-08-2002 09:13 AM

hi..
how can you modify this hack to make it work for all the forums not just one ?? to allow him post one thread per day??
==================================
another thing ...
to modify it to allow a member to post one new thead in each forum per day ??

many thanks

Logician 11-08-2002 09:26 AM

Quote:

Originally posted by khobar
how can you modify this hack to make it work for all the forums not just one ?? to allow him post one thread per day??
==================================
another thing ...
to modify it to allow a member to post one new thead in each forum per day ??

1- delete
PHP Code:

$cantpostforumid==$forumid AND 

part

2- set $cantposthour to 24. One day is 24 hours.. :glasses:

khobar 11-10-2002 02:32 PM

thanks alot for the help .. :)
it's working fine ..

I know it's 24 hour for a member to start posting again.. but how does it work?

does the count down start after the last post ?? or does th 24 hour start after midnight as a new day??

I hope I'm clear about my question..

thanks

N!ck 11-10-2002 03:12 PM

looks to me like it starts over at midnight

Logician 11-10-2002 07:37 PM

Quote:

Originally posted by khobar
does the count down start after the last post ?? or does th 24 hour start after midnight as a new day??

He can't post for 24 hours starting from his last post time..

Pollo 04-19-2003 04:27 PM

What would be the correct code for using this on 5 specific forums (not just one)? Right now it says:

$cantpostforumid=Z;

How would I go about having it so Forums 23, 24, 19, 27, 21 are all restricted?


All times are GMT. The time now is 08:15 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.00966 seconds
  • Memory Usage 1,728KB
  • 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)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (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