Search Results for 'Add Url'

Viewing 25 results - 951 through 975 (of 1,656 total)
  • Author
    Search Results
  • #86703

    In reply to: Editing card page.


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

    Shahriar
    Moderator

    Hi,

    When using the ‘Wait for approval‘ option, email is sent after an admin approves the download from Downloads Subscribers Email Lock page. I have tested this feature and got the email after admin approval.

    In your email-lock template you have to add the [#download_url#] template tag, otherwise, the user has no way to get the download URL.

    Thanks.

    #86347

    lmobile
    Member

    Hello

    we get within chrome developer tool this error. The error occurs within the admin dashboard.

    notice.php?wpdmvarsion=4.7.7:1 Failed to set referrer

    Failed to set referrer policy: The value ” is not one of ‘no-referrer’, ‘no-referrer-when-downgrade’, ‘origin’, ‘origin-when-cross-origin’, ‘same-origin’, ‘strict-origin’, ‘strict-origin-when-cross-origin’, or ‘unsafe-url’. The referrer policy has been left unchanged.

    Is this caused by WPDM? Also we expect maybe this error causes another problem with calendarize it! plugin. There we could not save options page within calendarize it!, options always reseted after saving. Support of them told me maybe this error could be a part/ the reason for the problem.

    Thanks fo your help Marc

    <html>
    <head>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.6.2/css/bulma.css" />
    <link href="https://fonts.googleapis.com/css?family=Karla" rel="stylesheet"> 
    <script
      src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
      integrity="sha256-3edrmyuQ0w65f8gfBsqowzjJe2iM6n0nKciPUp8y+7E="
      crossorigin="anonymous"></script>
      <style>
      body,p{
    font-family: Karla, sans-self;
    font-size: 10pt;
    line-height:1.3 !important;
    letter-spacing: 0.5px;
    
      }
      time{
        font-size: 8pt;
        margin-top: 10px;
        display:block;
        color: #aaaaaa;
        font-style: italic;
      }
      .media-content{
        overflow: unset;
      }
      .content figure{
        margin:0 !important;
      }
      .fb-page.fb_iframe_widget iframe,
      .fb-page.fb_iframe_widget{
        width:100% !important;
      }
      </style>
    </head>
    <body>
      <div id="fb-root"></div>
    
      
      <script>
    window.fbAsyncInit = function() {
        FB.init({
          appId            : '221324504570049',
          autoLogAppEvents : true,
          xfbml            : true,
          version          : 'v2.11' 
        });
    
      };
    
      (function(d, s, id){
         var js, fjs = d.getElementsByTagName(s)[0];
         if (d.getElementById(id)) {return;}
         js = d.createElement(s); js.id = id;
         js.src = "https://connect.facebook.net/en_US/sdk.js";
         fjs.parentNode.insertBefore(js, fjs);
       }(document, 'script', 'facebook-jssdk'));
     
       jQuery(function($){  
     
        setTimeout(function(){
    
          FB.api(
          '/141087719309477/feed?access_token=200909553297304|Wk3QiltHyAJOsdKy4LTbyulusYQ&fields=name,link,type,status_type,description,picture,message,created_time,permalink_url&limit=5',
          'GET',
          {},
          function(response) {
            $.each(response.data, function(i, post){
              
                var cdate = new Date(post.created_time);
                cdate = cdate.toString().split(' GMT');
                cdate = cdate[0];
                $('#fb-posts').append('<div class="card"> <div class="card-content"><div class="content"><article class="media"><div class="media-left"><figure class="image is-64x64"><img src="'+post.picture+'" alt="Image"></figure></div><div class="media-content"><div class="content"><p>'+post.message+'</p><time datetime="'+post.created_time+'">'+cdate+'</time></div></div></article></div></div><footer class="card-footer"><a target=_blank href="'+post.link+'" class="card-footer-item">Learn More</a><a target=_blank href="'+post.permalink_url+'" class="card-footer-item">View On Facebook</a>    </footer></div>');
            });
          }
        ); 
    
        }, 2000);
           
       });
     
    </script>
       <div class="fb-page" data-href="https://facebook.com/wpdownloadmanager/" data-width="400" data-small-header="true" data-adapt-container-width="true" data-hide-cover="true" data-show-facepile="true"><blockquote cite="https://facebook.com/wpdownloadmanager/" class="fb-xfbml-parse-ignore"><a href="https://facebook.com/wpdownloadmanager/">WordPress Download Manager</a></blockquote></div>
       <div id="fb-posts"></div>
       <!-- a href="https://www.wpdownloadmanager.com/download/opt-in-magic/?utm_source=OptinMagicWPD&utm_medium=DashboardWidget&utm_campaign=new_addon" target=_blank><img src="https://www.evernote.com/l/AV0tp5IsHFFPEqNmyN2RzTZtzyDVBjbYYlIB/image.png" alt="New Add-on: Opt-in Magic" /></a -->
    </body>
    </html>
    
    #86306

    richardyoung
    Member
    This reply has been marked as private.
    #85858

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

    Shahriar
    Moderator

    You can use font awesome as shown in the following code. This code adds a star before the package name,

     [title]

    If you need help with the template please send temporary wp-admin login info in private reply.

    #81485

    OneAmerica
    Participant

    Hi there,

    This works. It solves the problem, but it creates a new issue. Now the icons aren’t appearing in the way they used to. Here is my template code. I’m wanting the icon to act as a link to the document. Can you please help me out? Please note you still have access to the site. Thanks!

    <div class=”media”>

    [icon]

    <div class=”media-body”>
    <h4 class=”media-heading” style=”padding-top: 0px;border:0px;margin: 0px;”>
    [title]
    </h4>
    <div class = “file-size wrapper”><p class = “file-size”>[file_size] </p></div>
    </div>
    </div>

    #81439

    April
    Participant

    Hi there,

    Trying to denote what is and what isn’t premium content by adding a star to the title via font awesome or an image and both ways are being stripped from the code below. Is there a trick to this? Or is there a way to add a differentiating icon of sorts to certain downloads perhaps based on category?

    <div class=”media”>

    [icon] <i class=”fa fa-star” title=”Premium Lynx Content”></i>

    <div class=”media-body”>
    <h4 class=”media-heading” style=”padding-top: 0px;border:0px;margin: 0px;”>[page_link]</h4>
    <div class=”dm-exerpt”>[excerpt_150] </div>
    </div>
    </div>
    [version]


    jleon213
    Member

    Hello,

    I am only selling 1 product, is it possible to “pre fill” the cart page? I know that I can use an url like this to fill the cart:

    http://www.mywebsite.com/?add_to_cart=643&quantity=1

    Is there something similar when I use a shortcode? This exactly: [wpdmpp_cart]

    Thanks.

    #80978

    Shahriar
    Moderator

    Please check the answers in the same order,

    1 ) Column title for the URL/files is files
    2 ) Not possible yet from core importer ( will add support soon ). Currently requires advanced CSV importer https://www.wpdownloadmanager.com/download/advanced-csv-importer/
    3 ) Column title is individual_file_download and value for global is -1
    4 ) Column title is cache_zip and value for global is -1
    5,6 ) Requires advanced CSV importer https://www.wpdownloadmanager.com/download/advanced-csv-importer/
    7 ) Not possible yet.

    Thanks.


    OneAmerica
    Participant

    Hi there,

    In a recent update, a client’s document library seemed to break.

    Instead of pulling up the file linked with the package, [download_url] pulls up a generic, empty file called “download-manager-file.”

    We can solve this problem by making any minor modification to the package and saving it. Then the package works as expected.

    You can see the issue at work on this page. https://wanewamericans.org/additional-citizenship-resources/#. Click on Citizenship Day fliers then click on Samples of completed N-648s – For medical providers

    I’m making this request on behalf of my client. Please email your response to eric@shew-design.com.
    Thank you!

    #80676

    Shahriar
    Moderator

    The preview was messed up by Animate Lazy Load WordPress Plugin. It was replacing the preview icon URL. I have disabled it, the preview is working now.

    Added custom CSS to change the badge background color.

    #80517

    Shahriar
    Moderator

    Hi,

    Looks like there are some CSS conflicts with your theme or another plugin. Could you please send me the page URL to suggest required CSS to fix this? Or just send wp-admin login info in private reply. I will add required CSS in theme option or theme’s stye.css file.

    Thanks.

    #80512

    Shahriar
    Moderator

    You can add custom CSS to change the colors.

    Here is the required CSS to change the white text color. Adjust the color code to match your style.

    #inp { color: #f00; }

    If you want to change any other color please send me the page URL and let me know which ones.

    Hi
    I purchaced WPDM Pro and WPDM Accordion plugin in order to display some pdf files to out site visitors
    We use DIVI theme from elegant Themes
    The accordion shortcode either generic or generated by tinymce addon are not working.
    If i change the theme to Twenty Seventeen , WPDM Accordion addon works as it should (with basic CSS formating of course)
    Can you please help to solve this issue?
    url https://experts2web.gr/%CE%AD%CE%BD%CF%84%CF%85%CF%80%CE%BF-%CF%85%CE%BB%CE%B9%CE%BA%CF%8C/
    (The site is in Greek Language but in WPDM Packages the Title is hybrid (englisg/Greek))

    #80080

    In reply to: Changing Link Color


    Shahriar
    Moderator

    Please send me the URL to check. I will suggest required CSS that you can add to change download link color. You can also use Image Button add-on to show beautiful download buttons instead of just links.

    #79767

    welswebmaster
    Participant

    Looks like new uploads and newly created packages aren’t allowing file upload at all when looking for the file in FTP.

    On this page: https://cls.welsrc.net/download-cls/general-documents/

    Now, when adding a NEW file to a download package, both URLS
    now appear as FILE-NOT-FOUND.txt (37 bytes)

    File added: Purchasing Center Fee Schedule

    Backend Link Icon URL –

    https://cls.welsrc.net?wpdmdl=3106&ind=1530107725720

    Frontend Download button URL –
    https://cls.welsrc.net/download-cls/general-documents/?wpdmdl=3106&ind=1530107725720

    I cleared cache both WPDM and Server – no difference.
    I reset server file permissions – no difference.

    Existing file uploads work just fine. Example of…

    Exisiting File: Thoughts of Faith Newsletter

    Frontend:
    https://cls.welsrc.net/download-cls/general-documents/?wpdmdl=3106&ind=1523374274611

    Backend:
    https://cls.welsrc.net?wpdmdl=3106&ind=1523374274611

    Looking at the file via FTP, the file doesn’t exist. I tried uploading a file as admin and it did not upload to the dir /wp-content/uploads/download-manager-files/

    The file size is 131 KB and the WPDM Upload Setting limit is 1024KB chunk size.

    I tried uploading on one of the other sub sites (technology) and had the same outcome.
    Next, I created a new download package and that also had the same outcome.

    #79475

    Shahriar
    Moderator

    It is possible but requires plugin customization. Add the following code after line 26 to get the category icon. Then include the variable as shown in the screenshot ( marked 2 )

    $category_obj = get_term($term->term_id);
    $category_metadata = maybe_unserialize( get_option(  "__wpdmcategory"  ) );
    $category_image_url = isset( $category_metadata[ $category_obj->term_id ][ 'icon' ] ) ? $category_metadata[ $category_obj->term_id ][ 'icon' ] : '';
    $cat_icon = $category_image_url != '' ? '' . $category_obj-/>name . '' : '';

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

    If you want to keep your changes unaffected by plugin update then copy the customized file and place it in /active-theme/download-manager/ directory.

    #79464

    Shahriar
    Moderator

    Hi,

    It is possible to keep the package download button open in the same session once the package is unlocked. You can add the following code after line 193 in /download-manager/libs/class.PackageLocks.php to apply it,

    if( isset( $_SESSION[ '_wpdm_unlocked_'.$package['ID'] ] ) == 1 ) {
                $download_url = \WPDM\Package::expirableDownloadLink( $package['ID'] );
                $link_label = get_post_meta($package['ID'], '__wpdm_link_label', true);
                $link_label = trim($link_label) != '' ? $link_label : __('Download', 'wpdmpro');
                $data = "";
    }

    But it will require very lengthy modification to unlock single file links. For now, use this modification. We will consider what you proposed for the future release of WPDM.

    Thanks.

    #79142

    LarryG
    Member

    I downloaded the pro version yesterday.
    I can’t seem to attach files to a package.
    Dragging files to the “Drop files here” doesn’t add the file to the “Attached Files” list, and using the “Select Files” button allows me to browse to a file, but selecting the file also does not add it to the Attached Files list.
    The “Browse” tab is empty.
    I can add a URL to the Attached Files list, but doing so still doesn’t allow a user to download the file.
    How can I get this basic functionality to work, please?

    #79005

    Shahriar
    Moderator

    Hi Matt,

    Thanks for choosing Download Manager.

    About the logout issue, Where does it redirect now? I have to check your installation to find where the issue is coming from. Please send temporary wp-admin login in private reply.

    Or

    You can add the following code in your theme’s functions.php file to redirect logged out users to the Homepage,

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

    Best regards.

    #78977

    Shahriar
    Moderator

    Setting up guest order page is pretty simple. Create a page and place this shortcode there [wpdmpp_guest_orders]

    To add this guest order page URL in your purchase confirmation email you have to edit the purchase-confirmation template from Downloads Templates Email Template page. Replace the [#order_url#] with the guest order page link and that’s it.

    #78788

    In reply to: Prosper Theme Issue


    Shahriar
    Moderator

    After payment is made PayPal redirects the user to the return URL you set on Premium Package PayPal settings. We will check this issue before the next update of the add-on.

    #78661

    In reply to: Tags only of WPDM


    Shahriar
    Moderator

    Please add the following code to your theme’s functions.php file and use [wpdm_download_tags cols="4" icon="tag" btnstyle="default"] shortcode to show the custom download tag created by the code I posted above.

    add_shortcode( 'wpdm_download_tags', 'wpdm_download_tags');
    function wpdm_download_tags($params = array()){
        global $wpdb;
        @extract($params);
        $parent = isset($parent)?$parent:0;
        $args = array(
            'orderby'       ► 'name',
            'order'         ► 'ASC',
            'hide_empty'    ► false,
            'exclude'       ► array(),
            'exclude_tree'  ► array(),
            'include'       ► array(),
            'number'        ► '',
            'fields'        ► 'all',
            'slug'          ► '',
            'parent'         ► $parent,
            'hierarchical'  ► true,
            'child_of'      ► 0,
            'get'           ► '',
            'name__like'    ► '',
            'pad_counts'    ► false,
            'offset'        ► '',
            'search'        ► '',
            'cache_domain'  ► 'core'
        );
        $categories = get_terms('download-tag',$args);
        $pluginsurl = plugins_url();
        $cols = isset($cols)&&$cols>0?$cols:2;
        $scols = intval(12/$cols);
        $icon = isset($icon)?"":"";
        $btnstyle = isset($btnstyle)?$btnstyle:'success';
        $k = 0;
        $html = "
    "; if($k==0) $html = ''; return "
    ".str_replace(array("\r","\n"),"",$html)."
    "; }

    Shahjada
    Keymaster

    You need to add those CSS codes to custom CSS option with theme customizer. Please give me the URL to suggest your required CSS changes, you can also add temporary wp-admin login info in a private reply if you want me to adjust it for you.

Viewing 25 results - 951 through 975 (of 1,656 total)