Shahriar

Forum Replies Created

Viewing 25 posts - 7,776 through 7,800 (of 12,513 total)
Aug 1, 2017 at 7:57 pm
#61210
Moderator
Shahriar
Staff OP

Yes, you can set the option to open a file in the browser from Downloads Settings Basic File Download panel.

https://www.evernote.com/l/AUfC9N__JwNKPItC0ZINOWM4vT-q1OTp4kkB/image.png

Aug 1, 2017 at 7:55 pm
#61209
Moderator
Shahriar
Staff OP

You can set the link template for the search result page. Please check the following shortcode. Use any link template you want.

[wpdm_search_result template="link-template-calltoaction1"]

Aug 1, 2017 at 7:51 pm
#61208
Moderator
Shahriar
Staff OP

Hi,

Please send temporary wp-admin login info in private reply. I will set it up for you.

By the way, have you installed WPDM Pro? Prosper requires Download Manager plugin.

Regards

Aug 1, 2017 at 7:44 pm
#61206
Moderator
Shahriar
Staff OP

So your single.php solution is working? Can I mark this as resolved?

Jul 31, 2017 at 9:48 pm
#61171
Moderator
Shahriar
Staff OP

You can hook a function with the package view or download operation.

Use the following code to update package size when someone views the package,

add_action("init", 'wpdm_update_remote_pacakge_size');
function wpdm_update_remote_pacakge_size(){
if(isset($_REQUEST['_nonce'])&&wp_verify_nonce($_REQUEST['_nonce'],"__wpdm_view_count")){
$package_id = intval($_REQUEST['id']);
$old_package_size = get_post_meta($package_id, '__wpdm_package_size', true);
// get remote file size and update post meta here
die();
}
}

Or use wpdm_onstart_download hook to attach your custom function with download operation.

You can bulk update all package at once by going through all packages too.

Jul 31, 2017 at 9:26 pm
#61170
Moderator
Shahriar
Staff OP

One of your plugins and active theme modifying query when there is a search.

Modified SQL looks like this SELECT * FROM wp_posts WHERE 1=2 which prevent to get any posts. Please try switching theme and deactivating other plugins to find where it is coming from.

Jul 31, 2017 at 9:03 pm
#61168
Moderator
Shahriar
Staff OP

Your theme or one of the following plugins modifying post query using pre_get_posts action hook. The issue resolves after switching theme. Please ask your theme provider to check this. They must add some kind of condition so this hook doesn’t affect other plugins.

Jul 31, 2017 at 8:40 pm
#61164
Moderator
Shahriar
Staff OP

Please check now.

Jul 31, 2017 at 8:39 pm
#61163
Moderator
Shahriar
Staff OP

There is no way yet do that from your side. So, just let us know when you want to unlock the key. However, it is done now.

Jul 31, 2017 at 8:38 pm
#61162
Moderator
Shahriar
Staff OP

No way yet to get regular post ID through template tag or TinyMCE.

Jul 31, 2017 at 7:46 pm
#61160
Moderator
Shahriar
Staff OP

Currently, Download Manager only measures file size only when the file is stored on your current server. For remote files, you have to manually input the size for now.

Jul 31, 2017 at 7:46 pm
#61159
Moderator
Shahriar
Staff OP

Thanks for letting know about the issue. We will adjust this in next release.

Jul 31, 2017 at 6:43 pm
#61156
Moderator
Shahriar
Staff OP

Verified your key. It was linked to your staging server.

Jul 31, 2017 at 6:40 pm
#61154
Moderator
Shahriar
Staff OP

Somehow your private reply is not available here. Please email it to support@wpdownloadmanager.com

Jul 31, 2017 at 6:17 pm
#61150
Moderator
Shahriar
Staff OP

Please send the login URL too.

Jul 31, 2017 at 6:17 pm
#61149
Moderator
Shahriar
Staff OP

Where did you send it? Did you mail that? Please send it as a private reply here.

https://www.evernote.com/l/AUd0Lhx5uCdPcbs_CtTyd5mKQasd_mhCG0wB/image.png

Jul 31, 2017 at 6:13 pm
#61148
Moderator
Shahriar
Staff OP

Hi,

It requires code customization. You have to create your own template for /download-manager/tpls/wpdm-all-downloads.php file. Please check the related doc here https://www.wpdownloadmanager.com/doc/template-files/

Thanks.

Jul 31, 2017 at 5:48 pm
#61146
Moderator
Shahriar
Staff OP

Hi,

You can use Dropbox add-on to attach files from Dropbox.

But to restrict downloads user sign up is required. Otherwise, files will be accessible by all users as there is no way to classify guest users.

Your best option is using WPDM Pro with Advanced Access Control add-on. You can assign downloads to a specific user using AAC add-on.

Let me know if you have any question.

Regards,

Shahriar

Jul 31, 2017 at 2:54 pm
#61139
Moderator
Shahriar
Staff OP

Hi,

You are using old version of PHP. Download Manager requires PHP version >= 5.4

Please ask your server support to update server’s PHP version. That will fix the issue.

Thanks.

Jul 28, 2017 at 12:17 pm
#61062
Moderator
Shahriar
Staff OP

Yes, I did get the following lead.

https://www.evernote.com/l/AUdiJzwNBA1OtamZXM0zrnMpmNGoY61I30AB/image.png

It means your API key is not working .Try creating a new key from this URL https://accounts.zoho.com/apiauthtoken/create?SCOPE=ZohoCRM/crmapi

Jul 28, 2017 at 9:43 am
#61052
Moderator
Shahriar
Staff OP

Hi Savvas,

There is no option yet to send email in this case. But it is a great idea. We will add an action there to hook any necessary task if this case happens.

For now, you can send the email by adding the following code in /download-manager/wpdm-start-download.php file.

$message = 'Attached files are missing in this package ' . get_permalink( $package[ 'ID' ] );
wp_mail( 'admin@site.com','File Not Found!', $message );

Add this code after the indicated line,

https://www.evernote.com/l/AUcSVzFy5DVPQqCA9N7Gpod0FLbTPIedtHYB/image.png

And obviously, change the email address in the code.

Regards,

Shahriar

Jul 28, 2017 at 9:09 am
#61051
Moderator
Shahriar
Staff OP
This reply has been marked as private.
Jul 28, 2017 at 9:02 am
#61050
Moderator
Shahriar
Staff OP

@a-hervieux, Please try now.

Jul 27, 2017 at 8:25 pm
#61041
Moderator
Shahriar
Staff OP

Please send temporary wp-admin login info in private reply to check the issue.

Jul 27, 2017 at 8:24 pm
#61040
Moderator
Shahriar
Staff OP

Use following shortcode. The flaturl=0 parameter will fix the 404 issue.

[wpdm_frontend flaturl=0]

Viewing 25 posts - 7,776 through 7,800 (of 12,513 total)