extensions.php
10.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
<?php if ( ! defined( 'ABSPATH' ) ) exit;
$premium['bbpress'] = array(
'url' => 'https://ultimatemember.com/extensions/bbpress/',
'img' => 'bbpress.svg',
'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/',
'img' => 'profile-completeness.svg',
'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/',
'img' => 'verified-users.svg',
'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/',
'img' => 'friends.svg',
'name' => 'Friends',
'desc' => 'Increase user interaction on your site by allowing users to become friends',
);
$premium['woocommerce'] = array(
'url' => 'https://ultimatemember.com/extensions/woocommerce/',
'img' => 'woocommerce.png',
'name' => 'WooCommerce',
'desc' => 'Integrates the popular e-commerce plugin WooCommerce with Ultimate Member',
);
$premium['notices'] = array(
'url' => 'https://ultimatemember.com/extensions/notices/',
'img' => 'notices.svg',
'name' => 'Notices',
'desc' => 'Alert users to important information using conditional notices',
);
$premium['followers'] = array(
'url' => 'https://ultimatemember.com/extensions/followers/',
'img' => 'followers.svg',
'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/',
'img' => '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/',
'img' => 'private-messages.svg',
'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/',
'img' => 'social-activity.svg',
'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/',
'img' => 'social-login.svg',
'name' => 'Social Login',
'desc' => 'Let users register & login to your site via Facebook, Twitter, G+, LinkedIn, and more',
);
$premium['user-tags'] = array(
'url' => 'https://ultimatemember.com/extensions/user-tags/',
'img' => 'user-tags.svg',
'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/',
'img' => '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/',
'img' => 'user-reviews.svg',
'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/',
'img' => 'real-time-notifications.svg',
'name' => 'Real-time Notifications',
'desc' => 'Add a notifications system to your site so users can receive real-time notifications',
);
$premium['private-content'] = array(
'url' => 'https://ultimatemember.com/extensions/private-content/',
'img' => 'private-content.svg',
'name' => 'Private Content',
'desc' => 'Display private content to logged in users that only they can access',
);
$premium['groups'] = array(
'url' => 'https://ultimatemember.com/extensions/groups/',
'img' => 'groups.svg',
'name' => 'Groups',
'desc' => 'Allow users to create and join groups around shared topics, interests etc.',
);
$premium['user-photos'] = array(
'url' => 'https://ultimatemember.com/extensions/user-photos/',
'name' => 'User Photos',
'img' => 'user-photos.svg',
'desc' => 'Allow users to upload photos to their profile',
);
$premium['user-bookmarks'] = array(
'url' => 'https://ultimatemember.com/extensions/user-bookmarks/',
'img' => 'user-bookmarks.svg',
'name' => 'User Bookmarks',
'desc' => 'Allow users to bookmark content from your website',
);
$premium['unsplash'] = array(
'url' => 'https://ultimatemember.com/extensions/unsplash/',
'img' => 'unsplash.png',
'name' => 'Unsplash',
'desc' => 'Allow users to select a profile cover photo from <a href="https://unsplash.com/" target="_blank">Unsplash</a> from their profile',
);
$premium['user-locations'] = array(
'url' => 'https://ultimatemember.com/extensions/user-locations/',
'img' => 'user-locations.svg',
'name' => 'User Locations',
'desc' => 'Using the Google Maps API, display users on a map on the member directory page and allow users to add their location via their profile',
);
$premium['user-notes'] = array(
'url' => 'https://ultimatemember.com/extensions/user-notes/',
'img' => 'user-notes.svg',
'name' => 'User Notes',
'desc' => 'Allow users to create public and private notes from their profile',
);
$premium['profile-tabs'] = array(
'url' => 'https://ultimatemember.com/extensions/profile-tabs/',
'img' => 'profile-tabs.svg',
'name' => 'Profile Tabs',
'desc' => 'Add custom tabs to profiles',
);
$premium['stripe'] = array(
'url' => 'https://ultimatemember.com/extensions/stripe/',
'img' => 'stripe.png',
'name' => 'Stripe',
'desc' => 'Sell paid memberships to access your website via Stripe subscriptions',
);
$free['jobboardwp'] = array(
'url' => 'https://wordpress.org/plugins/um-jobboardwp',
'img' => 'jobboardwp.png',
'name' => 'JobBoardWP',
'desc' => 'Integrates Ultimate Member with the job board plugin <a href="https://wordpress.org/plugins/jobboardwp" target="_blank">JobBoardWP</a>',
);
$free['forumwp'] = array(
'url' => 'https://ultimatemember.com/extensions/forumwp/',
'img' => 'forumwp.png',
'name' => 'ForumWP',
'desc' => 'Integrates Ultimate Member with the forum plugin <a href="https://forumwpplugin.com" target="_blank">ForumWP</a>',
);
$free['online-users'] = array(
'url' => 'https://ultimatemember.com/extensions/online-users/',
'img' => 'online-users.svg',
'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/',
'img' => 'google-recaptcha.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/',
'img' => 'terms-conditions.svg',
'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">
<ul class="filter-links">
<li>
<a href="?page=ultimatemember-extensions&filter=premium" class="<?php if ( ! isset( $_REQUEST['filter'] ) || isset( $_REQUEST['filter'] ) && sanitize_key( $_REQUEST['filter'] ) == 'premium' ) { echo 'current'; } ?>">
<?php _e( 'Premium', 'ultimate-member' ) ?>
</a>
</li>
<li>
<a href="?page=ultimatemember-extensions&filter=free" class="<?php if ( isset( $_REQUEST['filter'] ) && sanitize_key( $_REQUEST['filter'] ) == 'free' ) { echo 'current'; } ?>">
<?php _e( 'Free', 'ultimate-member' ) ?>
</a>
</li>
</ul>
</div>
<div class="wp-list-table widefat plugin-install">
<div id="the-list">
<?php if ( ! isset( $_REQUEST['filter'] ) || isset( $_REQUEST['filter'] ) && sanitize_key( $_REQUEST['filter'] ) == 'premium' ) {
foreach ( $premium as $key => $info ) { ?>
<div class="plugin-card">
<div class="plugin-image-wrapper">
<a href="<?php echo esc_url( $info['url'] ); ?>" class="plugin-image<?php if ( false !== strpos( $info['img'], '.svg' ) ) { ?> svg-image<?php } ?>">
<img id="<?php echo esc_attr( 'um_' . $key . '_image' ); ?>" src="<?php echo esc_url( um_url . 'assets/img/extensions/' . $info['img'] ); ?>" alt="<?php echo esc_attr( $info['name'] ) ?>" />
</a>
</div>
<div class="plugin-card-top">
<h3><a href="<?php echo esc_url( $info['url'] ); ?>"><?php echo esc_html( $info['name'] ); ?></a></h3>
<div class="desc column-description">
<?php echo wp_kses( $info['desc'], UM()->get_allowed_html( 'admin_notice' ) ); ?>
</div>
</div>
<div class="plugin-action-links">
<a class="button" href="<?php echo esc_url( $info['url'] ); ?>">
<?php esc_html_e( 'Get this Add on', 'ultimate-member' ) ?>
</a>
<a href="<?php echo esc_url( $info['url'] ); ?>">
<?php esc_html_e( 'More Details', 'ultimate-member' ) ?>
</a>
</div>
</div>
<?php }
}
if ( isset( $_REQUEST['filter'] ) && sanitize_key( $_REQUEST['filter'] ) == 'free' ) {
foreach ( $free as $key => $info ) { ?>
<div class="plugin-card">
<div class="plugin-image-wrapper">
<a href="<?php echo esc_url( $info['url'] ); ?>" class="plugin-image<?php if ( false !== strpos( $info['img'], '.svg' ) ) { ?> svg-image<?php } ?>">
<img id="<?php echo esc_attr( 'um_' . $key . '_image' ); ?>" src="<?php echo esc_url( um_url . 'assets/img/extensions/' . $info['img'] ); ?>" alt="<?php echo esc_attr( $info['name'] ) ?>" />
</a>
</div>
<div class="plugin-card-top">
<h3><a href="<?php echo esc_url( $info['url'] ); ?>"><?php echo esc_html( $info['name'] ); ?></a></h3>
<div class="desc column-description">
<?php echo wp_kses( $info['desc'], UM()->get_allowed_html( 'admin_notice' ) ); ?>
</div>
</div>
<div class="plugin-action-links">
<a class="button" href="<?php echo esc_url( $info['url'] ); ?>">
<?php esc_html_e( 'Get this Add on', 'ultimate-member' ) ?>
</a>
<a href="<?php echo esc_url( $info['url'] ); ?>">
<?php esc_html_e( 'More Details', 'ultimate-member' ) ?>
</a>
</div>
</div>
<?php }
} ?>
</div>
</div>
</div>
<div class="um-admin-clear"></div>