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)
-   -   minimum chars for posts (https://vborg.vbsupport.ru/showthread.php?t=42686)

Unknown553 08-24-2002 07:10 PM

I didn't know anything like this was g-force's hack, so I will be one of the few to say thank you for releasing this. Although I will not use the hack, I appreciate the effort you put into making the hack, so long as it's not ripped (haven't compared codes yet).

NTLDR 08-24-2002 10:43 PM

I agree with g-force2k2. IMO this should also affect newthread.php not just newreply.php

zajako 08-25-2002 01:57 AM

um i want to point out that i did not call his hack junk, i siad the other features i considered junk meanign not of value to me.

you know the phrase one mans trash is another mans treasure.

if i don't need it its considered junk it was not meant as an insult or a rude coment. if i wanted to be rude about it i would simply say the otehr features were junk rather than the wording of i consider them junk....

i am not one to go insulting peoples hacks or go around tring to argue about them. but it seems that if people would cover the main words of what there hack does then the search will find them. your hack did not advertise the feature that i was looking for thus i did not find it so i made a hack that does the feature i wanted, then posted it so the next person won't have to make it.

Goldknight 08-25-2002 02:07 AM

Ok, thanks for clear up :)

g-force2k2 08-25-2002 04:46 AM

Quote:

Originally posted by NTLDR
I agree with g-force2k2. IMO this should also affect newthread.php not just newreply.php
agreed... what does the newthread.php get some kind of special treatment? or just another half done hack of yours? or do you plan on release another version tonight? i ain't saying im perfect when it comes to my hacks... but i try to take at least an overall perspecitive...

g-force2k2

zajako 08-25-2002 09:48 PM

actualy i think its safe to assume that threads will not be posted with under 15 chars that often or ofen enough to make a hack to stop them. Its the posts that have the replys of yes and no that im really trying to stop, and i think its safe to assume that its the same for everyone else too.

As i said i made this hack for me and so that other people can use it i posted it that the sole purpose of these forums, so please grow up guys. i don't mind if you pointed out that i di not change newthread, but the way you said it wiht many insults to not just this hack but all of mine. if you have something aginst my hacks then don't use them and stop complaining.

also no where in the hack description did i say anything about preventng it from threads so no this is not an incomplete hack.

look4you 10-02-2002 10:18 PM

I like this hack, less work then the other and I just want this without the rest. Thanks.

BigJohnson 10-25-2002 08:50 AM

How would i be able to make this only work in certain forums?

zajako 10-25-2002 02:22 PM

umm you would have to set an if for that forum id for example
PHP Code:

If ($forumid == 23){
$minchars 15;
if (
strlen($message) < $minchars and $minchars !=0) {
    eval(
"standarderror(\"".gettemplate("error_tooshort")."\");");
  }


that would set the minimum of 15 chars for forum number 23 doing this you can set minimums for all of the fourms with different amounts just copy paste that for different forums just changeing the numbers. you can also combind forums to save coding like this:

PHP Code:

If ($forumid == 23 || $forumid == 10){
$minchars 15;
if (
strlen($message) < $minchars and $minchars !=0) {
    eval(
"standarderror(\"".gettemplate("error_tooshort")."\");");
  }


that makes it so both 23 and 10 have a 15 chars minimum.

kreatiV 10-25-2002 05:29 PM

Nice hack! It would be great if the forums could be turned on/off via the AdminCP instead of having to go through the code. If you have alot for forums it takes too much time ( IMHO ) to get all the ids and paste them into there and if you change your mind you gotta go back, find that id once again and fiddle around the code once more.

With a AdminCP On/Off Option I would install this hack.

Best regards.


All times are GMT. The time now is 08:18 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.01011 seconds
  • Memory Usage 1,740KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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