Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
minimum chars for posts Details »»
minimum chars for posts
Version: 1.00, by zajako zajako is offline
Developer Last Online: Aug 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-23-2002 Last Update: Never Installs: 23
 
No support by the author.

im suprised i could not find this hack so i made it.

It simply checks the post for a minimum amount of character so people can't post spam that is a few letters long or simple answers liek yes and no. very simple hack that takes almost no time at all.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 08-24-2002, 07:10 PM
Unknown553's Avatar
Unknown553 Unknown553 is offline
 
Join Date: Oct 2001
Location: Las Vegas, NV, USA
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
  #13  
Old 08-24-2002, 10:43 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I agree with g-force2k2. IMO this should also affect newthread.php not just newreply.php
Reply With Quote
  #14  
Old 08-25-2002, 01:57 AM
zajako's Avatar
zajako zajako is offline
 
Join Date: Jan 2002
Location: a place not to far away
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #15  
Old 08-25-2002, 02:07 AM
Goldknight's Avatar
Goldknight Goldknight is offline
 
Join Date: Aug 2002
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, thanks for clear up
Reply With Quote
  #16  
Old 08-25-2002, 04:46 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #17  
Old 08-25-2002, 09:48 PM
zajako's Avatar
zajako zajako is offline
 
Join Date: Jan 2002
Location: a place not to far away
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #18  
Old 10-02-2002, 10:18 PM
look4you look4you is offline
 
Join Date: Sep 2002
Location: Netherlands
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like this hack, less work then the other and I just want this without the rest. Thanks.
Reply With Quote
  #19  
Old 10-25-2002, 08:50 AM
BigJohnson BigJohnson is offline
 
Join Date: Nov 2001
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How would i be able to make this only work in certain forums?
Reply With Quote
  #20  
Old 10-25-2002, 02:22 PM
zajako's Avatar
zajako zajako is offline
 
Join Date: Jan 2002
Location: a place not to far away
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #21  
Old 10-25-2002, 05:29 PM
kreatiV kreatiV is offline
 
Join Date: Oct 2002
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:47 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.04677 seconds
  • Memory Usage 2,307KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete