Search Results for 'Add Url'

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

  • David Hager
    Member

    Hopefully you are able to help me with another issue. It seems that any PHP I add using the overwrite feature in my child theme does not work.

    I would like to include a Vimeo embed to a download, so that users can choose to stream or download the selected video. I created an oEmbed custom field using advancedcustomfields.com, but there is no way to get the data on the page using your proprietary templating system. As an alternative solution I thought to just drop the Vimeo link in the content field which WordPress automatically turns in a embed code, and this works great on the backend, but on the front end. Again because you are not using the WordPress way of things, I just get the URL back.

    I also have created a site wide taxonomy which is connected to all my different post types (10 in total) for which I have created a specific template file that I include on every single.php. This list the connected terms for each post and links to a global archive with all the post type filters (e.g. the term Dog links to ?sfid=894&_sft_mp_tax=dog)

    How can I just use normal PHP/Wordpress code to customise my single.php for WPDM (which is page-template-1col-flat.php)? I hope you can give me some suggestions. Many thanks in advance

    #54654

    In reply to: Invalid License Key


    Shahjada
    Keymaster

    I tested URLs http://www.openresources.org/rescuing-ambition and http://www.openresources.org/like-a-diamond, downloads seems working fine.

    Also tested individual download page http://www.openresources.org/download/out-of-darkness-week-1-audio, however, I’ve adjusted login message from settings and the page template to make it working.

    Additionally, if you select only specific user roles for a package, then, user must login before download and only users under selected roles will be able to download the item, but if you want to allow everyone to download an item,  only select “All Visitors” for “Allow Access” field.

    Please let me know if you need assistance anywhere else.

    #54629

    Chantal
    Member
    This reply has been marked as private.
    #54520

    After a long night, I figured out if I attached the file to the package via url (same file, same location) and not via the uploader or the file browser, it works for me without an issue. I’ve been reading alot about my web host (GoDaddy) and it looks like they’re very strict about php scripts running for longer than 120 seconds despite giving the option of changing the max_execution_time. For anybody else on Godaddy, here’s a workaround for now but I hope to find a way to fix it soon.

    #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.

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