Search Results for 'Add Url'

Viewing 25 results - 926 through 950 (of 1,656 total)
  • Author
    Search Results
  • #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/

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

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