Search Results for 'Add Url'

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

    Sean Brannon
    Member

    URL: https://bnssghealthiertogether.org.uk/healthyweston/additional-information/
    The conflict is causing the “tabs” to not work at all. And accordions don’t work either.


    Web Guy
    Participant
    This reply has been marked as private.

    Web Guy
    Participant

    Hello,

    I added a PDF file as the free download in the Premium Package Addon, but for some reason, it is adding an extra directory to the URL for the file, so the file is not being properly attached. I will provide further details in a private follow-up post.

    Thanks


    Thomas Aurich
    Participant

    Hi there,

    I am having problems with downloading files from the frontend that are not locked but should be free instead. In the WP Error Log I am repeatedly receiving the following errors:

    [07-Jan-2020 10:19:11 UTC] PHP Notice: Undefined variable: regurl in /var/www/…/…/…/wp-content/plugins/download-manager/tpls/wpdm-login-form.php on line 114
    [07-Jan-2020 10:19:11 UTC] PHP Notice: Undefined variable: log_redirect in /var/www/…/…/…/wp-content/plugins/download-manager/tpls/wpdm-login-form.php on line 120
    [07-Jan-2020 10:19:11 UTC] PHP Notice: Undefined variable: log_redirect in /var/www/…/…/…/wp-content/plugins/download-manager/tpls/wpdm-login-form.php on line 149

    The DM is version 5.0.4 and runs with the following add-ons:

    Advanced Custom Fields ( wpdm-advanced-custom-fields.zip ) 1.9.5
    WPDM – Form Lock ( wpdm-form-lock.zip ) 1.7.0
    WPDM – Form Lock ( liveforms.zip ) 3.7.3
    Download Notifications ( wpdm-email-notification.zip ) 1.4.0

    Wordpress Version is 5.3.2. PHP Version is 7.3

    Is this a bug or a misconfiguration?

    Best wishes

    Thomas

    #117554

    Shahriar
    Moderator

    – Fixed these warnings.

    – Used the following code to update the file path of all packages. It was using the URL before and created a broken preview image.

    function update_file_path(){
        $params = array( "post_status" ► "publish", "post_type"►"wpdmpro","posts_per_page"► -1 );
        $q = new WP_Query($params);
    
        while ( $q->have_posts() ) {
            $q->the_post();
    
            $files = maybe_unserialize(get_post_meta(get_the_ID(), '__wpdm_files', true));
            if ( ! is_array( $files ) ) $files = array();
    
            foreach ($files as $key ► $file):
                $files[$key] = str_replace('https://dev-wp.glasair-owners.com/wp-content/','/var/www/html/wp-content/', $file);
            endforeach;
    
            update_post_meta(get_the_ID(),'__wpdm_files', $files );
        }
    }
    add_action('init','update_file_path');

    – Re-calculated package size using the following code

    function update_package_size(){
        if( ! is_home() ) return;
        $params = array( "post_status" ► "publish", "post_type"►"wpdmpro","posts_per_page"► -1 );
        $q = new WP_Query($params);
    
        while ( $q->have_posts() ) {
            $q->the_post();
    
            $package_size = wpdm_package_size( get_the_ID() );
    
            update_post_meta( get_the_ID(),'__wpdm_package_size', $package_size );
        }
    }
    add_action('init','update_package_size');
    #117386

    tosh wicks
    Participant
    This reply has been marked as private.
    #117337

    Shahriar
    Moderator

    Hi,

    It is not possible yet, but you can auto-start the download in that page by adding the following code in /tpls/download-page-clean.php after line 130

    <script> window.location.href = "<?php echo $download_url; ?>"; </script>

    Or you can just serve the download right after an email submission.

    Thanks.

    #117330

    Shafayet
    Moderator

    Hi,
    That should not be an error, totally valid syntax and also working fine with my macbook pro safari.

    Front.js

    May you please give me your URL to check. If possible, please add temporary wp-admin login info in a private reply for faster resolution.

    #117184

    In reply to: lazy download adon!!!


    Quan Pham
    Participant
    This reply has been marked as private.
    #116960

    Omar Filipovic
    Participant

    These are the notices I’m seeing in the WP debug.log:

    [19-Dec-2019 17:41:42 UTC] PHP Notice:  Undefined variable: regurl in /var/www/html/wp-content/plugins/download-manager/tpls/wpdm-login-form.php on line 114
    [19-Dec-2019 17:41:42 UTC] PHP Notice:  Undefined variable: log_redirect in /var/www/html/wp-content/plugins/download-manager/tpls/wpdm-login-form.php on line 120
    [19-Dec-2019 17:41:42 UTC] PHP Notice:  Undefined variable: log_redirect in /var/www/html/wp-content/plugins/download-manager/tpls/wpdm-login-form.php on line 149
    [19-Dec-2019 17:42:50 UTC] PHP Notice:  Undefined index: meta_value in /var/www/html/wp-content/plugins/wpdm-default-values/wpdm-default-values.php on line 79
    [19-Dec-2019 17:42:50 UTC] PHP Notice:  Undefined index: meta_value in /var/www/html/wp-content/plugins/wpdm-default-values/wpdm-default-values.php on line 82

    I’m also seeing this one when WPDM is activated:

    Notice: is_tag was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /var/www/html/wp-includes/functions.php on line 4986

    I’ll provide login credentials for my test instance in the next post.

    #116911

    Nayeem Riddhi
    Moderator

    Are you looking for a such add on which will allow you sharing your files for specific authors? you will find such an option in File Hosting & Sharing Add-on. you can personalize your files & file access. Please see the demo in the given URL.

    Thanks.

    • This reply was modified 6 years, 9 months ago by Nayeem Riddhi.
    #116868

    Chris Dawes
    Participant

    Since the recent updates, our Custom Link templates have broken. We are using Default Values as well. We have the template setup so that clicking on the Button and the Title of the download should automatically download the file without showing the Download Page. This has now stopped working.

    This is the template code:

    <div class=”well c2a3″>
    <div class=”media”>
    <div class=”mr-3″ align=”left”>
    [icon]
    </div>
    <div class=”media-body”>
    <h3 class=”media-heading” style=”padding-top: 0px;border:0px;margin: 0 0 5px 0;font-size:12pt;”>
    [title]
    <span style=”font-size:8pt;font-weight:300″ class=”text-muted ml-4″>
    <i class=”fa fa-hdd mr-1″></i> [file_size]
    <i class=”ml-3 fa fa-arrow-alt-circle-down mr-1″></i> [download_count] downloads
    </span>
    </h3>
    [excerpt_80]
    </div>
    <div class=”ml-3″ align=”right”>
    [download_link]
    </div>
    </div>

    </div>
    <style>
    .well.c2a3 .btn {
    padding: 11px 30px;
    font-size: 11pt;
    }

    .well.c2a3 .media-body {
    font-size: 11pt;
    }

    .well.c2a3 .wpdm_icon {
    height: 42px;
    width: auto;
    }</style>

    Website (one of many where it is now not working!) https://trinitybuckshaw.lancs.sch.uk/news-events/newsletters/

    • This topic was modified 6 years, 9 months ago by Chris Dawes.

    Tom Fichtner
    Participant

    Hi there,

    this might be a request for the Pro version, let’s see.

    Let’s assume I have a dozens of packages with dozens of files included.
    General purpose: Download Area for a mid-sized PC/Laptop manufacturer. Each package is one individual PC/Laptop-Model.

    The files have generic filenames like “myfile.zip”.
    A lot of the dozens (if not hundreds) of packages link to the same files, becaus some drivers are generic and compatible with a wide range of models.
    But some of them link to others, less generic, more specialized ones. The logic, which package links to which files, is exclusively represented in the backend configuration of each package. For the purpose of understanding the usage scenario, let’s say: 80% of the files in each package links to generic files and 20% link to specialized, unique files.

    Now in the FTP, I might replace the generic “myfile.zip” with an updated version, but without changing the filename. (No version numbers in filenames)

    This is cool, because with this single action I have automatically updated the content of dozens (if not hundreds) of packages without having to click around the backend for hours.

    Problem: the end-user does not see that an update has taken place. When looking at a specific package, the user does not see the upload date (last modified date) for each individual file.

    *** Proposal: the frontend should be able to display the ‘last modified date’ for each individual file. ***

    This could be done in 2 ways:

    Solution A) Real-time query

    When the frontend is building a the page for a package for the end-user, it could use some scripting to query the real URL location of each file to read the “Last modified date” for it. This should be possible via “HTTP HEAD” request as outlined here:
    https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Last-Modified

    This real-time query should be optional because it might slightly slow down the parsing of the frontend page.

    Solution B) Additional SQL column and Index re-build function

    The “Last Modified Date” for each file could be stored in a SQL column. This way it would be quick and easy to parse during the end-user loading of the Package.
    But if I replace a file on the FTP server (without changing the filename), the WordPress Plugin and SQL database will not take note of that change. Thus, you need a “Rebuild Index” or “Re-query last modified date” function in the backend. This could be a sample button that re-queries every currently known link (as in every unique wpdmdl=abc&ind=xyz combination), reads the “last modified date” for each file from the server and writes it into the SQL field for each such link. This query might take a few seconds and should probably only be done during low load time or maintanance.

    *** Final thoughts ***

    I have thought about this problem a lot and I’m 99% sure that my proposal is the only viable solution. The fact that this plugin currently cannot easily display the “last modified date” of individual files (without long, convoluted clicking through the backend for hours) is a big oversight in this otherwise extremely useful and highly functional wordpress plugin.

    Please let me know what you think or if you have any questions. Thank you!

    Best Regards,
    Tom Fichtner, Germany

    #116704

    Shahjada
    Keymaster

    If you attach files directly from server, it will store full path, as they not in the scope of wpdm, only files added using wpdm upload or only the file kept in wpdm upload folder download-manager-files will work seamlessly after migration, for other files you may need to update file path. Please give me temporary wp-admin login info and a package url with path issue to check it in details.

    #116383
    This reply has been marked as private.
    #116289

    Chris Dawes
    Participant

    I have created a custom link template to bypass the Download Page but this is not working. The Title still opens the Download page even though I have set it to Download_URL:

    <div class=”well c2a3″>
    <div class=”media”>
    <div class=”pull-left” align=”left”>
    [icon]
    </div>
    <div class=”pull-right” align=”right”>
    [download_link]
    </div>

    <div class=”media-body”>
    <h3 class=”media-heading” style=”padding-top: 0px;border:0px;margin: 0 0 5px 0;font-size:12pt;”>[title] <span style=”margin-left:30px;font-size:8pt;font-weight:300″><i style=”margin: 2px 0 0 5px;opacity:0.5″ class=”fa fa-th-large”></i> [file_size] <i style=”margin: 2px 0 0 5px;opacity:0.5″ class=”fa fa-download”></i> [download_count] downloads</span></h3>
    [excerpt_80]
    </div>

    </div>

    </div>
    <style>.well.c2a3 .btn.wpdm-download-link{ padding: 11px 30px;font-size: 11pt; } .well.c2a3 .media-body{ font-size: 11pt; } .well.c2a3 .wpdm_icon{ height: 42px; width: auto; }</style>

    #116181

    In reply to: Bulk Update


    Colin R
    Member

    Is there anyway to modify the featured image or templates during bulk import, via changing values in the CSV?

    I need to add multiple images that already exist on the server, and so have the URL for the download link as well as what I would like to use for the featured image.

    I have attempted to mass change templates via the CSV import method but there is no field for featured image URL.

    Thanks

    #116057

    Web Guy
    Participant

    This is on the admin side. The download link for the free file does not work (likely due to the fact that it is adding that additional directory to the URL when attaching the free file to the package). Please advise.


    Doc Dunning
    Member

    Hi

    I have a category containing 13 downloads. In WordPress 5.3, and plugin version 3.0.5, I use this shortcode:

    [wpdm_category id="Club documents" /]

    The post appears with the first 10 downloads, which is as expected. Then I click on page 2 in the pagination controls, but when the page reloads, I am still on page 1.

    I can see is that the following query parameter has been added to the URL, but I’ve not tried to trace where this is used in the plugin code.

    ?cp_Club%20documents=2

    Is this a known bug? Can anything be done to make it work? I know one workaround is to increase the downloads per page to make pagination unnecessary, but I’d sooner not have to do that.

    Thanks …


    Monochrome
    Participant

    Hi,
    i updated to the actual version (WPDM PP 5.0.3) but now the layout from backend of wpdm is broken cause of a jquery issue: TypeError: jQuery(…).chosen is not a function & TypeError: d is undefined ( Can this be any jquery conflict?)

    Opera show even some Err 500 for the backend related .css and .js-fiels

    Disabling all plugins exepct wpdm doesn#t seem to resolve this issue. I also changed to Bootstrap3 in Settings (Btw i had to manually add ‘&tab=wpdmui’ to the url cause the link isn#t working properly atm too …)

    Can you help me to find out how to get the backend working again?

    Thanks in advance,
    Thorsten

    • This topic was modified 6 years, 10 months ago by Monochrome.
    #115969

    Jason Wirl
    Participant

    How do you override the 128X128 Thumbnail image size in a custom Link Template.

    Here’s my code:

    <div class=”panel panel-default c2a4″ style=”margin-top: 15px; margin-right: 150px; margin-bottom: 15px; margin-left: 150px;background: #f5f7f9″>
    <div class=”panel-body text-center” style=”padding-bottom: 20px”>
    <div class=”text-center wicon”>
    [thumb_384x384]
    </div>
    <h3 style=”padding: 0;margin: 0;margin-bottom: 5px”>[title]</h3>
    <div class=”panel-footer text-center” style=”background: #fcfcfc”>
    View More
    <div class=”d-button d-inline-block”>[download_link]</div>
    </div>
    </div>
    <style>
    .w3eden .text-small{ font-size: 10px; }
    .w3eden .c2a4 .wpdm_icon{ height: 64px !important; width: auto; } .well.c2a4 .media-body{ font-size: 11pt; }
    .w3eden .c2a4 .wicon img{ border-radius: 2px; max-width: 20px;margin: 15px auto 25px !important; }
    .w3eden .c2a4 .btn{ border-radius: 20px; margin: 0 3px; padding: 0 25px !important; height: 36px !important; line-height: 36px !important; font-size: 12px; font-weight: 800; }
    </style>


    Shahriar
    Moderator

    The login redirection loop usually appears when the site is not fully secured. For example, site’s frontend is not https but after login, redirecting the user to an https area. Making both sides https should fix the issue.

    Alternatively, you can use yoursite.com/wp-login.php?skipwpdm=1 URL to skip the WPDM login page. Adding this wp-login.php?skipwpdm=1 after site URL will bypass the WPDM Login page even when the Login Page option is set on frontend settings.

    #115607

    In reply to: Email Template

    This reply has been marked as private.
    #115585

    treativa
    Participant
    This reply has been marked as private.
    #115567

    Shahriar
    Moderator

    Hi,

    The IPN URL is related to the Pro Membership add-on and it is called right after a PayPal payment. Please check your PayPal account, maybe IPN is disabled in your account as the mail indicates.

    Best regards.

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