Shahriar

Forum Replies Created

Viewing 25 posts - 4,076 through 4,100 (of 12,513 total)
Nov 28, 2018 at 10:25 pm
#90112
Moderator
Shahriar
Staff OP

Tag import actually works when you have all data ( title, description etc ) in CSV file.

But it is possible to make it work just like you want it. Add the following code

if( $post_id == 0 && isset( $postdata['ID'] ) )$post_id = $postdata['ID'];

before wp_set_post_tags( $post_id, $drow['tags'], true ); in /download-manager/admin/menus/class.BulkImport.php file ( line no 182 )

Then try importing the file again.

Nov 28, 2018 at 10:12 pm
#90111
Moderator
Shahriar
Staff OP

The PDF thumb issue doesn’t seem to be related with JS error. Please send wp-admin info with plugin editor access. I have to run some tests.

If you can’t send the login info then perform the test,

Go to /download-manager/libs/class.FileSystem.php line no 399 and comment the line. Then add return $e; right below it.

Check your frontend page. There should be some info about the issue. Copy and send that info.

Nov 28, 2018 at 9:47 pm
#90110
Moderator
Shahriar
Staff OP

The Bootstrap CSS was missing because you renamed the plugin folder name. I have re-installed the WPDM. Now the Bootstrap CSS is available again.

Nov 28, 2018 at 9:26 pm
#90108
Moderator
Shahriar
Staff OP

Are you referring to the [wpdm_frontend] shortcode? The package title is actually required field there.

Or is it file hosting add-on? The custom version I sent you should allow the package creation without a title.

Nov 28, 2018 at 9:20 pm
#90106
Moderator
Shahriar
Staff OP

Just add the following code to your theme’s functions.php file. That should do the job,

add_filter('wpdm_user_dashboard_menu', 'wpdm_custom_dashboard_menus',10,1);
function wpdm_custom_dashboard_menus($menu_items){
    unset($menu_items['']);
    unset($menu_items['download-history']);
    unset($menu_items['my-downloads']);
    return $menu_items;
}
Nov 28, 2018 at 9:09 pm
#90105
Moderator
Shahriar
Staff OP

Hi,

You have to create a custom template file for all downloads table to keep the changes even after the plugin update. Here is how you can do that,

1 ) Copy the /download-manager/tpls/wpdm-all-downloads.php file.

2 ) Place it in /active-theme/download-manager/ directory.

3 ) Replace echo $download_link; with echo "<a target="_blank" href='".\WPDM\Package::getDownloadURL($data['ID'])."'>Download</a>"; in line no 355

That should open the links in new tab.

Thanks.

Nov 28, 2018 at 9:02 pm
#90104
Moderator
Shahriar
Staff OP

Works now without the Better Font Awesome plugin. I have disabled the WPDM Font Awesome from settings.

Nov 28, 2018 at 8:57 pm
#90103
Moderator
Shahriar
Staff OP

Hi,

This may be a conflict with another plugin or there is a JS error on the page. Could you please send temporary wp-admin login info in private reply? I have to check this as an admin user to provide a solution for this.

Thanks.

Nov 28, 2018 at 8:54 pm
#90102
Moderator
Shahriar
Staff OP

Hi,

There could be 4 cases. These are related to whether a user was logged in or not when downloaded the file and the settings of IP address collection.

1 ) History shows both IP address and username. This happens when someone downloads a file after logging in to your site. And you haven’t checked “Do not store visitor’s IP” option from Downloads Settings Privacy.

2 ) Shows only username when “Do not store visitor’s IP” is checked and someone downloads a file after logging in.

3 ) Only IP address when someone downloads without logging in and “Do not store visitor’s IP” isn’t checked.

4 ) Nothing under username/IP when someone downloads without logging in and “Do not store visitor’s IP” is checked.

Hope this helps. Let me know if you have further query.

Thanks.

Nov 28, 2018 at 8:42 pm
#90101
Moderator
Shahriar
Staff OP

Please try now. Unlocked the key from old site oxygraphics.co.uk

Nov 28, 2018 at 8:41 pm
#90100
Moderator
Shahriar
Staff OP

Please send me your key in private reply.

Nov 28, 2018 at 8:39 pm
#90099
Moderator
Shahriar
Staff OP

Hi,

Looks like you are hosting on Siteground. Your server is blocking the AJAX request sent by Download Manager. Please add the following rule in your .htaccess file to fix the issue.

<IfModule mod_security.c>
SecFilterRemove 001868
</IfModule>

Thanks.

Nov 28, 2018 at 8:34 pm
#90098
Moderator
Shahriar
Staff OP

