vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Question about threads and forums. (https://vborg.vbsupport.ru/showthread.php?t=74670)

bigcurt 01-19-2005 07:01 PM

Question about threads and forums.
 
This prolly wont even get answered you guys are busy alot but here goes...I NEED a way to make users to ONLY be able to have 1 thread in a specific forum at a time...I NEED this will help me and mods TON..please help..I am sure there is a hack already out but I searched could not find.....this will prolly require modification to newthread.php maybe....but I dont know ANYTHING else.

can NEONE help me???

Tekton 01-20-2005 05:19 AM

run a query in newthread.php that grabs any/all threads in the current forum (which is like $thread[forumid] in newthread.php I think) Then, do an condition check and if there is a value, print some sort of error, or redirect, etc.

Did you mean code it for you, or give you the jist of how to do it?

bigcurt 01-20-2005 07:21 PM

lol I meant like a hack that automatically does it if possible cause I am not the brightest light bulb in the package :( if anyone can help me with it I would apreciate...maybe even pay.

Marco van Herwaarden 01-20-2005 07:28 PM

Does this have to be a dynamic (configurable) option, or a 1 time file edit?

If you want i can code this tomorrow for you

bigcurt 01-20-2005 08:38 PM

sounds ++++IN AWESOME if u can do it. See I just want it so that it wont let them make a new thread in a SPECIFIC forum until there other one is gone. I only need this for one forum section..but it would help SSOOOOOO much have u got aim, msn or anything like that?

Marco van Herwaarden 01-21-2005 11:00 AM

As promised hack written and released: https://vborg.vbsupport.ru/showthread.php?t=74800


All times are GMT. The time now is 09:02 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.01048 seconds
  • Memory Usage 1,714KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete