Forum Replies Created
-
Removed files from plugin in version 2.4.1
Odd, you should not have both files. Try to delete plugin and reinstall from .org
In reply to: I need Buddypress verified for 4.7.2 and +update coming today….
In reply to: Application-Post to forumThere is nothing like this. Would make a great plugin. BuddyPress allows people to request group membership for private groups. Change a group to private and the “join” group button becomes “request membership”
auto join plugin based on role https://www.buddyboss.com/purchase/buddypress-auto-group-join/
In reply to: activity what shows pluginSounds like a good plugin, since this is not a support request I will go ahead and close the topic. More info on filtering the loops https://codex.buddypress.org/developer/using-bp_parse_args-to-filter-buddypress-template-loops/
In reply to: Use several filter argumentsThere is no compare arg for activity parse args.
In reply to: Rename Field Label Depending On Member TypeYou’d have to use javascript for conditional fields that change based on selection.
In reply to: Need Advice for Stopping Spam at the GateUse this fork, fixed it
In reply to: Email Address loginThere is nothing wrong with using a plugin. Check WordPress .org for a plugin. If you insist and do not want to use a plugin you can check through the code to find out how they accomplished it
In reply to: Rename Field Label Depending On Member Typeto check if on edit you can check the current action
if ( $field_name === 'Cost Per Hour' && 'edit' === bp_current_action() ) {In reply to: Rename Field Label Depending On Member TypeYour code worked for me on user profile and editing in admin
In reply to: Need Advice for Stopping Spam at the GateMake sure your registration slug is not “registration” or “signup” or any other guessable word. Change the slug frequently.
In reply to: Question aboutScroll down to function bp_dont_save_minis. It’s an example to block saving types of activity. Only do this if you never want these items. Otherwise you’d want to filter out. Better for site speed to not save so a choice is up to you.
In reply to: Solution to “buddyblock” alternativeIn reply to: [Resolved] How to get API of buddypress ?There isn’t an official API for BuddyPress. Development on API starting early January
In reply to: good user profile plugininstall BuddyPress and only activate the Profile component.
In reply to: Edit the Buddy Press Pages ViewThere are some plugins, do a google search.
you can also use this code but you will get spam if they can get in without email conformation.
add_filter( 'bp_registration_needs_activation', '__return_false' );In reply to: Blending Posts into ActivityI’m still confused, the code I gave you will add content above every 5th item. when you click load more it adds to the 5th item in the response.
If you have 20 items and you want every 5th item. then you can check array
function custom_markup_before_every_fifth_activity() { global $activities_template; $items = array( $activities_template->activities[4]->id, $activities_template->activities[9]->id, $activities_template->activities[14]->id, ); if ( in_array( $activities_template->activity->id, $items, true ) ) { echo '<li>'; echo '<div class="activity-content">'; echo 'place add code here'; echo '</div>'; echo '</li>'; } }; add_action( 'bp_before_activity_entry', 'custom_markup_before_every_fifth_activity' );In reply to: Blending Posts into ActivityFifth post? here’s what code looks like
In reply to: Blending Posts into Activityheres some starter code
function custom_markup_before_every_fifth_activity() { global $activities_template; $item_5 = $activities_template->activities[4]; if ( $item_5->id === $activities_template->activity->id ) { echo '<li>'; echo '<div class="activity-content">'; echo 'place add code here'; echo '</div>'; echo '</li>'; } }; add_action( 'bp_before_activity_entry', 'custom_markup_before_every_fifth_activity' );In reply to: How to upload avatar cross domain callIf you are using latest WordPres (4.7). Then use custom WP-API endpoint to post content from cross domain. https://developer.wordpress.org/rest-api/
You will have to authenticate somehow, preferably oauth. https://wordpress.org/plugins/rest-api-oauth1/
In reply to: How do I integrate BuddyPress?Try another browser, the zip from .org should not download to local. It could also be an issue if you installed BuddyPress from a one click installer. They sometimes create bad folder permissions.
In reply to: How do I integrate BuddyPress?in the admin, visit plugins, click add new, search “BuddyPress”, install then activate.
In reply to: bp_send_email helpNot sure you can, BP email is not going through wp_mail. Could try to hook here https://github.com/buddypress/BuddyPress/blob/master/src/bp-core/classes/class-bp-phpmailer.php#L118
In reply to: Add exit survey to delete account pageNot easily accomplished without coding knowledge.
If I were developing this I would not force a user to fill in a form before deleting account. You could send an exit email with a custom email https://codex.buddypress.org/emails/custom-emails.
