Search Results for 'Add Url'

Viewing 25 results - 701 through 725 (of 1,656 total)
  • Author
    Search Results
  • #121818

    Krys Petersen
    Participant
    This reply has been marked as private.
    #121793

    Sebastian
    Participant

    Hi there..

    i guess i didn’t understand it right..

    – created a dir named download-manager in my child theme dir
    – copied the link template in it
    – added [link_label] instead of [download_link]

    but it doesn’t work..

    <!– WPDM Link Template: Default Template –>

    <div class=”link-template-default card mb-2″>
    <div class=”card-body”>
    <div class=”media”>
    <div class=”mr-3 img-48″>[icon]</div>
    <div class=”media-body”>
    <h3 class=”package-title”>[page_link]</h3>
    <div class=”text-muted text-small”><i class=”fas fa-copy”></i> [file_count] [txt=file(s)] <i class=”fas fa-hdd ml-3″></i> [file_size]</div>
    </div>
    <div class=”ml-3″>
    [link_label]
    </div>
    </div>
    </div>
    </div>


    Nayeem Riddhi
    Moderator

    Hi,

    1. For Opening file instead of downloading you have an option in the Settings > Basic Settings under the File Download option Open In Browser.
    2. For pdf viewer, you can follow this add on doc, https://www.wpdownloadmanager.com/download/wordpress-pdf-viewer/, use doc_preview for your pdf viewer.
    3. For opening in a new window, you can follow this doc, https://www.wpdownloadmanager.com/doc/template-files/, by default, you are using link-template-default.php for link template and page-template-default.php for the page template. As documentation, you have to copy the file in the theme directory naming a folder called download-manager, then paste it in tpls>page-templates for page template or tpls>link-templates for link template. And you have to replace [download_link] with <a href="[download_url]" class="btn btn-primary" target="_blank">[link_label]</a> in related php file.

    Thanks.

    #121435

    welswebmaster
    Participant
    This reply has been marked as private.
    #121142

    Hatch First
    Participant
    This reply has been marked as private.
    #121131

    Jory Hogeveen
    Participant

    Hi Nayeem,

    The error you are referring to is fixed, this is actually unrelated to the issue from this topic.
    This is an AJAX call to add a view count to the package.
    This is also unrelated to this plugin as it is part of the Download Manager core plugin.
    It’s adding index.php in the URL and this is forbidden by a lot of servers due to security. Also, adding this is not needed.
    I’ve made a patch but can’t find Download Manager free plugin on GitHub, where can I provide the patch?

    Back to topic.

    I’ve searched more in depth and found an issue, probably Gravity Forms specific.
    GravityForms handles form submissions in the WordPress wp hook. See plugin file gravityforms.php in root on line 176 (add_action( 'wp', array( 'GFForms', 'maybe_process_form' ), 9 );)

    The problem is that Download Manager handles form lock in the WordPress init hook, which is run before the wp hook.
    See file: /libs/class.Apply.php line 30 (add_action('init', array($this, 'wpdmIframe'));).

    By the time WPDM_FormLock::gravityforms_html() is called the wp hook isn’t run yet so no form handling is done by GravityForms.
    This is the reason the form keeps displaying without processing any submissions.

    I’ve reproduced this issue over and over again on a completely fresh local installation with only Download Manager, WPDM Form Lock and Gravity Forms active on a default WordPress theme.
    My guess is that you are testing locally with an outdated GravityForms version. Please make sure you are up to date.

    Jory

    • This reply was modified 5 years, 6 months ago by Jory Hogeveen. Reason: File references
    #120668

    Carmine Pellegrino
    Participant

    Hello,

    when I try to add a new package from front-end (in a page with [wpdm_frontend] shortcode), clicking “Continue” button after insert Title, I get a blank page with just this message:

    {“result”:”_ap_wpdm”,”id”:1933}
    url: http://www.mydomain.com/download/?adb_page=add-new –> PROBLEM

    So I can’t add the package in front-end.

    Instead, I can edit package in front-end without problem (url: http://www.mydomain.com/download/?adb_page=edit-package/1714/ –> OK).

    Can you help? What is the problem?

    Thank you
    Flavia


    Web Guy
    Participant

    Hello,

    I want for the checkout process to be available to both guests and members.

    I currently have the following settings enabled for the shopping cart:
    – Enable Guest Checkout
    – Enable Guest Download

    I also have the following pages designated:
    – Cart Page: Shopping Cart (sitename.org/cart)
    – Orders Page: Purchases (sitename.org/purchases)
    – Guest Order Page: Guest Purchases (sitename.org/guest-purchases)

    I have “sitename.org/guest-purchases” configured in the “return url” settings for “Test Pay”.

    When a guest checks out, the guest is taken to that guest purchase page and their email address and order ID are automatically populated, so it is quick and easy for them to download their purchase.

    However, when a member checks out, they are redirected to that guest purchase page and their email address and order ID are BLANK.

    Is there a way that the email address and order ID can be automatically populated on that guest purchase page for the members as well?

    Thanks!

    • This topic was modified 5 years, 6 months ago by Web Guy. Reason: Updated my question
    #120300

    Michael Boeck
    Participant

    Hi together,

    we just installed the download manager plugin on a fresh wordpress instance with wpml translating running.
    At the installation the frontend gives us an 500 – we could fix that by changing the .htaccess back to “RewriteBase /” & “RewriteRule ./index.php” instead of “RewriteBase /de/” & “RewriteRule ./de/index.php” as written by the download manager plugin.

    But: Everytime when settings at the downlod manager plugin are saved at the backend, the .htaccess is overwritten with the same (/de). We assume that the wrong Base URL is used. How to fix this?

    Additionally a question: Is the plugin compatible with WPML?

    Best,

    Michael

    #120282

    Web Guy
    Participant
    This reply has been marked as private.
    #120129

    In reply to: Premium pkg issue

    Kindly help to solve these issues…
    I have some general questions.
    1: can we use “Cart” Icon on the navbar with number of products added in cart if yes so how can i add.
    2: after click on “Save Cart” button on cart page where can we see our saved cart? Because when i save cart the saved cart url is generated like this “https://tworivertimes.info/cart/?savedcart=5e4360403bf04” but not to proceed this url.

    #120004

    In reply to: Premium pkg issue

    Thanks it is working…
    I have some general questions.
    1: can we use “Cart” Icon on the navbar with number of products added in cart if yes so how can i add.
    2: after click on “Save Cart” button on cart page where can we see our saved cart? Because when i save cart the saved cart url is generated like this “https://tworivertimes.info/cart/?savedcart=5e4360403bf04&#8221; but not to proceed this url.

    #119906

    Web Guy
    Participant

    Hello. There is excessive padding between the price amount and the add to cart button when we use the add to cart button inside of a box on our website. I will send the URL in a follow up message. Please provide me with some custom CSS code that can be used to resolve this issue. Thanks.


    Jory Hogeveen
    Participant

    I’m encountering an issue with the Form Lock addon.
    It shows the form (Gravity Forms) correctly but upon submit it just shows the form again, no downloads or anything.
    I added a hidden field with the download ID shortcode like instructed and can see it rendered on the page source. Am I missing something?
    The default confirmation is currently an empty text message.

    If I look at the code, especially the gform_confirmation hook it seems that this hook isn’t working/firing. I also don’t see any entries in GravityForms so my guess is that the form submission isn’t working correctly.
    Upon submission of the form it send the POST request to https://www.my.domain/?__wpdmlo=### and this URL always returns the form, nothing else.

    Thanks in advance, any ideas in where to look is appreciated!

    #119765

    Senict Beanie
    Participant

    Trying again as I added a url to the last post and it is held for moderation.

    When users visit my membership site who are not logged in and view a download page they see the download buttons replaced with the ‘Please Log In to download’ link. Previously clicking this took visitors to the normal login page for my site. Since the last update this seems broken. The link is now a combination of the original page url with the login page url added to the end.

    It should be: login url

    It’s now: pageurlloginurl

    This still works on the free version on my other website but not on this site with the paid version. I’ve tried changing the login page in the Download Manger settings but this seems to have no effect.

    Can you help please?

    • This topic was modified 5 years, 7 months ago by Senict Beanie.
    #119215

    Anonymous
    Inactive

    Hi, I’m getting an error when I try to purchase a download on my website with Authorize.Net add-on (which I paid for). Authorize.Net works well with my Events Manager on my site, so I wanted to use it with Download Manager. However, the error comes from not having a URL to put in my Authorize.Net account and they don’t know what the URL is: this is the error: (14) The referrer, relay response or receipt link URL is invalid. (The referrer is Download Manager, and the relay response must be related to a link URL that is in your code, which I need to add to my Authorize.Net account.

    Please let me know if you can assist as I really do need this functionality and option for potential sales.

    Cheers…

    #119138

    Jim nabtesco
    Member

    I need to remove the following filter you have defined:

    add_filter("logout_url", array($this, 'logoutURL'), 999999, 2);

    I tried overriding the filter with a higher priority to no avail. I can’t remove the filter because you didn’t define a function, just array($this, ‘logoutURL’). Can you please assist?

    #118722

    Nayeem Riddhi
    Moderator

    Hi,

    You can create a link template with this code <a href="[download_url]">[icon]</a>. And after applying your package, You can use form lock add on for locking your package with any form, https://www.wpdownloadmanager.com/download/wpdm-form-lock/.

    Thanks.

    This reply has been marked as private.
    #117827

    Sean Brannon
    Member

    URL: https://bnssghealthiertogether.org.uk/healthyweston/additional-information/
    The conflict is causing the “tabs” to not work at all. And accordions don’t work either.


    Web Guy
    Participant
    This reply has been marked as private.
    #117554

    Shahriar
    Moderator

    – Fixed these warnings.

    – Used the following code to update the file path of all packages. It was using the URL before and created a broken preview image.

    function update_file_path(){
        $params = array( "post_status" ► "publish", "post_type"►"wpdmpro","posts_per_page"► -1 );
        $q = new WP_Query($params);
    
        while ( $q->have_posts() ) {
            $q->the_post();
    
            $files = maybe_unserialize(get_post_meta(get_the_ID(), '__wpdm_files', true));
            if ( ! is_array( $files ) ) $files = array();
    
            foreach ($files as $key ► $file):
                $files[$key] = str_replace('https://dev-wp.glasair-owners.com/wp-content/','/var/www/html/wp-content/', $file);
            endforeach;
    
            update_post_meta(get_the_ID(),'__wpdm_files', $files );
        }
    }
    add_action('init','update_file_path');

    – Re-calculated package size using the following code

    function update_package_size(){
        if( ! is_home() ) return;
        $params = array( "post_status" ► "publish", "post_type"►"wpdmpro","posts_per_page"► -1 );
        $q = new WP_Query($params);
    
        while ( $q->have_posts() ) {
            $q->the_post();
    
            $package_size = wpdm_package_size( get_the_ID() );
    
            update_post_meta( get_the_ID(),'__wpdm_package_size', $package_size );
        }
    }
    add_action('init','update_package_size');
    #117386

    tosh wicks
    Participant
    This reply has been marked as private.
    #117337

    Shahriar
    Moderator

    Hi,

    It is not possible yet, but you can auto-start the download in that page by adding the following code in /tpls/download-page-clean.php after line 130

    <script> window.location.href = "<?php echo $download_url; ?>"; </script>

    Or you can just serve the download right after an email submission.

    Thanks.

    #117330

    Shafayet
    Moderator

    Hi,
    That should not be an error, totally valid syntax and also working fine with my macbook pro safari.

    Front.js

    May you please give me your URL to check. If possible, please add temporary wp-admin login info in a private reply for faster resolution.

Viewing 25 results - 701 through 725 (of 1,656 total)