Search Results for 'Add Url'

Viewing 25 results - 1,401 through 1,425 (of 1,927 total)
  • Author
    Search Results
  • #54322

    Shahjada
    Keymaster

    All you need to do is adding shortcode [wpdm_file_cart] on a page to show file cart, And keep single file download activate with packages. Additionally, you need to keep [file_list] tag in link or page template to show file list.

     

    “How do you get rid of the file name – “name.pdf”” <— may you please explain it a little with an example URL.

     

     

    Hi again, now I’m working with plugin and I’m having some problems.

    Yesterday I post in the fórum for problema with interrupted downloads and decide to update to a new versión, 4.6.2

    Well, after update can’t add any file beause the plugin don’t add the base dir, example.

    In configuration I put this base path: /var/mydomain/files

    And when navigate adding the file select dir: Windows/tutorials.zip

    The final URL for the file is: Windows/tutorials.zip
    And the real location is: /var/mydomain/files/Windows/tutorials.zip

    When you try to download, evidently, the file can’t download because the path is incorrect.

    Now I return to 4.6.0 and Works again.

    #54055

    In reply to: Please Check


    Shahjada
    Keymaster

    Because, sometime, updating plugin reset permalink rules, however, you can avoid it by adding flaturl=0 with short-code.


    Paul Osborn
    Member

    I’m developing a theme, and I always want the user to land on the custom login page if it is defined…so I want to redirect the user to the login page from wp-login.php.

    Here is the code that I’m added for my purposes…your mileage may vary (I didn’t include the UI toggle, obviously…)

    		/**
    		 * Redirect the user to the Download Manager's login page instead of wp-login.php.
    		 */
    		add_action( 'login_form_login', array( $this, 'redirect_to_custom_login' ) );
    		function redirect_to_custom_login() {
    			if ( $_SERVER['REQUEST_METHOD'] == 'GET' ) {         //Only when the form is being called, not posted
    				if ( is_user_logged_in() ) {
    					wp_redirect( self::$dashboard_url ); 
    				} else {
    					wp_redirect( self::$login_url );
    				}
    			}
    		}
    		/**
    		 * Set a static constant for the login URL so I don't have to do it on every single tpl page...
    		 */
    		function set_login_url() {
    			$login_id = get_option('__wpdm_login_url');
    			if( $login_id > 0)
    				$login_url = get_permalink( $login_id );
    			else $login_url = wp_login_url();
    			
    			$redirect_to = ( isset($_GET['redirect']) && 'referer' == $_GET['redirect'] ) ? $_SESSION['HTTP_REFERER'] : null;
    			$redirect_to = isset( $_REQUEST['redirect_to'] ) ? $_REQUEST['redirect_to'] : $redirect_to;
    			if ( !empty( $redirect_to ) ) {
    				$login_url = add_query_arg( 'redirect_to', $redirect_to, $login_url );
    			}
    			self::$login_url = $login_url;
    		}

    Paul Osborn
    Member

    It’s a great feature….but It took me two hours to figures out how to customize the Login Required Message (in Basic Settings) in order to get the redirect – the request is fairly simple:

    1. Document the available shortcode handles in the UI – [loginform],[this_url], [package_url]. I had to dig deep into the code (line 147 in wpdm functions) before i discovered these handy-dandy handles!
    2. I felt that [this_url] should have given a fully-qualified domain name, but maybe that’s just me
    3. there’s a lot of HTML is what i came up with for what is surely a pretty basic requirement – to come back to where I started, so maybe add another handle or shortcode which handles all this extra stuff for you

    Example code – seems a bit of an effort for a basic requirement:

    <a class="required-login-msg" href="http://mydomain.com/wp-login.php?redirect_to=http://mydomain.com[this_url]">Free Registration is Required in Order to Download Resources</a>

    #53846

    How/where do I set the page for when a user logs out of the dashboard?

    It defaulted to:

    /sitename/download-dashboard/logout/

    …which was a 404 – Page not found.

    I created a page titled ‘logout’ and it will redirect there, but it does not actually log me out. I am still logged in as a WP User and I can type in a package address in the URL window and get to it.

    NOTE: I do not want to go to the WP User logout page. I either want to got to a customer page that looks like Download Manager or go to the homepage.

    #53834

    In reply to: Invalid License Key

    This reply has been marked as private.
    #53823

    In reply to: Invalid License Key


    Shahjada
    Keymaster

    @ManuelPalachuk, please zip jobber.pem then upload. BTW, add list api url is https://www.wpdownloadmanager.com/?wpdm_api_req=getPackageList  , it is public.


    @m-piotrowicz
    , in 4.6.2, license key should work fine, please give me your license key in a private reply.


    Shahriar
    Moderator

    Try following code,

    $ID = get_the_ID(); $package = \WPDM\Package::get($ID);  echo $package['author_name'];  echo $package['author_profile_url'];

    I just added the $ID = get_the_ID(); above your code.


    WMD
    Participant

    I’m not using it anywhere at the moment because I took it out. I was using the code provided to me to create a new column in the show all files shortcode template wpdm-all-downloads.php which I’ve duplicated in my theme folder.

    
    $package = \WPDM\Package::get($ID);
    echo $package['author_name'];
    echo $package['author_profile_url']; ?>
    

    So basically I’ve added a new header <th> called Author and cells <td> that should output the package’s author name and a URL to the author’s profile.

    #53611

    Shahriar
    Moderator

    Use [#download_url#] tag in email template to send download url. In latest version of plugin this is added in default template.

    #53573

    renzukoken
    Participant

    I mean each time you add a package, for the attached file, I add an URL for the file to download (on an external server, i don’t use the “upload” function), this URL is set by me.

    now all my packages have a URL http://ns32……&#8230; but i’m moving all my files to a server named http://ns42&#8230;.. (still an external server, not the one where WordPress is set)
    so all my downloads will not work, i can actually go inside each packages 1 by 1 to update the link to the new server, but doing than more than 3000 times is not what i want.

    I tryied to modify those packages link directly into the database, but when i do that, when i edit a package, attached file URL is empty.

    What are my solutions?

    #53272

    Shahjada
    Keymaster

    If you added remote URLs in your package zip download will not work, as files need to be in same server to create zip.

    #53190

    lips
    Participant

    Hi,
    I need your help on the following :

    1- I need to remove category / create date row
    2- I need to link icon to package detail -> i found this but don’t know where to add it
    a href=”[page_url]”>[icon]
    The example above will link icon with package details page URL

    -> here’s the link -> http://www.regies.ch/espace-coproprietaires/

    Thanks in advance for ur return

    Best,

    #53132

    Hi Team

    What files would I need to edit to add an onclick to the link of the [download_link_popup] button?

    I would like to add onclick=’goog_report_conversion(‘$linkURL’)’ to be able to track the download conversion.

    ( Google code required: https://support.google.com/adwords/answer/6331304?hl=en-GB&authuser=0)

    Thank you

    Warm regards

    Mark

    #53120

    Shahjada
    Keymaster

    Category RSS feed url is [category url]/feed/, ex: http://www.wpdownloadmanager.com/downloads/ecommerce-add-ons/feed/ , but “Package visibility in main RSS feed” option adds wpdm package with main RSS feed, ex: http://www.wpdownloadmanager.com/feed/ , you can enable it from wpdm Settings Frontend tab.

    #52995

    Shahjada
    Keymaster

    Yes, that is possible, you can add remote url as download link. 3 options with attach file metabox, upload, browse and url, you need to use “url” tab.

    #52940

    Shahjada
    Keymaster

    nivoLightbox shouldn’t cause any such issue, please give me your URL and temporary wp-admin login info in a private reply to check the issue.

    To open new tab you need add attribute target=_blank with a tag, and to open rather than download, please check open in browser option in wpdm settings:

    https://www.evernote.com/l/AV1CiAhnqtFCyJ8ukOG3Lqf3MXbJHb9n_mQB/image.png

    #52449

    icsolutions
    Participant

    Hi,

    URL: http://be.iko.com/technische-fiches/

    I’m using Download manager already for a long time and I purchased it already for a few sites.

    On the URL above you’ll see 5 tabs.
    The downloads on the 1st 4 tabs works fine.
    I added the 5th tab only recently and the downloads are not working. I always get ‘file not found’.

    I add the files by ‘Bulk import’.
    When I add a file manually 1 by 1, than it does work.
    Also I don’t t see the map tree structure anymore on the bulk import page and when I add the URL of the files, he shows me all files, but in the last column I see size: 0.00Mb

    I already updated to the latest version but that didn’t helped.

    I was thinking on some security restriction but then it’s strange that it is working for 1 file.

    I can give admin login in Private message.

    thanks for a quick response!

    #52439

    Jass
    Spectator

    Hi, the problem can be solved in
    WP Super Cache plugin in causes the problem. As all downloads via our plugin are done via a GET request. So I check the option: ‘Don’t cache pages with GET parameters. (?x=y at the end of a url)’ and the downloads are working again.
    or
    You can try using w3 total cache http://wordpress.org/plugins/w3-total-cache/ instead
    or
    In WP super Cache by setting the Cache Timeout from “WP super Cache” to 1, and then back to 1800.
    or
    try basically adding \?wpdmdl.* to the list of url strings that force a page not to be cached in Super Cache settings.
    or
    if you have any cache plugin installed clear cache first. Then go to permalink settings and save it without making any changes.

    I hope this solves your problem
    Thank you

    Thanks for your support.

    #52425

    In reply to: popup_link Don't work


    Shahjada
    Keymaster

    For some reason, 1 popup parameter is not passing when requesting popup url in your server, however, please try updating extended short-code add-on.

    #52255

    In reply to: Frontend Upload


    Shahjada
    Keymaster

    ok now, I added flaturl=0 with short-code.

    #52215

    AndreasB
    Participant

    Hi, I have asked for this problems several time but still do not have a solution for this.

    If I use AWS S3 add-on and try to create a bucket or try to access to an existing one, I do receive the following error message.

    “Fatal error: Uncaught Aws\S3\Exception\PermanentRedirectException: AWS Error Code: PermanentRedirect, Status Code: 301, AWS Request ID: 9DD9EEAEE56E308B, AWS Error Type: client, AWS Error Message: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint: “superspirit.ffm.s3.amazonaws.com”., User-Agent: aws-sdk-php2/2.7.17 Guzzle/3.9.2 curl/7.38.0 PHP/7.0.14-1~dotdeb+8.1 thrown in /var/customers/webs/Superspirit/wp_harmonics/wp-content/plugins/wpdm-amazon-s3/aws/Aws/Common/Exception/NamespaceExceptionFactory.php on line 91″

    #52159

    In reply to: Page after login


    Shahriar
    Moderator

    Removed the login/register tab from login page. Also redirected user to homepage after login. You can change the redirect url from your theme’s functions.php file by editing my code.

    You need WPDM Directory addon to create a all downloads page with panel 1/3 template.

    #52153

    In reply to: Frontend Upload


    Scott Barbour
    Participant

    Ok. Got the 404 error again, change user in the frontend settings and the add new page came back,

    Also, when I used the url function for loading the file in the package, I was able to create the package as expected.

    So, is it the file browser settings or the file browser root?

Viewing 25 results - 1,401 through 1,425 (of 1,927 total)