Hi there
Is it possible setting the PRO version up, so one can view the file online, instead of forcing downloading the file? Maybe via a shortcode for “link to the actual file”, via the settings (where I cannot seem to find such a thing), or via a plugin.
Thanks in ahead,
Lisbeth
When I view the category sidebar widget it shows how many docs in each category however when I click on the link it returns a blank page. I have noticed the link in the display page works but is a different link than the sidebar widget
Does not work from sidebar
http://www.asetsoccer.com/downloads/ages-6-9-ages-6-9-attacking-attacking/
Works from categories link in display
http://www.asetsoccer.com/download/?wpdmc=ages-6-9-ages-6-9
I’m attempting to submit my downloads to software download sites. The download link generated by Download Manager Pro is not accepted by these download sites. It looks like it is encrypted currently. For example: I need it to be something like; http://www.rizonesoft.com/download/notepad3/?wpdmdl=1251&ind=Notepad3.exe
I do not need the link on the site to change, just the one I submit to the download sites.
Please Help!
1) Targhet blan for download
I try to edit single-wpdmpro
<div class=”pull-right qdl”>
<?php echo $pack[‘download_link’]; ?>
</div>
But i can’t set targhet blank
2) Related download don’t work
For ex http://basikaraokegratis.com/download/adriano-celentano-yuppi-du-midi/
Artist are Adriano celentano but related download are bruno martino
http://basikaraokegratis.com/download/bobby-solo-non-si-cresce-mai-ft-little-tony-midi/
Related bruno martino
New file: http://basikaraokegratis.com/download/eros-ramazzotti-fuoco-nel-fuoco-midi/
no related download
3 Change home
are possible have a right sidebar?
I want show only tilte, are possible? (see image)
I believe I have identified a bug of long standing in the WPDM Directory add-on (aka the wpdm-archive-page plugin) code. I have a local development copy of a site that uses WordPress Download Manager Pro plus several add-on plugins, including WPDM Directory. The site root is set up in PhpStorm as the project root because I am also doing feature updates to a couple of custom plugins. One of the other uses of this site, and what I have been concentrating on first, was to get the version of WPDM Pro updated from the old (and hacked by a previous developer) WPDM Pro version 4.2.2 up to the current release plus update the installed WPDM Pro add-ons that are equally out of date.
In the course of testing the WPDM updates, I came across the bug in question. It was triggered by going to the WPDM Pro settings page in the back end. I always keep tabs on the error_log files, especially when updating plugins, in case something is not working properly – aside from it being a good practice – and found the following warning and call stack:
2016-09-08 17:03:03 192.168.22.196 mod_fcgid: stderr: PHP Warning: Invalid argument supplied for foreach() in /home/xxxxxx/public_html/wp-content/plugins/wpdm-archive-page/wpdm-archive-page.php on line 590, referer: http://xxxxxxxx.xxx/wp-admin/?sucuriscan_lastlogin=1
2016-09-08 17:03:03 192.168.22.196 mod_fcgid: stderr: PHP Stack trace:, referer: http://xxxxxxxx.xxx/wp-admin/?sucuriscan_lastlogin=1
2016-09-08 17:03:03 192.168.22.196 mod_fcgid: stderr: PHP 1. {main}() /home/xxxxxx/public_html/wp-admin/edit.php:0, referer: http://xxxxxxxx.xxx/wp-admin/?sucuriscan_lastlogin=1
2016-09-08 17:03:03 192.168.22.196 mod_fcgid: stderr: PHP 2. require_once() /home/xxxxxx/public_html/wp-admin/edit.php:10, referer: http://xxxxxxxx.xxx/wp-admin/?sucuriscan_lastlogin=1
2016-09-08 17:03:03 192.168.22.196 mod_fcgid: stderr: PHP 3. do_action() /home/xxxxxx/public_html/wp-admin/admin.php:222, referer: http://xxxxxxxx.xxx/wp-admin/?sucuriscan_lastlogin=1
2016-09-08 17:03:03 192.168.22.196 mod_fcgid: stderr: PHP 4. call_user_func_array:{/home/xxxxxx/public_html/wp-includes/plugin.php:524}() /home/xxxxxx/public_html/wp-includes/plugin.php:524, referer: http://xxxxxxxx.xxx/wp-admin/?sucuriscan_lastlogin=1
2016-09-08 17:03:03 192.168.22.196 mod_fcgid: stderr: PHP 5. WPDM\\admin\\menus\\Settings->UI() /home/xxxxxx/public_html/wp-includes/plugin.php:524, referer: http://xxxxxxxx.xxx/wp-admin/?sucuriscan_lastlogin=1
2016-09-08 17:03:03 192.168.22.196 mod_fcgid: stderr: PHP 6. include() /home/xxxxxx/public_html/wp-content/plugins/download-manager/admin/menus/class.Settings.php:37, referer: http://xxxxxxxx.xxx/wp-admin/?sucuriscan_lastlogin=1
2016-09-08 17:03:03 192.168.22.196 mod_fcgid: stderr: PHP 7. call_user_func:{/home/xxxxxx/public_html/wp-content/plugins/download-manager/admin/tpls/settings.php:26}() /home/xxxxxx/public_html/wp-content/plugins/download-manager/admin/tpls/settings.php:26, referer: http://xxxxxxxx.xxx/wp-admin/?sucuriscan_lastlogin=1
2016-09-08 17:03:03 192.168.22.196 mod_fcgid: stderr: PHP 8. WPDM\\admin\\menus\\Settings->Basic() /home/xxxxxx/public_html/wp-content/plugins/download-manager/admin/tpls/settings.php:26, referer: http://xxxxxxxx.xxx/wp-admin/?sucuriscan_lastlogin=1
2016-09-08 17:03:03 192.168.22.196 mod_fcgid: stderr: PHP 9. include() /home/xxxxxx/public_html/wp-content/plugins/download-manager/admin/menus/class.Settings.php:126, referer: http://xxxxxxxx.xxx/wp-admin/?sucuriscan_lastlogin=1
2016-09-08 17:03:03 192.168.22.196 mod_fcgid: stderr: PHP 10. do_action() /home/xxxxxx/public_html/wp-content/plugins/download-manager/admin/tpls/settings/basic.php:341, referer: http://xxxxxxxx.xxx/wp-admin/?sucuriscan_lastlogin=1
2016-09-08 17:03:03 192.168.22.196 mod_fcgid: stderr: PHP 11. call_user_func_array:{/home/xxxxxx/public_html/wp-includes/plugin.php:524}() /home/xxxxxx/public_html/wp-includes/plugin.php:524, referer: http://xxxxxxxx.xxx/wp-admin/?sucuriscan_lastlogin=1
2016-09-08 17:03:03 192.168.22.196 mod_fcgid: stderr: PHP 12. WPDM_ArchivePage->LinkTemplateOption() /home/xxxxxx/public_html/wp-includes/plugin.php:524, referer: http://xxxxxxxx.xxx/wp-admin/?sucuriscan_lastlogin=1
The above has been redacted.
Looking at line 590 ad a couple of lines prior, in the wpdm-archive-page.php, one finds the following code:
$templates = unserialize(get_option("_fm_link_templates",true));
foreach($templates as $id►$template) {...
A search of the options table turns up nothing for that option. I tried forcing an update in the WPDM settings panel by changing the select list value from Default and saving, still no option. I ran a scan of all of the site files and there are calls to get_option, but never any update_option or add_option call.
The only problem is, the option table value: _fm_link_templates.
The version of the add-on is the latest, 2.8.3. Since I still have a staging site that is a copy of the live site, I checked there. The add-on version on the staging and live sites is 2.4.2. Scanning the error logs for those sites shows the same bug was indeed present at least as far back as that version of the WPDM Directory plugin. A different line number of course, but the same code fragment.
I am using the Pro version on a Multisite install on localhost, activated on one site only.
If I load the Frontend page (created without a parent) using the shortcode [wpdm_frontend] in a normal WP page, it loads OK and shows existing uploaded files in a list.
– When I click the download icon it correctly takes me to the file and its meta-info
– But when I click the Edit Package icon though I get a 404 error at this URL:
http://localhost/folder_name/site_name/docs-upload/edit-package/401/
/folder_name/ is a replacement for what I actually call the folder it is installed in.
/site_name/ is a replacement for the Site Name
‘docs_upload’ is what the page name is where I have used the shortcode.
I have correctly set the page name in the Admin section for ‘Frontend Uploader Page’
I’ve tried emptying the cache in Safari and I have tried logging in in Chrome as well, same issue.
Thanks.