Shahriar

Forum Replies Created

Viewing 25 posts - 8,426 through 8,450 (of 12,513 total)
May 25, 2017 at 5:14 am
#58249
Moderator
Shahriar
Staff OP

Which carousel are you using? Is it from MiniMax or Directory add-on? It is possible to change the size. Might require some code customization.

May 25, 2017 at 5:08 am
#58248
Moderator
Shahriar
Staff OP

Hi, Can I disable other plugins to check if this issue is related to plugin conflict?

 

May 24, 2017 at 9:31 pm
#58236
Moderator
Shahriar
Staff OP

Please check following screenshot,

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

As the screenshot says, just remove folders filter to view files in current directory. You can select files only from the first Tab ( Google Drive ).

May 24, 2017 at 8:04 pm
#58226
Moderator
Shahriar
Staff OP

Hi,

Please install the latest version of Download Manager to fix the license issue. Download the latest WPDM from your purchase area https://www.wpdownloadmanager.com/user-dashboard/purchases/

Thanks.

May 24, 2017 at 8:02 pm
#58225
Moderator
Shahriar
Staff OP

Hi,

Thanks for your suggestion. We will definitely look into it before releasing next version.

Thanks.

May 24, 2017 at 7:59 pm
#58224
Moderator
Shahriar
Staff OP

Please install Image Button addon  http://www.wpdownloadmanager.com/download/advanced-tinymce-button/ to change download button style.

May 24, 2017 at 7:58 pm
#58223
Moderator
Shahriar
Staff OP

Okay, I think you just want to show the download button. You can do that by inserting shortcode with button link template.

Install TinyMCE Button addon, then use it to insert shortcode wherever you want. Select Button link template from the drop-down to show only download button.

Send temporary wp-admin login info in private reply if you want me to set up an example on your site.

May 24, 2017 at 7:51 pm
#58221
Moderator
Shahriar
Staff OP

Hi,

It is possible to implement those features you listed above But requires some customizations.

We provide custom upgrade service in such cases. If you are interested, Please mail to customize@wpdownloadmanager.com to get a quote.

We will gradually add more features to Zoho add-on. But to get quick customized copy of addon for yourself custom service is required.

Thanks.

May 24, 2017 at 7:41 pm
#58220
Moderator
Shahriar
Staff OP

Hi,

You can use [doc_preview] template tag to show document preview. You files have to be publicly available when using this tag ( Google Library has to access those files to show preview ).

For image files, you can use [file_list_extended] template tag.  It shows image thumbnail like the following screenshot,

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

Thanks.

May 24, 2017 at 11:29 am
#58190
Moderator
Shahriar
Staff OP

Hi,

Select Members option is coming from Advanced Access Control addon. This is not a core plugin feature.

Thanks.

May 24, 2017 at 11:27 am
#58189
Moderator
Shahriar
Staff OP

Following code retrieves publish and update date. Use it inside Table function.

$publisg_date = get_the_date('',$file['ID']); $update_date = date_i18n(get_option('date_format'), strtotime($file['post_modified']));

May 24, 2017 at 11:17 am
#58188
Moderator
Shahriar
Staff OP

Please try now. Unlocked your key from the old domain.

May 24, 2017 at 6:39 am
#58181
Moderator
Shahriar
Staff OP

Hi,

Thanks for your inspiring feedback.

 

Use the following function to know if a user has downloaded a package,

wpdm_is_user_downloaded($pid, $uid)

The return value is bool. It returns true if the user already downloaded the package. Otherwise, returns false.

Example usage ( get_the_ID() works only inside loop, in other cases you have to provide pacakge id explicitly )

global $current_user; if ( wpdm_is_user_downloaded( get_the_ID(), $current_user->ID ) ) echo 'Downloaded';

 

There is no publicly available function yet to know if user purchased the pacakge. You can use following function to know that. It return order id if user purchased the package.

