Search Results for 'Add Url'

Viewing 25 results - 901 through 925 (of 1,643 total)
  • Author
    Search Results
  • #89137

    Colin Hart
    Member

    Thank you for that, works nicely and much more elegant than my solution, does it all in one place from the Control Panel and I can use this button only on the products I want it on. It was the [addtocart_url] piece I was missing before when I tried to add a custom button

    #89094

    Shahriar
    Moderator

    Add the following message in Settings Basic Message Login Required Message option and set Hide Everything in Settings Basic Access Settings When user is not allowed to download:

    Login is required to access this page

    After setting these options, You will see a login link in packages where a user must log in to access the package.

    Make sure to replace the basesiteurl in the message with your site URL.

    #89085

    Shahriar
    Moderator

    No need to use the CSS to hide price info. You can customize the whole thing using custom link template. To add a custom add to cart button utilize the [addtocart_url] template tag as shown in the following example,

    <a class="btn btn-info" href="[addtocart_url]">Buy Now</a>

    You have to enable redirect to cart option if you want to redirect the user to the cart page after clicking the button. You will find this option at the bottom of the Premium Package settings page.

    #89043

    In reply to: S3


    Shahriar
    Moderator
    This reply has been marked as private.
    #88910

    In reply to: Links – on list


    Shahriar
    Moderator

    You can replace the title in cols with page_link to link the details page with the title. But template customization is required to add the download link in the title.

    You have to copy the /download-manager/tpls/wpdm-all-downloads.php file and place it in the /active-theme/download-manager/ directory.

    Then replace echo "<strong>".get_the_title()."</strong><br/>"; with

    echo "<a href='".\WPDM\Package::getDownloadURL($data['ID'])."'><strong>".get_the_title()."</strong></a><br/>"; in the new template.

    #88853

    In reply to: Downloads in Homepage


    Audrey
    Member

    Thanks a lot Shariar for your help. I even manage to do further customizations from your advices. I still have some of the issues discussed not solved.

    > Thanks for the custom link Template doc. I understand the global process but what I do not understand is how to apply the correct code to customize the template, as I do not see examples. For example you helped me to modify the Product title font size with <h2 style> but I did not manage to customize the Category name font size below even if I inspected the page code… So #wpdm-downloads * {font-size: 10pt;} is still controlling it.

    > To protect the file class.Categories.php from updates, I would like to add it in my Child theme. I tried : Child Theme >download-manager > widgets> class.Categories.php or Child Theme >download-manager > class.Categories.php but it does not work, what is the correct path to customize the category widget file in Child Theme?

    > You added [title] so now the title becomes a link, but the title is underlined on hover . I tried .w3eden a {
    text-decoration: none !important;}
    but this code also applies to the category name. How can I do to control only the title (product name) ?

    > Concerning Page titles, I understand that when I create a page or a post my theme controls the title (besides it displays correctly in « page-title pad group » when I create a page or a post). But when I add a download using WPDM plugin, I believed that the plugin would be controlling the title.

    Hope you will be able to help me with these issues,
    best,
    Audrey

    #88790

    Shahriar
    Moderator

    Are you adding file URL instead of attaching a file? This should work without any issue. Please send me a package URL to test the download and temporary wp-admin login info in private reply if possible.

    #88744

    In reply to: Link opens Popup Login


    Shahriar
    Moderator

    There is no shortcode available for that. Custom coding is required for that.

    But you can add the login popup in download button when user login is required for download. Just add the following code in Downloads Settings Basic Message Login Required Message section.

    
    
    
    
    
    #88627

    In reply to: Move License Key


    Shahriar
    Moderator

    PDF Viewer is working now. Your server was not allowing the | in URL. I have made some changes in PDF Viewer add-on to handle thing in a different way.

    You can check the viewer here https://falconoilandgas.com/download/corporate-presentation-agm-october-2018/

    If still having an issue then it is related to cache. Just clear all caches to fix.

    Btw, please always create new tickets to report new issues. It helps us to track issues easily.

    This reply has been marked as private.
    #88473

    Shahriar
    Moderator

    The div will be added automatically when using a template. You can generate a download URL from all downloads page then add that link with package title in this case. It will keep the link in the same line.

    #88282

    In reply to: Downloads in Homepage


    Audrey
    Member
    This reply has been marked as private.
    #88200

    Shahriar
    Moderator

    Found the issue. It was actually related to the Font Awesome version added in the viewer.

    Please replace the following code from /wpdm-pdf-viewer/tpls/viewer.php file,

    <?php echo WPDM_BASE_URL; ?>assets/fontawesome/css/fontawesome.min.css

    with https://use.fontawesome.com/releases/v5.1.0/css/all.css

    https://www.evernote.com/l/AUeI8xe6zolLmrExtTFT70sElUyUrMcVwZ8B/image.png

    We will add the patch in the next release of the PDF Viewer add-on.

    Thanks.

    #88191

    Shahriar
    Moderator

    Yes, you can add custom redirect URL in your registration form shortcode using redirect parameter.

    [wpdm_reg_form login=1 captcha=0 autologin="true" redirect="your_redirect_url"]

    #88189

    In reply to: Import with update


    Shahriar
    Moderator

    Hi,

    You can utilize CSV import feature to create all your packages from CSV file. Amazon S3 files can be attached to the package using the URL. S3 file URLs should look something like this https://mybucket.s3.amazonaws.com/file.ext

    In your CSV file write this URL under the files column. And separate the URLs using commas when there is more than one file.

    Yes, you can add custom columns. This requires using Advanced Custom Fields and Advanced CSV Importer add-on.

    Thanks.

    #87978

    Hamid Ali Anjum
    Participant
    This reply has been marked as private.
    #87933

    Fahim
    Member

    Hi Rob,

    For changing the “Download” label to “Visit” change the link label from the package settings.
    package setting

    For the hyperlink, add a remote url for the package.
    remote url

    Thank You!

    #87870

    In reply to: Key Expiry

    The file *DID* exist in the amazon bucket and it does not have special characters. The issue is it works for a while and then the key expires. It means I have to go an check all my downloads and fix anything that has broken. I have fixed the issue by re-adding the file from the bucket in the system so I can’t send you to a package url at the moment. It’s a KEY expiry… not a document issue.

    #87860

    Shahriar
    Moderator

    Add the following code to the bottom of your active theme’s functions.php file to redirect users to the homepage. You can add custom URL slug inside home_url function to redirect to a custom URL.

    add_action('wp_logout', 'wpdm_logout_redirect');
    function wpdm_logout_redirect(){
        wp_redirect(home_url(""));
        exit();
    }

    kalico
    Member

    I’ve been using Scott Reilly’s Text Replace plugin for ages, and it’s always been perfect. But something has happened recently to disrupt it’s functioning and I’m not sure what’s up.

    I have a list generated by WPDM on this page (http://nrocnetwork.org/resources/courses/nroc-math/nroc-math-standard/?target=instructors). There are many resources in the list with (secure) after the title. In each case, this should be replaced with a lock icon, per my settings in Text Replace, which is set up like this:

    (secure) ► <i class=”fa fa-lock fa-lg”></i>

    It has been working correctly within the context of WPDM on these pages since we built the site. I haven’t made any changes (other than usual plugin updates). I’m running WP 4.9.8 and the Text Replace plugin works fine on a test page outside of WPDM (http://nrocnetwork.org/resources/test-secure-icon/).

    Can you tell what’s going wrong here? Is WPDM not filtering the other plugin’s code properly?

    Here is the template code I’m using on the page where it should be working:

    <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>
    

    Thanks in advance.

    #87621

    In reply to: All Packages Shortcode


    Shahriar
    Moderator

    Sorry for the delayed reply.

    I have updated the all packages shortcode to display the custom field value. You have to put the whole custom field name acf_status_Bid Date To avoid any confusion it is better not to keep any space in the custom field name.

    I have removed the [acf_Demo_demo_url] tag from the page template. It was added by mistake in the last update.

    #87533

    Shafayet
    Moderator

    @bzingler, no shortcode for that, but you can use HTML as @shahriar mentioned:

    <a href="//your-site-url/?wpdmdl=[ADD_FILE_ID]">[your custom button image or text]</a>
    
    #87530

    Shafayet
    Moderator

    1#
    It may happen due to some server settings, especially in siteground hosting. Please add the following to your site’s .htaccess file to get it to work:

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

    Or, Please contact hosting support to fix the issue
    2#
    Please give me your URL and a temporary wp-admin login info to check.

    #87494

    Shahriar
    Moderator

    Hi,

    I have created another link template. The design is the same as your custom template. Just replaced [download_link] tag with the following code,

    <a href="[download_url]">[link_label]</a>

    I tested this template with your first package on this page https://nwzg.de/nwzg-gesundheitsbrief/. It worked.

    So, you can update link template for all your packages to solve the download button issue. Or you can add a template parameter in your shortcode to override the link template from package settings. The template value should be the id of template you want to apply.

    e.g. [wpdm_package id=24 template="5ba9485fe0687"]

    Thanks.

    #87421

    In reply to: No Search Resuelts


    Shahriar
    Moderator

    How are you searching? Have you used any shortcode for it? Or is it just a simple search widget? Please send me the page URL to check.

    Tree shortcode doesn’t have the search feature. You can use DIrectory Add-on to have a search feature like this one https://demo.wpdownloadmanager.com/wpdmpro/simple-search/

Viewing 25 results - 901 through 925 (of 1,643 total)