Search Results for 'Add Url'

Viewing 25 results - 151 through 175 (of 1,642 total)
  • Author
    Search Results

  • Nayeem Riddhi
    Moderator

    Hello Simhachalam konari,

    I have come forward with information that, you have to add data-package='[ID]' this portion too in this code snippet,

    <a href="[download_url]" data-package='[ID]' class="wpdm-download-link wpdm-download-locked btn btn-primary"> Download Now with URL </a>

    Thus it will work properly for it. I hope you have understood. please check and let me know

    Thank you again and regards

    #188347

    Melanie Brennan
    Participant

    Hi Tanvir,
    I’m not quite sure what you are saying in your last message. Yes you are correct that I wanted something to ‘integrate a redirect URL to a thank you page after download’ and you suggested the Lazy Load Plugin. Now I’m struggling to find the functionality within this plugin and I’ve asked if you can point out where the field is that I add my thank you page URL so that after download it redirects to the thank you page. From your message – “So I suggested the plugin when user clicks on the download then it will redirect to thank you page.Here there is no way to add redirect link. you can set thank you page then in that page you may add any link that could be visited by user” – I’m not clear if you are saying that the plugin will do what I need or won’t do what I need. Could you perhaps pass this on to another support person to come back to me. I’m hoping the Lazy Load plugin does have this functionality and if so, still need some help working out how – if it can’t do this, I will request a refund as I bought it on your recommendation that it would meet my needs. Thanks, Mel.

    #188324

    Tanvir
    Spectator

    Hello,
    I suggested that plugin according to your initial requirement that you want to integrate a redirect URL to a thank you page after download.
    So I suggested the plugin when user clicks on the download then it will redirect to thank you page.Here there is no way to add redirect link. you can set thank you page then in that page you may add any link that could be visited by user.
    Regards
    Tanvir

    #187900

    Ryan Stueve
    Participant
    This reply has been marked as private.
    #187749

    Nayeem Riddhi
    Moderator

    Hello Jason Emanuelson,

    For menu items to direct download a package, you can follow this way, you can generate a package download URL as I image attached and add a menu from Custom Link as I image attached,

    2023-06-08-212620

    2023-06-08-212502

    please check and let me know, if it helps you.

    Thank you again and regards

    #187527

    Humayon
    Spectator

    Hi,

    Regarding the queries.

    1. It appears that you are using an older version of the WPDM plugin. Can you please try after updating to the latest version to check whether it’s working or not?

    If still, the problem exists then please share the related package URL where you have tested.

    2. Awaiting the dev team’s confirmation. Please spare us some additional time.

    Regards

    #187521

    Nayeem Riddhi
    Moderator

    Hello 127 Stvdio,

    I hope you are using our this add-on,

    Elementor Addons


    Can you please share the issue-related URL, please? if possible, can you please, give your temporary wp-admin login details in a private reply for checking the issue in detail?

    Thank you and regards

    #187498

    Aaton Cohen-Sitt
    Participant

    Is there a way to customize the e-mail sent when a customer requests a download via E-mail lock?
    I’m sure there is a way, but I am not sure where or how to access the template.

    I want to add a couple of sentences and possibly a URL for more explanation.

    Thanks.

    #187416

    renzukoken
    Participant

    I will update this thread,

    I cannot use default value plugin as my WPDM plugin is too old to support it, but i presume as i paid for the plugin yearly, i would still have support. I know i’m not using the latest version of the plugin but my old server stop in a week and i’m seeking for help.

    My main purpose is not to ask for any new wpdm code or addon, but basically to understand how it work

    something simple : update wp_postmeta set meta_value = replace(meta_value, 'ns37xxxxx.ip-213-32-0.eu/folder1', 'ns30yyyyy.ip-149-202-85.eu/folder2') WHERE meta_key = '__wpdm_files'; exact SQL request right?

    Result : On Phpmyadmin, the field is perfectly replaced by the new “folder2” with new server URL but on the Website, under the WPDM plugin downloads setting, the field “attached files” gets empty!

    Another something simple : Export database, edit database with notepad++, replace old download server link with new server link on the 7500 lines concerned, then re-import SQL database
    Same… all links were replaced under phpMyAdmin correctly, but “attached file” field on wpdm got empty again…

    3rd simple example? doing same but replacing just “ns37xxxxx” by “ns30yyyyy” without any – or . or / or special characters
    works great, attached file got updated under phpmyadmin AND wpdm “attached files” badly i need to change the full url…

    why???
    Is there some joint tables that are linked to wpdm_files that i need to change too?

    I’m out of ideas badly, and really need for support. i don’t see myself changing 1 by 1 all the 7500 different wpdm links.

    Thanks in advance.

    Renz


    Humayon
    Spectator

    Hello,

    Please ensure that WPDM Pro, WP Membership and Extended shortcode addon are in the latest version.

    WPDM Extended Short-codes

    If the problem still exists then please share your website credentials in a private reply so that I can take a closer look and work with you to get this working.

    Here are the details I’ll need –

    # Website Login URL
    # Username
    # Password
    # Related web page URL

    We are looking forward to hearing from you.


    Mark Jenkins
    Participant

    Good day! We’ve noticed that when using the Elementor WPDM add-on and adding a package list a nicely formatted table as added. This is exactly what we want. However, the file icon and the file title are not links, there is no way to download the file while using this package table. also, we’d prefer not to have the download buttons shown. We like the appearance of the table without the button, but it does us no good if we can download the files. The only link is the category text. Below is an example of the code that is generated. How can we have this same table but with the image and the package title be direct download links to the file itself (not to the package download page).

      <table id="wpdmmydls-066a18a6ef5f9ea80e3d04d68d8780f4">
                <thead>
                <tr>
                                        <th  id="title"
                           >Title</th>
                                        <th  id="categories"
                           >Categories</th>
                </tr>
                </thead>
                <tbody>
                        <tr>
                                                        <td                                    
                                        style="background-image: url('http://intranet.pchc.local/wp-content/plugins/download-manager/assets/file-type-icons/pdf.svg');background-size: 36px;background-position: 5px 8px;background-repeat:  no-repeat;padding-left: 52px;line-height: normal;">
                                    <strong>ShoreTel Analog Phone Quick Reference (pdf)</strong><br/>
                                </td>
                                                        <td                                    
                                        >
                                    <a class='sbyc' href='http://intranet.pchc.local/?p=22150&tax%5Bwpdmcategory%5D=shoretel'>ShoreTel</a>
                                </td>
                        </tr>
                        <tr>
                                                        <td                                    
                                        style="background-image: url('http://intranet.pchc.local/wp-content/plugins/download-manager/assets/file-type-icons/pdf.svg');background-size: 36px;background-position: 5px 8px;background-repeat:  no-repeat;padding-left: 52px;line-height: normal;">
                                    <strong>ShoreTel 560 Phone Quick Reference (pdf)</strong><br/>
                                </td>
                                                        <td                                    
                                        >
                                    <a class='sbyc' href='http://intranet.pchc.local/?p=22150&tax%5Bwpdmcategory%5D=shoretel'>ShoreTel</a>
                                </td>
                        </tr>
                        <tr>
                                                        <td                                    
                                        style="background-image: url('http://intranet.pchc.local/wp-content/plugins/download-manager/assets/file-type-icons/pdf.svg');background-size: 36px;background-position: 5px 8px;background-repeat:  no-repeat;padding-left: 52px;line-height: normal;">
                                    <strong>ShoreTel 230 Quick Phone Reference (pdf)</strong><br/>
                                </td>
                                                        <td                                    
                                        >
                                    <a class='sbyc' href='http://intranet.pchc.local/?p=22150&tax%5Bwpdmcategory%5D=shoretel'>ShoreTel</a>
                                </td>
                        </tr>
                        <tr>
                                                        <td                                    
                                        style="background-image: url('http://intranet.pchc.local/wp-content/plugins/download-manager/assets/file-type-icons/pdf.svg');background-size: 36px;background-position: 5px 8px;background-repeat:  no-repeat;padding-left: 52px;line-height: normal;">
                                    <strong>ShoreTel Communicator for Windows (pdf)</strong><br/>
                                </td>
                                                        <td                                    
                                        >
                                    <a class='sbyc' href='http://intranet.pchc.local/?p=22150&tax%5Bwpdmcategory%5D=shoretel'>ShoreTel</a>
                                </td>
                        </tr>
                                            </tbody>
            </table>
            <ul class='pagination wpdm-pagination pagination-centered text-center'></ul>
    #186308

    In reply to: Popup modal for login


    NWRDC Website
    Participant

    Thanks, that seems to be working. Where did you add the CSS?

    And where is the logo URL set? I’m not seeing any options on the settings. This is what I’m seeing in the code so must be set somewhere:

    img src=”logo-url” alt=”Logo”

    Also, is there a class to hide the login link in the menu when a user is logged in? I had it set with another plugin to replace with a logout button. Is that not possible with this one?

    Thanks for your help.

    #186182

    In reply to: Form-Lock


    marwanist12
    Participant

    i used the blue template…nothing happened, how i can add my site url to the logo?

    #186126

    In reply to: Custom URL


    Trisha Miller
    Participant

    @Shahjada, I’ve already customized the link and page templates to create new defaults, and while it’s great that I can clone and then edit templates (yay!), I can’t find a way to specify the new templates to be used as my new “defaults” nor to bulk-edit my assets to specify the new defaults, it looks like I’ll have to manually edit my hundreds of downloads to do that…..sigh…

    BUT on THIS issue of the base URL, I see that in the plugin’s main file there are lines that setup the slug variable, in download-manager.php on line 289 there is this:

     $tslug = get_option('__wpdm_purl_base', 'download');
            if(!strpos("_$tslug", "%"))
                $slug = sanitize_title($tslug);
            else
                $slug = $tslug;

    and then a few lines further down, line 304, is the rewrite argument for the CPT that uses that variable.

    I tried commenting those out but then the plugin inserted “wpdmpro” into the URL and did NOT use my category. ๐Ÿ™

    I’ve already had to hack this file to add support for post_tags, which is critical for us, we can’t do without the Post Tags applied to each asset, so as long as I’m hacking it, can you tell me if you think this part of the code is causing the problem?

    #186105

    In reply to: Custom URL


    Trisha Miller
    Participant

    Thank you @shahjada I truly appreciate your ongoing help, but this is not working.

    While my (non downloads) Pages are working (no more 404s) none of the downloads are actually accessible, I get a 404 on those when I try to “view” them from the Downloads overview page in the back end, and the front-facing page where I have the shortcode to display the list by category shows nothing, just the (added by WPDM) search and filter bar, no listing below even though I’m certain I have the categories set for each download and the short code entered correctly (it was working fine before, no changes to the shortcode and the category ID has not changed).

    In order to get the category name in the URL, but not the word “download”, I used both snippets of code you’ve provided – the one way above that sets up the variable %wpdmcategory% and the code just above to filter out ‘download’ when parsing.

    All downloads show the correct URL structure in the back end (mysite.com/wpdmcategoryname/assetname) but can’t be accessed on the front end.

    And honestly I’ll tell you that this should not be a “paid” customization. I was told in the forum for the free version that by upgrading to the Pro version I’d be able to control the URL base, this is not what I call “controlling the URL base”.

    I’m fortunate to also be a developer, I’ve been working with WP since pre-version 1, and have developed many themes and a few custom plugins myself…….I cannot imagine the frustration of someone trying to do this without my background, I’m extremely frustrated by this and deeply unhappy…..

    To be honest, I don’t even understand why your plugin works so hard to NOT let a user control the URL…..

    I’m going to keep messing with this for one more day, after that if I can’t get it working I will request a refund and just go back to Download Monitor.

    #186056

    In reply to: Custom URL


    Trisha Miller
    Participant

    Hello Shahjada,

    Once again, thank you so much for a very quick reply and solution, I can confirm that following your last instruction did get everything back working fine.

    However, sadly it does not do what we need, and what the OP needs, which is to be able to remove the /download/ (or /downloads/) from the URL.

    Perhaps it might help if I explain our situation better…..

    We have had (for many, many years) a page titled “Downloads” (in our URL, it was http://www.oursite.com/downloads) on that page we initially just listed links to certain pages (posts, actually), each that had a blurb and something to download…it might be a user guide, or a map, or whatever, and the URL was “www.oursite.com/maps/thismap.pdf” or “www.oursite.com/user-guides/myguide.pdf”. Each individual page was optimized for that asset, and our main “Downloads” page was just a listing of links to those pages by category.

    Then a few years ago my boss said “we need to track how many people download those” so we switched to using a plugin, Download Monitor, which worked great, although it was a huge amount of work to move all our assets into it and swap out the links, but it worked.

    Then recently my boss said “we need to let visitors VIEW the download first, or print it, before they decide if they want to download it”. Great. Download Monitor won’t do that, so I searched for weeks and tested many other plugins, before settling on yours – it’s truly a great plugin – BUT we discovered after installing it and migrating all our downloads from Download Monitor into yours, that it added the /downloads/ into the URL and our main Downloads page no longer worked.

    So from the WP forum for the free version I was directed to the Pro version and told the Pro version would allow me to set the URL base myself.

    I need to be able to keep ONLY the category name in the URL – that is how our downloads have been indexed for years and I really don’t want to do redirects. I like that your plugin uses custom category so it could import the categories from Download Monitor also (that process was super-simple and very smooth). ๐Ÿ™‚

    BUT we’ve also always used post_tags to associate assets with content – so if I have a post about a product, and I have a user guide for that product, they get associated to the same page by tagging them both with the same post_tag.

    Since your plugin does not support using post_tags (you’ve removed that support on line 315 of the current version 6.3.3) which I had to change that line from “false” to “true” and comment out line 369 (so that the custom tags are not registered), and I keep good notes so that if/when I update to the next version I can make those changes again (I would encourage you to consider adding that as a choice to the Settings, to enable or disable support for Post Tags and maybe even other users might like support for Post Categories).

    I deeply appreciate your ongoing help to figure out this URL base thing, I’ve already spent weeks on this project and my boss is pressuring me to get our assets back online and available because it was a significant source of our traffic and it’s dropping every day I don’t have my downloads back.

    #186024

    In reply to: Custom URL


    Trisha Miller
    Participant

    WELL I SPOKE TOO SOON!

    While the solution offered worked in the BACK END, where I could see that the base URL to my downloadable items (packages) did indeed change to include only the category name, which is good…..

    NOW NONE of my Pages are accessible on the front end – ALL content other than my home page goes to the 404 error page!

    EDITED TO ADD: After deactivating the plugin WPDM pro, now all pages get redirected to my home page, not good.

    I’ve reversed everything and flushed the cache (permalinks) several times and nothing is fixing it. I’m attempting to restore from my backup last night but this is truly disastrous. ๐Ÿ™

    #186022

    In reply to: Custom URL


    Shahjada
    Keymaster

    That is not an issue with wpdm, that is how wpdm url settings works.

    However, if you want to add category slug with package URL, here is the workaround:

    #1. Please add the following code at the end of your active theme’s functions.php:

    function wpdm_package_link($post_link, $post) {
    	if ('wpdmpro' === $post->post_type) {
    		$terms = wp_get_post_terms($post->ID, 'wpdmcategory');
    		if ($terms) {
    			$term_slug = array_pop($terms)->slug;
    			$post_link = str_replace('%wpdmcategory%', $term_slug, $post_link);
    		} else {
    			$post_link = str_replace('%wpdmcategory%', '-', $post_link);
    		}
    	}
    	return $post_link;
    }
    add_filter('post_type_link', 'wpdm_package_link', 10, 2);

    #2. Then use %wpdmcategory% is wpdm page url base slug.
    #3. Save Settings
    #4. go to WP Admin Menu โ–บ Settings โ–บ Permalinks
    #5. Click “Save Changes” button.

    Finally to go WP Admin Menu โ–บ Packages and check the changes in URLs.

    I am using using [wpdm_search_result cols=1 template="sample-link-template"]
    content for sample-link-template is as follows

    <div class=”media”>

    [icon]

    <div class=”media-body”>
    <h4 class=”media-heading” style=”padding-top: 0px;border:0px;margin: 0px;”>[page_link]</h4>
    [download_link]
    <i style=”margin: 2px 0 0 5px;opacity:0.5″ class=”icon icon-th-large”></i> [file_size] <i style=”margin: 2px 0 0 5px;opacity:0.5″ class=”icon icon-download-alt”></i> </div>
    </div>

    after searching, results are shown but both the title and download button are not working. Both are not clickable. I suppose these were generated by [page_link] and [download_link]

    How do I fix this?


    jdh1178
    Participant

    It seems like the cart page is not being applied in the pay link, despite having the Cart Page set in wpdmpp settings – also there is no error handling for this.

    Steps:
    1 – create pay link
    2 – visit pay link

    Link is:
    my-url.com/?addtocart=dynamic&price=44&name=Update&desc=Get%20your%20product%20updated&recurring=0

    Should be: my-url.com/cart/?addtocart=dynamic&price=44&name=Update&desc=Get%20your%20product%20updated&recurring=0

    Handling could be:

    if(isset($_SERVER['HTTP_REFERER'])) {
        header("location: " . $_SERVER['HTTP_REFERER']);
    } else {
        // Handle error
    }

    Thanks


    Emily Prince
    Participant

    Hello, I am using the Client Portal plugin and one thing doesn’t work right when the Download Manager plugin is enabled. I have added a code in the theme’s function.php so when someone logged into the portal (CP-Client type user) logs out, it redirects to the home page. However, the code is not working and redirects to the normal WordPress login page. If I deactivate Download Manager, it works correctly. Are you able to see what the issue is with this? Here are notes from the Client Portal Support:

    I checked your functions.php file and confirmed that you added the PHP snippet. See – https://share.getcloudapp.com/YEueBl96.

    But still, the issue persists when I tried logging out as brettzeck. Check this recording – https://share.getcloudapp.com/5zujnpzA.

    This worked on my test site as you can see here – https://share.getcloudapp.com/JrupGz2P.

    On further testing, it seems the Download Manager plugin is having conflicts with the filter. When this is active, the logout URL redirects to wp-login.php. Check this recording – https://share.getcloudapp.com/04u6L1ow.

    #185620

    In reply to: Hook for order updated


    jdh1178
    Participant

    Just an update on this – it seems not so straightforward as some things happen via ajax and some things happen via php.

    The best solution I’ve come up with is a function to listen for ajaxComplete (code example below) which I can then use to fire additional actions in wp to handle order updates. I’d thought to do this with php with the wp_ajax_wpdmpp_async_request, but it’s difficult to fire anything after the ajax requests (priority has to be earlier or they don’t fire).

    User would still need to catch the non ajax updates though as well, so it’s also not ideal.

    Would be great if any event that updates an order (ajax or php) fired a universal action so that developer can keep order related data updated/synced. If you have some other suggestions do let me know. I’m probably doing this the hard way for no reason ๐Ÿ™‚ Thanks

    (function($) {
        $(document).ready(function() {
            // Check if we are in the wpdm admin area
            var currentURL = window.location.href;
            var targetURL = '/wp-admin/edit.php?post_type=wpdmpro';
    
            if (currentURL.indexOf(targetURL) !== -1) {
                // Run the AJAX event handlers only on the target page
                $(document).ajaxComplete(function(event, jqXHR, ajaxOptions) {
                    if (ajaxOptions.url === ajaxurl) {
                        doSomethingOnAjaxComplete(ajaxOptions, jqXHR);
                    }
                });
            } else {
                return;
            }
    
            // Function to execute when the WordPress AJAX URL is being used for different WPDM actions
            function doSomethingOnAjaxComplete(ajaxOptions, jqXHR) {
                console.log("WordPress AJAX URL used:", ajaxOptions);
    
                // Get the request data
                var requestData = ajaxOptions.data;
    
                // Do something on wpdmpp_async_request;
                if (requestData.indexOf('action=wpdmpp_async_request') !== -1) {
                    // The 'action' parameter is set to 'wpdmpp_async_request'
                    console.log('wpdmpp_async_request action detected from');
                    
                    // Get the response data from the AJAX request
                    var responseData = jqXHR.responseText;
                    console.log("Response data:", responseData);
    
                    // Perform a custom action after the response is received (error or not, doesn't matter)
    		callMyCustomWPFunction();
                }
    
    	    // Do something on wpdmpp_updateOrderExpiryDate;
                if (requestData.indexOf('action=wpdmpp_updateOrderExpiryDate') !== -1) {
                    // The 'action' parameter is set to 'wpdmpp_updateOrderExpiryDate'
                    console.log('wpdmpp_async_request action detected');
                   
                    // Get the response data from the AJAX request
                    var responseData = jqXHR.responseText;
                    console.log("Response data:", responseData);
    
                    // Perform a custom action after the response is received (error or not, doesn't matter)
    		callMyCustomWPFunction();
                }
    
                // Etc...Do more things on other wpdmpp js ajax actions
            }
        });
    })(jQuery);
    #185041

    Shahjada
    Keymaster

    Yes, you can do that using the following code:

    add_filter("PrivateMessage/Message/RestAPI/getMessage", function ($message) {
            //todo: replace "custom_profile_url_function" with proper code
    	$message->profile->url = custom_profile_url_function($message->profile->ID);
    	return $message;
    });
    
    #184992

    Floriana Pintacuda
    Participant
    This reply has been marked as private.
    #184856

    Rita
    Member

    Hi Nayeem,

    thanks. But sorry, again. I added the snippet again at the very end of the functions.php. But from where do I get the Post ID? Is it the part of the URL which can be edited? e.g. hello.de/download/333_1/

    Thanks, your help is highly aprreciated.
    Regards

Viewing 25 results - 151 through 175 (of 1,642 total)