This reply has been marked as private.
This reply has been marked as private.
It appears the Form Lock add on using Gravity Forms has some jQuery issues when used with the Archive Page add on.
I am seeing a JS error when the page loads:
Uncaught ReferenceError: gformInitSpinner is not defined
When you try click download inside the popup, three jQuery errors show:
Uncaught ReferenceError: jQuery is not defined
Uncaught ReferenceError: jQuery is not defined
Uncaught ReferenceError: jQuery is not defined
The form however works fine when used from the individual file page.
I can provide URL on request.
Thanks.
This issue was created by cache plugin. It was caching download url for guest users, but those urls are unique and that’s where the issue created. However after adding some rules for download urls it is working now.
It is happening because of different post title length, you may need to add some custom css, however, please give me your url if you want me to suggest required css change 🙂
Sorry, not clear, may you please give me some mockup image, a rough drawing, how you want to make it or url of any other similar system.
However, after creating a package, you can again add new file later with that package.
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.