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
You are here: Home

nullsignature

  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • November 6, 2018 at 1:05 am in reply to: Expiration emails are addressed to one user and other users are BCC'd #78750
    nullsignature
    Member

    You guys are great! Thank you!

    October 30, 2018 at 5:45 pm in reply to: Expiration emails are addressed to one user and other users are BCC'd #78748
    nullsignature
    Member

    Yes, I would prefer to hardcode one of my own addresses as the primary recipient if that’s possible.

    September 24, 2018 at 12:04 pm in reply to: Download link for eStore integration instead of shortcode #78578
    nullsignature
    Member

    Hmmm. I need to execute some custom code when the button is clicked. What function/file is executed when this occurs? If I find that I should be able to make do.

    September 23, 2018 at 2:25 am in reply to: Limit download count question #78574
    nullsignature
    Member

    Thanks for the responses. Is there a shortcode/function that can get the number of remaining downloads for a user?

    September 19, 2018 at 9:49 pm in reply to: Allow user to purchase subscription upgrade but not change account expiration #78570
    nullsignature
    Member

    Or I could just have the hook execute the upgrade. I really overthought that one.

    Is there a hook for when a product is purchased, and then a way to get the product ID of what was purchased?

    Here’s some pseudo code to demonstrate what I’m asking:

    add_action(UpgradeMember, wp_estore_item_purchased)

    function UpgradeMember($member, $product_id){

    if($product_id == 3){

    $member[membership_level] = “Plan 2”;

    }

    }

    September 19, 2018 at 12:08 pm in reply to: Allow user to purchase subscription upgrade but not change account expiration #78569
    nullsignature
    Member

    I want their subscription to expire from the original date of purchase, regardless of when they upgrade. It could be a week after they purchase or a week before they expire.

    Plan 2 is the same as Plan 1, except it includes links to some digital downloads. So basically, by upgrading from Plan 1 to Plan 2, all they’d be doing is buying these downloads- not really buying an upgraded subscription with different access levels. I want to keep the digital download tied to membership (and not standalone products) due to how the site is structured and accessed.

    Am I correct in that the shortcode [wp_eMember_upgrade_membership_level_to level=”#”] does not extend the expiration?

    I’m thinking of using a hook that generates a random code for a user when they purchase that upgrade, then they enter that code in order to execute the upgrade shortcode. I just need a way to get the random code to the user. Does the post payment action add-on support variables in emails?

    September 15, 2018 at 2:14 pm in reply to: All users to purchase a membership and a membership-only digital download #78541
    nullsignature
    Member

    Thanks for the responses!

    If two different memberships are added to a checkout cart and purchased, how does it determine which one will be primary?

    September 3, 2018 at 2:55 pm in reply to: When a user registers I'd like to add their member_id to a different table #78456
    nullsignature
    Member

    Edit: figured it out. $member_data is an array that doesn’t need to be passed by add_action. Here’s my code for any future searchers. This inserts the newly registered user’s ID into a table called user_question_history.

    function handle_eMember_registration_complete_event($member_data)
    {
    global $wpdb;
    $wpdb->insert('user_question_history', array('user_id' => $member_data['member_id']));
    }
    add_action('eMember_registration_complete','handle_eMember_registration_complete_event');

    September 3, 2018 at 2:20 pm in reply to: When a user registers I'd like to add their member_id to a different table #78455
    nullsignature
    Member

    Thanks! I’ll give this a shot.

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)

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