-
pcwriter posted on the forum topic Limit the size of user updates in the group How-To and Troubleshooting: 14 years, 3 months ago
@latenitebooks To get you started, here’s a replacement file for activity/post-form.php with a 500 character textarea limit. http://pastebin.com/eXuSa4iK Adjust to taste on line 52. With an if/else conditional, you could set it so different roles have different limits. Simply create a new post-form.php file in your child theme, copy/paste the…[Read more]
-
mercime posted on the forum topic Limit the size of user updates in the group How-To and Troubleshooting: 14 years, 3 months ago
@latenitebooks plugin delayed because of another plugin.
There are non-plugin solutions which would involve manually adding javascript on relevant pages and code within respective forms. Also, If I’m not mistaken, the plugin I mentioned would be good for child themes of bp-default theme but would require some addition of template tags for…[Read more] -
thelandman posted on the forum topic Limit the size of user updates in the group How-To and Troubleshooting: 14 years, 3 months ago
@latenitebooks, This should point you in the right direction…
Example: http://www.ajaxray.com/Examples/charLimit.html
Tutorial: http://www.ajaxray.com/blog/2007/11/09/interactive-character-limit-for-textarea-using-jquery/Basically, you would apply the tutorial to the found in the post-form.php and the entry.php.
@latenitebooks
Not recently active