anyone know where the status form is generated in what file. what i want to do is limit on how many characters can be entered.
i need an answer to this like right now!Please |
member.php It appears this php code... $sOnclick = (strtolower($this->aMemberInfo['UserStatus']) == strtolower($sKey)) ? "" : "onclick=\"if (typeof oBxUserStatus != 'undefined' ) { oBxUserStatus.setUserStatus('$sKey', $(this).parents('ul:first')); $('#user_status_ac .block_collapse_btn').attr('src', aDolImages['collapse_closed']); $('#user_status_ac').parent().toggleClass('collapsed').next('tbody').fadeOut(400); location.reload(); }return false\""; Is associated with this html code <input id="UserStatusMessBut_mm" class="form_input_text" type="text" onkeyup="if(typeof oBxUserStatus != 'undefined'){oBxUserStatus.sendStatusMessage(event, this)}" name="status_message" value=""> http://pkforum.dolphinhelp.com |
Thank you for your post, i looked at it and it looks like that function is for the member's status (membership status) active,suspended...etc.. |
Try templates/base/member_menu_status_text_field.html add MAXLENGTH=40 right after name="status_message" 40 is whatever number you want. |
very sexy thank you, i just needed the file ill post my modification in a few.. and you're welcome to try it out lol. |
your welcome, but your message limiter tip looks alot sexier..lol Nice work. |