Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Artisantopia

    (@artisantopia)

    I’ve just done some more testing and discovered that if I deactivate Wishlist Member on the site, then new affiliates are added to Mailchimp.

    I need Wishlist to protect my content, and it’s integrated with WooCommerce.

    What can I do to get this working? Thank you for your help

    Thread Starter Artisantopia

    (@artisantopia)

    being dealt with via S2m support thank you. Closing

    Thread Starter Artisantopia

    (@artisantopia)

    Wow – a week and still no response. And I emailed support and no reply. I paid for the Pro version and I can’t get any help. Not happy.

    I’d appreciate it if someone could please respond.

    Thread Starter Artisantopia

    (@artisantopia)

    I’m sorry, I didn’t mean to offend you. I’m very grateful you have created this plugin.

    As every website is unique, there are many ways to build a site using the plugins that are available. I was so happy to find your plugin as it provided the functionality I was looking for. But, in my situation it is more suitable for my users to have the files display rather than download. That is my unique situation. I had already tested the photo album plugins that are available and none were suitable for my requirements.

    As you have been asked for this a number of times I think that shows there is a demand for this. Perhaps if you offered it as an option in the admin? Or provided instructions in the support here, so that those of us who want it can implement it ourselves, at our own risk.

    Again, my apologies and thank you.

    Thread Starter Artisantopia

    (@artisantopia)

    Thank you so much!!!

    Just in case anyone else wants to use this, here’s what I did.

    I added it as a plugin, but when I activated it it threw an undefined function fatal error on the line add_action( bp_core_admin_hook(), ‘artisantopia_admin_menus’ );

    So I played about with it and customised it a bit, and this is what I ended up with. It’s working well for me, but if you see anything that could be improved please let me know!

    <?php
    /*
    Plugin Name: BuddyDrive Extension
    Description: Adds user name in BuddyDrive admin and displays those users that have not uploaded anything. Used for credentials system.
    Version: 1.0
    
    */
    
    /** Add username next to avatars **/
    function mmbk_show_username( $avatar = '', $user_id = 0 ) {
    
    	if( !empty( $user_id ) )
    		$avatar .= '<span class="mmbk-user-name"> ' . bp_core_get_username( $user_id, true ) . '</span>';
    
    	return $avatar;
    }
    add_filter( 'buddydrive_get_show_owner_avatar', 'mmbk_show_username', 10, 2 );
    
    /** builds a new Admin Menu to list the users that didn't upload any BuddyDrive file **/
    function mmbk_no_credentials() {
    	global $wpdb;
    
    	if( !function_exists( 'buddydrive_get_file_post_type') )
    		return false;
    
    	$people_nofiles = $wpdb->get_results(
    		$wpdb->prepare(
    			"SELECT u.ID, u.user_nicename, u.user_email
    			FROM {$wpdb->users} u WHERE u.ID NOT IN
    			( SELECT p.post_author FROM {$wpdb->posts} p WHERE u.ID = p.post_author AND p.post_type = %s GROUP BY p.post_author )",
    			buddydrive_get_file_post_type()
    		)
    	);
    
    	?>
    
    	<div class="wrap">
    		<h2>People with no files</h2>
    
    		<table class="widefat">
    			<thead>
    				<tr><th>ID</th><th>Username</th><th>Email</th></tr>
    			</thead>
    			<tbody>
    
    				<?php foreach( $people_nofiles as $people ) :?>
    					<tr>
    						<th><?php echo intval( $people->ID ) ;?></th>
    						<th><?php echo sanitize_text_field( $people->user_nicename ) ;?></th>
    						<th><?php echo sanitize_email( $people->user_email ) ;?></th>
    					</tr>
    				<?php endforeach;?>
    
    			</tbody>
    			<tfoot>
    				<tr><th>ID</th><th>Username</th><th>Email</th></tr>
    			</tfoot>
    		</table>
    	</div>
    
    	<?php
    }
    
    function mmbk_admin_menus() {
    	if( !function_exists( 'buddydrive' ) )
    		return;
    
    	add_menu_page(
    		'No Credentials',
    		'No Credentials',
    		'manage_options',
    		'mmbk-no-credentials',
    		'mmbk_no_credentials'
    	);
    }
    add_action( 'network_admin_menu',  'mmbk_admin_menus' );
    
    ?>
    Thread Starter Artisantopia

    (@artisantopia)

    HI! I was just wondering if you have had a chance to look into this for me yet?

    thank you!

    Thread Starter Artisantopia

    (@artisantopia)

    THANK YOU! I didn’t realise it would use the tiny emoticons within the text.

    I changed that setting and now it works perfectly. Thank you!

    Artisantopia

    (@artisantopia)

    @mikebrommer – I just found this after posting my question here – http://ww.wp.xz.cn/support/topic/ranking-based-on-karma-points?replies=1

    I think we are after a similar thing!

    Have you made any progress with this?

    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)