maximal characters in profile page post

FYI - the actual profile post counter number is hard-coded as well. To change the 140 to your new number:
Find the following code in js/xenforo/xenforo.js -- Line 317:

if(!this.$counter.length)this.$counter=c("<span />").insertAfter(this.$input);this.$counter.addClass("statusEditorCounter").text("0");this.$form=this.$input.closest("form").bind({AutoValidationComplete:c.context(this,"saveStatus")});this.charLimit=140;this.charCount=0;this.update()},update:function(){var a=this.$input.val();this.$input.attr("placeholder")&&this.$input.attr("placeholder")==a?this.setCounterValue(this.charLimit,a.length):this.setCounterValue(this.charLimit-a.length,a.length)},setCounterValue:function(a,

Change to:
if(!this.$counter.length)this.$counter=c("<span />").insertAfter(this.$input);this.$counter.addClass("statusEditorCounter").text("0");this.$form=this.$input.closest("form").bind({AutoValidationComplete:c.context(this,"saveStatus")});this.charLimit=200;this.charCount=0;this.update()},update:function(){var a=this.$input.val();this.$input.attr("placeholder")&&this.$input.attr("placeholder")==a?this.setCounterValue(this.charLimit,a.length):this.setCounterValue(this.charLimit-a.length,a.length)},setCounterValue:function(a,

The profile post comment has no counter.
 
is it possible to change the maximal characters from 140 to another number, lets say 500 ?

View attachment 35035

Just be aware by increasing it to 500 you may get some adverse affects if someone uses the 500 character amount, if i'm not mistaken, the membercard does not cater for that many characters so you may see some seriously bad overlapping with text on the membercard.

Obviously, comments would be different I assume, as this doesn't affect the membercard.
 
Top Bottom