Search Results for 'Add Url'

Viewing 25 results - 876 through 900 (of 1,656 total)
  • Author
    Search Results
  • #92720

    Shahriar
    Moderator

    You have to add an extra class to control the size. For example, adding btn-lg class will make the button larger. Or you can just add inline CSS there.

    <a class="btn btn-success btn-lg" href="[download_url]">[link_label]</a>

    I have tested this on my setup. It works perfectly.

    #92715

    Shahriar
    Moderator

    Hi,

    If you use caching plugin WPDM doesn’t affect the performance as the page is served from cache. The only load it adds is static JS and CSS files which is not much and you are also minifying those.

    So, couldn’t think of any other option to increase the performance except the server capacity.

    The URL you sent above ask login info. But the login page loaded pretty fast.

    Thanks.

    #92624

    Shahriar
    Moderator

    I have tested LinkedIn share lock using my LinkedIn App Credentials. Works fine. Firefox blocks tracking scripts by default. Maybe that’s why the popup is not working for you. But it works for me both in Chrome and Firefox.

    Add your website URL in 2 options of LinkedIn App settings,

    1 ) SDK Settings Javascript Valid SDK domains:
    2 ) Auth OAuth 2.0 settings Redirect URLs:

    #92582

    In reply to: [icon]error


    Shahriar
    Moderator

    In your Package Settings Icon options, the

    https:

    part is missing from icon URL which was creating the issue. I have added a patch which will show the icon when URL is in your current format. But I guess you have uploaded a custom icon there which was gone after installing the patched version. So, now just upload your custom icon in /download-manager/assets/file-type-icons/ dir. Make sure to keep the file name same as before image_device_list.png

    The patch was replacing line 183 in /download-manager/libs/class.Package.php with the following code,

    else if ( strpos($post_vars['icon'], '//') === FALSE )

    #92413

    In reply to: Sorting Download Files


    Shafayet
    Moderator

    @jerschae, the total structure is completely different now, please create a new post with your issue, add issue url and the shortcode you are using.

    #92105

    1. Up until today, I have used the free plugin version to set up a new page.

    I have inserted the following shortcode into several dozen pages, referencing the link-template-default which rendered a nice, one-column list of downloads:

    [wpdm_category id="tickets-swiss-travel-pass-de" toolbar="0" order_by="field name" order="asc" template="link-template-default"]

    2. With the upgrade to the Pro version, the same link template has somehow changed (link-template-default), so all of my pages no longer displayed the same list. Here is one example where it is now showing a panel instead.

    3. Since I don’t want to update 60+ pages by changing the shortcode to another link template, I figured out how to go into PHP in order to override the template.

    4. For now, I have come up with the following snippet, hoping that it would nicely show my downloads like in the preview window within WP. I have overwritten the link-template-default, but the result looks pretty terrible and I can’t figure out how to make it a list again:

    <!– WPDM Link Template: Default Template –>
    <div class=”panel panel-default wpdm-link-template link-template-default”>
    <div class=”panel-body”>

    [thumb_200x100]

    <div class=”panel-content”>
    <h4 style=”padding-top: 0px;border:0px;margin: 0px;line-height: 1.7″>[title]</h4>
    <i class=”fas fa-hdd color-red”></i> [icon]  
    </div>
    </div>
    <div class=”panel-footer”>
    [download_link]
    </div>
    </div>

    5. Can you give me the correct code snippet which will create a view such as this one of yours?

    Thank you in advance!

    PS. And how can I add a target=”_blank” to the DOWNLOAD button, so that a new tab opens when someone clicks the button?

    #92069

    Shahriar
    Moderator

    You have to use custom CSS to change the text color. Target the .wpdm-download-link.btn.btn-link CSS classes to customize the text, font etc of shortcode button.

    The UI options apply to [download_link] tag only. So, If you want to show the download button then use a custom template and replace [download_link] with this <a class="btn btn-success" href="[download_url]">[link_label]</a>

    The feature was same before but controlled from Image Button add-on.

    #92059

    Matt
    Participant

    WPDM – PDF Viewer
    Version 1.2.4

    DM
    Version 4.8.11

    Theme
    Avada

    We have added the shortcode into the template and now getting error

    Frontend Error
    Notice: Undefined index: host in /home/…/…/wp-content/plugins/wpdm-pdf-viewer/wpdm-pdf-viewer.php on line 30

    Devtools Error
    JQMIGRATE: Migrate is installed, version 1.4.1
    ?__wpdm_pdf_viewer=1123|0:43 Uncaught SyntaxError: Invalid or unexpected token
    pdf.js:6211 The provided value ‘moz-chunked-arraybuffer’ is not a valid enum value of type XMLHttpRequestResponseType.
    supportsMozChunkedClosure @ pdf.js:6211
    viewer.js:10176 Uncaught ReferenceError: DEFAULT_URL is not defined
    at getViewerConfiguration (viewer.js:10176)
    at HTMLDocument.webViewerLoad (viewer.js:10180)

    #92038

    Shahriar
    Moderator

    Please check your “Password Reset Notification” email template content from Downloads Templates Email Template Tab. The template content should have the [#reset_password#] tag which adds the reset URL.

    #91871
    This reply has been marked as private.

    I was able to get the url to add the attachment. I am still not able to browse files on the server though.

    Hi there, I am trying to add a new download and this item is larger than 2MB. I have placed the item in the some location within the download-manager-files folder. My problem is that I am not able to use the browse option to find this file. I am also not certain what the url would be to add this in since download manager truncates the url with a number after the document id? I have not added a new item in quite a while… so maybe I am just missing a step or setting here? This could also be some sort of plugin conflict, I am not sure? Any help would be appreciated.

    Thanks,
    Becky

    #90984

    Matt Peddlesden
    Participant

    Hi,

    I’ve added a page with [wpdm_frontend flaturl=0] and am trying to review what this offers browsers of the site – specifically with the intention of allowing uploads from users.

    I can see the “add new” button, I click that and it asks for a title, I type a title in and then the page clears and I just get a small block of json:

    {“result”:”_ap_wpdm”,”id”:207}

    Also, if I click on File Manager it reports an invalid directory being used by scandir in wp-content/plugins/wpdm-filemanager/filemanager-frontend.php on line 5 – where can I review this setting and change if required?

    Thanks
    Matt.

    #90981

    simstim
    Participant

    Hi,

    I am using the directory add-on for a new site and everything seems to be working, except that the search never returns any results regardless of what I search for. The URL is:

    https://www.isasa.info/policy-database/

    Could there be a conflict with another plugin?

    Simon

    #90735

    In reply to: The [icon] shortcode


    Shahriar
    Moderator

    Please send me the URL to suggest CSS fix. Or send temporary admin login info in private reply. You can also try adding the following CSS, adjust the width based on your spec.

    .w3eden .wpdm_icon { max-width: 40px !important; }

    #90667

    Trevor Andrews
    Participant

    Hi,

    I want to add the [icon] into a template but it is coming out huge and, despite several efforts I can get the size to fit the box correctly.

    This is my code and attached is screen shot of result.

    <div class=”list-group wpdm-lt-card” style=”margin: 0 250px 15px 250px”>
    </div>

    <div class=”list-group-item”>

    [thumb_300x250]

    </div>

    <div class=”list-group-item”>
    <h1 style=”padding: 150px;margin:150px”>[icon]</h1>
    </div>

    Can you tell we where I am going wrong?

    #90645

    Hamid Ali Anjum
    Participant

    Hi,

    After adding multiple items to cart and pressing the checkout, the cart page appears empty.

    Please check url in private reply.

    #90553

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

    In reply to: Amazon S3 Link Expiry


    Shahriar
    Moderator

    Hi, Amazon S3 add-on generates unique download URL for different users. These URLs are valid for 1 hour. But it is not customizable yet. -Thanks.

    #90401

    In reply to: After Update Problems


    Shahriar
    Moderator
    This reply has been marked as private.

    Shahriar
    Moderator

    Send me the login URL the one from heading asks email address.

    #90393

    Shahriar
    Moderator

    Have you added the site URL in “Valid OAuth redirect URIs” option in “Facebook Login” settings? Please send temporary wp-admin login info in private reply to check the issue. I will test it using our App credentials.

    #90257

    Hi Guys,

    Just noticed that there is an audio player modal script added to every page on the website. Why is it added? How can we remove it?

    <audio autoplay controls style=’width: 100%;display: none’ id=’wpdm-audio-player’></audio> <script>jQuery(function($){try{$(‘a.wpdm-lightbox’).nivoLightbox();}catch(e){}});</script> <div class=”w3eden”><div id=”wpdm-popup-link” class=”modal fade”><div class=”modal-dialog” style=”width: 750px”><div class=”modal-content”><div class=”modal-header”><h4 class=”modal-title”></h4></div><div class=”modal-body” id=’wpdm-modal-body’><p class=”placeholder”> [ Placeholder content for popup link ] WordPress Download Manager – Best Download Management Plugin</p></div><div class=”modal-footer”> <button type=”button” class=”btn btn-danger” data-dismiss=”modal”>Close</button></div></div></div></div></div> <script language=”JavaScript”>jQuery(function(){jQuery(‘.wpdm-popup-link’).click(function(e){e.preventDefault();jQuery(‘#wpdm-popup-link .modal-title’).html(jQuery(this).data(‘title’));jQuery(‘#wpdm-modal-body’).html(‘<i class=”icon”></i> Please Wait…’);jQuery(‘#wpdm-popup-link’).modal(‘show’);jQuery.post(this.href,{mode:’popup’},function(res){jQuery(‘#wpdm-modal-body’).html(res);});return false;});});</script> <script>(function(){function addEventListener(element,event,handler){if(element.addEventListener){element.addEventListener(event,handler,false);}else if(element.attachEvent){element.attachEvent(‘on’+event,handler);}}function maybePrefixUrlField(){if(this.value.trim()!==”&&this.value.indexOf(‘http’)!==0){this.value=”http://”+this.value;}}
    var urlFields=document.querySelectorAll(‘.mc4wp-form input[type=”url”]’);if(urlFields&&urlFields.length>0){for(var j=0;j<urlFields.length;j++){addEventListener(urlFields[j],’blur’,maybePrefixUrlField);}}
    var testInput=document.createElement(‘input’);testInput.setAttribute(‘type’,’date’);if(testInput.type!==’date’){var dateFields=document.querySelectorAll(‘.mc4wp-form input[type=”date”]’);for(var i=0;i<dateFields.length;i++){if(!dateFields[i].placeholder){dateFields[i].placeholder=’YYYY-MM-DD’;}
    if(!dateFields[i].pattern){dateFields[i].pattern='[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])’;}}}})();</script>

    Thanks!

    #90127

    Shahriar
    Moderator

    Hi,

    If you could provide any server error log it will help to debug the issue.

    However, There is a workaround which seems to work. Instead of adding the file from a directory, You can attach the file URL ( https://www.pixelquest.de/mediathek/test-download-small.zip ) using the URL tab in “Attach File ( Datei anhängen )” meta box. In that case, download works fine. I have tested this with your “Test Download Small” package.

    Have you disabled the WPDM Bootstrap? The package details page looks a bit odd without the styles. If that’s what you prefer it’s okay.

    Thanks.

    #90117

    Shahriar
    Moderator

    You can add the following CSS in Customize Additional CSS to hide the “Shared with me” button,

    #sharedWithMe { display: none; }

    Or just remove the button from template file /wpdm-file-hosting/tpls/wpdm-file-browser-container.php ( line 15 )

    From the share window, you can get the package link which is a permanent URL ( Package Link tab ) and you can download package as many time as you want. Does it work for you?

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

    Add target="_blank" on line 51 in /wpdm-file-hosting/tpls/wpdm-file-browser.php to open the file in new tab.

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

Viewing 25 results - 876 through 900 (of 1,656 total)