Changeset 2209130
- Timestamp:
- 12/10/2019 09:40:11 AM (6 years ago)
- Location:
- elearning-memberships/trunk
- Files:
-
- 1 deleted
- 6 edited
-
elm.php (modified) (1 diff)
-
includes/admin/class-elm-register-settings.php (modified) (1 diff)
-
includes/class-elm-access.php (modified) (1 diff)
-
includes/class-elm-members-frontend.php (modified) (1 diff)
-
includes/elm-core-functions.php (modified) (1 diff)
-
includes/membershipfieldaddon (deleted)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
elearning-memberships/trunk/elm.php
r2170332 r2209130 4 4 Plugin URI: https://ristrettoapps.com/downloads/elm/ 5 5 Description: Simple, Clean, and Robust Membership Site for ELearning Websites 6 Version: 1. 06 Version: 1.1 7 7 Author: RistrettoApps 8 8 Author URI: http://ristrettoapps.com -
elearning-memberships/trunk/includes/admin/class-elm-register-settings.php
r2170332 r2209130 256 256 $options[$key] = sanitize_text_field($value); 257 257 } 258 258 259 // merge old options with new optins 259 $output = array_merge( $elm_options, $options ); 260 if(!empty($elm_options)){ 261 $output = array_merge( $elm_options, $options ); 262 }else{ 263 $output = $options; 264 } 260 265 261 266 return $output; -
elearning-memberships/trunk/includes/class-elm-access.php
r2170332 r2209130 79 79 // 80 80 if (!Ristretto_Elm_Access_Check::has_access($post->ID, get_current_user_id())) { 81 $message = (!empty( get_option( 'elm_unauthorized_message')))?trim( get_option( 'elm_unauthorized_message')): __("This page is restricted", 'ristretto-elm');81 $message = (!empty(elm_get_options( 'elm_unauthorized_message')))?trim( elm_get_options( 'elm_unauthorized_message')): __("This page is restricted", 'ristretto-elm'); 82 82 return nl2br($message); 83 83 } -
elearning-memberships/trunk/includes/class-elm-members-frontend.php
r2170332 r2209130 102 102 return do_shortcode( $content ); 103 103 }else{ 104 $message = (!empty( get_option( 'elm_partial_restrict_message')))?trim( get_option( 'elm_partial_restrict_message')): __("This page is restricted", 'ristretto-elm');104 $message = (!empty(elm_get_options( 'elm_partial_restrict_message')))?trim( elm_get_options( 'elm_partial_restrict_message')): __("This page is restricted", 'ristretto-elm'); 105 105 return '<span class="elm_partial_restrict_message">'.$message.'</span>'; 106 106 } -
elearning-memberships/trunk/includes/elm-core-functions.php
r2170332 r2209130 218 218 return $active_levels; 219 219 220 } 220 } 221 222 223 /** 224 * GET all SETTINGS OPTIONS, if key is not null, return only that key value 225 * 226 * @param $key string 227 * 228 * @return array 229 */ 230 function elm_get_options($key=''){ 231 232 $options = get_option( 'elm_settings' ); 233 234 if(!empty($key)){ 235 $option = (isset($options[$key]))?$options[$key]:''; 236 return $option; 237 } 238 239 return $options; 240 } 221 241 ?> -
elearning-memberships/trunk/readme.txt
r2170332 r2209130 25 25 > * No messing around with complex membership plugin features. Get just the membership features you need to manage your eLearning site, without complex configurations <br /> 26 26 > * Built-in registration form for registering free new members (without payments) *OR if you want to register with payments . . .*<br /> 27 > * Checkout and Register new members with amazing, flexible payment systems such as: Gravity Forms, Easy Digital Downloads (much more integrations coming soon!) <br /> 28 > * Subscription Support with Stripe, PayPal, or Authorize.net (via Gravity Forms, EDD for registrations) <br /> 29 > * Dead Simple User Management with easy Member Dashboard <br /> 27 > * Partial protection of any page/post with shortcodes <br /> 30 28 > * Bulk protect any content in your site by protecting tags and/or categories <br /> 31 29 > * Performance Focused and Light-Weight <br /> 32 > * Remove a member once from your course and they’re automatically removed from any non-course content you’ve protected as well <br />33 30 > * Gutenberg Compatible <br /> 34 31 > * PLUS more....<br /> … … 36 33 37 34 = Features Coming Soon = 35 * Dead Simple User Management with easy Member Dashboard <br /> 38 36 * Built-in PayPal Registrations 39 37 * Detailed Member Tracking Reports 38 * Checkout and Register new members with amazing, flexible payment systems such as: Gravity Forms, Easy Digital Downloads (much more integrations coming soon!) <br /> 39 * Subscription Support with Stripe, PayPal, or Authorize.net (via Gravity Forms, EDD for registrations) <br /> 40 40 41 * Whatever else you want ([let us know] https://ristrettoapps.com/contact/)) 41 42 … … 54 55 1. In your Edit Page or Post screen, look for the Ristretto ELM box below the editor and select the ELM membership levels you'd like to use to protect this page or post. Doing so will ensure that only members of those levels will be able to see this content (with the exception of site administrators) 55 56 57 == Frequently Asked Questions == 58 59 = How do I protect partial content on a page/post? = 60 61 Use the following shortcode: [elm_restrict userlevel=levelname]Your partial content to protect[/elm_restrict] 62 63 = How do I embed the member registration form? = 64 65 Use the following shortcode: [elm_register_form] 66 Note that this feature doesn't currently accept payments, it's for free member registrations only. 67 56 68 57 69 == Screenshots == … … 62 74 == Changelog == 63 75 64 * Released first version 76 = 1.1 = 77 * Fixed issue with Unauthorized Access Message and Partial Access Message boxes not saving entered messages. 78 * Updated readme with new info and corrections to current features 79 80 = 1.0 = 81 * First version 82
Note: See TracChangeset
for help on using the changeset viewer.