Search Results for 'Add Url'

Viewing 25 results - 926 through 950 (of 1,643 total)
  • Author
    Search Results
  • #87418

    Shahriar
    Moderator

    The [wpdm_frontend flaturl=0] shortcode adds option to create new packages from frontend. You can set allowed user roles from WPDM settings.

    And the form shown in the frontend when creating package can be modified to match your requirements. Please check the template doc for more info https://www.wpdownloadmanager.com/doc/template-files/

    You can modify the category page partially using the settings from Downloads Settings Frontend Category Page Options

    Another option is creating category archive template file taxonomy-wpdmcategory.php inside your theme directory. This requires coding experience.

    #87412

    In reply to: A few customizations


    Shahriar
    Moderator

    1 ) Add the following code in your theme’s functions.php file to modify the fav button texts,

    function wpdm_custom_tags($vars){
    
        $vars['fav_button'] = \WPDM\Package::favBtn($vars['ID'], array('size' ► 'btn-sm', 'a2f_label' ► "   ". __( "Like" , "download-manager" ), 'rff_label' ► "   ". __( "Undo" , "download-manager" )));
    
        return $vars;
    }
    add_filter( 'wdm_before_fetch_template', 'wpdm_custom_tags', 10, 1 );

    2 ) You have to modify your theme’s single.php file to remove these post meta. WPDM uses single.php to show download details. If you want you can create a custom template for download details page. The template name is single-wpdmpro.php [ https://www.wpdownloadmanager.com/doc/template-files/ ]

    3 ) Please send me the page URL to check. Looks like a CSS conflict.

    #87411

    Shafayet
    Moderator

    If you add it as URL in wp engine too, it will take 2 mins.

    #87326

    Shahriar
    Moderator

    1 ) We are checking the issue with the validity period and will add a patch in next release. I have made some modification to make the purchase one time.

    2 ) You can set custom description from Purchase Settings Order Title

    3 ) Premium Package shows individual file download button on the primary purchases page in user dashboard ( [wpdm_user_dashboard fav=1 flaturl=0 captcha=0 signup=1] ). Which shortcode are you using to show purchases? It is possible to add some custom CSS to hide the main download button. Another option is using a custom template.

    4 ) I have updated Download Manager plugin. That solved the saving issue.

    Let me know if you have any question.

    Thanks.

    #87307

    Jean-Marie Benoist
    Participant

    Ok, thanks !

    Any idea when that might be coming 🙂 ?

    Oh, and if I use [wpdm_frontend flaturl=0] but also uses custom templates for author-dashboard and wpdm-add-new-file-front, would default values stille work ? Because I just tried, and it stille doesn’t seem to work.

    Thanks for all your help !

    #87305

    Shahriar
    Moderator

    Oh, that where the problem is. Currently, Default Values works with [wpdm_frontend flaturl=0] only. Soon, we will add support for the [wpdm_package_form] shortcode too.


    Shahriar
    Moderator

    Maybe you have missed some characters when copied the code. Please send FTP info. I will add the code for you. Send me a site URL too So I can check if it works.


    Shahriar
    Moderator

    Looks like there is a filter available to modify the taxonomy arguments. Add the following code to your theme functions,

    function wpdm_custom_taxonomy_args( $args, $taxonomy, $object_type ) {
        if ( $taxonomy == "wpdmcategory" ) {
            $args['rewrite'] = array( 'slug' ► sanitize_title( get_option('__wpdm_curl_base', 'download-category') ), 'hierarchical' ► true );
        }
        return $args;
    }
    add_filter( 'register_taxonomy_args', 'wpdm_custom_taxonomy_args', 10, 3 );
    #87035

    In reply to: All Packages Shortcode


    Shahriar
    Moderator

    1 ) You can show custom data in all packages table using the Advanced Custom Fields ( https://www.wpdownloadmanager.com/download/advanced-custom-fields/ ) add-on.

    2 ) Sorry, not clear. Are you trying to get package URL from WPDM Frontend? You can get it from view package button.
    https://www.evernote.com/l/AUcjLb87XGVOlorTG_pVErBMtmOe432drqEB/image.png

    3 ) Which dashboard button? The one you see after the login? You can actually set redirect url in login shortcode to redirect the user to a specific URL after login.

    #86879
    This reply has been marked as private.
    #86872

    Lollen
    Member
    This reply has been marked as private.
    #86738

    Shahriar
    Moderator

    Hi,

    Yes, it is possible to redirect the user to the actual page they were asked to log in. You can set it from Login Required Message: option in WPDM settings.

    Adding ?redirect_to=[this_url] in your login link should do the job. The default message has been set up like that, so redirect should actually work as you wanted.

    Please check the option in WPDM setting and send temporary wp-admin login info in private reply if you need further assistance on this.

    Thanks.

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

Viewing 25 results - 926 through 950 (of 1,643 total)