mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
9e53314c3a
- new code structure, optimized for next development; - created spl_autoloader for remove includes; - UM classes with namespaces; - deprecated global $ultimatemember; variable (use UM() instead); - new UM/WP roles logic; - new settings class and logic (deprecated Redux framework, deprecated some old options, added some new options); - new dependencies class for extensions; - WP native styles for backend fields; - new upgrades and license activations for extensions; - new logic form backend forms and fields; - created uninstall.php file for delete permanently all UM settings; - optimized registration/upgrade profile process; Deprecated Hooks: um_new_user_registration_plain um_user_registration_extra_hook um_add_user_frontend um_post_registration_global_hook um_admin_extend_directory_options_general (was action...will be filter)
214 lines
8.5 KiB
PHP
214 lines
8.5 KiB
PHP
<?php
|
||
$premium['bbpress'] = array(
|
||
'url' => 'https://ultimatemember.com/extensions/bbpress/',
|
||
'image' => 'https://ultimatemember.com/wp-content/uploads/edd/2017/05/bbpress.png',
|
||
'name' => 'bbPress',
|
||
'desc' => 'With the bbPress extension you can integrate Ultimate Member with bbPress',
|
||
);
|
||
|
||
$premium['profile-completeness'] = array(
|
||
'url' => 'https://ultimatemember.com/extensions/profile-completeness/',
|
||
'image' => 'https://ultimatemember.com/wp-content/uploads/edd/2017/05/profile-completeness.png',
|
||
'name' => 'Profile Completeness',
|
||
'desc' => 'Encourage or force users to complete their profile on your site',
|
||
);
|
||
|
||
$premium['verified-users'] = array(
|
||
'url' => 'https://ultimatemember.com/extensions/verified-users/',
|
||
'image' => 'https://ultimatemember.com/wp-content/uploads/edd/2017/05/verified-users.png',
|
||
'name' => 'Verified Users',
|
||
'desc' => 'Add a user verficiation system to your site so user accounts can be verified',
|
||
);
|
||
|
||
$premium['friends'] = array(
|
||
'url' => 'https://ultimatemember.com/extensions/friends/',
|
||
'image' => 'https://ultimatemember.com/wp-content/uploads/edd/2017/05/friends.png',
|
||
'name' => 'Friends',
|
||
'desc' => 'Increase user interaction on your site by allowing users to become friends',
|
||
);
|
||
|
||
$premium['woocommerce'] = array(
|
||
'url' => 'https://ultimatemember.com/extensions/woocommerce/',
|
||
'image' => 'https://ultimatemember.com/wp-content/uploads/edd/2017/05/woocommerce.png',
|
||
'name' => 'WooCommerce',
|
||
'desc' => 'Integrates the popular e-commerce plugin WooCommerce with Ultimate Member',
|
||
);
|
||
|
||
$premium['notices'] = array(
|
||
'url' => 'https://ultimatemember.com/extensions/notices/',
|
||
'image' => 'https://ultimatemember.com/wp-content/uploads/edd/2017/05/notices.png',
|
||
'name' => 'Notices',
|
||
'desc' => 'Alert users to important information using conditional notices',
|
||
);
|
||
|
||
$premium['followers'] = array(
|
||
'url' => 'https://ultimatemember.com/extensions/followers/',
|
||
'image' => 'https://ultimatemember.com/wp-content/uploads/edd/2017/05/follow.png',
|
||
'name' => 'Followers',
|
||
'desc' => 'Increase user interaction on your site by allowing users to follow each other',
|
||
);
|
||
|
||
$premium['mycred'] = array(
|
||
'url' => 'https://ultimatemember.com/extensions/mycred/',
|
||
'image' => 'https://ultimatemember.com/wp-content/uploads/edd/2017/05/mycred.png',
|
||
'name' => 'myCRED',
|
||
'desc' => 'With the myCRED extension you can integrate Ultimate Member with myCRED',
|
||
);
|
||
|
||
$premium['private-messages'] = array(
|
||
'url' => 'https://ultimatemember.com/extensions/private-messages/',
|
||
'image' => 'https://ultimatemember.com/wp-content/uploads/edd/2017/05/private-messages.png',
|
||
'name' => 'Private Messages',
|
||
'desc' => 'Add a private messaging system to your site & allow users to message each other',
|
||
);
|
||
|
||
$premium['social-activity'] = array(
|
||
'url' => 'https://ultimatemember.com/extensions/social-activity/',
|
||
'image' => 'https://ultimatemember.com/wp-content/uploads/edd/2017/05/social-activity.png',
|
||
'name' => 'Social Activity',
|
||
'desc' => 'Let users create public wall posts & see the activity of other users',
|
||
);
|
||
|
||
$premium['social-login'] = array(
|
||
'url' => 'https://ultimatemember.com/extensions/social-login/',
|
||
'image' => 'https://ultimatemember.com/wp-content/uploads/edd/2017/05/social-login.png',
|
||
'name' => 'Social Login',
|
||
'desc' => 'Let users register & login to your site via Facebook, Twitter, G+, LinkedIn, and more',
|
||
);
|
||
|
||
$premium['instagram'] = array(
|
||
'url' => 'https://ultimatemember.com/extensions/instagram/',
|
||
'image' => 'https://ultimatemember.com/wp-content/uploads/edd/2017/05/instagram.png',
|
||
'name' => 'Instagram',
|
||
'desc' => 'Allow users to show their Instagram photos on their profile',
|
||
);
|
||
|
||
$premium['user-tags'] = array(
|
||
'url' => 'https://ultimatemember.com/extensions/user-tags/',
|
||
'image' => 'https://ultimatemember.com/wp-content/uploads/edd/2017/05/usertags.png',
|
||
'name' => 'User Tags',
|
||
'desc' => 'With this extension you can add a user tag system to your website',
|
||
);
|
||
|
||
|
||
$premium['mailchimp'] = array(
|
||
'url' => 'https://ultimatemember.com/extensions/mailchimp/',
|
||
'image' => 'https://ultimatemember.com/wp-content/uploads/edd/2017/05/mailchimp.png',
|
||
'name' => 'MailChimp',
|
||
'desc' => 'Allow users to subscribe to your mailchimp lists when they signup on your site',
|
||
);
|
||
|
||
|
||
$premium['user-reviews'] = array(
|
||
'url' => 'https://ultimatemember.com/extensions/user-reviews/',
|
||
'image' => 'https://ultimatemember.com/wp-content/uploads/edd/2017/05/user-reviews.png',
|
||
'name' => 'User Reviews',
|
||
'desc' => 'Allow users to rate & review each other using a 5 star rate/review system',
|
||
);
|
||
|
||
$premium['real-time-notifications'] = array(
|
||
'url' => 'https://ultimatemember.com/extensions/real-time-notifications/',
|
||
'image' => 'https://ultimatemember.com/wp-content/uploads/edd/2017/05/notifications.png',
|
||
'name' => 'Real-time Notifications',
|
||
'desc' => 'Add a notifications system to your site so users can receive real-time notifications',
|
||
);
|
||
|
||
|
||
$free['online-users'] = array(
|
||
'url' => 'https://ultimatemember.com/extensions/online-users/',
|
||
'image' => 'https://ultimatemember.com/wp-content/uploads/edd/2017/07/Online-Users.png',
|
||
'name' => 'Online Users',
|
||
'desc' => 'Display online users on your site so users can see who is online'
|
||
);
|
||
|
||
$free['google-recaptcha'] = array(
|
||
'url' => 'https://ultimatemember.com/extensions/google-recaptcha/',
|
||
'image' => 'https://ultimatemember.com/wp-content/uploads/edd/2017/07/google.png',
|
||
'name' => 'Google reCAPTCHA',
|
||
'desc' => 'Stop bots on your registration & login forms with Google reCAPTCHA',
|
||
);
|
||
|
||
$free['terms-conditions'] = array(
|
||
'url' => 'https://ultimatemember.com/extensions/terms-conditions/',
|
||
'image' => 'https://ultimatemember.com/wp-content/uploads/edd/2017/07/terms-conditions.png',
|
||
'name' => 'Terms & Conditions',
|
||
'desc' => 'Add terms & conditions to your registration form',
|
||
);
|
||
|
||
?>
|
||
|
||
<div id="um-extensions-wrap" class="wrap">
|
||
|
||
<h2>Ultimate Member - Extensions</h2>
|
||
|
||
<div class="wp-filter um-admin-notice um-filter">
|
||
<div class="alignleft"><strong>Core Extensions Bundle</strong> – Check out our extensions bundle which includes all extensions at a significant discount.</div>
|
||
<div class="alignright"><a href="https://ultimatemember.com/core-extensions-bundle/" class="button button-primary" target="_blank">View our Extensions Bundle</a></div>
|
||
</div>
|
||
|
||
<div class="wp-filter">
|
||
<ul class="filter-links">
|
||
<li><a href='?page=ultimatemember-extensions&filter=premium' class='<?php if ( !isset($_REQUEST['filter']) || isset( $_REQUEST['filter'] ) && $_REQUEST['filter'] == 'premium' ) { echo 'current'; } ?>'>Premium</a></li>
|
||
<li><a href='?page=ultimatemember-extensions&filter=free' class='<?php if ( isset( $_REQUEST['filter'] ) && $_REQUEST['filter'] == 'free' ) { echo 'current'; } ?>'>Free</a></li>
|
||
</ul>
|
||
</div>
|
||
|
||
<div class="wp-list-table widefat plugin-install">
|
||
<div id="the-list">
|
||
|
||
<?php if ( !isset($_REQUEST['filter']) || isset( $_REQUEST['filter'] ) && $_REQUEST['filter'] == 'premium' ) { ?>
|
||
|
||
<?php foreach( $premium as $key => $info ) { ?>
|
||
|
||
<div class="plugin-card">
|
||
<a href="<?php echo $info['url']; ?>" class="plugin-image"><img src="<?php echo $info['image']; ?>" /></a>
|
||
<div class="plugin-card-top">
|
||
<h3><a href="<?php echo $info['url']; ?>"><?php echo $info['name']; ?></a></h3>
|
||
|
||
<div class="desc column-description">
|
||
<?php echo $info['desc']; ?>
|
||
</div>
|
||
|
||
<div class="action-links">
|
||
<ul class="plugin-action-buttons">
|
||
<li><a class="install-now button" href="<?php echo $info['url']; ?>">Get this Add on</a></li>
|
||
<li><a href="<?php echo $info['url']; ?>">More Details</a></li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<?php }
|
||
|
||
} ?>
|
||
|
||
<?php if ( isset( $_REQUEST['filter'] ) && $_REQUEST['filter'] == 'free' ) { ?>
|
||
|
||
<?php foreach( $free as $key => $info ) { ?>
|
||
|
||
<div class="plugin-card">
|
||
<a href="<?php echo $info['url']; ?>" class="plugin-image"><img src="<?php echo $info['image']; ?>" /></a>
|
||
<div class="plugin-card-top">
|
||
<h3><a href="<?php echo $info['url']; ?>"><?php echo $info['name']; ?></a></h3>
|
||
|
||
<div class="desc column-description">
|
||
<?php echo $info['desc']; ?>
|
||
</div>
|
||
|
||
<div class="action-links">
|
||
<ul class="plugin-action-buttons">
|
||
<li><a class="install-now button" href="<?php echo $info['url']; ?>">Get this Add on</a></li>
|
||
<li><a href="<?php echo $info['url']; ?>">More Details</a></li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<?php }
|
||
|
||
} ?>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
</div><div class="um-admin-clear"></div>
|