vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Minimum Words on Thread Title (https://vborg.vbsupport.ru/showthread.php?t=315378)

valdet 11-12-2014 08:30 AM

Minimum Words on Thread Title
 
Hello,

Is it possible to have a Minimum Words per Thread title mod for vBulletin ?

There are already Minimum Characters for Thread Title and Minimum Characters for First Post, but not for Words in thread titles.

I tried to combine the hacks above with word counting javascripts, but had no luck so far.

I appreciate any effort if someone comes up with a solution, which I hope is not too difficult.

Thanks

Simon Lloyd 11-12-2014 12:46 PM

Ask in this thread https://vborg.vbsupport.ru/showthread.php?t=314357 if the author could add the possibliity of checking the number of spaces, better than counting words you look for a minimum number of spaces, so if you are looking for minimum of 5 words then there will be a minimum of 4 spaces :)

Ozzy is pretty accommodating and if you show him this thread he might just add it to the mod for you, if he does feel free to donate to him :)

kh99 11-12-2014 12:51 PM

It's up to Ozzy of course, but the mod mentioned above works by changing the existing setting for minimum characters in a post, so changing it to count words in the title wouldn't be a trivial change.

BTW, there's a php function str_word_count() that will do the work of counting.


All times are GMT. The time now is 09:35 AM.

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.01305 seconds
  • Memory Usage 1,713KB
  • 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
  • (3)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