Forum Replies Created
-
In reply to: Translation strings not available
Are those strings from BP or MyCred?
In reply to: Upload Avatar in registration pageduring initial registration, WordPress has yet to create a user_id for the member, so can not save the avatar, only after the user has confirmed their email address will WordPress be able to save the avatar and reference it to that user.
In reply to: Upload Avatar in registration pageThere’s two immediate options – BP Better Registration includes avatar upload in the registration process and BuddyPress Force Profile Photo https://buddydev.com/plugins/bp-force-profile-photo/ sets the site so users cannot access it unless they have a profile photo set.
In reply to: Media Library not displaying images after BP UpdateI mean the debug log in WordPress.
In reply to: Is there not a list of shortcode anywhere?None I’ve seen
In reply to: The Post Button does not workHave you tried disabling all other plugins except for BuddyPress?
In reply to: Is there not a list of shortcode anywhere?There’s a few plugins that provide shortcodes, take a look at the BP Activity Shortcode and also Shortcodes for BuddyPress in wordpress.org.
In reply to: 508 error what should i do ? please help meSounds like you have hit the limits of your hosting, you could ask your provider to increase those limits, it could be a timeout or maybe a memory limit.
In reply to: Media Library not displaying images after BP UpdateDo you get any errors in the debug log?
In reply to: Restrict messaging only to authorsYep open another thread 🙂
You can overload the register page, but I’m not aware how you can disable it and have BP running.
In reply to: Media Library not displaying images after BP UpdateThat’s a bit strange, It’s not a known bug, I can’t replicate it. I’ve turn on debugging and see if there are any errors.
In reply to: How Activty Listing special ?I can’t work out exactly what you are asking, but maybe you should take a look at this:
There’s no easy way. The Plugiin BP Better Registration manipulates the registration page so it’s not impossible, just would need quite a bit of coding I reckon.
What are you trying to achieve?
In reply to: BP profile navigation menu queueJust search the forum for past suggestions, this thread for example explains how to change the menu ordering:
BP 2.6.1.1 – Object of class BP_Core_BP_Nav_BackCompat could not be converted to string error
In reply to: Embed GroupsHold the presses! I’ve found a plugin that promises to deliver what you need!
If you install this one, it seems to have a group list shortcode where you can specify the id of the user that each group will belong to.
For example [groups-listing user_id=1]
I think this should in the least show all the groups you are a member of, WBCOM, the plugin author are also quite active and may add a feature for an admin= option.
In reply to: Embed GroupsSo for other group creators to have a shortcode that showcases their groups?
In reply to: Embed GroupsActually I don’t think my way will work, it only lists out the groups that the user is a member of, not groups created by you. You could ask the plugin creator to add a feature to the BuddyPress Extended User Groups widget. http://www.buddydev.com have a support forum and generally welcome suggestions for plugin enhancements.
I’m not even sure David’s suggestion is going to work for you, are you thinking about making this feature available for others to use?
In reply to: Embed GroupsWhich way do you want to go? Coding or none-coding?
In reply to: A custom feature I wish I found how to doRegarding point 3, I have discovered one way to do this.
You would need to overload the
members-header.php(if not using cover images) orcover-image-header.phpfile, located inplugins/buddypress/bp-templates/bp-legacy/buddypress/members/singleCopy this file to
themes/YOURTHEME/buddypress/members/singleThen after line 36 insert the following:
<div id="online"> <?php global $bp; function check_is_user_online($user_id){ if ( bp_has_members( 'type=online&include='.$user_id) ) return true; else return false; } $this_id = bp_displayed_user_id(); $is_online = check_is_user_online($this_id); if ($is_online) echo "<label><img src='http://yourserver.com/wp-content/uploads/online.png' /> Online</Label>"; else{ echo "<label><img src='http://http:yourserver.com/wp-content/uploads//offline.jpg' /> Offline</label>";} ?> </div>Replace the URL’s for the images to your own links and that should work, you can style it using the id #online
In reply to: Link is not embeddingThere must be an error there, youTube vids should automatically embed, so I suggest checking for plugin conflicts.
In reply to: Link is not embeddingIs the link one that is supported by embed? my understanding is that only links with supported URL’s will embed, one such link would be https://wordpress.org/plugins/buddypress/
In reply to: Restrict messaging only to authorsIdeally though, you should fork this by changing it’s name and plugin specific references to your own plugin references.
In reply to: Restrict messaging only to authorsHi billysgtr, I’ve done it, you need to make the following changes to bp-pms-for-friends.php:
Line 69 replace:
if ( ! friends_check_friendship( bp_loggedin_user_id(), $recipient->user_id ) ) { unset( $message_info->recipients[$key] ); $u++; }With:
if ( current_user_can( 'subscriber' ) && user_can($recipient->user_id, 'subscriber') ) { unset( $message_info->recipients[$key] ); $u++; }Line 98 edit:
$message = __( 'You are not authorized to message the person(s) you are attempting to send a message to. Your message has not been sent.', 'bp-pms' );
With you own messageLine 129 Replace:
$is_whitelisted = in_array( bp_displayed_user_id(), $this->whitelist_ids );
With:
`$is_whitelisted = true;
if ( current_user_can(‘subscriber’) && user_can( bp_displayed_user_id(), ‘subscriber’) ) {
$is_whitelisted = false;
}’This will deny any attempt to PM another subscriber and will remove the Private Message link from other subscribers profiles.