But wpdm doesn’t add any such button. However please give me your url to check.
Hello Michael,
1. I have found a bug in advanced tinymce button after checking your issue. Replace link_template
by template
in shortcode, i.e. your shortcode would look like following one,
[wpdm_packages template="link-template-calltoaction4" order_by="post_title" order="asc" paging="asc" items_per_page="10" title="" desc="" cols=1 colsphone=1 colspad=1]
Will fix it in next addon update.
2. [wpdm_tree] shortcode is working fine in our test. Please send me the page url where you have this shortcode.
Thanks
Shahriar
Actually it is not in our plugin scope, still I’ve done it for you, use following code:
class PackagePermalink{
function __construct()
{
add_filter( 'the_permalink', array($this, 'Permalink'));
add_action( 'pre_get_posts', array($this, 'ParseURL') );
}
function Permalink($url){
return str_replace(get_option('__wpdm_purl_base').'/',"", $url);
}
function ParseURL( $query ) {
// Only noop the main query
if ( ! $query->is_main_query() )
return;
// Only noop our very specific rewrite rule match
if ( 2 != count( $query->query ) || ! isset( $query->query['page'] ) ) {
return;
}
// 'name' will be set if post permalinks are just post_name, otherwise the page rule will match
if ( ! empty( $query->query['name'] ) ) {
$query->set( 'post_type', array( 'post', 'page', 'wpdmpro' ) );
}
}
}
new PackagePermalink();
Hi Shahriar, the package_dir isn’t working anymore. Even if i add a URL by hand within the dashboard, the packages aren’t automatically added within the folder. Did something change?
Here i added two classes ( btn and btn-primary ) to add button style in my download link,
<a class="btn btn-primary" href="[download_url]" target="_blank">[link_label]</a>
This reply has been marked as private.
HI, i just updated with the wpdm 4.4
But i have some errors:
1. the ftp external is not working, why? In addition it is suppose to not save chache, what do i have to check?
2. All files are only allowed to specific users : so they have to log in and the can download files. But if i copy the url of the file and paste it in other browser without login i can also download the file!!! How is that possible?
Thanks!!!
If you are using remote url for all 3 files, then zip will be empty, because, remote files in attached file list can’t be added in zip, as files need to be stored in same server to create zip file.
Actually the plugin convert each pdf page into image, then show it, but it is actually out of wpdm scope, however you may use the plugin and create a wpdm add-on to introduce new template tag for pdf embedder.
Example code:
<?php
add_filter('wdm_before_fetch_template','custom_pdf_embedder',10,1);
function custom_pdf_embedder($vars){
$vars['embed_pdf'] = do_shortcode("[pdf-embedder url='{$vars['download_url']}' ]");
return $vars;
}
?>
Now you can use [embed_pdf]
as template tag in link/page template
This reply has been marked as private.
This reply has been marked as private.
Hi Sir,
I would like to know how to upload files from the frontend?
Do I have to install any add on?
What is the URL to access to frontend upload page?
Thanks.
Michael
Hi
we’re just about to launch, and I’ve a bunch of question. sorry for your troubles, and really appreciate your kind response.
1. Is the carousel model support hide everything? also the categories?
1.A With carosel mode, can the Home page shows categories and sub-categories each sub-category open page for all packages in that category?
2. what is the time-fame for your EULA add-on release? (you said within this month. Is this still on?
3. When is the next update for “extended short-code add-on”?
4. You said you’ve changed my single-wpdmpro.php file. I didnt notice it and upgrade my copy of WPDM, Can you send me the changes so I will do them again?
5. My search page is not working for some reason. I’m getting either “We found nothing” or an empty page. know anything about it? (you’ve my url and passwored if needed.)
6. After your last changes, the file name have changed (1441620183wpdm_ added before file name). how can I changed it back, and assure it wont happen again? File name should not be changed.
7. Does your search.php support search in packages?
8. Where Can I add search bar in the header, next to the page/package name? Does your widget support this area? in the menu is also fine.
you’ve my URL, username and password at the messages above if needed. Fill free to use this for anything.
You can download the download notification add-on from here http://www.wpdownloadmanager.com/purchases/
- Template preview and actual template may looks some different for front-end styles.
- please give me the URL where you trying to use it. Anyhow I’ve fixed the template used in this page http://applexia.fr/bibliotheque-driver/
- Archive page compact short-code is:
[wpdm-archive button_style="inverse" link_template="link-template-panel-1-3" order_by="post_title" order="asc" items_per_page="10" cat_view="compact"]
WordPress 4.3.1
Host: Wpengine
Url: http://[example.com]/download/%5Bpackagename%5D/?wpdmdl=2597
I can see in the logs it’s returning a 302 redirect but the expiration token was not getting updated. Here’s a log showing the expiration time being significantly off the +1 hour time when a link is generated.
=======================
[ip_address] [example.com]- [18/Sep/2015:02:33:23 +0000] “GET /download/[packagename]/?wpdmdl=2597 HTTP/1.1” 302 0 “http://[example.com]/%5Bpagename%5D/” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.93 Safari/537.36”
http://[bucketname].s3.amazonaws.com/pdf/%5Bfilename%5D?AWSAccessKeyId=AKIAITDJXZGVZXD4L5VA&Expires=1442545761&Signature=tdwF15%2FJqejewWtAQBE%2BCMCpUKI%3D
=======================
If I logged in as an admin, it would generate a valid url.
I then cleared the wpengine cache and a nonlogged in user (me in private mode) was able to get a valid link. Here’s that log
=======================
[ip_address] [example.com] – [18/Sep/2015:02:39:13 +0000] “GET /download/[packagename]/?wpdmdl=2597 HTTP/1.1” 302 0 “http://[example.com]/%5Bpagename%5D/” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.93 Safari/537.36”
http://[bucketname].s3.amazonaws.com/pdf/%5Bfilename%5D?AWSAccessKeyId=AKIAITDJXZGVZXD4L5VA&Expires=1442547553&Signature=%2FOaaWGq7U5ev%2BVNcuUjX74kp4pA%3D
=======================
If user click on download button, it actually goes to that URL to start download. Probably users are sharing direct download link form there, however as @shaon said, Block Hotlink add-on can protect you from such sharing, users or bots will bot be able to access download link directly or from the shared link.
You need to use this http://www.wpdownloadmanager.com/download/advanced-custom-fields/ to add video field and custom template tag for view URL. Then need to edit panel template and add button code.
HTML Code:
<!-- WPDM Link Template: Panel 1/3 -->
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-body">
<div class="media">
<a class="pull-left" href="[page_url]">
[thumb_60x60]
</a>
<div class="media-body">
<h4 class="media-heading" style="padding-top: 0px;border:0px;margin: 0px;height: 20px;overflow: hidden">[page_link]</h4>
<i style="margin: 4px 0 0 5px;opacity:0.5" class="fa fa-th-large"></i> [file_size]<Br/>
</div>
</div>
</div>
<div class="panel-footer"><div class="pull-left" style="line-height: 30px;"><i style="margin: 2px 0 0 5px;" class="icon icon-download-alt"></i> [download_count] downloads</div> <div class="pull-right">[download_link_popup]</div><div style="clear: both"></div></div>
</div>
</div>
<style>
.panel-footer .wpdm-download-link {
font-size: 10px !important;
padding: 3px 14px 5px !important;
}
</style>
This reply has been marked as private.
Please give me url where you using accordion add-on and temporary wp-admin login info in a private reply.
This reply has been marked as private.
- I want a single page listing all of the downloads.
- The page should ask for a password, email address, and name. Once it has that information, anything on the page should be allowed to be downloaded.
- The email address needs to be added to a list, possibly in Mailchimp or aweber
- I’d really like the email address to be added to a list which sends out a nag message once a week that they need to review the books they downloaded.
- PDF stamp should be added to each download with the name and the word “Confidential review copy” stamped
- For EACH download they ask for, an email needs to be sent to them with the URL of the download, the URL of the amazon page for the book, and instructions. The nag messages should do the same.
Can this product do this?
I have set up a temporary admin account. Please let me know how to send the username/password to your support.