Search Results for 'Add Url'

Viewing 25 results - 376 through 400 (of 1,643 total)
  • Author
    Search Results
  • #162909

    Nayeem Riddhi
    Moderator

    Hello @jrpajr,

    Hope you are well. The code sample is here, the response code for any API should be like this,

    The JSON response will look like the following example:

    {
          "id": 6488,
          "title": "The Alchemist",
          "slug": "the-alchemist",
          "description": "The Alchemist follows the journey of an Andalusian shepherd boy named Santiago.",
          "excerpt": "The Alchemist is a novel by Brazilian author Paulo Coelho.",
          "author": 1,
          "status": "publish",
          "parent": 0,
          "tags": [
              "novel",
              "paulo-coelho"
          ],
          "categories": [
              16
          ],
          "thumbnail": "https://example.com/wp-content/uploads/2019/01/the-alchemist.jpg",
          "additional_previews": [
              "https://example.com/wp-content/uploads/2019/03/the-alchemist-cover.jpg",
              "https://example.com/wp-content/uploads/2019/03/the-alchemist-map.jpg"
          ],
          "version": "3.0.0",
          "link_label": "Download",
          "quota": 0,
          "download_limit_per_user": "100",
          "view_count": 80,
          "download_count": 14,
          "package_size": "811.84 KB",
          "access": [
              "guest",
              "subscriber",
              "administrator"
          ],
          "user_access": [
              "admin"
          ],
          "individual_file_download": "1",
          "cache_zip": "-1",
          "template": "link-template-calltoaction1",
          "page_template": "page-template-1col-flat",
          "files": {
              "1": "The Alchemist.pdf"
          },
          "fileinfo": {
              "1": {
                  "title": "The Alchemist",
                  "password": "",
                  "license_price": {
                      "statdard": "",
                      "extended": "",
                      "unlimited": ""
                  },
                  "price": ""
              }
          },
          "package_dir": "",
          "publish_date": "2019-04-01 12:00 am",
          "expire_date": "2019-08-31 12:00 am",
          "terms_lock": "1",
          "terms_title": "Agree to terms",
          "terms_conditions": "You can't redistribute without prior authorization.",
          "terms_check_label": "Checkbox Label",
          "password_lock": "1",
          "password": "[123][456]",
          "password_usage_limit": "2",
          "linkedin_lock": "1",
          "linkedin_message": "LinkedIn Share Lock message",
          "linkedin_url": "https://www.wpdownloadmanager.com/",
          "tweet_lock": "1",
          "tweet_message": "Custom tweet message",
          "twitterfollow_lock": "1",
          "twitter_handle": "Shahriar",
          "facebooklike_lock": "1",
          "facebook_like": "",
          "email_lock": "1",
          "email_lock_title": "Subscribe To Download",
          "email_lock_msg": "",
          "email_lock_idl": "0",
          "icon": "https://example.com/wp-content/plugins/download-manager/assets/file-type-icons/arrow.png",
    
          "base_price": "12.00",
          "sales_price": "10.00",
          "sales_price_expire": "2019-08-31 12:00 am",
          "pay_as_you_want": "0",
          "license": {
              "statdard": {
                  "active": "1"
              },
              "extended": {
                  "price": "22",
                  "active": "1"
              },
              "unlimited": {
                  "price": "32",
                  "active": "1"
              }
          },
          "discount": {
              "subscriber": "10",
              "contributor": "20",
              "author": "30",
              "editor": "40",
              "administrator": "50"
          },
          "enable_license": "1",
          "enable_license_key": "1",
          "free_downloads": [
                  "/Applications/XAMPP/wpdm/wp-content/uploads/2019/04/The-Alchemist-free-sample.pdf"
              ],
          "meta_input":{
            "meta_key" : "Hello"
          }    
      }

    here file attach should be like this,

    "files": {
              "1": "The Alchemist.pdf"
          }

    And for this default format, the file should be residing in wp-content/uploads/download-manager-files, thus the package should create with fa file. Please let me know if you have other queries

    Thank you and regards

    #162858

    In reply to: settings issue


    Humayon
    Spectator

    Hello,
    Please check now I have adjusted the colours from blue to pink by adding CSS in Dashboard>Appearance>Customize>Additional CSS.
    The option to change the colours in the settings will affect floated Chatbox only. Hope you understand.
    However, You can capture screenshots by using this app and send the URL here.
    Regards

    #162775

    Tanvir
    Spectator

    Hello @eidattia,

    Sorry for this inconvenience.

    Make sure that WPDM and all add-ons you are using of WPDM are in the latest version.
    If, still the problem exists Could you please share the related page/file/package URL with us?
    However, it will be very cooperative if you record me reproducing your issue using a tool like this?

    Best Regards

    #162695

    Jose Renato Pinto
    Participant

    Hello Nayeem.

    I did not understood how I’m gona to attach the files.

    I alread saw the “files” object and could not use it for uploading files, only to make reference to files that were alread uploaded previously (that are on the Media of Worpress).

    The description of “files” object is: “Array of attached file names key by file ids.”

    What kind of “file names” I’m supoused to put there? The local path of my PC? (like C:\TEMP\file_to_upload.jpg)

    And what about the “id”? What kind of Id?

    Do you have any example to give me?

    I alread tried to put the local path there (like the above example), but the files were not uploaded to the server.

    Here is a snippet code of what I’m doing:

    
    import jakarta.ws.rs.client.Client;
    import jakarta.ws.rs.client.ClientBuilder;
    import jakarta.ws.rs.client.Entity;
    import jakarta.ws.rs.client.Invocation.Builder;
    import jakarta.ws.rs.client.WebTarget;
    import jakarta.ws.rs.core.HttpHeaders;
    import jakarta.ws.rs.core.MediaType;
    import jakarta.ws.rs.core.Response;
    
    public class Test {
    
    	public String createPackage( final String name, final long categoryId, final String fileName ) {
    		try {
    			final Map params = new HashMap<>();
    			params.put( "title", name ); //$NON-NLS-1$
    
    			final List<Long> categoryIdList = new ArrayList<>();
    			categoryIdList.add( categoryId );
    			params.put( "categories", categoryIdList ); //$NON-NLS-1$
    
    			if ( null != fileName && ( !fileName.isEmpty() ) ) {
    				final List<String> files = new ArrayList<>();
    				files.add( fileName );
    				params.put( "files", files ); //$NON-NLS-1$
    			}
    
    			params.put( "status", "private" ); //$NON-NLS-1$ //$NON-NLS-2$
    
    			final List<String> access = new ArrayList<>();
    			access.add( "guest" );
    			params.put( "access", access ); //$NON-NLS-1$
    
    			final Entity entry = Entity.json( params );
    
    			final Client wpdmClient = ClientBuilder.newClient();
    			WebTarget wpdmPackagesTarget = wpdmClient.target( wpdmPackagesUrl );
    			String wpdmAuthorizationKey = "Bearer xxxxxxx"; //$NON-NLS-1$
    			final Builder builder = wpdmPackagesTarget.request( MediaType.APPLICATION_JSON ).header(
    				HttpHeaders.AUTHORIZATION, wpdmAuthorizationKey );
    
    			final JSONObject response = builder.post( entry, JSONObject.class );
    
    			return response.toJSONString();
    		} catch ( Exception e ) {
    			e.printStackTrace();
    		}
    
    		return null;
    	}
    
    }
    
    #162685

    Christophe Barbier
    Participant

    Hello,

    I am running into the same issue. It looks like the source code is now located in (PRO version):
    download-manager\src\User\Login.php
    Line 44:
    add_filter(“logout_url”, [$this, ‘logoutURL’], 999999, 2);

    This filter has the highest priority, which will override other plugins. In our case, we are using “OpenID Connect Generic Client”:

    OpenID Connect Generic Client

    When calling this PHP function to get the “log out” URL:
    wp_logout_url(get_permalink())

    WPDM changes URL which look like this:
    /wp-login.php?action=logout&redirect_to=
    to
    ?logout?…

    Because of that, as Nicholas said, the “action” parameter is ignored by WordPress, which never even gets in wp-login.php to apply other logic (such as the “logout_redirect” filter). In our case, when WPDM is activated, the log out function of our website doesn’t work anymore !
    Worst thing is, we don’t even use the WPDM login function, and we still get that issue.

    There is probably a better way to disable it (apart from changing the source code of WPDM), but we added this custom to our child theme :

    
    # fix issue with WPDM adding custom logout filter
    # see https://www.wpdownloadmanager.com/support/topic/wp_logout_url-redirect-param-broken/
    function remove_filters_with_method_name( $hook_name = '', $method_name = '', $priority = 0 ) {
        global $wp_filter;
        // Take only filters on right hook name and priority
        if ( ! isset( $wp_filter[ $hook_name ][ $priority ] ) || ! is_array( $wp_filter[ $hook_name ][ $priority ] ) ) {
            return false;
        }
        // Loop on filters registered
        foreach ( (array) $wp_filter[ $hook_name ][ $priority ] as $unique_id ► $filter_array ) {
            // Test if filter is an array ! (always for class/method)
            if ( isset( $filter_array['function'] ) && is_array( $filter_array['function'] ) ) {
                // Test if object is a class and method is equal to param !
                if ( is_object( $filter_array['function'][0] ) && get_class( $filter_array['function'][0] ) && $filter_array['function'][1] == $method_name ) {
                    // Test for WordPress >= 4.7 WP_Hook class (https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/)
                    if ( is_a( $wp_filter[ $hook_name ], 'WP_Hook' ) ) {
                        unset( $wp_filter[ $hook_name ]->callbacks[ $priority ][ $unique_id ] );
                    } else {
                        unset( $wp_filter[ $hook_name ][ $priority ][ $unique_id ] );
                    }
                }
            }
        }
        return false;
    }
    remove_filters_with_method_name( 'logout_url', 'logoutURL', 999999 );
    

    The code is from :
    https://wordpress.stackexchange.com/a/304861/167013

    This successfully removed the WPDM logout filter

    Please fix this issue in WPDM directly, as it will produce unexpected results with many other WP extensions.

    Thanks,

    #162680

    In reply to: settings issue


    Humayon
    Spectator

    Hi @cybergogoappsgmail-com,
    Hope you are well. And sorry for the inconvenience.
    First of all, make sure that you are using the latest version of the WPDM and its related add-on.
    I hope it will work fine then. If it doesn’t work, please, provide us with your temporary wp-admin login details and site URL in a private reply for checking the issue.
    Also, please share the related page/file/package URL with us where the issue exists.
    However, it will be very cooperative if you record me reproducing your issue using a tool like this?
    It helps me to quickly figure out the issue and squash it immediately.
    Thank you


    Humayon
    Spectator

    Hello @bostjanlaba,
    Hope you are well. And sorry for the inconvenience.
    Please, provide us with your temporary wp-admin login details and site URL in a private reply for checking the issue.
    Also, please share the related page/file/package URL with us where the issue exists.
    However, it will be very cooperative if you record me reproducing your issue using a tool like this?
    It helps me to quickly figure out the issue and squash it immediately.
    However, Auto-update sometimes fails due to auth error or server file permission issue, however, you always can download any add-on from here and install it.
    Thank you

    #162478

    Nayeem Riddhi
    Moderator
    This reply has been marked as private.
    #162429

    Tanvir
    Spectator

    Hello @Amevoice,

    Sorry for this inconvenience.

    Make sure that WPDM and all add-ons you are using of WPDM are in the latest version.Latest version of lazy download is 2.7.0.

    Lazy Download Add-on

    If the problem still persists, could you please share the related page/file/package URL with us?
    If possible please also share the admin access of your website in a private reply.

    It helps us to quickly figure out the issue and resolve it immediately.
    Best Regards

    #162424

    Humayon
    Spectator

    Hi @callerpatty,
    Hope you are well. And sorry for the inconvenience.
    According to the latest update of WPDM PRO, you also need to update the other add-ons as well. Please update the WPDM Directory Add-on and it’s latest version is right now 4.3.2, or you can download them from here.
    I hope it will work fine then. If it doesn’t work, please, provide us with your temporary wp-admin login details and site URL in a private reply for checking the issue.
    Also, please share the related page/file/package URL with us where the issue exists.
    Thank you

    #162421

    Humayon
    Spectator

    Hello @peter_diethelm,
    Hope you are well. And sorry for the inconvenience.
    Make sure that you are using the latest version of the WPDM Pro and WPDM Extended Short-codes add-on.
    I hope it will work fine then. If it doesn’t work, please, provide us with your temporary wp-admin login details and site URL in a private reply for checking the issue.
    It helps me to quickly figure out the issue and squash it immediately.
    Thank you


    Nayeem Riddhi
    Moderator

    Hello @ntech21,

    Hope you are well. And sorry for the inconvenience. Can you please tell us which add-on you have upgraded to the latest version? please share the related URL. if possible, please, give your temporary wp-admin login details in a private reply for checking the issue.

    Thank you and regards

    #162355

    Tanvir
    Spectator

    Hello,

    I have just checked. It is working fine with the wpdm 6.0.8 version
    First of all you have to add app id and app secret properly and your site url in the facebook app. You need the app to make live by adding privacy and tos page.
    Screenshot-3
    Then you have to add the page url in the same way with https and www in the facebook lock “url to like” option
    Screenshot-4

    It should work now. If still the problem persists, please provide temporary admin access of your website.

    Thanks

    #162132

    In reply to: add on Dropbox


    Humayon
    Spectator

    Hello @pluk64,
    Hope you are well. And sorry for the inconvenience.
    Make sure that you are using the latest version of the WPDM and dropbox add-on.
    I hope it will work fine then. If it doesn’t work, please, provide us with your temporary wp-admin login details and site URL in a private reply for checking the issue.
    Also, please share the related page/file/package URL with us where the issue exists.
    However, it will be very cooperative if you record me reproducing your issue using a tool like this?
    It helps me to quickly figure out the issue and squash it immediately.
    Thank you


    ClearTouch
    Participant
    This reply has been marked as private.
    #161959

    Nayeem Riddhi
    Moderator

    Hello @ultimatelab,

    Hope you are well. please add the following code to your wpdm_change_download_expired_message function,

    I hope it will work fine then

    $package['download_url'] = '#';
    $package['link_label'] = "your custom message"

    Thank you and regards

    #161880

    Humayon
    Spectator

    Hello @yumaworks,
    Hope you are well. And sorry for the inconvenience. We have released the latest version 6.0.8 of the WPDM PRO plugin and add-ons. According to the latest update of WPDM PRO, you also need to update the other add-ons as well. Please update them, or you can download them from here.
    I hope it will work fine then. If it doesn’t work, please, provide us with your temporary wp-admin login details and site URL in a private reply for checking the issue.
    Thank you


    Nayeem Riddhi
    Moderator

    Hello @mfirwana,

    Hope you are well. The issue is related to google drive. There is a workaround that allows you to bypass Google Drive’s 24-hour limit. How that is done depends largely on what you see on the screen.

    google-drive-bypass-download-limit

    The most common error is shown on the screenshot above. It simply shows the error message but no other controls or options.

    1. Locate the “uc” part of the address, and replace it with “open”, so that the beginning of the URL reads https://drive.google.com/open?.
    2.Load the address again once you have replaced uc with open in the address.
    3.This loads a new screen with controls at the top.
    4.Click on the “add to my drive” icon at the top right.
    5.Click on “add to my drive” again to open your Google Drive storage in a new tab in the browser.
    6.You should see the locked file on your drive now.
    7.Select it with a right-click, and then the “make a copy” option from the menu.
    8.Select the copy of the file with a right-click, and there download to download the file to your local system.

    For more details please check this article too, https://www.ghacks.net/2017/04/14/fix-google-drive-sorry-you-cant-view-or-download-this-file-error/

    Thank you and regards

    #161783

    In reply to: Fatal Error


    Humayon
    Spectator

    Hello @pixelproduction,
    Sorry for the inconvenience.
    Make sure that you are using the latest version of the WPDM Pro and WPDM Directory Add-on.
    I hope it will work fine then. If it doesn’t work, please, provide us with your temporary wp-admin login details and site URL in a private reply for checking the issue.
    Also, please share the related page/file/package URL with us where the issue exists.
    Thank You


    Humayon
    Spectator

    Hello @mtsdcm,
    Hope you are well.
    Make sure that you are using the latest version of the WPDM Pro and PDF Stamper add-on. Please update them, or you can download them from here.
    I hope it will work fine then. If it doesn’t work, please, provide us with your temporary wp-admin login details and site URL in a private reply for checking the issue.
    Also, please share the related page/file/package URL with us where the issue exists.
    With Regards

    #161657

    TB
    Member
    This reply has been marked as private.
    #161647

    Nayeem Riddhi
    Moderator

    Hello @designhub again,

    With default value add-on, bulk apply to allow accces it is working fine too here, please check the URL

    https://staging.5healthytowns.org/download/wpdm-test/

    please let me know if you have other queries

    Thank you and regards


    Humayon
    Spectator

    Hello @dshank,
    Hope you are doing great.
    Please share your site URL too.
    However, make sure that you are using the latest version of the WPDM Pro and its related add-on.
    I hope it will work fine then. If it doesn’t work, then please share the related page/file/package URL with us where the issue exists.
    Thank You

    #161630

    Humayon
    Spectator

    Hello @26enterprises,
    Hope you are well. And sorry for the inconvenience.
    In our test environment, the shortcode is working fine.
    However, make sure that you are using the latest version of the WPDM Pro and WPDM Directory Add-on.
    I hope it will work fine then. If it doesn’t work, please, provide us with your temporary wp-admin login details and site URL in a private reply for checking the issue.
    Also, please share the related page/file/package URL with us where the issue exists.
    Thank You

    #161457

    Shahjada
    Keymaster

    The point is how are you reaching the URL https://www.ifiar.org/page/3/?wpdmdl. Manually, you can add any parameter, ex https://www.ifiar.org/page/3/?abcd

Viewing 25 results - 376 through 400 (of 1,643 total)