Joel Goldstein

Forum Replies Created

Viewing 25 posts - 1 through 25 (of 34 total)
Nov 20, 2025 at 3:45 pm
#209675
Participant
Joel Goldstein
OP

That’s working now, thanks so much.

Nov 19, 2025 at 3:49 pm
#209653
Participant
Joel Goldstein
OP

We made changes to postsubscribemeta.php for the new package notification, but that shouldn’t affect this.

Nov 19, 2025 at 12:54 pm
#209651
Participant
Joel Goldstein
OP

Sorry, I’ve adjusted the permissions

Nov 18, 2025 at 9:03 pm
#209646
Participant
Joel Goldstein
OP
This reply has been marked as private.
Nov 14, 2025 at 1:51 pm
#209608
Participant
Joel Goldstein
OP

Can you elaborate?
Instead of removing it, is there a different way to write it?

Nov 13, 2025 at 7:17 pm
#209594
Participant
Joel Goldstein
OP

Pantheon was unable to help with this.

I just went into src > Admin > Menu > Stats.php and simply deleted the check that was being tripped:

//wpdmdd(NONCE_KEY, WPDM_ADMIN_CAP, wpdm_query_var('__xnonce'));
if(!current_user_can(WPDM_ADMIN_CAP) || !wp_verify_nonce(wpdm_query_var('__xnonce'), NONCE_KEY)) die('Invalid nonce!');

Will removing this cause any issue elsewhere in the plugin?

This brings up an older issue that we lost track of; This is now the third change I’ve had to make in the plugin code. How do I protect these changes from future updates?

Nov 11, 2025 at 3:44 pm
#209559
Participant
Joel Goldstein
OP
This reply has been marked as private.
Nov 4, 2025 at 4:48 pm
#209465
Participant
Joel Goldstein
OP

Export Full History is the one that works. Export Results is the broken one. Export Results has both a nonce and hash, Export Full History only has a nonce.

Oct 28, 2025 at 6:01 pm
#209322
Participant
Joel Goldstein
OP

Can you clarify what is being stripped? In both buttons I see __xnonce both before and after clicking.

Export Results:
/wp-admin/edit.php?post_type=wpdmpro&page=wpdm-stats&task=export&__xnonce=26dc4636ec&hash=4DMYd1sbJ7gDe…..

Export Full History:
/wp-admin/edit.php?post_type=wpdmpro&page=wpdm-stats&type=prepare-export&__xnonce=26dc4636ec

Oct 22, 2025 at 6:41 pm
#209211
Participant
Joel Goldstein
OP
This reply has been marked as private.
Oct 21, 2025 at 5:37 pm
#209163
Participant
Joel Goldstein
OP

I updated the plugin version with no issue. I guess it didn’t touch those changed files this time? Anyhow, this fixed the ability to filter the data in ‘download history, however trying to export that data still redirects to a blank, all-white page that says “Invalid Nonce!” This needs to be resolved.

Also, I noticed that in the list of packages shown on that ‘download history’ page, if you hover the mouse over any of the clickable items (username, package name, location) a dark gray, semi-transparent, full-width strip appears. It looks like this should have some sort of pop-up information, but there’s nothing in it.

Oct 9, 2025 at 5:35 pm
#208980
Participant
Joel Goldstein
OP

No worries, you’ve been very helpful with all this troubleshooting.

Oct 9, 2025 at 3:57 pm
#208974
Participant
Joel Goldstein
OP

We’re on 6.8.2. Before I try updating, did you find anything about preserving the postsubscribemeta.php edits?

Oct 9, 2025 at 12:26 pm
#208966
Participant
Joel Goldstein
OP

I was able to fix the non-delivery issue by removing a different plugin that was interfering with emails.

Has there been any movement on my other question, as to how to protect the edits I’ve made in postsubscribermeta.php?

Also, I have noticed two new problems:
1. The ‘advanced filters’ in Downloads Stats Download History do not seem to be working. I’ve entered criteria and clicked ‘apply filters’ but nothing happens.
2. If I click ‘export results’ in that same section I am redirected to a blank screen with the words ‘Invalid nonce!’

Oct 3, 2025 at 3:07 pm
#208853
Participant
Joel Goldstein
OP

Yes, that is set up correctly with HTTPS

Oct 2, 2025 at 1:32 pm
#208846
Participant
Joel Goldstein
OP
This reply has been marked as private.
Oct 1, 2025 at 5:26 pm
#208820
Participant
Joel Goldstein
OP
This reply has been marked as private.
Sep 30, 2025 at 5:17 pm
#208797
Participant
Joel Goldstein
OP
This reply has been marked as private.
Sep 30, 2025 at 12:04 pm
#208783
Participant
Joel Goldstein
OP
This reply has been marked as private.
Sep 29, 2025 at 1:20 pm
#208750
Participant
Joel Goldstein
OP

The variables still aren’t working, but I was able to put the entire template into postsubscribemeta.php and use page_id to pull the package name and link. So that works.

My concern now is that if we ever update the plugin, these edits will be overwritten. Is there a way to protect this file? I know for the parent plugin (Download Manager Pro) I was able to copy the folder structure into my theme per the instructions here, number 3 – https://www.wpdownloadmanager.com/doc/template-files/

Is there a similar function for the Newsletter plugin?

Sep 26, 2025 at 7:51 pm
#208721
Participant
Joel Goldstein
OP

I’ve just decided to put the code in the General Email template. However, the variables aren’t working. I’ve tried the following, all with no success. I need the user’s name, and the package name/url. The email itself delivers, just with blank spots.

{{fname}}
{{user_first_name}}
{{user_last_name}}
{{package_url}}
{{package_name}}

Sep 24, 2025 at 5:32 pm
#208667
Participant
Joel Goldstein
OP

Can you list which emails would be affected?

Alternately, is it possible to assign one of the other templates in Downloads > Templates > Email Templates to fire for this application?

Sep 23, 2025 at 6:50 pm
#208650
Participant
Joel Goldstein
OP

I would like to be able to change the Check Updates myself. Is that possible?

It looks like this whole thing is sending the General Email Template, which is

{{message}}

Best Regards,
Support Team
<b>{{sitename}}</b>

If I change that it will affect other emails being sent, won’t it?

Sep 23, 2025 at 4:32 pm
#208648
Participant
Joel Goldstein
OP

That solution won’t work. The people sending these notifications won’t be able to do that consistently and correctly. That also does not solve the problem of the default email saying

Check Updates (linked to website)

Best Regards,
Support Team
(link to website)

After the pasted content.

Sep 23, 2025 at 12:37 pm
#208638
Participant
Joel Goldstein
OP

Where do I upload the file when it is ready? That was the original question.
I would think it’s in Download Manager > Templates > Email Templates. There’s even one called “new package notification” there, but that doesn’t seem to be it.

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