Search Results for 'Add Url'

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

    kevin elliott
    Participant
    This reply has been marked as private.
    #163483

    Edouard Boisset
    Participant

    Hello,

    Would you be willing to look into a conflict between your plugin and Ultimate Member plugin ?

    when both are installed on the same wp, the ‘forgotten password’ > ‘password reset’ link doesn’t work.

    It is because of the ‘key’ param in the url.

    The problem is fixed by renaming the parameter in two files \plugins\download-manager\src\User\Login.php Line 226 from
    $reseturl = add_query_arg(array('action' ► 'rp', 'key' ► $key, 'login' ► $user_login), wpdm_login_url());

    To
    $reseturl = add_query_arg(array('action' ► 'rp', 'wpdm-key' ► $key, 'login' ► $user_login), wpdm_login_url());

    and the file download-manager\src\User\views\reset-password-form.php Line 15 from
    $user = check_password_reset_key(__::query_var('key'), $login);

    To
    $user = check_password_reset_key(__::query_var('wpdm-key'), $login);

    I know it’s not really a bug on your side, but it would be really kind if you could add this small change 🙏

    Thanks

    Regards


    Humayon
    Spectator

    Hello,
    Sorry for the inconvenience.
    Archive one is named as WPDM Directory Add-on.
    Also, please don’t use the WPDM – TinyMce Button add-on as we are going to remove it ASAP. Because everyone is tending to use Gutenberg and WordPress is also recommending to use it.
    However, if you cooperate with us by providing your admin login credentials and related page/package URL then we will set up the shortcode for you. Maybe you are inserting the shortcode wrong that’s why it’s not working.
    Please, copy and use the exact shortcode from the add-on page or let us do it for you.

    WPDM Directory Add-on


    Regards

    #163401
    This reply has been marked as private.

    Humayon
    Spectator

    Hi @poppydesignstudio,
    Sorry for the inconvenience.
    In that case, 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.
    It will be very cooperative if you share your order ID and associated email address as well.
    Thank You

    #163226

    In reply to: HELP


    Humayon
    Spectator

    Hello @nydunes,
    Hope you are well. And sorry for the inconvenience.
    According to the latest update of WPDM PRO, you also need to update the Advanced Access Control add-on as well. Please update it, or you can download them from here.
    I hope it will work fine then. If it doesn’t work, then 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

    #163210

    Tanvir
    Spectator

    Hello,

    Sorry to hear about the issues.

      1. You can install pdf viewer from Downloads > settings > Updates option from your WordPress dashboard. If you can’t update it directry from WordPress dashboard, Please update from here.
      Here is the url of the addon

      WordPress PDF Viewer


      2. To set preview image for each download you have to set featured image for package and then [thumb_widthxheight] in link template or page template to show preview image in the list.
      To set preview image for category, you have to set image for each category from Downloads>Categories option.
      Then you have to use this shortcode with title=1 parameter and id='' parameter

      [wpdm_category] – Query All Downloads From One or More Categories


      3. I have just tested this issue and I think it is a bug. I will forward the issue to the developer team. In the meantime you can add template parameter in shortcode to use template.

    Please let me know if you have any quries or if you have got all the answers.

    Thanks

    #163200

    Humayon
    Spectator

    Hello @webmasteraci,
    Sorry for this inconvenience.

    First of all please make sure that you are using the quote " instead of comma in the shortcode parameter.

    However, You are using the latest WPDM Free version but since you have posted in the PRO forum SO I assume that you have the Pro plugin access.

    Make sure that WPDM and all of its related add-ons you are using are in the latest version.
    The current version of WPDM Pro is 6.0.8.
    The current version of the WPDM directory (Archive Page) add-on is 4.3.2.

    If you can’t update it directry from WordPress dashboard, Please update from here.
    If, still the problem exists then please share your admin login credentials with us in a private reply so that we can debug and give you a better solution about it?
    Also, please share the related page/file/package URL with us where the issue exists.

    Best Regards

    #163175

    Humayon
    Spectator

    Hello @nvision,
    Hope you are doing great.
    Currently, there is no option to clear the old/outdated files. However, we are going to add a new option in the next/future update under the settings/package edit section like this delete associated files when the package gets deleted.
    So, please cooperate and spare us some time.
    Also, if you remove/delete files from the uploads->download-manager-files then it should show Sorry! File not found! instead of going to wp-admin.
    Make sure that there is no redirection applied.
    If still, the problem exists then please provide us with your temporary wp-admin login details and site URL in a private reply for checking the issue.
    Regards


    Tanvir
    Spectator

    Hello ,

    Sorry for this inconvenience.

    Make sure that WPDM and all add-ons you are using of WPDM are in the latest version. If you can’t update it directry from WordPress dashboard, Please update from here.
    If still the problem persists, Could you please share the related page/file/package test 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.

    Thank you

    #163039

    Humayon
    Spectator

    Hello @ikram_dirujii,
    It’s working fine in our test environment.
    Are you using the latest version of both WPDM Pro and Download limit addon?
    If still, 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

    #162991

    In reply to: Dashboard after Login


    Ikram Dirujii
    Participant

    Sir, I installed the Ultimate member plugin, so my problem is solved.

    one question sir, I have already added 3k plus packages, with all users access, so now it is not possible individually, one by one to change from all users to subscribers. I tried the Better search-replace plugin, but I think it is working only for URL replacement.
    i also tried manually replace the string guest to the subscriber through notpade++ but when I am uploading the modified DB file to the database, it is changing my admin access to the subscriber. i mean upter that I can use my website as a subscriber, not as an admin.

    so any way to change the access condition from guest to subscriber for my previous packages?

    #162925

    Jose Renato Pinto
    Participant

    I’m not sure if I missed something… maybe I am…. because I still not able to upload files to this folder using a Java Client with REST API.

    Maybe you are suggesting me to upload the files to wp-content/uploads/download-manager-files via FTP? Is that it?

    Because reading your answer, I’m not able to find any clue about how to upload the files to this folder.

    I’m sorry for beeing this persistent, but I’m realy need to understend how this works.

    I was expecting some code like this to upload the files:

    
    import java.io.File;
    import java.io.IOException;
     
    import javax.ws.rs.client.Client;
    import javax.ws.rs.client.ClientBuilder;
    import javax.ws.rs.client.Entity;
    import javax.ws.rs.client.WebTarget;
    import javax.ws.rs.core.MediaType;
    import javax.ws.rs.core.Response;
     
    import org.glassfish.jersey.media.multipart.MultiPart;
    import org.glassfish.jersey.media.multipart.MultiPartFeature;
    import org.glassfish.jersey.media.multipart.file.FileDataBodyPart;
     
    public class JerseyFileUpload {
        private final static String contentType = "multipart/mixed";
     
    	public static void test(){
    		postFile("http://mypage.com/wp-json/wpdm/v1/package", "c:\\TEMP\\File.jpg");
    	}
    	
        public static void postFile(String serverURL, File imgFile) {
            MultiPart multiPart = null;
            try {
                Client client = ClientBuilder.newBuilder().
                                    register(MultiPartFeature.class).build();
                WebTarget server = client.target(serverURL);
                multiPart = new MultiPart();
     
               
                FileDataBodyPart imgBodyPart = new FileDataBodyPart("imgFile", imgFile,
                        MediaType.APPLICATION_OCTET_STREAM_TYPE);
               
                // Add body part           
                multiPart.bodyPart(imgBodyPart);            
     
                Response response = server.request(MediaType.APPLICATION_JSON_TYPE)
                        .post(Entity.entity(multiPart, contentType));
                if (response.getStatus() == 200) {
                    String respnse = response.readEntity(String.class);
                    System.out.println(respnse);
                } else {
                    System.out.println("Response is not ok");
                }
            } catch (Exception e) {
                System.out.println("Exception has occured "+ e.getMessage());
            } finally {
                if (null != multiPart) {
                    try {
                        multiPart.close();
                    } catch (IOException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                    }
                }
            }
        }
    
    #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

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