Christopher Roth

Forum Replies Created

Viewing 17 posts - 1 through 17 (of 17 total)
Mar 31, 2023 at 6:58 pm
#185510
This reply has been marked as private.
Nov 11, 2021 at 5:03 pm
#164421

Thank you for the reply.

Perhaps I am not using the right combination of link/page templates. Is there a particular page template that will render the PDF to the browser ad also allow google to index the URL?

C.

Nov 10, 2021 at 6:24 pm
#164393

This is not true.

WPDM is setting the X-Robots-Tag header in two places the file FileSystem.php

header(“X-Robots-Tag: noindex, nofollow”, true);
header(“Robots: none”);

When a URL such as the following is loaded, the x-robots-tag and Robots: None headers are set by WPDM.

https://www.formfactor.com/download/mps150-data-sheet/?wpdmdl=3221

This results on Google being unable to index the content (as can be verified using the URL inspection tool in Search Console).

Commenting out those lines in the WPDM code removed the HTTP Headers and allows google to see the file (in this case a PDF)

This should be a setting that can be controlled so the plugin source does not need to be modified.

C.

Feb 15, 2021 at 5:28 pm
#146738

Done however, it took many tries and would just hang.

I continue to get errors such as below.. Does 5.3.4 resolve this issue or can I roll back safely to an earlier version?

[14-Feb-2021 16:22:24 UTC] PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 60270864 bytes) in D:\sites\www-xxxxxxx\public_html\wp-includes\wp-db.php on line 2022

[14-Feb-2021 16:22:38 UTC] WordPress database error Lock wait timeout exceeded; try restarting transaction for query UPDATE ffwp_postmeta SET meta_value = ‘5611’ WHERE post_id = 10168 AND meta_key = ‘__wpdm_download_count’ made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, WPDM\libs\Apply->triggerDownload, include(‘/plugins/download-manager/wpdm-start-download.php’), WPDM\libs\DownloadStats->add, update_post_meta, update_metadata
[

Feb 12, 2021 at 7:43 pm
#146558

I added memory for ‘WP_MEMORY_LIMIT’, ‘WP_MAX_MEMORY_LIMIT’ and php.ini memory_limit to 1024 (which is huge) and sometimes my pages with shortcodes work, sometimes they do not, and I am completey unable to access “all downloads” from WP Admin. this plugin ran just fine for years at 256M and this issue only seems to have started somewhere at 5.2…

Feb 12, 2021 at 7:30 pm
#146557

I see you recommending setting the memory limit to 1024M… why does this plugin require a GIGABYTE of memory to run?

Jan 23, 2019 at 7:07 pm
#92777

Looks like I need to override ..\plugins\download-manager\tpls\wpdm-all-downloads.php

Is there a location in my theme folder I can do this?

Somethinglike: ..\themes\my_theme\download-manager\tpls\wpdm-all-downloads.php

Jan 23, 2019 at 6:47 pm
#92776

Yeah I get that, but you guys added bootstrap like classes btn btn-link and btn-[size] and turned the link in to a ‘block’ display and transformed the text to upper case.

If you’re going to give us a “none” option then you should not apply the additional classes.

Nov 8, 2018 at 11:22 pm
#89280

Just tested 4.7.8 on my dev server and these minor bugs still have not been fixed?

Jun 25, 2018 at 5:23 pm
#79557

When can we expect these minor fixes?

May 18, 2018 at 4:32 pm
#76467
This reply has been marked as private.
May 11, 2018 at 8:17 pm
#76048

When will this be pushed to the released version?

May 11, 2018 at 3:41 pm
#76033

Also.

I have created a file page-template-1col-flat.php and placed it in /mytheme/download-manager/page-templates

I have modified the top line “comment” to read:

<!-- WPDM Template: FFI-Single Column, Flat -->

I can tell i have assigned a download to use this template as changes to its layout are reflected when viewing the page, however, on the backend the template selection drop down still reads: Single Column, Flat which is the default comment for the file in the plugins folder.

Shouldnt the template name be overridden in the post edit meta box?

C.

May 11, 2018 at 3:29 pm
#76032

I am trying to eliminate the need for a 2nd click.

I’d like to able to assign a page template to particular downloads that “opens” the associated file.

This may be when the URL to the download is sent directly to a user, or as in the case of the downoad being returned in a search result.

a url such as..

mydomain.com/download/pretty-title-of-file/

will return the downloads “summary” type page with a down load button.

/download/cascade-microtech-dresden-gmbh-purchasing-terms-and-conditions-english/?wpdmdl=1234&ind=45678

opens the file

Is there a way to create and then assign a page template so that

mydomain.com/download/pretty-title-of-file/

opens the file?

also what does the variable “ind” represent?

Thanks

Jan 12, 2018 at 5:59 pm
#67922

I have confirmed this plugin is writing temp files to the php temp dir at the rate of 3-4 per minute and is not cleaning them up. I had over 1 MILLION files stuck in my temp folder.

Sep 25, 2017 at 11:59 pm
#63590
This reply has been marked as private.
Sep 25, 2017 at 11:58 pm
#63588
This reply has been marked as private.
Viewing 17 posts - 1 through 17 (of 17 total)