Your custom field data is not formatted properly. You can’t use HTML there. Instead of using the whole image with a link just save URLs as custom data and move rest of the link to your custom template.

For example use this <a href="[custom_link]"><img src="[custom_image_url]"/></a> in custom template and collect custom_link and custom_image_url from ACF.

Nov 27, 2018 at 8:51 pm
#90067
Moderator
Shahriar
Staff OP

Hi,

The login issue is related to our WPDM login system. It strips some characters. We will fix it soon. Please don’t worry, it doesn’t affect the plugin feature.

And I have updated the plugin manually on your site.

Thanks.

Nov 27, 2018 at 8:37 pm
#90064
Moderator
Shahriar
Staff OP

Sorry, you will find the ?wpdmframe in /wpdm-file-hosting/tpls/wpdm-file-browser.php

Nov 27, 2018 at 8:35 pm
#90062
Moderator
Shahriar
Staff OP

Add active class in “Package Link” li element.

<li class="active"><a href="#link" data-toggle="tab">Package Link</a></li>

Nov 27, 2018 at 8:31 pm
#90060
Moderator
Shahriar
Staff OP

Hi,

Sorry, It is not possible to create new child categories. But if you already have created the hierarchy in the admin area, then it is possible to assign parent and child from bulk import.

Thanks.

Nov 27, 2018 at 8:23 pm
#90059
Moderator
Shahriar
Staff OP

You haven’t updated the API keys in social settings after creating new apps. So, it is showing the API error again.

In my last reply, I told you to add your site URL as callback URL in Twitter app settings which would have solved the issue.

Now, this is what you have to do to make this work,

1 ) Get new API key from app settings and save those in respective options in WPDM social settings.

2 ) Make sure you have added your site URL as allowed callback URL in app settings.

I have added my Twitter app credentials there to show you that the plugin works 100% (check the twitter tweet and follow lock now ) Please replace my credential with your own app keys.

https://www.evernote.com/l/AUfo-iKvnklJ2oMEjMV2hy_-RTsvfCo1QkIB/image.png

Nov 27, 2018 at 8:06 pm
#90055
Moderator
Shahriar
Staff OP

Keep a backup of the template file before the next update. We will add template support in the next version after that you can place your template file in /active-theme/download-manager/wpdm-file-browser-container.php location to override the default template.

On second thought, Actually just perform the following code update to add template support now. Replace line 79 with the following code in wpdm-file-hosting.php file,

include(wpdm_tpl_path('wpdm-file-browser-container.php', dirname(__FILE__)."/tpls/"));

Then copy your custom template /wpdm-file-hosting/tpls/wpdm-file-browser-container.php and place it here /active-theme/download-manager/wpdm-file-browser-container.php

Now next update won’t erase the changes you made.

Nov 27, 2018 at 7:57 pm
#90054
Moderator
Shahriar
Staff OP

What did the plugin author suggest? If you want you can add error_reporting(0); in your theme’s functions.php file to hide these warnings if the author can’t provide a solution.

Nov 27, 2018 at 7:53 pm
#90052
Moderator
Shahriar
Staff OP

Additional previews are there but looks like theme CSS is hiding them partially. Also adding some dots in li items.

Please send login info in private reply. I will add some custom CSS to fix these issues. I’ll also check the archive page column issue.

Nov 27, 2018 at 7:49 pm
#90049
Moderator
Shahriar
Staff OP

1 ) From template file /wpdm-file-hosting/tpls/wpdm-file-browser-container.php remove the tabs you don’t need,

https://www.evernote.com/l/AUdUSvf-uM5HMLi9YWZWz3tNN-3q9Y0b6FMB/image.png

2 ) Remove ?wpdmframe from line 40 in wpdm-file-hosting.php file.

Nov 27, 2018 at 7:44 pm
#90048
Moderator
Shahriar
Staff OP

You can add the following CSS in Customize Additional CSS to hide the “Shared with me” button,

#sharedWithMe { display: none; }

Or just remove the button from template file /wpdm-file-hosting/tpls/wpdm-file-browser-container.php ( line 15 )

Nov 27, 2018 at 7:36 pm
#90047
Moderator
Shahriar
Staff OP

Hi,

Yes, you can bulk import tags now when using CSV import. Create a column in your CSV with tags title. Just like the categories use commas if there are more than one tags for a package.

Thanks.

Nov 27, 2018 at 7:22 pm
#90044
Moderator
Shahriar
Staff OP

Just tested, the file upload works now.

Viewing 25 posts - 4,076 through 4,100 (of 12,513 total)