Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 2,910 total)
  • @modemlooper

    Moderator

    Removed files from plugin in version 2.4.1

    @modemlooper

    Moderator

    Odd, you should not have both files. Try to delete plugin and reinstall from .org

    @modemlooper

    Moderator

    update coming today….

    @modemlooper

    Moderator

    There 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/

    @modemlooper

    Moderator

    Sounds 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/

    @modemlooper

    Moderator

    There is no compare arg for activity parse args.

    @modemlooper

    Moderator

    You’d have to use javascript for conditional fields that change based on selection.

    @modemlooper

    Moderator

    @modemlooper

    Moderator

    There 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

    @modemlooper

    Moderator

    to check if on edit you can check the current action

    if ( $field_name === 'Cost Per Hour' && 'edit' === bp_current_action() ) {

    @modemlooper

    Moderator

    Your code worked for me on user profile and editing in admin

    @modemlooper

    Moderator

    Make sure your registration slug is not “registration” or “signup” or any other guessable word. Change the slug frequently.

    Use this https://github.com/pixeljar/BuddyPress-Honeypot

    @modemlooper

    Moderator

    Posting Activity from Plugins

    Scroll 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.

    @modemlooper

    Moderator

    @modemlooper

    Moderator

    There isn’t an official API for BuddyPress. Development on API starting early January

    @modemlooper

    Moderator

    install BuddyPress and only activate the Profile component.

    @modemlooper

    Moderator

    There 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' );

    @modemlooper

    Moderator

    I’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' );

    @modemlooper

    Moderator

    Fifth post? here’s what code looks like

    @modemlooper

    Moderator

    heres 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' );

    @modemlooper

    Moderator

    If 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/

    https://v2.wp-api.org
    https://oauth1.wp-api.org

    @modemlooper

    Moderator

    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.

    @modemlooper

    Moderator

    in the admin, visit plugins, click add new, search “BuddyPress”, install then activate.

    https://codex.wordpress.org/Managing_Plugins

    @modemlooper

    Moderator

    Not 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

    @modemlooper

    Moderator

    Not 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.

Viewing 25 replies - 1 through 25 (of 2,910 total)
Skip to toolbar