Version Description
Download this release
Release Info
Developer | ultimatemember |
Plugin | ![]() |
Version | 1.0.67 |
Comparing to | |
See all releases |
Code changes from version 1.0.66 to 1.0.67
- admin/assets/css/um-admin-misc.css +8 -3
- core/um-actions-account.php +43 -8
- core/um-actions-form.php +5 -1
- core/um-enqueue.php +1 -1
- core/um-mail.php +5 -3
- index.php +3 -2
- readme.txt +10 -1
- templates/email/approval_email.html +37 -6
- templates/email/changedpw_email.html +31 -2
- templates/email/checkmail_email.html +31 -2
- templates/email/deletion_email.html +31 -2
- templates/email/footer.html +0 -11
- templates/email/header.html +0 -12
- templates/email/inactive_email.html +29 -2
- templates/email/pending_email.html +29 -2
- templates/email/rejected_email.html +29 -2
- templates/email/resetpw_email.html +30 -3
- templates/email/welcome_email.html +37 -6
- templates/profile/posts.php +1 -1
admin/assets/css/um-admin-misc.css
CHANGED
@@ -107,6 +107,13 @@ body.um-admin-modal-open {
|
|
107 |
- Form Inputs
|
108 |
*/
|
109 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
.um-admin-metabox p {margin: 10px 0 0 0}
|
111 |
|
112 |
.um-admin-metabox label{
|
@@ -118,8 +125,6 @@ body.um-admin-modal-open {
|
|
118 |
color: #666;
|
119 |
}
|
120 |
|
121 |
-
.um-admin-metabox label strong {color: #222}
|
122 |
-
|
123 |
.um-admin-metabox input[type=text]:disabled{
|
124 |
opacity: 0.7 !important;
|
125 |
color: #aaa !important;
|
@@ -154,7 +159,7 @@ body.um-admin-modal-open {
|
|
154 |
background-color: #fff !important;
|
155 |
}
|
156 |
|
157 |
-
.um-admin-metabox input[type=text].small {width:
|
158 |
|
159 |
.um-admin-metabox textarea {min-height: 100px;height: 100px}
|
160 |
.um-admin-metabox textarea.tall {min-height: 200px;height: 200px}
|
107 |
- Form Inputs
|
108 |
*/
|
109 |
|
110 |
+
.um-admin-metabox h4 {
|
111 |
+
font-size: 14px;
|
112 |
+
background: #f5f5f5;
|
113 |
+
padding: 8px 4px;
|
114 |
+
color: #333;
|
115 |
+
}
|
116 |
+
|
117 |
.um-admin-metabox p {margin: 10px 0 0 0}
|
118 |
|
119 |
.um-admin-metabox label{
|
125 |
color: #666;
|
126 |
}
|
127 |
|
|
|
|
|
128 |
.um-admin-metabox input[type=text]:disabled{
|
129 |
opacity: 0.7 !important;
|
130 |
color: #aaa !important;
|
159 |
background-color: #fff !important;
|
160 |
}
|
161 |
|
162 |
+
.um-admin-metabox input[type=text].small {width: 54px}
|
163 |
|
164 |
.um-admin-metabox textarea {min-height: 100px;height: 100px}
|
165 |
.um-admin-metabox textarea.tall {min-height: 200px;height: 200px}
|
core/um-actions-account.php
CHANGED
@@ -162,11 +162,18 @@
|
|
162 |
|
163 |
<?php echo $output; ?>
|
164 |
|
165 |
-
<div class="um-col-alt um-col-alt-b"
|
|
|
|
|
|
|
|
|
166 |
|
167 |
<?php
|
168 |
|
169 |
}
|
|
|
|
|
|
|
170 |
}
|
171 |
|
172 |
/***
|
@@ -185,11 +192,18 @@
|
|
185 |
|
186 |
<?php echo $output; ?>
|
187 |
|
188 |
-
<div class="um-col-alt um-col-alt-b"
|
|
|
|
|
|
|
|
|
189 |
|
190 |
<?php
|
191 |
|
192 |
}
|
|
|
|
|
|
|
193 |
}
|
194 |
|
195 |
/***
|
@@ -199,7 +213,7 @@
|
|
199 |
function um_account_tab__general( $info ) {
|
200 |
global $ultimatemember;
|
201 |
extract( $info );
|
202 |
-
|
203 |
$output = $ultimatemember->account->get_tab_output('general');
|
204 |
|
205 |
if ( $output ) { ?>
|
@@ -208,11 +222,18 @@
|
|
208 |
|
209 |
<?php echo $output; ?>
|
210 |
|
211 |
-
<div class="um-col-alt um-col-alt-b"
|
|
|
|
|
|
|
|
|
212 |
|
213 |
<?php
|
214 |
-
|
215 |
}
|
|
|
|
|
|
|
216 |
}
|
217 |
|
218 |
/***
|
@@ -231,11 +252,18 @@
|
|
231 |
|
232 |
<?php echo $output; ?>
|
233 |
|
234 |
-
<div class="um-col-alt um-col-alt-b"
|
|
|
|
|
|
|
|
|
235 |
|
236 |
<?php
|
237 |
|
238 |
}
|
|
|
|
|
|
|
239 |
}
|
240 |
|
241 |
/***
|
@@ -254,11 +282,18 @@
|
|
254 |
|
255 |
<?php echo $output; ?>
|
256 |
|
257 |
-
<div class="um-col-alt um-col-alt-b"
|
|
|
|
|
|
|
|
|
258 |
|
259 |
<?php
|
260 |
-
|
261 |
}
|
|
|
|
|
|
|
262 |
}
|
263 |
|
264 |
/***
|
162 |
|
163 |
<?php echo $output; ?>
|
164 |
|
165 |
+
<div class="um-col-alt um-col-alt-b">
|
166 |
+
<div class="um-left"><input type="submit" name="um_account_submit" id="um_account_submit" value="<?php _e('Delete Account','ultimatemember'); ?>" class="um-button" /></div>
|
167 |
+
<?php do_action('um_after_account_delete_button'); ?>
|
168 |
+
<div class="um-clear"></div>
|
169 |
+
</div>
|
170 |
|
171 |
<?php
|
172 |
|
173 |
}
|
174 |
+
|
175 |
+
do_action('um_after_account_delete');
|
176 |
+
|
177 |
}
|
178 |
|
179 |
/***
|
192 |
|
193 |
<?php echo $output; ?>
|
194 |
|
195 |
+
<div class="um-col-alt um-col-alt-b">
|
196 |
+
<div class="um-left"><input type="submit" name="um_account_submit" id="um_account_submit" value="<?php _e('Update Privacy','ultimatemember'); ?>" class="um-button" /></div>
|
197 |
+
<?php do_action('um_after_account_privacy_button'); ?>
|
198 |
+
<div class="um-clear"></div>
|
199 |
+
</div>
|
200 |
|
201 |
<?php
|
202 |
|
203 |
}
|
204 |
+
|
205 |
+
do_action('um_after_account_privacy');
|
206 |
+
|
207 |
}
|
208 |
|
209 |
/***
|
213 |
function um_account_tab__general( $info ) {
|
214 |
global $ultimatemember;
|
215 |
extract( $info );
|
216 |
+
|
217 |
$output = $ultimatemember->account->get_tab_output('general');
|
218 |
|
219 |
if ( $output ) { ?>
|
222 |
|
223 |
<?php echo $output; ?>
|
224 |
|
225 |
+
<div class="um-col-alt um-col-alt-b">
|
226 |
+
<div class="um-left"><input type="submit" name="um_account_submit" id="um_account_submit" value="<?php _e('Update Account','ultimatemember'); ?>" class="um-button" /></div>
|
227 |
+
<?php do_action('um_after_account_general_button'); ?>
|
228 |
+
<div class="um-clear"></div>
|
229 |
+
</div>
|
230 |
|
231 |
<?php
|
232 |
+
|
233 |
}
|
234 |
+
|
235 |
+
do_action('um_after_account_general');
|
236 |
+
|
237 |
}
|
238 |
|
239 |
/***
|
252 |
|
253 |
<?php echo $output; ?>
|
254 |
|
255 |
+
<div class="um-col-alt um-col-alt-b">
|
256 |
+
<div class="um-left"><input type="submit" name="um_account_submit" id="um_account_submit" value="<?php _e('Update Password','ultimatemember'); ?>" class="um-button" /></div>
|
257 |
+
<?php do_action('um_after_account_password_button'); ?>
|
258 |
+
<div class="um-clear"></div>
|
259 |
+
</div>
|
260 |
|
261 |
<?php
|
262 |
|
263 |
}
|
264 |
+
|
265 |
+
do_action('um_after_account_password');
|
266 |
+
|
267 |
}
|
268 |
|
269 |
/***
|
282 |
|
283 |
<?php echo $output; ?>
|
284 |
|
285 |
+
<div class="um-col-alt um-col-alt-b">
|
286 |
+
<div class="um-left"><input type="submit" name="um_account_submit" id="um_account_submit" value="<?php _e('Update Notifications','ultimatemember'); ?>" class="um-button" /></div>
|
287 |
+
<?php do_action('um_after_account_notifications_button'); ?>
|
288 |
+
<div class="um-clear"></div>
|
289 |
+
</div>
|
290 |
|
291 |
<?php
|
292 |
+
|
293 |
}
|
294 |
+
|
295 |
+
do_action('um_after_account_notifications');
|
296 |
+
|
297 |
}
|
298 |
|
299 |
/***
|
core/um-actions-form.php
CHANGED
@@ -152,9 +152,13 @@
|
|
152 |
$form_id = $args['form_id'];
|
153 |
$mode = $args['mode'];
|
154 |
$fields = unserialize( $args['custom_fields'] );
|
155 |
-
|
156 |
foreach( $fields as $key => $array ) {
|
157 |
|
|
|
|
|
|
|
|
|
158 |
if ( $key == 'role_select' || $key == 'role_radio' ) {
|
159 |
if ( isset($args['role']) && empty($args['role']) && isset( $array['required'] ) && $array['required'] == 1 ) {
|
160 |
$ultimatemember->form->add_error($key, __('Please specify account type.','ultimatemember') );
|
152 |
$form_id = $args['form_id'];
|
153 |
$mode = $args['mode'];
|
154 |
$fields = unserialize( $args['custom_fields'] );
|
155 |
+
|
156 |
foreach( $fields as $key => $array ) {
|
157 |
|
158 |
+
if ( isset( $array['type'] ) && $array['type'] == 'checkbox' && isset( $array['required'] ) && $array['required'] == 1 && !isset( $args[$key] ) ) {
|
159 |
+
$ultimatemember->form->add_error($key, sprintf(__('You must check %s.','ultimatemember'), $array['title'] ) );
|
160 |
+
}
|
161 |
+
|
162 |
if ( $key == 'role_select' || $key == 'role_radio' ) {
|
163 |
if ( isset($args['role']) && empty($args['role']) && isset( $array['required'] ) && $array['required'] == 1 ) {
|
164 |
$ultimatemember->form->add_error($key, __('Please specify account type.','ultimatemember') );
|
core/um-enqueue.php
CHANGED
@@ -118,7 +118,7 @@ class UM_Enqueue {
|
|
118 |
$this->load_datetimepicker();
|
119 |
|
120 |
$this->load_raty();
|
121 |
-
|
122 |
$this->load_imagecrop();
|
123 |
|
124 |
$this->load_masonry();
|
118 |
$this->load_datetimepicker();
|
119 |
|
120 |
$this->load_raty();
|
121 |
+
|
122 |
$this->load_imagecrop();
|
123 |
|
124 |
$this->load_masonry();
|
core/um-mail.php
CHANGED
@@ -52,9 +52,7 @@ class UM_Mail {
|
|
52 |
|
53 |
// HTML e-mail
|
54 |
if ( um_get_option('email_html') && $this->email_template( $template ) ) {
|
55 |
-
$this->message = file_get_contents( $this->email_template(
|
56 |
-
$this->message .= file_get_contents( $this->email_template( $template ) );
|
57 |
-
$this->message .= file_get_contents( $this->email_template( 'footer' ) );
|
58 |
} else {
|
59 |
$this->message = um_get_option( $template );
|
60 |
}
|
@@ -93,10 +91,12 @@ class UM_Mail {
|
|
93 |
'{password}',
|
94 |
'{login_url}',
|
95 |
'{site_name}',
|
|
|
96 |
'{account_activation_link}',
|
97 |
'{password_reset_link}',
|
98 |
'{admin_email}',
|
99 |
'{user_profile_link}',
|
|
|
100 |
'{submitted_registration}',
|
101 |
'{user_avatar_url}',
|
102 |
);
|
@@ -113,10 +113,12 @@ class UM_Mail {
|
|
113 |
um_user('_um_cool_but_hard_to_guess_plain_pw'),
|
114 |
um_get_core_page('login'),
|
115 |
um_get_option('site_name'),
|
|
|
116 |
um_user('account_activation_link'),
|
117 |
um_user('password_reset_link'),
|
118 |
um_admin_email(),
|
119 |
um_user_profile_url(),
|
|
|
120 |
um_user_submitted_registration(),
|
121 |
um_get_user_avatar_url(),
|
122 |
);
|
52 |
|
53 |
// HTML e-mail
|
54 |
if ( um_get_option('email_html') && $this->email_template( $template ) ) {
|
55 |
+
$this->message = file_get_contents( $this->email_template( $template ) );
|
|
|
|
|
56 |
} else {
|
57 |
$this->message = um_get_option( $template );
|
58 |
}
|
91 |
'{password}',
|
92 |
'{login_url}',
|
93 |
'{site_name}',
|
94 |
+
'{site_url}',
|
95 |
'{account_activation_link}',
|
96 |
'{password_reset_link}',
|
97 |
'{admin_email}',
|
98 |
'{user_profile_link}',
|
99 |
+
'{user_account_link}',
|
100 |
'{submitted_registration}',
|
101 |
'{user_avatar_url}',
|
102 |
);
|
113 |
um_user('_um_cool_but_hard_to_guess_plain_pw'),
|
114 |
um_get_core_page('login'),
|
115 |
um_get_option('site_name'),
|
116 |
+
get_bloginfo('url'),
|
117 |
um_user('account_activation_link'),
|
118 |
um_user('password_reset_link'),
|
119 |
um_admin_email(),
|
120 |
um_user_profile_url(),
|
121 |
+
um_get_core_page('account'),
|
122 |
um_user_submitted_registration(),
|
123 |
um_get_user_avatar_url(),
|
124 |
);
|
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Ultimate Member
|
4 |
Plugin URI: http://ultimatemember.com/
|
5 |
Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress
|
6 |
-
Version: 1.0.
|
7 |
Author: Ultimate Member
|
8 |
Author URI: http://ultimatemember.com/
|
9 |
*/
|
@@ -57,4 +57,5 @@ Author URI: http://ultimatemember.com/
|
|
57 |
return $links;
|
58 |
|
59 |
}
|
60 |
-
|
|
3 |
Plugin Name: Ultimate Member
|
4 |
Plugin URI: http://ultimatemember.com/
|
5 |
Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress
|
6 |
+
Version: 1.0.67
|
7 |
Author: Ultimate Member
|
8 |
Author URI: http://ultimatemember.com/
|
9 |
*/
|
57 |
return $links;
|
58 |
|
59 |
}
|
60 |
+
$prefix = is_network_admin() ? 'network_admin_' : '';
|
61 |
+
add_filter( "{$prefix}plugin_action_links_$plugin", 'ultimatemember_plugin_links' );
|
readme.txt
CHANGED
@@ -7,7 +7,7 @@ Tags: access control, author, authors, author profile, comments, community, comm
|
|
7 |
Requires at least: 4.1
|
8 |
Tested up to: 4.1.1
|
9 |
|
10 |
-
Stable Tag: 1.0.
|
11 |
|
12 |
License: GNU Version 2 or Any Later Version
|
13 |
|
@@ -189,6 +189,15 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
|
|
189 |
|
190 |
== Changelog ==
|
191 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
192 |
= 1.0.66: February 25, 2015 =
|
193 |
|
194 |
* New: added option to send e-mails as HTML
|
7 |
Requires at least: 4.1
|
8 |
Tested up to: 4.1.1
|
9 |
|
10 |
+
Stable Tag: 1.0.67
|
11 |
|
12 |
License: GNU Version 2 or Any Later Version
|
13 |
|
189 |
|
190 |
== Changelog ==
|
191 |
|
192 |
+
= 1.0.67: February 26, 2015 =
|
193 |
+
|
194 |
+
* New: Improved the default HTML e-mail templates design
|
195 |
+
* New: added a bunch of action hooks to account tabs and content
|
196 |
+
* Tweak: added a few template tags to use in email: {site_url}, {user_account_link}
|
197 |
+
* Fixed: issue with making a checkbox required prior to registering
|
198 |
+
* Fixed: issue with comments showing in posts tab under profile
|
199 |
+
* Fixed: issue with plugin uninstallation link not showing in multisite
|
200 |
+
|
201 |
= 1.0.66: February 25, 2015 =
|
202 |
|
203 |
* New: added option to send e-mails as HTML
|
templates/email/approval_email.html
CHANGED
@@ -1,9 +1,40 @@
|
|
1 |
-
<
|
|
|
2 |
|
3 |
-
<div style="
|
4 |
|
5 |
-
<div style="font-
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
|
7 |
-
<div style="font-size:
|
8 |
-
|
9 |
-
<div style="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<html>
|
2 |
+
<body>
|
3 |
|
4 |
+
<div style="max-width: 600px;margin:20px auto;font-family: Open Sans,Helvetica,Arial;font-size: 15px;color: #666;">
|
5 |
|
6 |
+
<div style="background: #3ba1da;padding: 0 0 0 20px;color: #fff;font-weight: normal;border-radius: 5px">
|
7 |
+
<div style="float:left;padding: 20px 0;">{site_name}</div>
|
8 |
+
<div style="float:right;padding: 12px 12px 0 0;"><a href="{user_profile_link}" style="text-decoration: none;vertical-align: middle;color: #fff;"><img src="{user_avatar_url}" width="32" height="32" alt="" style="border-radius: 3px;border: 2px solid #fff;background: #fff;vertical-align: middle;margin-right: 10px;" />{display_name}</a></div>
|
9 |
+
<div style="clear:both"></div>
|
10 |
+
</div>
|
11 |
+
|
12 |
+
<div style="padding: 0 30px 30px 30px;border-bottom: 4px double #ccc;">
|
13 |
|
14 |
+
<div style="padding: 30px 0;font-size: 24px;text-align: center;line-height: 40px;"><span style="display: block;color:#333"><strong>Congratulations!</strong> Your {site_name} account has been approved!</span></div>
|
15 |
+
|
16 |
+
<div style="padding: 10px 0 50px 0;text-align: center;"><a href="{login_url}" style="background: #3ba1da;color: #fff;padding: 12px 30px;text-decoration: none;border-radius: 3px;letter-spacing: 1px;border: 4px double #fff;">Login to our site</a></div>
|
17 |
+
|
18 |
+
<div style="border: 1px solid #eee;padding: 0 0 15px 0;background: #fcfcfc;border-radius: 0 0 3px 3px;">
|
19 |
+
|
20 |
+
<div style="background: #eee;color: #444;padding: 12px 15px; border-radius: 3px 3px 0 0;font-weight: bold;font-size: 16px;">Account Information</div>
|
21 |
+
|
22 |
+
<div style="padding: 10px 15px 0 15px;color: #333;"><span style="color:#999">Your account e-mail:</span> <span style="font-weight:bold">{email}</span></div>
|
23 |
+
<div style="padding: 10px 15px 0 15px;color: #333;"><span style="color:#999">Your account username:</span> <span style="font-weight:bold">{username}</span></div>
|
24 |
+
<div style="padding: 10px 15px 0 15px;color: #333;"><span style="color:#999">Your account password:</span> <span style="font-weight:bold">{password}</span></div>
|
25 |
+
|
26 |
+
</div>
|
27 |
+
|
28 |
+
</div>
|
29 |
+
|
30 |
+
<div style="color: #999;padding: 20px 30px">
|
31 |
+
|
32 |
+
<div style="">Thank you!</div>
|
33 |
+
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
|
34 |
+
|
35 |
+
</div>
|
36 |
+
|
37 |
+
</div>
|
38 |
+
|
39 |
+
</body>
|
40 |
+
</html>
|
templates/email/changedpw_email.html
CHANGED
@@ -1,3 +1,32 @@
|
|
1 |
-
<
|
|
|
2 |
|
3 |
-
<div style="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<html>
|
2 |
+
<body>
|
3 |
|
4 |
+
<div style="max-width: 600px;margin:20px auto;font-family: Open Sans,Helvetica,Arial;font-size: 15px;color: #666;">
|
5 |
+
|
6 |
+
<div style="background: #3ba1da;padding: 0 0 0 20px;color: #fff;font-weight: normal;border-radius: 5px">
|
7 |
+
<div style="float:left;padding: 20px 0;">{site_name}</div>
|
8 |
+
<div style="float:right;padding: 12px 12px 0 0;"><a href="{user_profile_link}" style="text-decoration: none;vertical-align: middle;color: #fff;"><img src="{user_avatar_url}" width="32" height="32" alt="" style="border-radius: 3px;border: 2px solid #fff;background: #fff;vertical-align: middle;margin-right: 10px;" />{display_name}</a></div>
|
9 |
+
<div style="clear:both"></div>
|
10 |
+
</div>
|
11 |
+
|
12 |
+
<div style="padding: 0 30px 30px 30px;border-bottom: 4px double #ccc;">
|
13 |
+
|
14 |
+
<div style="padding: 30px 0;font-size: 20px;text-align: center;line-height: 32px;color: #333;">You recently changed the password associated with your {site_name} account.</div>
|
15 |
+
|
16 |
+
<div style="padding: 10px 0 50px 0;text-align: center;"><a href="{password_reset_link}" style="background: #3ba1da;color: #fff;padding: 12px 30px;text-decoration: none;border-radius: 3px;letter-spacing: 1px;border: 4px double #fff;">Go to your Account</a></div>
|
17 |
+
|
18 |
+
<div style="border: 1px solid #ddd;padding: 15px;background: #eee;border-radius: 3px;text-align: center;">If you did not make this change and believe your account has been compromised, please <a href="mailto:{admin_email}" style="color: #3ba1da;">contact us</a> immediately.</div>
|
19 |
+
|
20 |
+
</div>
|
21 |
+
|
22 |
+
<div style="color: #999;padding: 20px 30px">
|
23 |
+
|
24 |
+
<div style="">Thank you!</div>
|
25 |
+
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
|
26 |
+
|
27 |
+
</div>
|
28 |
+
|
29 |
+
</div>
|
30 |
+
|
31 |
+
</body>
|
32 |
+
</html>
|
templates/email/checkmail_email.html
CHANGED
@@ -1,3 +1,32 @@
|
|
1 |
-
<
|
|
|
2 |
|
3 |
-
<div style="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<html>
|
2 |
+
<body>
|
3 |
|
4 |
+
<div style="max-width: 600px;margin:20px auto;font-family: Open Sans,Helvetica,Arial;font-size: 15px;color: #666;">
|
5 |
+
|
6 |
+
<div style="background: #3ba1da;padding: 0 0 0 20px;color: #fff;font-weight: normal;border-radius: 5px">
|
7 |
+
<div style="float:left;padding: 20px 0;">{site_name}</div>
|
8 |
+
<div style="float:right;padding: 12px 12px 0 0;"><a href="{user_profile_link}" style="text-decoration: none;vertical-align: middle;color: #fff;"><img src="{user_avatar_url}" width="32" height="32" alt="" style="border-radius: 3px;border: 2px solid #fff;background: #fff;vertical-align: middle;margin-right: 10px;" />{display_name}</a></div>
|
9 |
+
<div style="clear:both"></div>
|
10 |
+
</div>
|
11 |
+
|
12 |
+
<div style="padding: 0 30px 30px 30px;border-bottom: 4px double #ccc;">
|
13 |
+
|
14 |
+
<div style="padding: 30px 0;font-size: 24px;text-align: center;line-height: 40px;">Thank you for signing up with {site_name}!<span style="display: block;color:#333">Please click the following link to activate your account.</span></div>
|
15 |
+
|
16 |
+
<div style="padding: 10px 0 50px 0;text-align: center;"><a href="{account_activation_link}" style="background: #3ba1da;color: #fff;padding: 12px 30px;text-decoration: none;border-radius: 3px;letter-spacing: 1px;border: 4px double #fff;">Activate your Account</a></div>
|
17 |
+
|
18 |
+
<div style="border: 1px solid #ddd;padding: 15px;background: #eee;border-radius: 3px;text-align: center;">Need help? <a href="mailto:{admin_email}" style="color: #3ba1da;">contact us</a> today.</div>
|
19 |
+
|
20 |
+
</div>
|
21 |
+
|
22 |
+
<div style="color: #999;padding: 20px 30px">
|
23 |
+
|
24 |
+
<div style="">Thank you!</div>
|
25 |
+
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
|
26 |
+
|
27 |
+
</div>
|
28 |
+
|
29 |
+
</div>
|
30 |
+
|
31 |
+
</body>
|
32 |
+
</html>
|
templates/email/deletion_email.html
CHANGED
@@ -1,3 +1,32 @@
|
|
1 |
-
<
|
|
|
2 |
|
3 |
-
<div style="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<html>
|
2 |
+
<body>
|
3 |
|
4 |
+
<div style="max-width: 600px;margin:20px auto;font-family: Open Sans,Helvetica,Arial;font-size: 15px;color: #666;">
|
5 |
+
|
6 |
+
<div style="background: #3ba1da;padding: 0 0 0 20px;color: #fff;font-weight: normal;border-radius: 5px">
|
7 |
+
<div style="float:left;padding: 20px 0;">{site_name}</div>
|
8 |
+
<div style="float:right;padding: 12px 12px 0 0;"><a href="{user_profile_link}" style="text-decoration: none;vertical-align: middle;color: #fff;"><img src="{user_avatar_url}" width="32" height="32" alt="" style="border-radius: 3px;border: 2px solid #fff;background: #fff;vertical-align: middle;margin-right: 10px;" />{display_name}</a></div>
|
9 |
+
<div style="clear:both"></div>
|
10 |
+
</div>
|
11 |
+
|
12 |
+
<div style="padding: 0 30px 30px 30px;border-bottom: 4px double #ccc;">
|
13 |
+
|
14 |
+
<div style="padding: 30px 0;font-size: 24px;text-align: center;line-height: 40px;"><span style="display: block;color:#333">This is an automated email to let you know your account has been deleted.</span></div>
|
15 |
+
|
16 |
+
<div style="padding: 0 0 30px 0; font-size: 16px;text-align: center;line-height: 28px;">All of your personal information has been permanently deleted and you will no longer be able to login to {site_name}.</div>
|
17 |
+
|
18 |
+
<div style="border: 1px solid #ddd;padding: 15px;background: #eee;border-radius: 3px;text-align: center;">If your account has been deleted by accident please <a href="mailto:{admin_email}" style="color: #3ba1da;">contact us</a> immediately.</div>
|
19 |
+
|
20 |
+
</div>
|
21 |
+
|
22 |
+
<div style="color: #999;padding: 20px 30px">
|
23 |
+
|
24 |
+
<div style="">Thank you!</div>
|
25 |
+
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
|
26 |
+
|
27 |
+
</div>
|
28 |
+
|
29 |
+
</div>
|
30 |
+
|
31 |
+
</body>
|
32 |
+
</html>
|
templates/email/footer.html
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
<div style="font-size: 13px;margin-bottom: 20px;">If you have any problems, please contact us at {admin_email}</div>
|
2 |
-
|
3 |
-
<div style="font-size: 13px;margin-bottom: 4px;">Thanks,</div>
|
4 |
-
<div style="font-size: 13px;margin-bottom: 4px;">{site_name}</div>
|
5 |
-
|
6 |
-
</div>
|
7 |
-
|
8 |
-
</div>
|
9 |
-
|
10 |
-
</body>
|
11 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/email/header.html
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
<html>
|
2 |
-
<body>
|
3 |
-
|
4 |
-
<div style="max-width: 600px;margin:20px auto;font-family: Arial;">
|
5 |
-
|
6 |
-
<div style="background: #3ba1da;padding: 0 20px;color: #fff;font-size: 16px;font-weight: normal;border-radius: 5px 5px 0 0;">
|
7 |
-
<div style="float:left;padding: 15px 0;">{site_name}</div>
|
8 |
-
<div style="float:right;padding: 7px 0 0 0;"><a href="{user_profile_link}"><img src="{user_avatar_url}" width="32" height="32" alt="" style="border-radius: 3px;border: 2px solid #fff;background: #fff;" /></a></div>
|
9 |
-
<div style="clear:both"></div>
|
10 |
-
</div>
|
11 |
-
|
12 |
-
<div style="padding: 20px;border: 1px solid #ccc;border-top: 0;border-radius: 0 0 5px 5px;color: #444;">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/email/inactive_email.html
CHANGED
@@ -1,3 +1,30 @@
|
|
1 |
-
<
|
|
|
2 |
|
3 |
-
<div style="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<html>
|
2 |
+
<body>
|
3 |
|
4 |
+
<div style="max-width: 600px;margin:20px auto;font-family: Open Sans,Helvetica,Arial;font-size: 15px;color: #666;">
|
5 |
+
|
6 |
+
<div style="background: #3ba1da;padding: 0 0 0 20px;color: #fff;font-weight: normal;border-radius: 5px">
|
7 |
+
<div style="float:left;padding: 20px 0;">{site_name}</div>
|
8 |
+
<div style="float:right;padding: 12px 12px 0 0;"><a href="{user_profile_link}" style="text-decoration: none;vertical-align: middle;color: #fff;"><img src="{user_avatar_url}" width="32" height="32" alt="" style="border-radius: 3px;border: 2px solid #fff;background: #fff;vertical-align: middle;margin-right: 10px;" />{display_name}</a></div>
|
9 |
+
<div style="clear:both"></div>
|
10 |
+
</div>
|
11 |
+
|
12 |
+
<div style="padding: 0 30px 30px 30px;border-bottom: 4px double #ccc;">
|
13 |
+
|
14 |
+
<div style="padding: 30px 0;font-size: 24px;text-align: center;line-height: 40px;"><span style="display: block;color:#333">This is an automated email to let you know your {site_name} account has been deactivated.</span></div>
|
15 |
+
|
16 |
+
<div style="border: 1px solid #ddd;padding: 15px;background: #eee;border-radius: 3px;text-align: center;">If you would like your account to be re-activated please <a href="mailto:{admin_email}" style="color: #3ba1da;">contact us</a>.</div>
|
17 |
+
|
18 |
+
</div>
|
19 |
+
|
20 |
+
<div style="color: #999;padding: 20px 30px">
|
21 |
+
|
22 |
+
<div style="">Thank you!</div>
|
23 |
+
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
|
24 |
+
|
25 |
+
</div>
|
26 |
+
|
27 |
+
</div>
|
28 |
+
|
29 |
+
</body>
|
30 |
+
</html>
|
templates/email/pending_email.html
CHANGED
@@ -1,3 +1,30 @@
|
|
1 |
-
<
|
|
|
2 |
|
3 |
-
<div style="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<html>
|
2 |
+
<body>
|
3 |
|
4 |
+
<div style="max-width: 600px;margin:20px auto;font-family: Open Sans,Helvetica,Arial;font-size: 15px;color: #666;">
|
5 |
+
|
6 |
+
<div style="background: #3ba1da;padding: 0 0 0 20px;color: #fff;font-weight: normal;border-radius: 5px">
|
7 |
+
<div style="float:left;padding: 20px 0;">{site_name}</div>
|
8 |
+
<div style="float:right;padding: 12px 12px 0 0;"><a href="{user_profile_link}" style="text-decoration: none;vertical-align: middle;color: #fff;"><img src="{user_avatar_url}" width="32" height="32" alt="" style="border-radius: 3px;border: 2px solid #fff;background: #fff;vertical-align: middle;margin-right: 10px;" />{display_name}</a></div>
|
9 |
+
<div style="clear:both"></div>
|
10 |
+
</div>
|
11 |
+
|
12 |
+
<div style="padding: 0 30px 30px 30px;border-bottom: 4px double #ccc;">
|
13 |
+
|
14 |
+
<div style="padding: 30px 0;font-size: 20px;text-align: center;line-height: 32px;color: #333;">Thank you for signing up with {site_name}! Your account has to be manually reviewed before you can login.</div>
|
15 |
+
|
16 |
+
<div style="border: 1px solid #ddd;padding: 15px;background: #eee;border-radius: 3px;text-align: center;">Please allow us some time to process your request and review your information.</div>
|
17 |
+
|
18 |
+
</div>
|
19 |
+
|
20 |
+
<div style="color: #999;padding: 20px 30px">
|
21 |
+
|
22 |
+
<div style="">Thank you!</div>
|
23 |
+
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
|
24 |
+
|
25 |
+
</div>
|
26 |
+
|
27 |
+
</div>
|
28 |
+
|
29 |
+
</body>
|
30 |
+
</html>
|
templates/email/rejected_email.html
CHANGED
@@ -1,3 +1,30 @@
|
|
1 |
-
<
|
|
|
2 |
|
3 |
-
<div style="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<html>
|
2 |
+
<body>
|
3 |
|
4 |
+
<div style="max-width: 600px;margin:20px auto;font-family: Open Sans,Helvetica,Arial;font-size: 15px;color: #666;">
|
5 |
+
|
6 |
+
<div style="background: #3ba1da;padding: 0 0 0 20px;color: #fff;font-weight: normal;border-radius: 5px">
|
7 |
+
<div style="float:left;padding: 20px 0;">{site_name}</div>
|
8 |
+
<div style="float:right;padding: 12px 12px 0 0;"><a href="{user_profile_link}" style="text-decoration: none;vertical-align: middle;color: #fff;"><img src="{user_avatar_url}" width="32" height="32" alt="" style="border-radius: 3px;border: 2px solid #fff;background: #fff;vertical-align: middle;margin-right: 10px;" />{display_name}</a></div>
|
9 |
+
<div style="clear:both"></div>
|
10 |
+
</div>
|
11 |
+
|
12 |
+
<div style="padding: 0 30px 30px 30px;border-bottom: 4px double #ccc;">
|
13 |
+
|
14 |
+
<div style="padding: 30px 0;font-size: 24px;text-align: center;line-height: 40px;"><span style="display: block;color:#333"><strong>We apologize.</strong> Your registration request on {site_name} has been rejected.</span></div>
|
15 |
+
|
16 |
+
<div style="border: 1px solid #ddd;padding: 15px;background: #eee;border-radius: 3px;text-align: center;">Please feel free to apply at a future date or <a href="mailto:{admin_email}" style="color: #3ba1da;">contact us</a> If you want your information to be reviewed again.</div>
|
17 |
+
|
18 |
+
</div>
|
19 |
+
|
20 |
+
<div style="color: #999;padding: 20px 30px">
|
21 |
+
|
22 |
+
<div style="">Thank you!</div>
|
23 |
+
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
|
24 |
+
|
25 |
+
</div>
|
26 |
+
|
27 |
+
</div>
|
28 |
+
|
29 |
+
</body>
|
30 |
+
</html>
|
templates/email/resetpw_email.html
CHANGED
@@ -1,5 +1,32 @@
|
|
1 |
-
<
|
|
|
2 |
|
3 |
-
<div style="
|
4 |
|
5 |
-
<div style="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<html>
|
2 |
+
<body>
|
3 |
|
4 |
+
<div style="max-width: 600px;margin:20px auto;font-family: Open Sans,Helvetica,Arial;font-size: 15px;color: #666;">
|
5 |
|
6 |
+
<div style="background: #3ba1da;padding: 0 0 0 20px;color: #fff;font-weight: normal;border-radius: 5px">
|
7 |
+
<div style="float:left;padding: 20px 0;">{site_name}</div>
|
8 |
+
<div style="float:right;padding: 12px 12px 0 0;"><a href="{user_profile_link}" style="text-decoration: none;vertical-align: middle;color: #fff;"><img src="{user_avatar_url}" width="32" height="32" alt="" style="border-radius: 3px;border: 2px solid #fff;background: #fff;vertical-align: middle;margin-right: 10px;" />{display_name}</a></div>
|
9 |
+
<div style="clear:both"></div>
|
10 |
+
</div>
|
11 |
+
|
12 |
+
<div style="padding: 0 30px 30px 30px;border-bottom: 4px double #ccc;">
|
13 |
+
|
14 |
+
<div style="padding: 30px 0;font-size: 20px;text-align: center;line-height: 32px;color: #333;">We received a request to reset the password for your account. If you made this request, click the link below to change your password:</div>
|
15 |
+
|
16 |
+
<div style="padding: 10px 0 50px 0;text-align: center;"><a href="{password_reset_link}" style="background: #3ba1da;color: #fff;padding: 12px 30px;text-decoration: none;border-radius: 3px;letter-spacing: 1px;border: 4px double #fff;">Reset your password</a></div>
|
17 |
+
|
18 |
+
<div style="border: 1px solid #ddd;padding: 15px;background: #eee;border-radius: 3px;text-align: center;">If you didn't make this request, you can ignore this email or <a href="mailto:{admin_email}" style="color: #3ba1da;">report it to us</a>.</div>
|
19 |
+
|
20 |
+
</div>
|
21 |
+
|
22 |
+
<div style="color: #999;padding: 20px 30px">
|
23 |
+
|
24 |
+
<div style="">Thank you!</div>
|
25 |
+
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
|
26 |
+
|
27 |
+
</div>
|
28 |
+
|
29 |
+
</div>
|
30 |
+
|
31 |
+
</body>
|
32 |
+
</html>
|
templates/email/welcome_email.html
CHANGED
@@ -1,9 +1,40 @@
|
|
1 |
-
<
|
|
|
2 |
|
3 |
-
<div style="
|
4 |
|
5 |
-
<div style="font-
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
|
7 |
-
<div style="font-size:
|
8 |
-
|
9 |
-
<div style="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<html>
|
2 |
+
<body>
|
3 |
|
4 |
+
<div style="max-width: 600px;margin:20px auto;font-family: Open Sans,Helvetica,Arial;font-size: 15px;color: #666;">
|
5 |
|
6 |
+
<div style="background: #3ba1da;padding: 0 0 0 20px;color: #fff;font-weight: normal;border-radius: 5px">
|
7 |
+
<div style="float:left;padding: 20px 0;">{site_name}</div>
|
8 |
+
<div style="float:right;padding: 12px 12px 0 0;"><a href="{user_profile_link}" style="text-decoration: none;vertical-align: middle;color: #fff;"><img src="{user_avatar_url}" width="32" height="32" alt="" style="border-radius: 3px;border: 2px solid #fff;background: #fff;vertical-align: middle;margin-right: 10px;" />{display_name}</a></div>
|
9 |
+
<div style="clear:both"></div>
|
10 |
+
</div>
|
11 |
+
|
12 |
+
<div style="padding: 0 30px 30px 30px;border-bottom: 4px double #ccc;">
|
13 |
|
14 |
+
<div style="padding: 30px 0;font-size: 24px;text-align: center;line-height: 40px;">Thank you for signing up with {site_name}!<span style="display: block;color:#333">Your account is now active.</span></div>
|
15 |
+
|
16 |
+
<div style="padding: 10px 0 50px 0;text-align: center;"><a href="{login_url}" style="background: #3ba1da;color: #fff;padding: 12px 30px;text-decoration: none;border-radius: 3px;letter-spacing: 1px;border: 4px double #fff;">Login to our site</a></div>
|
17 |
+
|
18 |
+
<div style="border: 1px solid #eee;padding: 0 0 15px 0;background: #fcfcfc;border-radius: 0 0 3px 3px;">
|
19 |
+
|
20 |
+
<div style="background: #eee;color: #444;padding: 12px 15px; border-radius: 3px 3px 0 0;font-weight: bold;font-size: 16px;">Account Information</div>
|
21 |
+
|
22 |
+
<div style="padding: 10px 15px 0 15px;color: #333;"><span style="color:#999">Your account e-mail:</span> <span style="font-weight:bold">{email}</span></div>
|
23 |
+
<div style="padding: 10px 15px 0 15px;color: #333;"><span style="color:#999">Your account username:</span> <span style="font-weight:bold">{username}</span></div>
|
24 |
+
<div style="padding: 10px 15px 0 15px;color: #333;"><span style="color:#999">Your account password:</span> <span style="font-weight:bold">{password}</span></div>
|
25 |
+
|
26 |
+
</div>
|
27 |
+
|
28 |
+
</div>
|
29 |
+
|
30 |
+
<div style="color: #999;padding: 20px 30px">
|
31 |
+
|
32 |
+
<div style="">Thank you!</div>
|
33 |
+
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
|
34 |
+
|
35 |
+
</div>
|
36 |
+
|
37 |
+
</div>
|
38 |
+
|
39 |
+
</body>
|
40 |
+
</html>
|
templates/profile/posts.php
CHANGED
@@ -22,4 +22,4 @@
|
|
22 |
|
23 |
<?php ( um_is_myprofile() ) ? _e('You have not created any posts.','ultimatemember') : _e('This user has not created any posts.','ultimatemember'); ?>
|
24 |
|
25 |
-
<?php } ?>
|
22 |
|
23 |
<?php ( um_is_myprofile() ) ? _e('You have not created any posts.','ultimatemember') : _e('This user has not created any posts.','ultimatemember'); ?>
|
24 |
|
25 |
+
<?php } wp_reset_postdata(); ?>
|