Howto change minimum length of blog entry

In the admin tool there are blog options to change maximum blog length, etc. But how can I change the default 50 character minimum length of a blog entry?

Thanks for any pointer!

Dirk

Quote · 13 Jun 2010

not 100% sure, but I think you're looking after this

open file inc/classes/BxDolBlogs.php


find this function: function GetCheckErrors( $arrAdv ) {

and this code:

case 'PostText':
if( strlen($sFieldValue) < 50 )
$arrErr[ $sFieldName ] = "{$sFieldName} must be 50 symbols at least";
break;

Quote · 13 Jun 2010

not 100% sure, but I think you're looking after this

open file inc/classes/BxDolBlogs.php


find this function: function GetCheckErrors( $arrAdv ) {

and this code:

case 'PostText':
if( strlen($sFieldValue) < 50 )
$arrErr[ $sFieldName ] = "{$sFieldName} must be 50 symbols at least";
break;

Thanks okweb!!!!!!!!  That did the trick!

Quote · 15 Jun 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.