-
Search Results
-
We are using the wdpm-archive add-on. We upgraded to downloadmanager 4.5.4 and updated the add-on as well. It is showing as 2.8.1. When we load a page with the following shortcode, we get an internal server error 500. If you choose a category, it works fine. It seems to only be an issue when loading all the packages in a paged view. I also tried the [wpdm_all_packages] short code and it works fine.
http://ghpc.dev.gsu.edu/research_projects/publications-by-topic/
[wpdm-archive button_style=”default” cat_view=”compact”]
Console error message:
Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://ghpc.dev.gsu.edu/?wpdmtask=get_downloads&pg=30&category=0
Log Error Message:
PHP Fatal error: Cannot access empty property in /var/www/vhosts/dev.gsu.edu/wp-content/plugins/download-manager/libs/class.Package.php on line 218
I want to have all my downloads free, with the option of paying $1-5 as a donation that goes through the checkout. However if I make the base price $0.00 with variants for $1-5 it just lets them download it immediately.
Topic: Paid Customisation – Bugs
Hi,
We have paid for some customisation of category appearance page, but there are 2 bugs we have found that need fixing.
You have all the login/FTP details for our site already.
See attached screenshot
1. Error message – in blue highlight
Warning: Invalid argument supplied for foreach() in /home/cpmr/public_html/wp-content/themes/Avada-Child-Theme/download-manager/wpdm-all-downloads.php on line 155
2. Category links – red highlight
The category links do not take you to the category pages.
As you can see from the link in the browser status bar at the bottom, every category link points to the same place, which is the first Package on the page, for some reason
Thanks
Topic: Invalid call back error
Hi when trying to add downloads to the packages list, I find the following errors coming up on an intermittent basis when filling out the post with details.
The problem is the plugin downloads manager as I have posted the error on the theme author who cannot recreate the error, If I deactivate the plugin the errors stop as I am now longer am adding uploads.
Please find some screen shots
Topic: Search results
Since upgrading to the latest version, using the ‘Search packages’ button on the downloads page brings back Pages in the results, not packages. This is happening on a couple of installations we have running on different sites. Is there a fix for this?
I’m still have a problem with the missing files question after update here too, if you could please also help with that.
Thanks,
GrahamAs I’m getting no answer from you via email, maybe the support forum might get an answer…? Thank you
=======
——– Forwarded Message ——–
Subject: Re: Pre Sales – Shaon
Date: Fri, 19 Feb 2016 10:24:47 +00001. Your instruction is completely unclear. I paid for this. Please complete the work.
2. Yes, please.
3. When importing packages via CSV, how do we map the ISO letters so that the package shows the correct flags for the files on front end?
4. Please answer my question about custom taxonomies cost?
On 19/02/2016 08:07, WPDM Support wrote:
> 1. “http://cpmr.org/wpdm-category/maritime/” <– to apply tabular style, need to edit template file.
> 2. you may use small letter always, also no problem, we can make to lowercase always in output
> 3. Not clear, may you please explain little more.
>
>
> WordPress Download Manager
>
>
>
>
>
> On Thu, Feb 18, 2016 at 11:29 PM, Info <info@ravenswoodmedia.eu> wrote:
>
> Hi,
>
> Any chance of an acknowledgement and reply, please? We’ve spent nearly $300 with you on a system that does not function as we have paid for, and the complete lack of response does not give me great confidence to spend more.
>
> Thank you,
>
> Greg.
>
>
>
> On 16/02/2016 11:03, Info wrote:
Dear Shaon,
We recently paid for some customisation services, but we have a couple of bugs and questions unanswered.
I asked Shahnur via Skype but did not receive any response since 21 January. I asked the same again 26th January but have been ignored.
1. How do we apply this style of page layout to our categories, which is what we have paid for/requested?
At the moment it’s only applied to the dummy page that your developers created here
http://cpmr.org/documents/all-downloads
We want to apply this here, for example
http://cpmr.org/wpdm-category/maritime/
2. ISO Country flags only display if the country code is entered in Lowercase. if the code is entered uppercase the flag does not show. This needs fixing.
3. We have also purchased your advanced CSV importer. Is it possible to map the Language options of the package for our set-up? If so, How?
I also asked the recent presales question regarding custom Taxonomies, thank you for your reply (included below for reference). What cost is involved please? Of course we must complete the service we have already paid for before we send you more money.
Thanks and best wishes,
Grge
——– Forwarded Message ——–
Subject: Re: Presale – custom taxonomies
Date: Tue, 16 Feb 2016 16:52:05 +0600
From: WPDM Support <support@wpdownloadmanager.com>
Possible, but, The will require some customization in code.
On Mon, Feb 15, 2016 at 10:32 PM, Greg Kett <greg@ipl.eu.com> wrote:
Hi,
Is it possible to “categorise” documents by more than 1 taxonomy?
Within each category, we will have about 5 different document “types” – working papers, agendas, surveys. So we need to refine by multiple attributes.
A bit like in eCommerce, where we can select all “hats” that are “blue”
Similar to this working example:
http://www.eurocities.eu/eurocities/publications
Is this possible with WPDM, if so do you have an example?
Thank you
Greg
>
On 17/01/2016 17:39, WPDM Support wrote:
> Hi,
> Thanks for your purchase.
> Please give me temporary wp-admin login info and ftp info to start with the implementation.
>
>
>
>
> WordPress Download Manager
>
>
>
>
>Topic: missing file name
Hi there,
When I migrated my website automatically, the packages files names are gone.
But the downloads works!
How can I fix this?
http://portalkairos.org/arquivo-baixar/material-para-criancada/Thanks
WellingtonTopic: Some more problems
Sorry for all the topics but some other problems seem to pop up.
1. ReCaptcha, most of the times when I want to verify the captcha before downloading I get a message saying it can’t contact recaptcha.
2. I want users to be logged in before they can download, I have these settings, tried to download after logging out and I can download it…

