daverayner
Forum Replies Created
-
Forum: Plugins
In reply to: [BuddyPress XProfile Custom Image Field] Problem with WP 4.0 and BP 2.1.1Hi Alex,
I have just noticed that the upload works on the front-end profile editor.
I was using the backend profile editor (which doesn’t work).I can live with that – I will just use the front-end for adding images to profiles.
Thanks for the plugin!
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Image field – no upload option!Hi donmik,
Thanks for the reply.
This missing upload button is both within wp admin user screen and the front-end template. In case that changes things.
Any suggestions for what I am looking for in the ‘theme files with buddypress theme’?
Forum: Plugins
In reply to: [Buddypress Xprofile Custom Fields Type] Image field – no upload option!I too have this issue.
There is a file field, but no upload button.
So any images don’t actually get uploaded / saved.WP: 4.0
BuddyPress 2.1.1Forum: Plugins
In reply to: [Author Avatars List/Block] Limit bio to 'X' number of charctersI needed to do the same thing – found a solution:
1) Open ‘UserList.class.php’ in the /lib/ directory in the plugin
2) Go to line 425 or there abouts
3) Replace this:
$biography = get_the_author_meta( 'description', $user->user_id );
with this:
//*** The following two lines to truncate bio $biography1 = get_the_author_meta( 'description', $user->user_id ); $biography = wp_trim_words( $biography1, 40, '...' ); //$biography = get_the_author_meta( 'description', $user->user_id );
4) Change the number ’40’ to the number of words you want and the ‘…’ to what you want to appear at the end of the truncation. Or you can leave those as is.
5) Save and overwrite
The downside is this change could be overwritten if the plugin was ever updated.