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.
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.
When I add a custom URL link for a file in external server and I want to do direct download of a package I’m getting a message:
“You do not have permission to download this file”
I have tried different URL files on a different servers, the same problem. Please advice.
1. When you click on delete button, it is added to a queue to delete on update, and the circular arrow icon is to undo/remove it from delete queue, the file actually will be unattached from the list when you update the package.
2. The whole point of keeping the template files in theme dir, so that you don’t lose your updates on plugin update, except we made any major changes in template files.
3.
— You can’t hide page template without deleting those from /active-theme/download-manager/page-templates/
and download-manager/tpls/page-templates/
dir.
— You can remove those from /active-theme/download-manager/metaboxes/package-settings-front.php
— You can remove LOCK OPTIONS & ICONS from /active-theme/download-manager/metaboxes/package-settings-front.php
— preview image metaboxes in /active-theme/download-manager/new-package-form.php
— The SAVE AS DRAFT checkbox in /active-theme/download-manager/new-package-form.php
— You can remove BROWSE & URL tabs from /active-theme/download-manager/metaboxes/attach-file.php
This reply has been marked as private.
Thanks for getting that working.
Some issues from above that still need resolving plus one new one that appeared from testing:
(1) If I add a file to a file package and then try to delete it, the red X in the top right corner for that file changes to a symbol of circular arrows but does not delete the file. I have tried updating the package after clicking the X but the file remains in the package.
(2) The edit in the theme folder you indicated … the question I asked is whether files are stored by you in the theme folder along the lines of how a child theme works, so I could edit such files without losing such edits on the average plugin update?
(3) Where do I edit to hide certain page elements on the ADD NEW page:
– The options that appear below the option VERSION, i.e. I want to hide LINK LABEL through to PAGE TEMPLATE
– The two tabs LOCK OPTIONS & ICONS
– The two panels MAIN PREVIEW IMAGE & ADDITIONAL PREVIEW IMAGES
– The SAVE AS DRAFT checkbox
– On the ATTACH FILES panel, hide the BROWSE & URL tabs
… I need a simplified experience for frontend editors and have previously done such edits under your guidance but now files have changed quite a bit.
Can you please respond to each of these before the weekend?
Thanks.
Please ask your server support to add the following to your .htaccess file. That should fix the saving issue. Send me an url where you see the warning.
<IfModule mod_security.c>
SecFilterRemove 001868
</IfModule>
You can upload those icons somewhere else. Then add the icon URL in package settings. Your URL will still be there after plugin update.
There are two ways of showing a download/package.
1. Link template ( using shortcode ) – There are multiple link templates available. Each one has its own layout. Use TinyMCE addon to insert shortcode, you will find the option there to select the link template.
2. Page Template – This is the details page for the package/download. You see this page when previewing the package. You can set this details page url in your link template. Clicking on the title ( in link template ) brings the user to the details page.
Hello,
1. I have a question why only one package appears on the homepage of the ‘NEW DOWNLOADS’ section? There is no ‘TABBED’ section too. I have turned off the SLIDERS section, but it did not affect the problem with the rest of the sections.
2. Is it possible to add the Top Downloads section on the homepage?
3. Translations of this phrases are not visible on the site admin panel:
– If you like, you may enter custom structures for your wpdm category and package URLs here. For example, using “<b>packages</b>” as your category base would make your category links like http://example.org/<b>packages</b>/category-slug/. If you leave these blank the defaults will be used.
– Rename New File
– Publish Instantly
Cannot see how to add a new post – so I am posting here.
i have 3 pro licences, 2 are working – the other keeps saying invalid (www.burlescombprimary.co.uk) – can you please explain why and please fix. Thank you.
This reply has been marked as private.
Hi,
When packages in the table are filtered using category page reload event occurs and loads a different URL ( adds category info in URL ). Shouldn’t these two events enough to provide the user a sense that back button will bring all packages back?
However, if you want you can make your own template for All Packages table and add following code to create a Back to all packages button,
<?php if(isset($_GET['wpdmc'])): ?> <a href="<?php echo get_permalink(); ?>">All Downloads</a> <?php endif; ?>
Thanks.
The link you shared uses Crypton’s default look. Your package page should look like that by default if you are using Crypton. You need this add-on to show image buttons https://www.wpdownloadmanager.com/download/wpdm-image-button/
Please send me the url to check.
Sorry, not clear, please give me your URL to check.
You can add home button from wp menu manager ( Admin Menu Appearance Menus ).
— Download the latest version again and update your copy, tags will be active again.
— You can update add-ons from Admin Menu Downloads Settings Updates
— I need to check it in your setup, please give me the url, the username and password again in a [rivate reply.
This is the template I”m using to display that list of links:
<div class="well c2a1">
<div class="media">
<div class="media-body">
<h3 class="media-heading" style="padding-top: 0px;border:0px;margin: 0 0 5px 0;font-size:12pt;font-weight:700">[popup_link] </h3>
<span style="float:left;padding-right:10px;"><a href="[page_url]" data-title="[title]" class="wpdm-popup-link" data-toggle="modal" data-target="#wpdm-popup-link">[icon]</a></span>[excerpt_300]
</div>
</div>
</div>
<style>.well.c2a1 .btn.wpdm-download-link{ padding: 11px 30px;font-size: 11pt; } .well.c2a1 .media-body{ font-size: 11pt; }</style>
This reply has been marked as private.
Actually, the point is, this is not an issue with the plugin, if you want multiple files to download together, wpdm create a zip file using attached files, but, to create zip all files need to be on the same server, that is how PHP zip function works. But in the case of remote URL, PHP zip function can’t add it, so in that case, the only solution is, modifying the code, to copy the remote files on the same server, then attach with zip. Regardless of the complexity of code modification, the total process will be the waste of server resources and there is no meaning of keeping files on remote server.
#1. Admin Menu Downloads Subscribers menu show the list of emails and other user info you collected using email lock option. But, register signup visitors as wp user.
#2. add flaturl=0
to avoid permalink issue, like [wpdm_dashboard flatur=0]
#3. Got the issue with description, shall adjust it with the next update
#4. From next update, when you setup wpdm login and reg form, they will replace default reg and login form.
#5. replied there.
BTW, next update is coming within this month.
For stylish download button, please use this add-on:
WPDM Image Button
Give me your URL and temporary wp-admin login info in a private reply to check.
Hello
I have to add the download via the URL field, but I have the following problem:
If the URL of the file corresponds to a file with extension, for example: “http :: //www.example.com/lorem.jpg” there are no problems
if the url of the file has no extension, eg “http :: / /www.example.com/lorem” I download a text file: file-not-found.txt
I have some files in Google Drive that I need to load it with a path like this: https://drive.google.com/open?id=0123456789qweasdzxc without extension
Using Safari I can see this error: Failed to load resource: Loading frame interrupted
Kind regards
This reply has been marked as private.
If you want to get email and name, you simply need to enable email lock option from add/edit package window.
For instead of using direct category URL, if you want to use ready templates, you need to create a page and insert category shortcode ( https://www.wpdownloadmanager.com/doc/short-codes/wpdm_category-query-all-downloads-from-one-or-more-categories/ ) on the page content.
Every feature wpdm pro offers explained here https://www.wpdownloadmanager.com/docsfor/download-manager-pro/, as all the feature gives many possibilities, how exactly you want to use those will depend on your imagination and planning. But to do that, you at least need to go through all the docs and be familiar with all the features wpdm pro offers.
As far as I understand from your description, you need email lock or form lock and the category shortcode.
However, use following add-on to generate shortcode:
Advanced TinyMCE button
Still, don’t worry, we are here together with you to clear any of your confusion.