function wpdmpp_user_has_purchased($pid, $uid = 0)
{
    global $current_user, $wpdb;
    if (!is_user_logged_in() && !$uid) return false;
    $uid = $uid ? $uid : $current_user->ID;
    $orderid = $wpdb->get_var("select o.order_id from {$wpdb->prefix}ahm_orders o, {$wpdb->prefix}ahm_order_items oi  where uid='{$uid}' and o.order_id = oi.oid and oi.pid = {$pid} and order_status='Completed'");
    return $orderid;
}

Thanks.

May 24, 2017 at 6:00 am
#58179
Moderator
Shahriar
Staff OP

Please send temporary wp-admin login info in private reply to check the issue. Favorites page issue may be related to js error.

May 24, 2017 at 5:41 am
#58178
Moderator
Shahriar
Staff OP

Here are available options,

1. You can remove those sidebar widgets from your theme’s sidebar settings. Or, you can select a Full-Width template instead of Default.

2. Use a custom page template. You can create one from Downloads Templates page. You have total control over which information will be shown in this case. Remove all unnecessary info you don’t want.

If it is still not clear to you, please show me an example of what you want. That will be helpful to provide a precise solution.

May 24, 2017 at 5:31 am
#58177
Moderator
Shahriar
Staff OP

Your theme has it’s own Bootstrap JS, so multiple instances of Bootstrap was creating the modal issue. After deactivating WPDM js CSS from settings modal is working.

May 23, 2017 at 6:59 pm
#58170
Moderator
Shahriar
Staff OP

You can use Page Template add-on. This addon allows you to use theme provided page templates for the download page.

May 23, 2017 at 6:54 pm
#58168
Moderator
Shahriar
Staff OP

Please send me the page URL. I will suggest required CSS to fix the input style.

May 23, 2017 at 6:51 pm
#58167
Moderator
Shahriar
Staff OP

Hi,

Working now. It was a minor bug in Advanced Access Control add-on. I have added the patch to your installation. Also releasing an update for the add-on soon.

Thanks.

May 23, 2017 at 6:30 pm
#58162
Moderator
Shahriar
Staff OP

There is no filter available for the title. So, you have to edit the core file. File List is rendered by Table function in /download-manager/libs/class.FileList.php file.

Find the $fileTitle variable in that function and append or prepend your custom info there.

May 23, 2017 at 6:16 pm
#58160
Moderator
Shahriar
Staff OP

Default Values add-on update available now. WPDM will be updated within next week.

May 23, 2017 at 5:40 am
#58140
Moderator
Shahriar
Staff OP

Hi,

Do you want to keep the order in processing state even after payment completion?

You can utilize wpdmpp_complete_order hook in that case. This hook provides you order id which you can use to change order status after payment.

Adding following code to your theme’s functions.php file should do the trick,

add_action('wpdmpp_complete_order', 'wpdm_pp_change_os');  function wpdm_pp_change_os($oid){      global $wpdb;      $wpdb->update("{$wpdb->prefix}ahm_orders",array('payment_status'►'Processing','order_status'►'Processing'),array( 'order_id'►$oid ));  }

Thanks.

May 23, 2017 at 5:10 am
#58138
Moderator
Shahriar
Staff OP

Hi,

You can add following code to your theme’s functions.php file to set logout redirect. This will redirect users to home page after logout. Set adding url parts inside home_url(“”) function.

add_action('wp_logout', create_function('', 'wp_redirect(home_url(""));exit();'));

Thanks.

May 23, 2017 at 5:08 am
#58137
Moderator
Shahriar
Staff OP

Hi,

You can add following code to your theme’s functions.php file to set logout redirect. This will redirect users to home page after logout. Set adding url parts insode home_url("") function.

add_action('wp_logout', create_function('', 'wp_redirect(home_url(""));exit();'));

Thanks.

May 23, 2017 at 4:54 am
#58136
Moderator
Shahriar
Staff OP

Default Values does not support frontend uploader yet. However, we are adding frontend support. The update is coming pretty soon.

Viewing 25 posts - 8,426 through 8,450 (of 12,513 total)