return '<span style="color:red;">Simple Membership is not configured correctly.'
. 'Please contact <a href="mailto:' . get_option('admin_email'). '">Admin</a>';
}
- return BUtils::_('Please'). ' <a class="swpm-login-link" href="' . $login . '">' . BUtils::_('Login') . '</a>. '. BUtils::_('Not a Member?').' <a href="' . $joinus . '">'.BUtils::_('Join Us').'</a>';
+// return BUtils::_('Please'). ' <a class="swpm-login-link" href="' . $login . '">' . BUtils::_('Login') . '</a>. '. BUtils::_('Not a Member?').' <a href="' . $joinus . '">'.BUtils::_('Join Us').'</a>';
+ return BUtils::_('Login'). '<script>window.location.assign("http://wequeassoc.gaslightmedia.com/?page_id=35")</script>';
+// . BUtils::_('Login') . '</a>. '. BUtils::_('Not a Member?').' <a href="' . $joinus . '">'.BUtils::_('Join Us').'</a>';
}
}
echo '<h4>' . __("Do you want to protect this content?", 'swpm') . '</h4>';
echo '<input type="radio" ' . ((!$is_protected) ? 'checked' : "") .
' name="swpm_protect_post" value="1" /> No, Do not protect this content. <br/>';
- echo '<input type="radio" ' . (($is_protected) ? 'checked' : "") .
- ' name="swpm_protect_post" value="2" /> Yes, Protect this content.<br/>';
+ echo '<input type="radio" checked name="swpm_protect_post" value="2" /> Yes, Protect this content.<br/>';
+// echo '<input type="radio" ' . (($is_protected) ? 'checked' : "") .
+ // ' name="swpm_protect_post" value="2" /> Yes, Protect this content.<br/>';
echo '<h4>' . __("Select the membership level that can access this content:", 'swpm') . "</h4>";
$query = "SELECT * FROM " . $wpdb->prefix . "swpm_membership_tbl WHERE id !=1 ";
$levels = $wpdb->get_results($query, ARRAY_A);
foreach ($levels as $level) {
- echo '<input type="checkbox" ' . (BPermission::get_instance($level['id'])->is_permitted($id) ? "checked='checked'" : "") .
+ echo '<input type="checkbox" checked' . (BPermission::get_instance($level['id'])->is_permitted($id) ? "checked='checked'" : "") .
' name="swpm_protection_level[' . $level['id'] . ']" value="' . $level['id'] . '" /> ' . $level['alias'] . "<br/>";
}
}
Plugin URI: https://simple-membership-plugin.com/
Author: smp7, wp.insider
Author URI: https://simple-membership-plugin.com/
-Description: A flexible, well-supported, and easy-to-use WordPress membership plugin for offering free and premium content from your WordPress site.
+Description: MODIFIED BY Gaslight Media - *** Do not update! ***
*/
//Direct access to this file is not permitted