Forum Replies Created
-
Author
-
romanzyParticipant
Thank you Radu.
Think that the code you provided could be the perfect solution. I was trying to make it work, but I could not. I must change the right field name and/or ID, and I guess I did not patch it right.
This is the code that was provided:
COPY CODEif ( is_user_logged_in() && bp_is_active( 'xprofile' ) ) : $my_custom_textfield = bp_get_member_profile_data( 'field=Brief Biography&user_id='.bp_get_member_user_id() ); And this is my field:
<dl class=”dl-horizontal field_142 field_sense-of-humor optional-field visibility-public field_type_radio”>
So, I should change field=Brief Biography&user_id= with the right field name and ID, but I’m stuck.
Do you know?
romanzyParticipantHi Radu,
I refer to the WPMU DEV link you provided me above.
I was using these scripts below:
COPY CODE<script> jQuery(document).ready(function($) { $('#field_100').attr('maxlength', '500'); }); </script> <script> jQuery(document).ready(function($) { $('#field_108').attr('maxlength', '500'); }); </script>
I looked up the field numbers of the fields that I wished to extend, and then added the scripts to the JavaScript code box under Theme Options > General Settings, but it had no effect.
Any idea why it does not provide a solution? Can I try something else?
-
AuthorPosts