vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Number Of Posts Needed To Reply to a Thread In Certain Forums (https://vborg.vbsupport.ru/showthread.php?t=44556)

BigJohnson 10-12-2002 11:51 PM

Number Of Posts Needed To Reply to a Thread In Certain Forums
 
Is there a hack out where u need a certain amount of posts to reply to threads in certain forums?

If there is I would love to know wher ei can download it. Also If it is not made I think this would be a great feature. Can someone help me out please. Thanks so much.

I no there is a hack for a certain amount of posts to make a new thread but this is not what i want. Thanks so much for helping me if you can.

Xenon 10-13-2002 09:20 AM

well open your newreply.php
find
PHP Code:

$threadid=verifyid("thread",$threadid);

$threadinfo=getthreadinfo($threadid); 

after that add:
PHP Code:

if($threadinfo[forumid]==and $bbuserinfo[posts]<yshow_nopermission

not very elegant but does what ya want

Chris M 10-13-2002 09:33 AM

I will make a proper hack:)

Satan

Xenon 10-13-2002 09:35 AM

good to hear that chris ;)

Mephisteus 10-13-2002 10:10 AM

Already made by me LONG ago

https://vborg.vbsupport.ru/showthrea...threadid=44571

Thread created for it now, but for gods sake don't go nagging that you have to install another hack first :p.

BigJohnson 10-13-2002 11:53 AM

Yes this is great but i was wondering if it could be a little different.

I need both those hcks minimum to reply and for new thread but i was wondering for like the NEW REPLY HACK.

I made it say u need 5 new threads in order to have a new reply.

Can we change it so you need 5 new threads in certain forums that i choose?

And same goes with the other hac as well. U need a certain amount of posts in order to use this request. Like they need a certain amount of new threads in the specific forums i choose in order to post a new thread in the forum they want to.

I believe we would have to add the forum ID's in with the PHP code i think but how would i go about doing this instead of the way DARKSSJ3 has it where all u need is just a certain amount of new threads in any forum.

Thanks for helping me out guys.

If anyone can do it I would be great appreciated of it. Thanks.

Mephisteus 10-13-2002 12:11 PM

I'll work on it when I get back. Unless someone else already did it :p

BigJohnson 10-13-2002 12:14 PM

Where are you goin? lol. And thanks to whom ever gets it done.

BigJohnson 10-14-2002 12:24 PM

BUMP

BigJohnson 10-16-2002 08:16 AM

Bump. Please someone help me out here.


All times are GMT. The time now is 12:27 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.01135 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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