Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › [wp_eStore_download_now_button id=1] not working
Tagged: wp estore download button
- This topic has 15 replies, 4 voices, and was last updated 13 years, 4 months ago by SeizedPropaganda.
-
AuthorPosts
-
June 4, 2011 at 7:23 am #3527SeizedPropagandaMember
I’m trying to add the following shortcode on my member download page (using eStore along with eMember):
[emember_protected for=2]
iFeature Pro Download
[wp_eStore_download_now_button id=1]
[/emember_protected]
However on the actual download page when logged in it simply displays:
[wp_eStore_download_now_button id=1]
Without the actual download link, any thoughts?
June 4, 2011 at 10:43 am #33052wzpModeratorDo you have a product, whose product ID is 1?
June 4, 2011 at 6:34 pm #33053SeizedPropagandaMemberYes I most certainly do.
Also, i have tested out this shortcode on other pages and it works just fine, it just doesn’t seem to want to work when wrapped in the eMember shortcode, which is pretty important to me.
Perhaps this should be moved to the eMember forum?
June 5, 2011 at 1:06 am #33054amin007ParticipantThose shortcodes should definitely work even when you use them in a nested configuration. I just tested them on my test site. Just to eliminate any other possibility… can you please download a fresh build of the two plugins from here and try it out?
June 5, 2011 at 7:33 am #33055SeizedPropagandaMemberI grabbed the latest eStore, and I just purchased eMember last night so I know that’s the latest version. I also disabled all other plugins and reverted back to 2010 just to verify it wasn’t any other kind of conflict. Any other thoughts? I would really like to get this download button working in this way, it’s the last piece of the puzzle for my eCommerce setup.
June 5, 2011 at 10:15 am #33056wzpModeratorSo, if the eStore short code is outside the eMember nest, it works, even on that same page? Do *other* short codes work, if you nest them?
June 5, 2011 at 8:34 pm #33057SeizedPropagandaMemberYes it works if it’s outside, and yes I tried the [wp_eStore_free_download:product_id:1:end] shortcode and it works just fine. Is there any way to disable this shortcode from asking the user for their name and email address? If so then I can just use this instead as it will serve the exact same purpose.
June 5, 2011 at 9:45 pm #33058wzpModeratorSince you can get “another” eStore short code to work, but not “this one” I think Amin might want to investigate the problem more; because it may be a genuine problem that needs fixing. He may ask to take a look at your system, when he gets in.
June 6, 2011 at 12:01 am #33059SeizedPropagandaMemberThat’s fine, he can email me at [admin deleted email address] and I will send him my login credentials and the links to where he can see the issue.
June 6, 2011 at 1:17 am #33060amin007ParticipantSent you an email.
June 6, 2011 at 3:58 am #33061amin007ParticipantOkay I changed the priority of the shortcode filtering on your site which seem to be working fine with the nested shortcodes between the two plugins.
Basically I changed the following line in “wp_eMember1.php” file
add_filter('the_content', 'do_shortcode',11);
to the following:
add_filter('the_content', 'do_shortcode');
June 6, 2011 at 5:45 am #33062SeizedPropagandaMemberThank you again so much, and any time there’s an update I’ll make this change myself.
June 28, 2011 at 6:35 pm #33063meeshMemberHi, I am having this exact same problem. I change the code you mentioned above and it worked great!! Thanks!
July 16, 2011 at 8:18 pm #33064SeizedPropagandaMemberMe again,
It seems this fix is no longer working, perhaps it is related to WordPress 3.2?
I have updated to the latest versions of both eMember and the eStore plugin and I am having the same issue all over again. Please help!
July 17, 2011 at 1:13 am #33065amin007ParticipantWordPress 3.2 doesn’t have anything to do with it. These shortcodes have all been tested on a 3.2 install and they are working together fine. You must have another plugin or theme that is not using the WordPress’s default shortcode filtering priority and is messing things up.
You reapplied the fix in the eMember after the update right?
Open the “wp_eStore1.php” and search for the following line of code:
add_filter('the_content', 'do_shortcode',11);
Once you find it change it to the following and let me know if it makes a difference:
add_filter('the_content', 'do_shortcode');
-
AuthorPosts
- You must be logged in to reply to this topic.