inherit
133146
0
Oct 5, 2024 10:13:46 GMT -8
Alanna 🥀🖤
3,564
November 2008
alannab
|
Post by Alanna 🥀🖤 on Jul 28, 2014 23:40:46 GMT -8
I was using the Signature Manager Plugin to remove the signature option completely, however, it messes up the personal tab in edit profile for staff members so they can not view custom fields or edit them on other users. So- I was hoping for a simple JavaScript code to get rid of it that way? Please and thank you.
|
|
Former Member
inherit
guest@proboards.com
189888
0
Nov 1, 2024 5:32:49 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Oct 6, 2014 1:51:32 GMT -8
A JS code could be bypassed by simply disabling JavaScript on the edit profile page, which would allow users to set themselves a signature anyway. Regardless, here's what you asked for. (I don't know if you still need it ) <script type="text/javascript"> $('input[name=personal_text]').nextUntil('label:contains("Personal Notes")').remove(); $('label:contains("Personal Notes")').prepend('<br />'); </script>
Just drop that into your Global Footer by going to Admin > Structure > Headers & Footers > Global Footer. You could also add another line of code to remove all signatures from pages, just to be sure: <script type="text/javascript"> $('input[name=personal_text]').nextUntil('label:contains("Personal Notes")').remove(); $('label:contains("Personal Notes")').prepend('<br />'); $('.signature').remove(); </script>
Both codes will prevent all members from using the signature option, even staff members. I can change that if you require it.
|
|