The Professional Membership Plugin for WordPress

 

YM 11.0.6 Change Logs

Below are the Change Logs for 11.0.6 a minor revision for the version 11 branch of Your Members, Premium Support holders can refer to nightly build information for their latest version.

We are pleased to announce 11.0.6 which includes:

Bug Fixes

  • Process Javascript CallBack scripts correctly
  • Strip slashes from CallBack JS to store/run correctly
  • Fixed a pair of calls to ym_additional_code, that were missing arguments (Forum Post)
  • Fix to How Context Help is called (Forum Post)
  • Fix to Obsolete code/function firing where a Package has a Drop Down Target
  • Fix to Obsolete code/function firing which was expiring Users for no reason
  • Fixed setting a Force End Date, it wasn’t saving inside the Admin Interface (Forum Post)
  • Repairs to Facebook Credits
  • Missing Currency Display from the Buy Content and Buy Bundle Shortcodes
  • When saving a post not published, the Pay Per Post and Access restrictions/member type access permissions were not being saved (for example future publishing), this has been fixed

New Features

  • Extension to the ym_membership_content as shown on the Membership Content Tab and as a shortcode, to include purchased Bundle information, and accept arguments to control what is shown (for the shortcode version)
    • show – contain posts, or bundles, or premium, or a CSV of a combination, default “posts,bundles,premium”, does not control order of display.
    • snippets – show a brief snippet from the post content next to a post, true/false, default false
    • with_boxes – adds titles and divs around each section, true/false, default false
    • with_expires – show access expiry information, true/false, default false
  • Two new shortcodes, ym_all_content and ym_all_bundles, replaces ym_all_ppp

    If a Max is set on either pagination occurs

    ym_all_content supports

    • category – restrict the available posts shown to a specific category either by category name or ID
    • hide_purchased – remove already purchased posts from the page
    • max – specify a maximum number of posts to show (default is all of them)
    • gateways – passes thru to the ym_buy_content shortcode
    • hidecoupon – passes thru to the ym_buy_content shortcode

    ym_all_bundles supports

    • hide_purchased – remove already purchased posts from the page
    • max – specify a maximum number of posts to show (default is all of them)
    • gateways – passes thru to the ym_buy_bundle shortcode
    • hidecoupon – passes thru to the ym_buy_bundle shortcode
    • list_contents – passes thru to the ym_buy_bundle shortcode, will also show the contents on this page
  • The YM_Upgrade shortcode supports loading the ID to use from the $_REQUEST var of ID
  • ym_featured_content shortcode to show Featured Individual Content, supports the same options as ym_all_content
  • Added shortcodes,
    • ym_content_units_left
    • ym_content_units_sold
    • ym_content_units_limit
    • ym_content_expiry_date
    • ym_content_purchase_date
    • -
    • ym_bundle_units_left
    • ym_bundle_units_sold
    • ym_bundle_units_limit
    • ym_bundle_expiry_date
    • ym_bundle_purchase_date
  • Added new ShortCode ym_user_is

    It Supports, returning content within the tag, when a item of userdata matches one of the following, this shortcode can only test a single argument, if you pass it more than one then false (empty string) is returned

    • package – a Package ID
    • package_type – a Package Type
    • username – a Username
    • role – a WordPress role or Capability, this uses the current_user_can function
  • Added ym_user_is_not which returns the opposite

Misc

  • If Duration or Trial Duration for a Pack is set to 0/blank, set to 1 instead.
  • Purchasable Post Pack Template, became deprecated and was removed
  • Fixed the checkbox not auto checking on the Members Edit page for changing expiry date
  • Certain In Built Custom Fields had the required attribute locked, now unlocked for said fields
  • New Cron Function – If a post is a featured purchasable and is not purchasable, remove the featured flag

Deprecation

  • The Shortcodes [user_account_is] and [private_username_is] are deprecated and will be removed in the next release, replace with [ym_user_is]

Upgrade Tasks

Moves to Database Version 5.

  • Removes and adds some YM_Res Entries