Search Results for 'Add Url'

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

    Tahasin
    Moderator

    Hello,

    I hope you are doing well and thanks for reaching out.

    Could you please share the related URL and wp-login credentials in a private reply to check the issue? It will help us to address the issue easily.

    Regards


    Nayeem Riddhi
    Moderator

    For #1, You can do it with this add-on, https://www.wpdownloadmanager.com/download/advanced-custom-fields/, please kindly check

    For #2, I am going to forward it to our team authority.

    For #3, Please kindly check spam folder also SMTP server settings, you can also use SMTP plugin.

    For #4, Please kindly share the URLs, if possible, please, give your temporary wp-admin login details in a private reply to check the issue.

    For #5, For photo issue I am going to forward it to our team authority.

    Please kindly check and let me know.

    Thank you and kind regards


    Doug Nix
    Participant

    Hi WPDM team,

    I’m writing to report an interaction between WordPress Download Manager (WPDM) and the Rara Business theme that consistently crashes WPDM single package pages. I’ve included the environment details, the reproducible error, and the workaround we implemented.

    Environment

    WordPress: 6.6.2

    PHP: 8.2 (running on WHC / cPanel with zlib compression enabled)

    WPDM: 3.2.99 (Free)

    Theme: Rara Business (latest from WordPress.org, v1.2.9)

    Hosting: Linux/Apache with Cloudflare in front

    Permalink base for WPDM packages: /files/<slug>/

    Problem description

    After switching the WPDM package permalink base to /files/, visiting a package single page at /files/<package-slug>/ triggers a fatal error.

    Stack trace excerpt:

    PHP Fatal error: Uncaught TypeError: explode(): Argument #2 ($string) must be of type string, WP_Error given
    in /wp-content/themes/rara-business/inc/template-functions.php:433
    #0 /…/template-functions.php(231): rara_business_breadcrumb()
    #1 /wp-includes/class-wp-hook.php(324): rara_business_content_start(”)
    #2 /wp-includes/plugin.php(517): WP_Hook->do_action()
    #3 /wp-content/themes/rara-business/header.php(59): do_action(‘rara_business_content’)
    #4 /wp-content/themes/rara-business/single.php(12): get_header()

    Root cause:
    The theme’s rara_business_content_start() calls rara_business_breadcrumb(), which assumes a post category context. On WPDM singles (custom post type wpdmpro), it receives a WP_Error. This value is passed directly into explode(), producing the fatal.

    What we tried

    Switched to Twenty Twenty-Five → WPDM singles load normally.

    Disabled all MU plugins and caching layers → crash persists with Rara Business.

    Built a child theme to gate the do_action( ‘rara_business_content’ ) call → functional but brittle and caused styling regressions.

    Minimal, upgrade-safe workaround

    We developed a compatibility plugin (wpdm-rara-compat.php) that:

    Removes the theme’s content-start callback from the rara_business_content hook.

    Re-adds it with a guard so it runs everywhere except on WPDM singles.

    Restores normal page layout on WPDM singles by injecting wrapper markup (container/row/content/sidebar) around the_content and aligning the page title.

    Plugin code:

    <?php
    /**
    * Plugin Name: WPDM × Rara Business Compat
    * Description: Prevents Rara breadcrumb crash on WPDM singles, restores layout.
    * Version: 1.0
    */

    add_action(‘after_setup_theme’, function () {
    // Remove theme’s content-start callback
    remove_action(‘rara_business_content’, ‘rara_business_content_start’, 10);

    // Re-add guarded callback
    add_action(‘rara_business_content’, function () {
    if ( is_singular([‘wpdmpro’,’wpdm_package’]) ) return;
    if ( function_exists(‘rara_business_content_start’) ) {
    rara_business_content_start();
    }
    }, 10);
    }, 99);

    // === Layout wrapper for WPDM singles ===
    add_filter(‘the_content’, function ($html) {
    if (!is_singular(‘wpdmpro’) || !in_the_loop() || !is_main_query()) return $html;

    // Prevent double wrapping
    if (str_contains($html, ‘class=”site-content single-wpdmpro”‘)) return $html;

    ob_start(); get_sidebar(); $sidebar = ob_get_clean();

    return
    ‘<div id=”content” class=”site-content single-wpdmpro”>’ .
    ‘<div class=”container”><div class=”row”>’ .
    ‘<main id=”primary” class=”content-area col-lg-8″><div class=”site-main”>’ .
    $html .
    ‘</div></main>’ .
    $sidebar .
    ‘</div></div>’ .
    ‘</div>’;
    }, 20);

    // Align WPDM single title with content column
    add_filter(‘the_title’, function ($title, $post_id) {
    if (is_admin() || !is_singular(‘wpdmpro’) || !in_the_loop() || !is_main_query()) return $title;
    if ((int)$post_id !== (int)get_queried_object_id()) return $title;
    if (strpos($title, ‘wpdm-title-wrap’) !== false) return $title;

    return ‘<div class=”container”><div class=”row”><div class=”col-lg-8 wpdm-title-wrap”>’ .
    $title .
    ‘</div></div></div>’;
    }, 10, 2);

    Current status

    WPDM singles now load correctly at /download/<slug>/. Example: https://complianceinsight.ca/download/press-release-2025-09-02/

    Site styling restored (title + content aligned with container/row).

    No more fatals. Logs show only benign PHP 8.2 notices from the theme’s Customizer notice class (Deprecated: Creation of dynamic property …).

    Suggestions

    WPDM resilience: Adding a defensive check around breadcrumb/taxonomy lookups for custom post types would help WPDM work out-of-the-box with themes that assume posts/categories.

    Theme interaction doc: A short WPDM doc page on “Theme compatibility” (especially around breadcrumb hooks) would help other users avoid this.

    Optional hook: A dedicated filter to let developers wrap WPDM singles in their theme’s grid without intercepting the_content would simplify compatibility work.

    Happy to provide a staging URL or further debug info if you’d like to see the exact crash path in action.

    Thanks for your continued work on WPDM—outside this theme-specific issue, the plugin has been solid.

    #208277

    Nayeem Riddhi
    Moderator

    For #1, If you want to change the appearance of directory/archive page add-on shortcodes, you can check this page, https://www.wpdownloadmanager.com/download/wpdm-directory-add-on/, Editing Template Files section.

    For #2, Please kindly share the related URLs or shortcodes which you are using.

    For #3, Please kindly check you will find the zip add-ons,

    wpdm-pdf-stamper.zip
    wpdm-pdf-viewer.zip

    Please kindly check.

    Thank you and regards

    #208254

    Tahasin
    Moderator
    This reply has been marked as private.
    #208250

    Christian Graminsky
    Participant
    This reply has been marked as private.
    #208144

    Courtney Huber
    Participant
    This reply has been marked as private.
    #208027

    erik cai
    Participant
    This reply has been marked as private.
    #207609

    Tahasin
    Moderator

    Unfortunately, we don’t have access to backend logs for Microsoft’s Office Viewer service, as that viewer is entirely operated by Microsoft. The error page you’re seeing is generated by them.

    There is a strong possibility that the issue may be caused by IP restrictions:

    – This can happen if your live site has country-based access rules enabled, for example, restricting access to only certain countries or blocking specific IP ranges.Could you please confirm if such restrictions are in place? If so, we suggest temporarily disabling them and testing the preview again. It’s possible that these restrictions are preventing Microsoft’s service from accessing the file.

    – Microsoft maintains a list of IP addresses used by Office 365, including those for the Office Online services that power document previews. Please ensure that connectivity to these domains and IP ranges is not being blocked. Pay a visit here for more information.

    We hope this helps resolve the issue.

    #207529

    Courtney Huber
    Participant
    This reply has been marked as private.
    #207404

    In reply to: download limit


    Masanobu Soma
    Participant
    This reply has been marked as private.
    #207389

    In reply to: download limit


    Masanobu Soma
    Participant
    This reply has been marked as private.
    #207358

    Duda
    Participant
    This reply has been marked as private.
    #207350

    Michael
    Participant
    This reply has been marked as private.
    #207292

    Marco Simoncini
    Participant

    Good morning, I need to know if it’s possible to do this. I need to create a restricted area with about a thousand products inside. To speed up the upload process, I’d like to start by manually creating all the categories and tags. Then, I’d upload just one product and export it to a CSV file using the appropriate add-on. At that point, I’d manually modify the CSV file by adding rows for all the products, including their URLs, names, categories, tags, etc.

    Do you think it’s possible to populate the database this way?

    #207259

    Ibrahim Ahmed
    Participant
    This reply has been marked as private.
    #207208

    Tahasin
    Moderator

    Hello Nathan,

    I hope you’re doing well, and thank you for reaching out.

    Are you using the WPDM PDF Viewer add-on to preview the PDF file? If possible, please share the related URL in a private reply.

    Looking forward to your response.

    Best regards

    #207028

    Nayeem Riddhi
    Moderator

    Hello,

    Can you please try this on your active theme’s functions.php file the below code,

    function disable_captcha_for_wpdm_pages() {
        // Check if we're on WPDM registration or login pages
        if (is_page() || is_admin()) {
            global $wp;
            $current_url = home_url($wp->request);
            
            // Define the URLs where CAPTCHA should be disabled
            $excluded_pages = array(
                '/register-for-downloads/',
                '/my-downloads/',
                '/login' // Add any other WPDM related URLs
            );
            
            // Check if current page matches any excluded pages
            foreach ($excluded_pages as $page) {
                if (strpos($current_url, $page) !== false) {
                    return false; // Disable CAPTCHA
                }
            }
        }
        
        // Check for specific WPDM actions or parameters
        if (isset($_POST['wpdm_reg']) || isset($_POST['wpdm_login']) || 
            isset($_GET['wpdm-reg']) || isset($_GET['wpdm-login'])) {
            return false; // Disable CAPTCHA for WPDM forms
        }
        
        // Check if it's an AJAX request from WPDM
        if (defined('DOING_AJAX') && DOING_AJAX) {
            if (isset($_POST['action']) && 
                (strpos($_POST['action'], 'wpdm') !== false || 
                 strpos($_POST['action'], 'download') !== false)) {
                return false; // Disable CAPTCHA for WPDM AJAX requests
            }
        }
        
        return true; // Keep CAPTCHA enabled for other pages
    }
    
    // Apply the filter to disable CAPTCHA when needed
    add_filter('wordfence_ls_require_captcha', 'disable_captcha_for_wpdm_pages');

    Please kindly check and let me know.

    Thank you and kind regards

    #207008

    In reply to: New Page Templates


    Nayeem Riddhi
    Moderator

    Hello raaj sajaniya,

    Hope you are well. The images URL you have shared are not loading. However, can you please let me know, are you searching this add-on feature?

    Lazy Download Add-on

    Please kindly check and let me know.

    Thank you and kind regards


    Michael Wynn
    Participant

    Hey Support Team,

    Our client notified us that some of the companies they work with does not allow the PDF to display because of Download Manager parameters. Here’s what they found:

    “The PDF is correctly hosted on your site. Note how the URL doesn’t have the blocked Google Docs URL path: https://actenergy.com/download/act-energy-technologies-reports-2025-q1-interim-results/?wpdmdl=1594&refresh=6835d9501e1cd1748359504. It looks like currently being served through a download manager plugin that adds dynamic parameters to the URL (e.g.,?wpdmdl=…&refresh=…).

    Some corporate firewalls flag this kind of link as a potential online storage or file-sharing service, and automatically block access for security reasons.”

    Here’s a screenshot:
    Screenshot of Download Manager PDF being blocked on browser

    We were hoping there was a work-around to this since it seems like a major issue – otherwise we may need to remove the plugin which isn’t really something we want to do.

    Thank you for your assistance,
    FBC


    Jakub Jurgiel
    Participant

    Hi,
    could you add global redirect after login label in settings?

    ‘casue now the only way to set redirection URL is in the gutenberg block (which doesn’t work by the way) or shortcode.

    This is illogical and weak for UX-configuration.

    #205953

    CIALGAR
    Participant
    This reply has been marked as private.
    #205872

    Courtney Huber
    Participant

    I am back from vacation. Is this code still needed with 6.7.6? I see the 6.7.5 update adds an option to enable/disable mime-type validation.

    Also, it looks like something has changed with my videos that I’ve previously added through the “Insert URL” option. This seems related to when the previous issue started. Vimeo outputs URLs with “?share=copy” at the end and all of the videos already on my site with that at the end of the URL aren’t working. Updating to 6.7.6 seems to have fixed that issue though.

    #205718

    In reply to: Cancelling Order


    Tahasin
    Moderator

    Hello,

    I hope this message finds you well and thanks for reaching out.

    Kindly share the related URL and temporary login credentials in a private reply so we can thoroughly investigate the issue.
    Additionally, please let us know which version of Download Manager you are currently using.

    Regards

    #205659

    Thilo Förster
    Participant

    Ok, I have changed the slug translation to the original English value.
    I have also tried let WPML change the URL path instead of adding the parameter, but this also did not make any difference.

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