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 characters needed for a new post Details »»
Minimum characters needed for a new post
Version: 1.00, by FlyingDutchman FlyingDutchman is offline
Developer Last Online: Feb 2009 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-03-2003 Last Update: Never Installs: 15
 
No support by the author.

What does this hack do?
If you post a new thread or a new reply and the message is too short (shorter than a number of characters you specify), you'll recieve an error. This *might* stop spamming.



Requested by
https://vborg.vbsupport.ru/showthread.php?postid=377468



Screenshots
-Admin CP Options -> [Thread Display Options]
-The actual error page



Installation
See attached text file
Approx. install time: 5 min or so
[high]After installation, remember to set the 'Minimum Characters per post' option to a suitable value (for example 50)[/high]


Updates
-fixed lil typo in the install file (template name was wrong)
-thanks to Zelda-King for pointing me on editpost.php





[high]Please click the install button if you installed this hack!!![/high]

Show Your Support

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

Comments
  #12  
Old 04-04-2003, 11:48 PM
ZiRu$'s Avatar
ZiRu$ ZiRu$ is offline
 
Join Date: Jan 2002
Location: Manitoba, Canada
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i think i'll install too
Reply With Quote
  #13  
Old 04-05-2003, 05:59 AM
McDohl McDohl is offline
 
Join Date: Mar 2003
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Haha, first ever hack dedicated to me! -Punches air-

Thanks for this, i'm grateful. Good job!

-Clicks Install-
Reply With Quote
  #14  
Old 05-07-2003, 10:23 PM
ga.net ga.net is offline
 
Join Date: Jan 2003
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cant understand this one:

now, run this query:
--------------------
INSERT INTO setting VALUES ('', 8, 'Minimum Characters per post', 'postminchars', '0', 'The minimum number of characters that you want to require per post. Set this to 0 to disable it.', '', 7);
--------------------
Reply With Quote
  #15  
Old 05-09-2003, 08:42 PM
Koutaru's Avatar
Koutaru Koutaru is offline
 
Join Date: Feb 2003
Location: IL
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Run it in PHPmyadmin

(SQL)
Reply With Quote
  #16  
Old 05-11-2003, 12:38 AM
ga.net ga.net is offline
 
Join Date: Jan 2003
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You mean Ill put everything that's inside the parenthesis?? I have PHPadmin running but how do I do it? What are the procedures for this??
Reply With Quote
  #17  
Old 05-12-2003, 11:33 AM
ga.net ga.net is offline
 
Join Date: Jan 2003
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump
Reply With Quote
  #18  
Old 05-12-2003, 12:05 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You run the whole query, just like it is written:

INSERT INTO setting VALUES ('', 8, 'Minimum Characters per post', 'postminchars', '0', 'The minimum number of characters that you want to require per post. Set this to 0 to disable it.', '', 7);

in phpmyadmin, which you should be able to get to from your server. If not, talk to your host and they will tell you how to get to phpmyadmin.
Reply With Quote
  #19  
Old 05-12-2003, 09:41 PM
ga.net ga.net is offline
 
Join Date: Jan 2003
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 10:05 PM Boofo said this in Post #17
You run the whole query, just like it is written:

INSERT INTO setting VALUES ('', 8, 'Minimum Characters per post', 'postminchars', '0', 'The minimum number of characters that you want to require per post. Set this to 0 to disable it.', '', 7);

in phpmyadmin, which you should be able to get to from your server. If not, talk to your host and they will tell you how to get to phpmyadmin.

I know how to get to phpmyadmin, in fact i was the one who installed it. I just dont know how to run this query, what should I click and what are the fields that I should fill up? Is it ok to provide me the steps?
Reply With Quote
  #20  
Old 05-13-2003, 02:43 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, let's try this one last time.

Before you do anything, backup your database!

Go to phpmyadmnin and click on the database name (at the top) in the left window. You will see 5 options in the right hand window. They are:

Structure
SQL
Export
Search
Query

Click on the SQL option and enter this in the big box (just copy and paste):

INSERT INTO setting VALUES ('', 8, 'Minimum Characters per post', 'postminchars', '0', 'The minimum number of characters that you want to require per post. Set this to 0 to disable it.', '', 7);

Hit go and you are done.
Reply With Quote
  #21  
Old 05-13-2003, 12:19 PM
ga.net ga.net is offline
 
Join Date: Jan 2003
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow! That was easy! thanks
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 11:32 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12032 seconds
  • Memory Usage 2,302KB
  • Queries Executed 25 (?)
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
  • (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
  • (2)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_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