Search Results for 'buddypress'
-
AuthorSearch Results
-
December 12, 2015 at 3:55 am #247687
In reply to: Pages Not Working?
mas6ce
ParticipantAnother follow-up: it turns out this is because of a plugin I was using – Multilanguage by BestWebSoft… I would really love to keep using this plugin (I’ve been hunting for translation plugins for over a month and this is the only one I’ve found that actually does what I need it to do translation-wise)
Is there any way to make the plugin BuddyPress-Compatible?
December 12, 2015 at 3:22 am #247686In reply to: Remove add friend button for member type
browserco
Participanthi @bruce30, thanks for your help 🙂 However, i don’t want to completely remove the ability for friend connections I just don’t want certain members to have friends. I guess I will have to leave this issue as is. It really is a bummer that buddypress devs cannot provide code that help us add/remove features for different member types. What is the point of member types function if members still have same abilities?
December 12, 2015 at 1:14 am #247685Henry Wright
ModeratorThanks @r-a-y, I think I was looking at an out-of-date database. 🙂
December 11, 2015 at 10:41 pm #247679In reply to: Add profile fields groups to registration
happymunkee
ParticipantThis thread may have the solution to your answer. I used information here to display all Groups to my registration page and have them populate my DB.
https://buddypress.org/support/topic/how-to-show-multiple-profile-field-groups-on-register-php/
December 11, 2015 at 8:09 pm #247673r-a-y
KeymasterThere is a message meta table.
You can find those functions here:
https://buddypress.trac.wordpress.org/browser/tags/2.4.0/src/bp-messages/bp-messages-functions.php#L406I would probably piggyback on the marked as read functionality to do this though.
December 11, 2015 at 8:04 pm #247670In reply to: BBPRess eating up resource
r-a-y
KeymasterTry using an object caching plugin.
You could also try not loading older BuddyPress deprecated code by adding the following line to
wp-config.php
:
define( 'BP_IGNORE_DEPRECATED', true );
December 11, 2015 at 8:01 pm #247669In reply to: BP 2.4 breaks on page 2 of custom search results
r-a-y
KeymasterThanks for noticing this, kennibc.
I’ve attached a fix for this here:
https://buddypress.trac.wordpress.org/attachment/ticket/6770/6770.01.patchThe change you’ll be interested in is located in the
/bp-xprofile/bp-xprofile-filters.php
file.December 11, 2015 at 2:51 pm #247666In reply to: Template file not override
shanebp
ModeratorYour directory structure is wrong.
It should be:
\twentythirteen\buddypress\members\single\home.php
December 11, 2015 at 5:31 am #247653In reply to: Remove add friend button for member type
bruce30
Participanthi @browserco ., did you try to uncheck the Friend Connection under the Buddypress component?
if not. Go to admin dashboard, go to settings, click buddypress,. and under components you can see there the Friend Connections try to uncheck it., i hope this is what you mean and this will help you. 🙂December 11, 2015 at 12:49 am #247645In reply to: BP 2.4 breaks on page 2 of custom search results
kennibc
ParticipantThanks. That indeed did the trick. However, if I view an individual profile and click on the profile field it shows a page with others who have the same profile term and uses the wrong format again. That is baked into the buddypress profile page. I cannot change that.
see this page and click on the school building tag in the profile: http://iblog.dearbornschools.org/members/kieselh/profile/
Then try the pagination. It’s broke because it uses ?s_= and that is generated by Buddypress for the custom profile.
December 11, 2015 at 12:44 am #247644In reply to: [Resolved] can anyone help me?
r-a-y
KeymasterDisable starring messages with this snippet in wp-content/plugins/bp-custom.php:
add_filter( 'bp_is_messages_star_active', '__return_false' );
To remove the ‘Delete’ link from the messages inbox, you’ll have to override the inbox template and remove the ‘Delete’ link.
Read the Overloading Template Compatibility theme files section of this codex article for more info.
The template you’ll want to copy over to your theme to override is this one:
https://buddypress.trac.wordpress.org/browser/tags/2.4.2/src/bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.phpDecember 11, 2015 at 12:30 am #247642In reply to: BP 2.4 breaks on page 2 of custom search results
r-a-y
KeymasterSee my note here:
https://buddypress.org/support/topic/bp-2-4-breaks-on-page-2-of-custom-search-results/#post-247017You have to rename the parameter to
members_search
for BP 2.4.2 in your custom page content.December 10, 2015 at 11:03 pm #247641danbp
ParticipantHi,
best solution is to use the built-in filter, instead of modifying tinymce which may affect all editors.
I provided a working example here:
https://buddypress.org/support/topic/suppressing-rich-text-on-xprofile-text-area/#post-247640December 10, 2015 at 8:20 pm #247635In reply to: Change Message Email Subject
lolotrgeek
ParticipantOops hit reply not edit! well…
Here’s the solution I arrived at:
function filter_change_email_subject ( $email_subject, $sender_name, $ud ) { $email_subject = sprintf( __('%1$s wants to say hello', 'buddypress' ), $sender_name); return $email_subject; } add_filter( 'messages_notification_new_message_subject', 'filter_change_email_subject' , 10, 7 );
This works for what I’m doing, for someone else that wants to pass a dynamic subject you may need to nest this function.
December 10, 2015 at 7:25 pm #247634In reply to: Suppressing rich text on xprofile text area
@mcuk
ParticipantDecember 10, 2015 at 7:21 pm #247633@mcuk
ParticipantAfter a lot of searching I’ve put this together. It appears to remove the ability of normal site users to use the rich text area editor in ‘multi line text areas’. Its use now allows jQuery functions for character limits to be applied to the text area which was not possible when tinymce was active.
function bptest_remove_tinymce() { if ( !is_super_admin() ) { tinymce.activeEditor.getBody().setAttribute( 'contenteditable', false ); } } add_action( 'wp_footer', 'bptest_remove_tinymce' );
Note that the
is_super_admin()
is included. Without it the WP bar at the top of the screen which is used to access dashboard etc disappears.Then to remove the remaining Visual/Text tabs attached to the text area, use the CSS
display:none
on the relevant div id.I am still very curious as to whether there are better methods for excluding the rich text editor / tinymce from Buddypress (across the site and/or targeting specific text areas). Would appreciate any input from anyone more in the know!
Thanks
shweikiart
ParticipantI’m using boss theme, no i didn’t ask them, I thought it is buddypress issue
what about activity filter?December 10, 2015 at 2:43 pm #247618Henry Wright
ModeratorYou can open a bug report for this on Trac (the login details will be the same as those you use here in this forum).
December 9, 2015 at 8:47 pm #247600In reply to: Cannot Access Pending User Page in WP
old account
ParticipantError: “You do not have sufficient permissions to access this page.”
This happens when clicking on ‘Pending’ in Users when BuddyPress is activated only on main site of multisite install but, you can see pending users at /wp-admin/network/users.php?page=bp-signups i.e. network side.
@imath posted a working patch for this issue which is scheduled for BP 4.4 branch (hopefully)
https://buddypress.trac.wordpress.org/ticket/5977Hope this helps.
December 9, 2015 at 12:58 pm #247579In reply to: Using wordpress registration
Alicia Fritz
ParticipantHi,
I use buddypress for my site but its login override default wordpress login box. I don’t want it because visitors will have to sign up twice.
Can I retrieve default wordpress login back and use buddypress login in my custom page (I want to put a CTA button in my homepage directing to a login page)?
Please let me know if I have submitted a question in the wrong thread.
Thank you.
Alicia Fritz Herman.
December 9, 2015 at 5:18 am #247572In reply to: Registration page
@mercime
Participant@shweikiart WP/BP versions? Have you tried deactivating all other plugins except BuddyPress then change to the Twenty Fifteen theme?
December 9, 2015 at 4:28 am #247570In reply to: Notification emails after import
reedy
ParticipantI installed WP Crontrol and saw nothing out of the ordinary:
ws_plugin__s2member_auto_eot_system__schedule
_cron_zencache_cleanup
bp_activity_akismet_delete_old_metadata
wp_maybe_auto_update
wp_version_check
wp_update_plugins
wp_update_themes
akismet_scheduled_delete
wp_scheduled_delete
wp_scheduled_auto_draft_deleteEarlier today I added the following to my functions.php file:
add_filter( 'bp_activity_do_mentions', '__return_false' );
No @mention emails were generated since then. As soon as I commented that code out, within 5-10 minutes thirteen @mention email notifications went out – all with links to content that is years old (pre-import).
I’ve therefore put the filter back into functions.php and can only assume I’ll have to do without the @mention functionality of buddypress.
I appreciate everyone’s help up to this point.
December 9, 2015 at 1:02 am #247565In reply to: Notification emails after import
Henry Wright
Moderator@reedy to my knowledge BuddyPress doesn’t implement any cron jobs, especially ones that send email.
they seem to more or less be coming out every time a page is loaded
This indicates something is hooked to
init
, orbp_loaded
etc. But that would almost certainly be custom code because nothing in BuddyPress or bbPress would hook to those events and send email.Have you fully disabled the importer script?
December 8, 2015 at 11:54 pm #247557In reply to: Notification emails after import
reedy
ParticipantMy host said emails are STILL being sent out.
Can anyone suggest an interim solution (other than switching off my mailserver completely) to stop these emails going out?
Evidently placing the code below in functions.php had no effect:
//buddypress stop mention emails // remove_action( 'bp_activity_sent_mention_email', 'bp_activity_at_message_notification', 10, 5 ); //End buddypress stop mention emails //
December 8, 2015 at 11:11 pm #247553In reply to: disable private messaging for specific user
shanebp
ModeratorYou could use this action hook, found in :
buddypress\bp-messages\classes\class-bp-messages-message.php
do_action_ref_array( 'messages_message_before_save', array( &$this ) );
Untested, but try:
function block_the_jerk( $message_info ) { if( $message_info->sender_id == 666 ) // change 666 to jerk's user_id unset( $message_info->recipients ); return $message_info; } add_action( 'messages_message_before_save', 'block_the_jerk');
This should remove all recipients – causing the send message function to return false.
I’m not sure what if any feedback the jerk will see. -
AuthorSearch Results