Search Results for 'Add Url'

Viewing 25 results - 776 through 800 (of 1,932 total)
  • Author
    Search Results
  • #138877

    bostjan laba
    Participant

    I have the same issue, no cache turned on expect by default in browser. Perhaps the solution would be to add a random parameter at the end of url like ?random=04u3r10r032rweq to prevent browser from caching the link…

    #138856

    In reply to: ISSUE WITH AMAZON s3


    Shahjada
    Keymaster

    Hi,
    Here are the answers to your questions:

    #1. Yes, please use redirect=[URL] parameter with the login form shortcode to redreict the user to any specific [URL]. Doc: https://www.wpdownloadmanager.com/doc/short-codes/wpdm_login_form-user-login-form-short-code/

    #2. Sorry, not clear, may you please explain little more.

    #3. Here is the doc: https://www.wpdownloadmanager.com/doc/add-new-package/package-settings/

    #138812

    Abdul Razak
    Participant

    no! I actually added a new Volume to my digital ocean account which is /mnt/volume_nyc1_05. My default volume is full, so i want this new volume to work in your plugin. Since I configured the volume properly, I changed the directory or file browser URL to the new /mnt/volume_nyc1_05. If i upload any new file, it fails! Not uploading it to the new volume. It’s still trying to upload to the old volume.

    #138753

    YogurF
    Member

    Hi. Since the last update the plugin has stopped working (my current version is 3.1.10). Clicking on “download” adds a # in the URL but does not download anything.

    I use this shortcode: [wpdm_package id='12949']

    On the backend, it does work. So, the downloads are well linked.

    You can see an example here: https://st-systemtronic.com/portfolio/mill/ (button is _descargar 3D).

    I have 305 downloads prepared with your plugin … please don’t tell me I have to redo them.

    Greetings.

    #138674

    Nayeem Riddhi
    Moderator

    are you looking for such add-on which will help your Digital Ocean Volume, you can elaborate more on your query, or share your page/package URL

    thanks

    #138387

    Ben Schlaepfer
    Participant

    Solved this myself by copying the code you use in wpdm-functions.php function wpdm_logout_url so my finalised code for my custom function is:

    /*  ADD NONCE TO LOGOUT LINK  */
    
    function change_menu($items){
      foreach($items as $item){
        if( $item->title == "Logout"){
             $item->url = $item->url . "=" . wp_create_nonce(NONCE_KEY);
        }
      }
      return $items;
    	
    }
    add_filter('wp_nav_menu_objects', 'change_menu');
    

    Where the change was from

           $item->url = $item->url . "=" . wp_create_nonce( 'login' );
    

    TO

             $item->url = $item->url . "=" . wp_create_nonce(NONCE_KEY);
    

    For anyone interested in having TWO wordpress menus – one for logged in ( named logged-in ) and one for logged out ( named logged-out ) that switch when you are logged in or not PLUS having a Logout Link that behaves just like the WPDM logout links AND the ability to display login text messages to people not logged in, the three adds to your child theme functions.php is as follows:

    
    /*  LOGGED IN / LOGGED OUT MENU      */
    
    function my_wp_nav_menu_args( $args = '' ) {
     
    if( is_user_logged_in() ) { 
        $args['menu'] = 'logged-in';
    } else { 
        $args['menu'] = 'logged-out';
    } 
        return $args;
    }
    add_filter( 'wp_nav_menu_args', 'my_wp_nav_menu_args' );
    
    
    /*  ADD NONCE TO LOGOUT LINK  */
    
    function change_menu($items){
      foreach($items as $item){
        if( $item->title == "Logout"){
             $item->url = $item->url . "=" . wp_create_nonce(NONCE_KEY);
        }
      }
      return $items;
    	
    }
    add_filter('wp_nav_menu_objects', 'change_menu');
    
    
    /*  LOGGED OUT MESSAGE TO REGISTER OR LOGIN    */
    
    add_shortcode( 'visitor', 'visitor_check_shortcode' );
    
    function visitor_check_shortcode( $atts, $content = null ) {
    	 if ( ( !is_user_logged_in() && !is_null( $content ) ) || is_feed() )
    		return $content;
    	return '';
    }
    

    To use the visitor only text shortcode in a page or widget just do E.G.:

    [visitor]
    <div class=”card card-body bg-light”>
    You must register or login
    to download files from this site.
    </div>
    [/visitor]

    Thanks,
    Ben

    #138348

    Ben Schlaepfer
    Participant

    Hi,

    I have created a child theme and added in some functions that control the display of login / register text and also to switch menus for logged in / logged out users. This all works well:http://dicefiles.wpengine.com/

    One of the logged-in links is to “Logout” and I have attempted to use WPNONCE to achieve the same logout and redirect behaviour that you get on the WPDM profile / dashboard pages.

    I am getting a WPNONCE token but it’s not the same as the built in Logout links. Can you advise what change I need to make to make sure that a logout actually logs you out of WP and takes you to the Login page.

    /*  ADD NONCE TO LOGOUT LINK  */
    
    function change_menu($items){
      foreach($items as $item){
        if( $item->title == "Logout"){
             $item->url = $item->url . "=" . wp_create_nonce( 'login' );
        }
      }
      return $items;
    
    }
    add_filter('wp_nav_menu_objects', 'change_menu');

    Many thanks,
    Ben

    #138174

    Shahjada
    Keymaster

    Hi,
    I’ve installed and activated the pdf stamper add-on on your site, it is working fine ( https://ieltstestonline.com/download/ielts-writing-ebook-general-training/ ). But, for now, you have to attach PDF file using the server file browser ( as server file path ) instead of the media library URL to stamp properly.

    #138161

    In reply to: Amazon S3 returns 404


    Nayeem Riddhi
    Moderator

    Hi,

    please make the same URL in WordPress Address (URL) and Site Address (URL), they were not same, so the problem was creating, I hope it will resolve the problem, it is in Settings > General Settings

    Image 2020-10-09 at 4.10.45 PM

    now while adjusting it, some problem has been created, sorry for this, for fixing this please follow below procedures,

    Fix #1: Changing the WordPress Site URL by Editing the wp-config.php file

    Login to your WordPress hosting cPanel.

    Under the Files section, click on File Manager, OpenFile Manager and in your WP folder directory search for a file called wp-config.php and click on Edit File,

    define('WP_SITEURL', 'https://www.example.com');
    define('WP_HOME', ' https://www.example.com');

    Fix #2: Changing WordPress site URL via phpMyAdmin

    Login to your hosting cPanel and open phpMyAdmin

    Select the database of your WordPress site from the left sidebar

    Select wp_options table

    Note: wp_ prefix may differ depending on your WordPress installation settings

    phpmyadmin-click-edit-on-siteurl

    edit those and save

    I hope your problem will be solved,

    thanks


    dshank
    Participant
    This reply has been marked as private.

    LarryG
    Member

    I have had two issues with the latest version of WPDM. When I tried to update to V5.2.3 automatically I got an update error from WordPress complaining about the zip file. So I downloaded the zip file manually from your website and installed it manually. It seemed to work, but…

    For the two latest files I have uploaded to our website after upgrading to 5.2.3 I get the message:
    This site can’t be reached
    The webpage at https://acfconsultants.com/download/gsccd/?wpdmdl=33569&_wpdmkey=5f71931115258 might be temporarily down or it may have moved permanently to a new web address.
    ERR_UNSAFE_REDIRECT

    I noted that the wpdmkey in the above URL is different from the master key in the WPDM editor. If I substitute the Master Key for the above URL, I then get:
    — Invalid download link —

    Older files uploaded with the previous version of WPDM still work fine.

    #137189

    Tony Moore
    Participant

    I have a web page with seven downloads activated by seven modals that are downloading fine.

    Today I added an 8th modal to the page. I duplicated the file in download manager, and replaced the URL with a new URL link and updated the file. I copied the shortcode for this new file and inserted it into the 8th modal on my Website. I am able to request the file, and agree to terms, but the file does not download.

    To test, I went back to download managaer, and replaced the html file with one that is working on the same page. Saved the file (short code is the same) and the modal downloads correctly.

    So I repeated the process by replacing the URL for the 8th file. Unfortunately, on the website this 8th modal allows me to request the download and agree to terms, but it does not download.

    This is extremely frustrating. I am using the Avada Theme.


    brett polakowski
    Participant
    This reply has been marked as private.

    Hamid Ali Anjum
    Participant

    Hi WPDM Team,

    I was setting up email templates and realized that the reset link redirects the user to a wrong address. Apparently, it’s the first part of the URL (https://www.) written in the code somehow as (www.https.com/www.website.com). As suggested in the template, I am using the shortcode [#reset_password#].

    I am attaching the Image below in private message.

    Thank You!

    #136169

    In reply to: Unable to add new file

    For myself, nothing works in terms of attempting to add a new file on the Add New screen (i.e. drag/drop into the green shaded square, the green “Select File” button, URL, Select from Media Library or Select from Server). If I click on any of the buttons absolutely nothing happens ditto for attempting drag/drop


    Marco Da Rin Zanco
    Participant

    Hello, we just bought the plugin and we installed in wordpress, but we’ve tried a lot of times with zapier, installing in zapier the invite-only application, but nothing.

    I attached a log of php errors.

    2020/09/10 10:44:26 [error] 96587#96587: *671082 FastCGI sent in stderr: “PHP message: WordPress errore sul database Table ‘wp_ahm_wpdm_webhook’ already exists per la query CREATE TABLEwp_ahm_wpdm_webhook (
    id bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    hook varchar(512) COLLATE utf8_unicode_ci NOT NULL,
    url varchar(1024) COLLATE utf8_unicode_ci NOT NULL,
    description text COLLATE utf8_unicode_ci,
    status tinyint(1) unsigned NOT NULL DEFAULT ‘1’,
    added int(10) unsigned NOT NULL,
    updated timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
    UNIQUE KEY id (id)
    ) fatta da activate_plugin, do_action(‘activate_wpdm-webhooks/wpdm-webhook.php’), WP_Hook->do_action, WP_Hook->apply_filters, WpdmWebHook->activate, dbDelta” while reading response header from upstream, client: 139.47.18.122, server: academy.adacta.it, request: “GET /wp-admin/plugins.php?action=activate&plugin=wpdm-webhooks%2Fwpdm-webhook.php&_wpnonce=2e91b2642d HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php7.4-fpm-academyadacta.sock:”, host: “academy.adacta.it”, referrer: “https://academy.adacta.it/wp-admin/update.php?action=upload-plugin&#8221;
    2020/09/10 10:22:17 [error] 96587#96587: *670611 FastCGI sent in stderr: “PHP message: WordPress errore sul database Table ‘academyadacta.wp_ahm_wpdm_webhook’ doesn’t exist per la query SELECT id,hook,url FROM wp_ahm_wpdm_webhook WHERE status=1 fatta da activate_plugin, include_once(‘/plugins/wpdm-webhooks/wpdm-webhook.php’), WpdmWebHook::getInstance, WpdmWebHook->actions, WpdmWebHook->registerHooks” while reading response header from upstream, client: 139.47.18.122, server: academy.adacta.it, request: “GET /wp-admin/plugins.php?action=activate&plugin=wpdm-webhooks%2Fwpdm-webhook.php&_wpnonce=2e91b2642d HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php7.4-fpm-academyadacta.sock:”, host: “academy.adacta.it”, referrer: “https://academy.adacta.it/wp-admin/update.php?action=upload-plugin&#8221;
    2020/09/10 09:50:49 [error] 96587#96587: *669641 FastCGI sent in stderr: “PHP message: PHP Warning: realpath(): open_basedir restriction in effect. File(/www/academyadacta_765) is not within the allowed path(s): (/www/academyadacta_765/public:/www/academyadacta_765/mysqleditor:/www/academyadacta_765/web:/www/academyadacta_765/deploy:/www/academyadacta_765/deployment:/www/academyadacta_765/deployments:/usr/share:/tmp) in /www/academyadacta_765/public/wp-content/plugins/download-manager/modules/server-file-browser.php on line 23PHP message: PHP Warning: realpath(): open_basedir restriction in effect. File(/www/academyadacta_765) is not within the allowed path(s): (/www/academyadacta_765/public:/www/academyadacta_765/mysqleditor:/www/academyadacta_765/web:/www/academyadacta_765/deploy:/www/academyadacta_765/deployment:/www/academyadacta_765/deployments:/usr/share:/tmp) in /www/academyadacta_765/public/wp-content/plugins/download-manager/modules/server-file-browser.php on line 31” while reading response header from upstream, client: 151.95.69.141, server: academy.adacta.it, request: “POST /wp-admin/?task=wpdm_dir_tree HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php7.4-fpm-academyadacta.sock:”, host: “academy.adacta.it”, referrer: “https://academy.adacta.it/wp-admin/post.php?post=196428&action=edit&#8221;

    Thanks in advance


    Nayeem Riddhi
    Moderator

    Are you feel comfortable looking the page now? https://readymixqatar.com.qa/download/product-technical-library/, I have added a line before attached file Go to Cart for Downloading the files, Cart Page, but one problem is still there in your cart page when somebody trying to download, the error is showing in the console as i image attached that preventing for download,

    console

    can you disable other plugins for checking if there any conflicts coming from, also you can switch theme to others for checking? hearing back from you further.

    Thanks.

    #135417

    Michael
    Participant

    File Icons Issue

    I found this post, and replaced pcb with flame and added where I thought it should go, didn’t make a difference. Looking at the code..

    $fticon = WPDM_BASE_URL.'assets/file-type-icons/'.$ext.'.svg';
    
                        if(!file_exists(WPDM_BASE_DIR.'assets/file-type-icons/'.$ext.'.svg'))
                            $fticon = WPDM_BASE_URL.'assets/file-type-icons/unknown.svg';

    From filelist.php that is looking for an SVG file that matches the extension of the file ? Otherwise it uses unknown.svg ? I added flame.svg to that folder, but still showing the “unknown” icon.


    Eur AG
    Participant

    Hi

    I have Am WP Pro Membership installed. I have one overview page with links to a couple of other pages that are assigned to a certain membership. Now, after working fine for quite some time, suddenly the links on the overview page don’t bring my to the targeted member page but somehow the overview page is showing again – although the url of the targeted member page is shown correctly in the browser address field.

    Any ideas what might be the reason?

    Theme is Divi.

    Best

    #135276

    treativa
    Participant

    hi,

    I would like to translate the texts contained in the link templates and page templates. for example “Scarica Tutto”, “Visualizza”, of this model link. I use WPML
    How you do it?
    thanks

    <div>
    <div style=”border:1px solid #000; padding: 10px 5px; margin: 5px”>

    <div class=”” style=”text-align:center”>

    [thumb_150x150]

    </div>

    <div style=”text-align:center”>
    <p class=”media-heading p-0 m-0″ style=”font-weight:bold;”>[title]</p>
    <div style=”height:10px”></div>

    Visualizza
    Scarica Tutto
    </div>
    </div>
    </div>

    #135143

    Michael
    Participant

    I know a little SQL, it’s basically looking for file types of flame, and then adding a url to point to the image for the icon. My problem is I am not sure which tables I should be looking at to query and which to update. How does it work normally for things like zip files or doc files etc, they bring up their own icon.

    I thought it was just a case of adding the extension name as a file name, so zip.png or doc.png etc so for me would be flame.png. Doesn’t work that way.

    #135041

    Nayeem Riddhi
    Moderator

    You can check it by uploading it to the media library and then giving the URL path here. And also you can make icons in the default format, put it in the file-type-icons folder, and then select them. For all downloads package, you can check this add on for this, https://www.wpdownloadmanager.com/download/wpdm-default-values/

    Thanks.


    Rafal Wanowicz
    Participant

    Hi, I have found the solution to the problem I had if someone else will have the same issue it might be helpful.
    So after updating Download Manager from version 5.0.8 to version 5.1.2 all download links send to the email address were invalid.

    To solve this issue I have logged in into my WordPress Admin go to the Settings and I have put completely random
    WordPress Address (URL) and Site Address (URL)

    When I saved changes WordPress kicked me out and everything started to work
    (the WordPress Address (URL) and Site Address (URL) has not been changed). So I assume there were some settings which have not been refreshed or well I do not know, but even now when I do the staging copy of my website with Download Manager 5.1.2 installed I need to do this steps in order to make this plugin work.

    So this is something that someone from support could look at.

    Hope this will be useful for someone.

    I can close this issue as now everything works just fine.
    Thanks for your help.

    #134557

    CScience
    Participant
    This reply has been marked as private.
    #134365

    phil2pint
    Member

    hi,

    trying to create a new package – having updated from WPDM free to WPDM Pro

    If I try to create a new package using ‘Add New’ – I give the post a title and add a file, but the then I can’t save the Package – either as Draft or Published.

    The Url for the new post is /wp-admin/post-new.php?post_type=wpdmpro
    If I click on Publish nothing happens an it’s just appending ‘&wp-post-new-reload=true’ to the url after every click

    • This topic was modified 6 years, 3 months ago by phil2pint.
Viewing 25 results - 776 through 800 (of 1,932 total)