Search Results for 'Add Url'

Viewing 25 results - 951 through 975 (of 1,642 total)
  • Author
    Search Results
  • 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.

    #78404

    In reply to: Prosper Theme Issue

    Hi Shahriar, theme looking good!

    These are probably easy to do, but not sure how to:

    1. Homepage: “Explore Categories” text is slightly cut off at the top and bottom.

    2. Members (Customers) logged in page: Can you please disable the Toolbar when customers are logged into their dashboard i.e. automatically uncheck the “Show Toolbar when viewing site” for all new subscribers (customers).

    3. Contact page – no map or form showing – can we please show these.
    https://www.creativeonlinepublishing.com/contact/

    I have added the variables to the “contact us” customise section.
    – Do I need to add a separate form plugin (Ninja forms or similar)

    4. Stripe works well; Paypal is not returning automatically to merchant:

    I’ve Set Paypal IPN:
    Current settings
    Notification URL https://www.creativeonlinepublishing.com/?action=wpdmpp-payment-notification&class=Paypal
    Message delivery Enabled

    Many thanks 🙂

    #78231

    Shahriar
    Moderator

    Please check now. The issue is actually coming from your editor plugin. When you are entering edit mode your plugin is not calling the wp_head but enqueuing all frontend scripts from other plugins. So, some files are missing the required variable initialization.

    However, I have added the following code in /wpdm-premium-packages/assets/js/wpdmpp-front.js to handle this situation,

    if(wpdmpp_base_url == undefined ) var wpdmpp_base_url = '';

    #78229

    Tom DuHamel
    Member
    This reply has been marked as private.
    #78226

    In reply to: Link Template issues


    Brian
    Member
    This reply has been marked as private.
    #77948

    Shahriar
    Moderator

    Please add the following code to the bottom of your active theme’s functions.php file to redirect users to the homepage,

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

    Shahriar
    Moderator

    Please add the following text to your robots.txt

    User-agent: *
    Disallow: /*?wpdmtask=get_downloads

    That would block any URL with ?wpdmtask=get_downloads from being indexed by a crawler.

    #77611

    imfinlay
    Member

    Hi, no WP_CONTENT_URL defined in wp-config or anywhere else I can grep for. I can’t give you an FTP login as all logins are ssh/sftp with key auth. If you send me your public key I can add it.

    #77124

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

    Hi,

    Sorry, you can not use multiple google drive account with the google drive addon. But you can attach the link from the multiple google drive file by attaching file URL option in the package.

    Thanks


    David
    Member

    Hi, we just moved our site to a live server and now all of the custom templates have disappeared, and the download links are looking terrible. We need to get this resolved ASAP.

    We had to do a find and replace to update the url’s to the live url address, so I’m not sure if that would have affected it.

    Please help!

    #76293

    Shahriar
    Moderator

    Multi-file zip download is working now. I deleted the previous installation of the plugin and installed a fresh copy. If you face the issue on other sub-sites, just deactivate and re-activate the Download Manager.

    The [download_link] template tag is working too. ( Removed onclick attribute & added {$post_vars['download_url']} in href tag [ line no 185 class.Package.php ] )

    #76167
    This reply has been marked as private.
    #75961

    Shahriar
    Moderator

    Please add the following code after line no 250,

    $data['download_url'] = wpdm_download_url($data['ID']);
    $download_link = 'Download';

    In WPDM settings you have to check the Open file in the browser option. I have used plain text Download instead of a button. You can replace it with a button if you want.

    #74568

    Shahriar
    Moderator

    You can try the following code,

    echo "
  • ";

    Replace /wpdm-extended-shortcodes.php line 484 with this code.

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