andisites

Forum Replies Created

Viewing 25 posts - 1 through 25 (of 26 total)
in reply to: WPDM Accordion not working on mobile #97021

andisites
Participant

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?

in reply to: WPDM not saving attached files #73610

andisites
Participant

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);

in reply to: WPDM not saving attached files #73534

andisites
Participant

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?

in reply to: WPDM not saving attached files #73463

andisites
Participant

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.

in reply to: WPDM not saving attached files #73460

andisites
Participant

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?

in reply to: WPDM not saving attached files #73458

andisites
Participant

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”?

in reply to: WPDM not saving attached files #73452

andisites
Participant

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

in reply to: Search always shows no downloads found? #71407

andisites
Participant
This reply has been marked as private.

andisites
Participant

Thank you so much! This is very helpful.

Corinne

in reply to: Order by Category ID? #35070

andisites
Participant

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

in reply to: Order by Category ID? #35015

andisites
Participant
This reply has been marked as private.
in reply to: Order by Category ID? #34973

andisites
Participant

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!

 

in reply to: Order by Category ID? #34960

andisites
Participant

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.

in reply to: Order by Category ID? #34950

andisites
Participant

Thank you so much!  Will update both now.

Hope you have a great weekend.

in reply to: Order by Category ID? #34947

andisites
Participant

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!

in reply to: Order by Category ID? #34946

andisites
Participant

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!

in reply to: Download links not working #34451

andisites
Participant
This reply has been marked as private.
in reply to: Download links not working #34450

andisites
Participant
This reply has been marked as private.
in reply to: Only showing max 10 items with Accordion Add-On #22189

andisites
Participant

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

in reply to: Only showing max 10 items with Accordion Add-On #22004

andisites
Participant

Thank you!

in reply to: Only showing max 10 items with Accordion Add-On #21970

andisites
Participant
This reply has been marked as private.
in reply to: How to upgrade versions #3904

andisites
Participant

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?

in reply to: Hide/Don't show Library Category # #3903

andisites
Participant

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.

in reply to: How to upgrade versions #3902

andisites
Participant

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!

in reply to: Hide/Don't show Library Category # #3901

andisites
Participant

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)