3. I want to display the total amount of files & downloads somewhere on my site is there a shortcode somewhere or how could I do this?
4. WPDM Color Box Plugin, It would be nice if you could just use the keyboard arrows to navigate instead of having to close and open every image.
5. The User Level on the user-dashboard is empty, what is this supposed to show? The current user role?
6. user-dashboard pages have dissapeared, I can access the dashboard but once I click ‘Download History’ ‘Edit Profile’ or Log Out it say’s the page isn’t found? All files are still there just checked. *Fixed, Restored a earlier page revision and it seems to work again now.
Topic: Parse Error
Hi-
I just updated my downloads manager plugin and received this error: “Plugin could not be activated because it triggered a fatal error. Parse error: syntax error, unexpected T_STRING in /home/content/72/4997172/html/thefashionprofessor/wp-content/plugins/download-manager/download-manager.php on line 12”Not sure what to do – my clients cannot receive any of their downloads. Please help.
Thank you –
Dinna
————————–<?php
/*
Plugin Name: Download Manager
Plugin URI: http://www.wpdownloadmanager.com/purchases/
Description: Manage, Protect and Track File Downloads from your WordPress site
Author: Shaon
Version: 2.8.92
Author URI: http://www.wpdownloadmanager.com/
*/namespace WPDM;
if(!isset($_SESSION))
@session_start();define(‘WPDM_Version’,’2.8.92′);
$content_dir = str_replace(‘\\’,’/’,WP_CONTENT_DIR);
define(‘WPDM_ADMIN_CAP’,’manage_options’);
define(‘WPDM_MENU_ACCESS_CAP’,’manage_options’);
define(‘WPDM_BASE_DIR’,dirname(__FILE__).’/’);
define(‘WPDM_BASE_URL’,plugins_url(‘/download-manager/’));
define(‘UPLOAD_DIR’,$content_dir.’/uploads/download-manager-files/’);
define(‘WPDM_CACHE_DIR’,dirname(__FILE__).’/cache/’);
define(‘_DEL_DIR’,$content_dir.’/uploads/download-manager-files’);
define(‘UPLOAD_BASE’,$content_dir.’/uploads/’);
include_once(dirname(__FILE__) . “/wpdm-functions.php”);
include(dirname(__FILE__).”/wpdm-core.php”);
ini_set(‘upload_tmp_dir’,UPLOAD_DIR.’/cache/’);
if(!$_POST) $_SESSION[‘download’] = 0;
class WordPressDownloadManager{
function __construct(){
register_activation_hook(__FILE__, array($this, ‘Install’));
add_action( ‘init’, array($this, ‘registerPostTypeTaxonomy’), 1 );
add_action( ‘plugins_loaded’, array($this, ‘LoadTextdomain’) );
add_action( ‘wp_enqueue_scripts’, array($this, ‘EnqueueScripts’) );add_action( ‘wp_head’, array($this, ‘wpHead’) );
add_action( ‘wp_footer’, array($this, ‘wpFooter’) );spl_autoload_register( array( $this, ‘AutoLoad’ ) );
new \WPDM\libs\UserDashboard();
new \WPDM\libs\Apply();
new \WPDM\admin\WordPressDownloadManagerAdmin();
new \WPDM\libs\ShortCodes();}
/**
* @usage Install Plugin
*/
function Install(){
global $wpdb;delete_option(‘wpdm_latest’);
$sqls[] = “CREATE TABLE IF NOT EXISTS
{$wpdb->prefix}ahm_download_stats(
idint(11) NOT NULL AUTO_INCREMENT,
pidint(11) NOT NULL,
uidint(11) NOT NULL,
oidvarchar(100) NOT NULL,
yearint(4) NOT NULL,
monthint(2) NOT NULL,
dayint(2) NOT NULL,
timestampint(11) NOT NULL,
ipvarchar(20) NOT NULL,
PRIMARY KEY (id)
)”;$sqls[] = “CREATE TABLE IF NOT EXISTS
{$wpdb->prefix}ahm_emails(
idint(11) NOT NULL AUTO_INCREMENT,
emailvarchar(255) NOT NULL,
pidint(11) NOT NULL,
dateint(11) NOT NULL,
custom_datatext NOT NULL,
request_statusINT( 1 ) NOT NULL,
PRIMARY KEY (id)
)”;require_once(ABSPATH . ‘wp-admin/includes/upgrade.php’);
foreach($sqls as $sql){
//$wpdb->query($sql);
dbDelta($sql);
}$this->RegisterPostTypeTaxonomy();
flush_rewrite_rules();
self::CreateDir();}
/**
* @usage Load Plugin Text Domain
*/
function loadTextdomain(){
load_plugin_textdomain(‘wpdmpro’, WP_PLUGIN_URL . “/download-manager/languages/”, ‘download-manager/languages/’);
}/**
* @usage Register WPDM Post Type and Taxonomy
*/
public function registerPostTypeTaxonomy()
{
$labels = array(
‘name’ ► __(‘Downloads’, ‘wpdmpro’),
‘singular_name’ ► __(‘File’, ‘wpdmpro’),
‘add_new’ ► __(‘Add New’, ‘wpdmpro’),
‘add_new_item’ ► __(‘Add New File’, ‘wpdmpro’),
‘edit_item’ ► __(‘Edit File’, ‘wpdmpro’),
‘new_item’ ► __(‘New File’, ‘wpdmpro’),
‘all_items’ ► __(‘All Files’, ‘wpdmpro’),
‘view_item’ ► __(‘View File’, ‘wpdmpro’),
‘search_items’ ► __(‘Search Files’, ‘wpdmpro’),
‘not_found’ ► __(‘No File Found’, ‘wpdmpro’),
‘not_found_in_trash’ ► __(‘No Files found in Trash’, ‘wpdmpro’),
‘parent_item_colon’ ► ”,
‘menu_name’ ► __(‘Downloads’, ‘wpdmpro’));
$args = array(
‘labels’ ► $labels,
‘public’ ► true,
‘publicly_queryable’ ► get_option(‘__wpdm_publicly_queryable’, 1),
‘show_ui’ ► true,
‘show_in_menu’ ► true,
‘show_in_nav_menus’ ► true,
‘query_var’ ► true,
‘rewrite’ ► array(‘slug’ ► ‘download’, ‘with_front’ ► (bool)get_option(‘__wpdm_purl_with_front’, false)), //get_option(‘__wpdm_purl_base’,’download’)
‘capability_type’ ► ‘post’,
‘has_archive’ ► (get_option(‘__wpdm_has_archive’, false)==false?false:sanitize_title(get_option(‘__wpdm_archive_page_slug’, ‘all-downloads’))),
‘hierarchical’ ► false,
‘taxonomies’ ► array(‘post_tag’),
‘menu_icon’ ► ‘dashicons-download’,
‘exclude_from_search’ ► (bool)get_option(‘__wpdm_exclude_from_search’, false),
‘supports’ ► array(‘title’, ‘editor’, ‘publicize’, ‘excerpt’, ‘custom-fields’, ‘thumbnail’, ‘tags’, ‘comments’,’author’));
register_post_type(‘wpdmpro’, $args);
$labels = array(
‘name’ ► __(‘Categories’, ‘wpdmpro’),
‘singular_name’ ► __(‘Category’, ‘wpdmpro’),
‘search_items’ ► __(‘Search Categories’, ‘wpdmpro’),
‘all_items’ ► __(‘All Categories’, ‘wpdmpro’),
‘parent_item’ ► __(‘Parent Category’, ‘wpdmpro’),
‘parent_item_colon’ ► __(‘Parent Category:’, ‘wpdmpro’),
‘edit_item’ ► __(‘Edit Category’, ‘wpdmpro’),
‘update_item’ ► __(‘Update Category’, ‘wpdmpro’),
‘add_new_item’ ► __(‘Add New Category’, ‘wpdmpro’),
‘new_item_name’ ► __(‘New Category Name’, ‘wpdmpro’),
‘menu_name’ ► __(‘Categories’, ‘wpdmpro’),
);$args = array(
‘hierarchical’ ► true,
‘labels’ ► $labels,
‘show_ui’ ► true,
‘show_admin_column’ ► true,
‘query_var’ ► true,
‘rewrite’ ► array(‘slug’ ► ‘download-category’),
);register_taxonomy(‘wpdmcategory’, array(‘wpdmpro’), $args);
}
/**
* @usage Create upload dir
*/
public static function createDir()
{
if (!file_exists(UPLOAD_BASE)) {
@mkdir(UPLOAD_BASE, 0755);
}
@chmod(UPLOAD_BASE, 0755);
@mkdir(UPLOAD_DIR, 0755);
@chmod(UPLOAD_DIR, 0755);
self::setHtaccess();
if (isset($_GET[‘re’]) && $_GET[‘re’] == 1) {
if (file_exists(UPLOAD_DIR)) $s = 1;
else $s = 0;
echo “<script>
location.href='{$_SERVER[‘HTTP_REFERER’]}&success={$s}’;
</script>”;
die();
}
}/**
* @usage Protect Download Dir using .htaccess rules
*/
public static function setHtaccess()
{
\WPDM\FileSystem::blockHTTPAccess(UPLOAD_DIR);
}/**
* @usage Enqueue all styles and scripts
*/
function enqueueScripts()
{
global $post;wp_enqueue_script(‘jquery’);
wp_enqueue_script(‘jquery-form’);$wpdmss = maybe_unserialize(get_option(‘__wpdm_disable_scripts’, array()));
//if((is_object($post) && has_shortcode($post->post_content,’wpdm_frontend’)) || get_post_type()==’wpdmpro’ )
if (!in_array(‘wpdm-font-awesome’, $wpdmss))
wp_enqueue_style(‘font-awesome’, WPDM_BASE_URL.’assets/font-awesome/css/font-awesome.min.css’);if(is_object($post) && ( has_shortcode($post->post_content,’wpdm_frontend’) || has_shortcode($post->post_content,’wpdm-package-form’) || has_shortcode($post->post_content,’wpdm_user_dashboard’) || has_shortcode($post->post_content,’wpdm-file-browser’) ) ){
wp_enqueue_script(‘jquery-ui’);
wp_enqueue_script(‘jquery-ui-datepicker’);
wp_enqueue_script(‘thickbox’);
wp_enqueue_style(‘thickbox’);
wp_enqueue_script(‘media-upload’);
wp_enqueue_media();
}if(get_post_type()==’wpdmpro’ && is_single()){
wp_enqueue_script(‘wpdm-datatable’, plugins_url(‘/download-manager/assets/js/jquery.dataTables.min.js’), array(‘jquery’));
}if (!in_array(‘wpdm-bootstrap-css’, $wpdmss))
wp_enqueue_style(‘wpdm-bootstrap’, plugins_url(‘/download-manager/assets/bootstrap/css/bootstrap.css’));wp_enqueue_style(‘wpdm-front’, plugins_url() . ‘/download-manager/assets/css/front.css’);
if (!in_array(‘wpdm-bootstrap-js’, $wpdmss))
wp_enqueue_script(‘wpdm-bootstrap’, plugins_url(‘/download-manager/assets/bootstrap/js/bootstrap.min.js’), array(‘jquery’));wp_enqueue_script(‘frontjs’, plugins_url(‘/download-manager/assets/js/front.js’), array(‘jquery’));
wp_enqueue_script(‘jquery-choosen’, plugins_url(‘/download-manager/assets/js/chosen.jquery.min.js’), array(‘jquery’));
//wp_enqueue_style(‘choosen-css’, plugins_url(‘/download-manager/assets/css/chosen.css’), 999999);}
/**
* @usage insert code in wp head
*/
function wpHead(){
?><script>
var wpdm_site_url = ‘<?php echo site_url(‘/’); ?>’;
var wpdm_home_url = ‘<?php echo home_url(‘/’); ?>’;
var ajax_url = ‘<?php echo admin_url(‘admin-ajax.php’); ?>’;
</script><?php
}/**
* @usage insert code in wp footer
*/
function wpFooter(){
if(is_single()&&get_post_type()==’wpdmpro’){
?>
<script>
jQuery(function($){
$.get(‘<?php echo ‘index.php?_nonce=’.wp_create_nonce(‘__wpdm_view_count’).’&id=’.get_the_ID(); ?>’);
});
</script>
<?php
}
}/**
* @param $name
* @usage Class autoloader
*/
function AutoLoad($name) {
$name = str_replace(“WPDM_”,””, $name);
$name = str_replace(“WPDM\\”,””, $name);
$relative_path = str_replace(“\\”, “/”, $name);
$parts = explode(“\\”, $name);
$class_file = end($parts);
if(file_exists(WPDM_BASE_DIR.”libs/class.{$name}.php”)){
require_once WPDM_BASE_DIR.”libs/class.{$name}.php”;
} else if(file_exists(WPDM_BASE_DIR.str_replace($class_file, ‘class.’.$class_file.’.php’, $relative_path))){
require_once WPDM_BASE_DIR.str_replace($class_file, ‘class.’.$class_file.’.php’, $relative_path);
}
}}
new \WPDM\WordPressDownloadManager();
Topic: Not Functioning Properly
There are a few issues that we are experiencing, maybe they are all related.
First, the file upload button will not allow me to upload any files. It appends something to the end of the URL, but never loads the uploader.
Second, when I want to select members it won’t load any of the users that are already on my site…I can type, but it doesn’t load like in your video.
Third, when I use [wpdm_my_downloads] after purchase of the add-on, it shows all files when I am not logged in, even those some were set to different roles.
I am on the most current version of WordPress.
I have a Downloads page set up with multiple categories and it’s displaying a nested Log In form for each, which is destroying the look of the page (and of course, shouldn’t be there)
http://www.fortex.co.uk/downloads/
Would you be able to tell me what’s happening here? All of the files have ‘All Visitors’ selected in the ‘Allow Access’ section.