Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author modemlooper

    (@modemlooper)

    Tested on the demo site and it posted in the group.

    Thread Starter actiontroy

    (@actiontroy)

    When I post in a group it shows correct too but then once I leave or refresh the page it disappears and gets put on my profile. If you are not seeing this behavior it must be something else.

    am facing the exact similar problem. am using activity privacy plugin along with buddymobile. the activity privacy plugin options for group come up properly for group activity in buddymobile post. this is perfect. i visit the group and click on the “post” option of buddymobile. instead of posting the activity to group it is posting to profile. kindly help.

    @sharmavishal: If you require assistance then, as per the Forum Welcome, please post your own topic.

    This topic references an old version of WordPress.

    Thanks @esmi have done the same as you suggested.

    Plugin Author modemlooper

    (@modemlooper)

    Can’t replicate this. Please try and deactivate plugins to test if it’s something else.

    Thanks for your reply modemlooper but for the love of god cant get it working.

    I did a fresh install of WP+BP+BM right now. I got BP enabled multisite as follows:

    define( ‘BP_ENABLE_MULTIBLOG’, true );

    Only 2 plugins active as follows:

    BP
    BM

    and the 2 issues are:

    1. Posting is happening only to profile and not groups

    2. There is no create a group option on the BM mobile interface

    I even tried network activation and per site activation of BM but the same 2 issues remain.

    I believe when i used to use BM pro version i didnt face this issues as far as i recollect.

    @modemlooper I dont think this is a multisite issue. I did a fresh single site install of WP+BP and activated only BuddyMobile. Still the 2 issues remain as follows:

    1. Posting is happening only to profile and not groups

    2. There is no create a group option on the BM mobile interface

    Bump same issue here. According to my research it’s common issue for many users. Also tried a fresh Install. Will try hunt the but soon and update. Thanx

    @modemlooper i ave found the solution to this issue we all having. Its a minor bug any developer would overlook. Please could you update the code to the following. This will fix anyone whom has issues posting group activity on a mobile device. Right now the current version is adding any group-activity update to the profile activity, which is rather a small over look. Please thank @modemlooper for his time and effort giving us such an awsome free gift buddypress mobile. As a small contribution from my side, this code will fix the bug we having:

    open file: wp-content/plugins/buddymobile/themes/mobile/iphone/buddypress/activity/post-form.php

    Add this code:

    <?php
    
    /**
     * buddymobile - Activity Post Form
     *
     * @package buddymobile
     *
     */
    
    ?>
    
    <form action="<?php bp_activity_post_form_action(); ?>" method="post" id="whats-new-form" name="whats-new-form" role="complementary">
    
    	<div id="whats-new-content">
    		<?php do_action( 'bp_before_activity_post_form' ); ?>
    		<div id="whats-new-textarea">
    			<textarea name="whats-new" id="whats-new" cols="50" rows="10"><?php if ( isset( $_GET['r'] ) ) : ?>@<?php echo esc_attr( $_GET['r'] ); ?> <?php endif; ?></textarea>
    		</div>
    
    		<div id="whats-new-options">
    			<div id="whats-new-submit">
    				<input type="submit" name="aw-whats-new-submit" id="aw-whats-new-submit" value="<?php _e( 'Post Update', 'buddymobile' ); ?>" />
    			</div>
    
                <?php if ( bp_is_active( 'groups' ) && !bp_is_my_profile() && !bp_is_group() ) : ?>
    
    				<div id="whats-new-post-in-box">
    
    					<?php _e( 'Post in', 'buddypress' ); ?>:
    
    					<select id="whats-new-post-in" name="whats-new-post-in">
    						<option selected="selected" value="0"><?php _e( 'My Profile', 'buddypress' ); ?></option>
    
    						<?php if ( bp_has_groups( 'user_id=' . bp_loggedin_user_id() . '&type=alphabetical&max=100&per_page=100&populate_extras=0' ) ) :
    							while ( bp_groups() ) : bp_the_group(); ?>
    
    								<option value="<?php bp_group_id(); ?>"><?php bp_group_name(); ?></option>
    
    							<?php endwhile;
    						endif; ?>
    
    					</select>
    				</div>
    				<input type="hidden" id="whats-new-post-object" name="whats-new-post-object" value="groups" />
    
    			<?php elseif ( bp_is_group_home() ) : ?>
    
    				<input type="hidden" id="whats-new-post-object" name="whats-new-post-object" value="groups" />
    				<input type="hidden" id="whats-new-post-in" name="whats-new-post-in" value="<?php bp_group_id(); ?>" />
    
    			<?php endif; ?>
    
    			<?php do_action( 'bp_activity_post_form_options' ); ?>
    
    		</div><!-- #whats-new-options -->
    	</div><!-- #whats-new-content -->
    
    	<?php wp_nonce_field( 'post_update', '_wpnonce_post_update' ); ?>
    	<?php do_action( 'bp_after_activity_post_form' ); ?>
    
    </form><!-- #whats-new-form -->

    Hope this helps anyone, its clear to see what the update does, and you can clearly see what the current version is missing 🙂

    Thanx for everything love this community!!

    Sorry if my english is not great, i will update if anyone doesn’t understand 🙂

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Group Post’ is closed to new replies.