Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Nested Shortcode (Not Resolved by editing wp_eMember1.php)

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › Nested Shortcode (Not Resolved by editing wp_eMember1.php)

  • This topic has 8 replies, 3 voices, and was last updated 13 years, 4 months ago by admin.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • February 13, 2012 at 7:36 pm #5548
    reepsy
    Member

    I have a situation with two wp-eMember shortcodes nested, where the second one is displaying itself rather than it’s output. There is another shortcode within the outer wp-eMember shortcode that is working properly after modifying wp_eMember1.php. But two wp_eMember shortcodes together are not. Here is the code in question:

    [emember_protected for=2 do_not_show_restricted_msg=1]

    You are not yet a Member

    [sf_become_member_link]

    Note: Please use the email address [wp_eMember_user_details user_info=”email”] when making your payment at Paypal.

    [/emember_protected]

    So this member is at the free level, and I am providing a link to PayPal to become a paid member. The [sf_become_member_link] creates the button to do that, and works fine. However, if they don’t use the email associated with their free account when they get to PayPal, they will create a new account on my site, rather than upgrade the existing one. So I am adding a note there to remind them of which email we have on record for them. But that shortcode is not working. The shortcode tag itself is all that comes through. I can confirm that I changed wp_eMember1.php to: add_filter(‘the_content’, ‘do_shortcode’), which is the only reason my shortcode for the PayPal button is working. Cannot I not nest the wp_eMember_user_details within a protect block?

    Also, is there a better way to take a free user to PayPal with the email I have on file for them? Can it just be part of the button itself? I know they can still change it over at PayPal, but I don’t see anyway to make it bullet-proof.

    February 13, 2012 at 10:44 pm #41906
    Peter
    Member

    Hi,

    You mention that you have “two wp-eMember shortcodes nested, where the second one is displaying itself rather than it’s output”.

    I can only see one eMember shortcode, ie, [wp_eMember_user_details user_info=”email”]

    This one doesn’t appear to be from eMember:

    [sf_become_member_link]

    February 13, 2012 at 11:06 pm #41907
    reepsy
    Member

    Peter,

    Yes, [sf_become_member_link] is mine, and it is working properly. This one:

    [wp_eMember_user_details user_info=”email”]

    is also nested, from wp-eMember, and is not working. It is simply displaying that text, rather than generating the user’s email address.

    February 14, 2012 at 1:57 am #41908
    admin
    Keymaster

    What version of eMember are you using?

    February 14, 2012 at 2:05 am #41909
    reepsy
    Member

    According to wp_eMember.php:

    Plugin Name: WP eMember

    Version: v7.4.3

    February 14, 2012 at 2:49 am #41910
    admin
    Keymaster

    Thanks, We recently added the “user details” shortcode so it may not be in the version that you are using. Please try load a new build of the plugin from here:

    https://support.tipsandtricks-hq.com/update-request

    February 14, 2012 at 3:10 am #41911
    reepsy
    Member

    I followed that link, and the link sent to me in email resulted in a download with the same version # (7.4.3). At least that’s what it says in wp_eMember.php

    February 14, 2012 at 6:32 pm #41912
    reepsy
    Member

    Any follow up here? I really don’t want to install the same version over what I have now.

    February 14, 2012 at 11:59 pm #41913
    admin
    Keymaster

    It is impossible to download v7.4.3 now from the link I gave you above. You most likely had an older copy sitting in the folder that you downloaded to. If you download eMember plugin from that link you will get v7.6.x

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