andisites

Forum Replies Created

Viewing 25 posts - 1 through 25 (of 26 total)
May 16, 2019 at 2:24 pm
#97021
Participant
andisites
OP

Hi Shahriar,

I have went through the plugins and themes. It wasn’t a plugin conflict, but it does seem to be a theme issue. When I use a default WP theme, it works. However, when I activate the X Theme from Themco, it doesn’t work.

We are using the latest version of X Theme with an empty child theme (no custom functions or anything in there). Is there a known conflict between WPDM and X Theme?

Apr 12, 2018 at 7:59 pm
#73610
Participant
andisites
OP

Hey, yea the simplified code did work for me. After some further troubleshooting, I was able to determine that the loop was breaking WPDM’s ability to save the WPDM fields.

while ( $loop->have_posts() ) : $loop->the_post();
endwhile;

However, I need the loop in there, so I can loop through my subscribers list to get their emails and send them the notifications. I was create a solution, though

For anyone trying to loop through posts inside the ‘publish_wpdmpro’ or ‘save_post_wpdmpro’ actions, the solution for me was to change the loop to this:
global $subscriberpost;
$subscriberargs = array( ‘post_type’ ► ‘subscription’ );
$subscribers = get_posts($subscriberargs);
$counter = 0;
if ($subscribers) {
foreach($subscribers as $subscriberpost) : setup_postdata($subscriberpost);
//WHAT YOU WANT THE LOOP TO DO WITH THE POST
endforeach;
wp_reset_postdata();
}

NOTE: WP functions (such as the_title(); or get_the_title();) will return the information from the Download package, not to post you are looping through. To get information from the post you are looping through, you need to send the post as a parameter, like this: the_title($subscriberpost);

Apr 11, 2018 at 4:24 pm
#73534
Participant
andisites
OP

I see that in some of the WPDM core files it’s calling the “publish_wpdmpro” action and “save_post” action (i.e. in download-manage/libs/class.Apply.php)

So, I assume that when I call the same action it’s conflicting and the WPDM’s call on the action isn’t processing?

Is there a way to prevent the conflict? Or another action or hook within WPDM I can target when the user saves from the admin panel? Or will we just have to use the frontend to create/publish Download packages?

Apr 10, 2018 at 9:24 pm
#73463
Participant
andisites
OP

I’ve tried that, as well as this one: add_action(‘publish_wpdmpro’, ‘wpdmpro_published_notification’, 10, 2);

It will trigger the function and save all of the WordPress fields (title, publish date, content, etc), but it will not save the WPDM fields. It always returns blanks for the WPDM fields.

Apr 10, 2018 at 7:49 pm
#73460
Participant
andisites
OP

Awesome, thanks. 🙂

Is there a way to trigger the create_package or edit_post actions from the backend/wp-admin? Or do they have to be created/edited from the frontend?

Apr 10, 2018 at 7:21 pm
#73458
Participant
andisites
OP

Update: I’ve setup the frontend form to use in the interim, however the option to set the “Allow Access” for the package doesn’t appear? It is saving with that field blank on the frontend, so nobody can have access to it. Is there a way to edit this field from the frontend, or even have it default to “All Visitors”?

Apr 10, 2018 at 4:30 pm
#73452
Participant
andisites
OP

I want it to trigger when an admin creates/edits a “Downloads” post. They will be creating them from the wp-admin dashboard > Downloads > Add New

Mar 12, 2018 at 12:58 pm
#71407
Participant
andisites
OP
This reply has been marked as private.
Jan 22, 2018 at 4:11 pm
#68277
Participant
andisites
OP

Thank you so much! This is very helpful.

Corinne

Oct 14, 2015 at 11:49 am
#35070
Participant
andisites
OP

Thank you!  I’m a huge fan of this plugin and very grateful for your support over the past week.

Oct 12, 2015 at 7:57 pm
#35015
Participant
andisites
OP
This reply has been marked as private.
Oct 11, 2015 at 1:04 am
#34973
Participant
andisites
OP

Hi!

The content is not appearing on any of my website pages that use the category shortcode generated by the TinyMCE button (recently updated as suggested above) or the category shortcode provided on your website.  Also, on these pages, the admin nav bar at top of the site is missing.  I’ve updated and reinstalled the plug-in and add-ons but nothing is working to show the category downloads.  Suggestions?

Thanks!

 

Oct 9, 2015 at 4:31 pm
#34960
Participant
andisites
OP

Hi!

Sorry to bother again.  The new accordion options are awesome and I figured out how to sort exactly the way I wanted.  Thank you!

I uploaded the new TinyMCE button but the code generated is not including the category I specify in the checkboxes.  Can you give me the short-code I should use to display a category?  Thanks.

Oct 9, 2015 at 1:41 pm
#34950
Participant
andisites
OP

Thank you so much!  Will update both now.

Hope you have a great weekend.

Oct 9, 2015 at 1:14 pm
#34947
Participant
andisites
OP

Hi!

Also, my category short-codes are not working now that I’ve updated to new version of WPDM.  The code generator also produces category code that does not work.  Can you please provide short-code for including category on a page?  Thanks!

Oct 9, 2015 at 12:21 pm
#34946
Participant
andisites
OP

Hi!

If this isn’t possible could you please suggest an alternate method to display this info?  I tried including several accordion shortcodes on the page in order to get the info sorted correctly but only one accordion shortcode worked on the page – the rest just tried loading but never did.
Thank you!

Sep 26, 2015 at 5:01 pm
#34451
Participant
andisites
OP
This reply has been marked as private.
Sep 26, 2015 at 5:00 pm
#34450
Participant
andisites
OP
This reply has been marked as private.
Nov 4, 2014 at 11:00 pm
#22189
Participant
andisites
OP

Hi Shaon,

I have another question about the download manager – accordion add on. I’m trying to get a direct download link to the file vs the user having to clink on the link to the package and then have to click to download the file. It would help eliminate a step for the user. 🙂 Could you help?

Thank you!

Andrea

Oct 29, 2014 at 5:47 pm
#22004
Participant
andisites
OP

Thank you!

Oct 28, 2014 at 8:33 pm
#21970
Participant
andisites
OP
This reply has been marked as private.
Jan 26, 2013 at 11:34 pm
#3904
Participant
andisites
OP

Actually, the upgrade wasn’t at all successful. Detail pages are blank (happened after I changed the setting to not show the search bar, but they didn’t come back once I re-enabled the search bar). Also, several files are showing as 0.0kb, and when I click to download all I get is file-not-found.txt.

I’ll revert to a backup, but is it worth trying again?

Jan 26, 2013 at 11:23 pm
#3903
Participant
andisites
OP

Just upgraded, and that line went way on its own. Now I just need to figure out how to style the rest of it (hide some of the information on the detail page, etc.), but I’m guessing that has to do with templates.

Jan 26, 2013 at 11:22 pm
#3902
Participant
andisites
OP

OK, that worked, although I had to go in and replace all of my old shortcodes (looks like their format changed?). I think all is well now. Thanks!

Jan 26, 2013 at 11:03 pm
#3901
Participant
andisites
OP

Here’s an example page. I’d like to remove the “Library Category #2” phrase.

http://www.growgreened.com/artisanal-foods/

Viewing 25 posts - 1 through 25 (of 26 total)