Search Results for 'Add Url'

Viewing 25 results - 1,101 through 1,125 (of 1,647 total)
  • Author
    Search Results

  • Jenny Davis
    Member

    Thanks for the reply!

    #1 fixed my first issue of properly overriding the template!

    #2 I’m not sure how to traverse the array of categories. I’d like to display the category of each file as it builds the rows of files. Here’s my code with the changes you mentioned. I added $cat = wp_get_post_terms(get_the_ID(), ‘wpdmcategory’); and I see it pulling the Array when I “echo $cat”. How can I make each file’s category display instead of the entire array?

    while( $packs->have_posts() ){
                            $packs->the_post();
    
                            $icon = get_post_meta( get_the_ID(), '__wpdm_icon', true );
                            $icon = ( $icon == '' ) ? WPDM_BASE_URL.'assets/file-type-icons/download4.png' : $icon;
    
                            $cat = wp_get_post_terms( get_the_ID(), 'wpdmcategory' );
    
                            if(strpos($icon, 'file-type-icons/') && !strpos($icon, 'assets/file-type-icons/')) $icon = str_replace('file-type-icons/', 'assets/file-type-icons/', $icon);
    
                            ?>
                            <tr>
                                <td>
                                    <a href="#" class="apc-pack" data-item-id="<?php the_ID(); ?>">
                                    <img src="<?php if(has_post_thumbnail()){the_post_thumbnail_url();}else{echo $icon;} ?>" style="float: left;margin-right: 10px;width: 40px;" />
                                    <?php the_title(); ?>
                                    </a>
                                </td>
                                <td><?php echo $cat; ?></td>
                                <td><?php echo get_the_modified_date(); ?></td>
                                <td><a href="#" class="btn btn-primary"><i class="fa fa-download"></i>Download</a></td>
                            </tr>
                            <?php
                        }
    #61856

    Shahriar
    Moderator

    Sorry, It should be ['download_url'] not ['download_link'],

    <td><a target="_blank" href="<?php echo $data['download_url']; ?>">Download</a></td>

    You have to add the "searchPlaceholder" : "Search Records", line in wpdm-all-downloads.php file ( as datatable initialization argument – around line 60 ).

    #61497

    Scott Erholm
    Member

    Okay, thank you, that did work. I set the wpdm_download_link_expiration_limit to 1 in the plock if block.

    I would have sworn I tried it with success more than 3 times before, but I must be mistaken since now it only allows 1 time, even if the same user copies the link URL and pastes in a new browser tab.

    I can’t expect buyers of my software to register as a user on my site, and I also didn’t want to limit the downloads that 1 person supplying the proper password could download.

    I will admit that I got a bit upset here at first, thinking I had purchased a plugin which seemed useless to me. But I am glad you responded with this workaround, and quite promptly I should not hesitate to add.

    Thanks.

    Suddenly and without explanation, users have not been able to open or download package files when using Google Chrome. When clicking the link it takes them to a new page with an error message. They are able to download using IE and other browsers. This problem began with the previous version of WPDM installed and continues after the latest update. Clearing the browser cache does not solve the issue and deactivating all other plugins does not solve it either. The error received is pasted below along with a screenshot. The url is valid and works in other browsers.

    This site can’t be reached

    The webpage at http://www.chicagocop.com/download/animal-cruelty-to-animals-class-a-misdemeanor/?wpdmdl=12387 might be temporarily down or it may have moved permanently to a new web address.
    ERR_INVALID_RESPONSE

    #61215

    kalico
    Member

    yup, I understand that. But just be aware that the “fix” in that file, is not actually the fix. The fix is to use the correct URL. The file was supposed to contain a fix so that cross-domain access becomes a non-issue. This is how it should be, since multisite users often have sites with different domains, even on the admin side. As it stands right now, I have to create a special link to add downloads, and in some cases (such as editing an existing item) change the link after loading the page, because the standard link (in the admin sidebar menu) does not work. I hope you can provide a file that does fix this issue. Thanks.

    #61214

    Shahriar
    Moderator

    Working now. I have added flaturl=0 with [wpdm_frontend] shortcode.

    #61125

    In reply to: User permissions

    This reply has been marked as private.
    #60971

    Shahriar
    Moderator

    Added following code at the top of /wpdm-archive-page/tpls/advanced-search-form.php to fix the issue,

    <?php $url = str_replace( 'http://', 'https://', $url ); ?>

    Slider, calendar, and categories are back now.


    storwalle
    Member

    Hi!

    It shows that an update from version 4.6.5 to 4.6.7 break the site login. It is added a ?redirect=/ after the site URL after having put in the login credentials and pressed the button to log in. I have had to inactivate WPDM to make it work again. I will look for the old install file for 4.6.5 to make it work again.

    You may try to log in now. You can find the credentials as a private message above.

    Kind regards
    Michael

    #60706

    Shahjada
    Keymaster

    Here, people don’t always use Facebook page, sometimes they use their site URLs too. However, it is a good idea to show the information about the page they are liking in the popup, we shall add it with the next update of the plugin.

    #60586

    Shahjada
    Keymaster

    Seems like a conflict with your theme css or another active plugin css. It can be fixed by adding some css, please give me your URL to suggest your required css changes.

    #60505

    Shahriar
    Moderator

    Looks like your app hasn’t been setup properly. My API keys work fine after adding your URL in APP settings. Please check the following screenshot.

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

    #60416

    Shahriar
    Moderator

    Add the same URL in OAuth 1.0a options too. Also, check all application permissions as shown in the screenshot above.

    #60399

    In reply to: Dropbox Issues


    Shahriar
    Moderator

    This is definitely a Dropbox permission settings of these 2 files. I tried to access the EUR file through URL but it says “The owner hasn’t granted you access to this link.” Also, the download doesn’t work even when I am logged into Dropbox. It works for you because you have permission.

    Please try following steps,

    1) Delete both files from Dropbox and remove them from package too. Update your package.

    2) Upload new copies to Dropbox.

    3) add new copies from Dropbox to your package and update package.

    #60396

    Shahriar
    Moderator

    In your app’s authentication settings add redirect URL ( OAuth 2.0 )

    Add your website URL as redirect URL.

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

    #60363

    Shahriar
    Moderator

    The solution is using custom link template.

    If you don’t want to show download details page you can remove the [page_url] template tag from the link template.

    Clone any link template from Downloads Templates page and remove [page_url] tag from there. Also, remove the HTML a tag. Then set this link template when inserting the shortcode.

    Use TinyMCE add-on to insert the shortcode. Your custom link template will be available in the dropdown.


    Shahriar
    Moderator

    Glad to know the plugin conflict has been resolved finally.

    1 ) Yes, it is possible. You have to create a custom link template. Clone the link template you like or create one. Then remove the [download_link]  template tag from there to hide download link. Now you will find [page_url] tag attached to HTML <a> tag. Add target blank there to open link in new page.

    <a target="_blank" href="[page_url]">

    2) If you are trying to apply a delay in download operation Lazy Download add-on is the one you need.

    #60290

    Shahriar
    Moderator
    This reply has been marked as private.

    Shahriar
    Moderator

    Maybe, It is related to a core WordPress hook which is being used by both plugins. Try commenting out the following line in /download-manager/libs/class.Apply.php file ( line 31 )  ( although the error might move to another line that using the get_permalink function ! ),

    add_filter("login_url", array($this, 'loginURL'), 999999, 3);

    Try setting permission to 755

    To disable the link, always use the custom link template ( the one without [page_url] tag ) when creating a new package. You will find the link template option in Package Settings meta box.

    #60249

    In reply to: PayPal Error


    Davor
    Member
    This reply has been marked as private.
    #59330

    Shahriar
    Moderator

    Hi,

    Login working now.

    Please send me the URL where you faced pop-up and sidebar issue. If popup is positioned under sidebar,

    If popup is positioned under sidebar adding following CSS fixes it,

    .fw-col-sm-3{z-index:9;}

    I have created a package but found no issue related to MailChimp form dropdown and blank sidebar. It will be helpful if you can provide a link where this problem already exists.

    Thanks.

    #59067

    Shahriar
    Moderator

    Hi,

    when I tried to setup it just mixed up our already logged in one drive account with yours, however, the redirect URL was not correct in your setup, and we are adding a video for one drive setup soon.

    No, it will not allow your to expire shared dir, you only can attach files from a remote location. If you want to attach a dir, it must have to be in the same server.

    #58735

    Shahriar
    Moderator

    Have you added file from URL? Single zip file download won’t work with URL files. It works when files are located on your server. Please send temporary wp-admin login info in private reply if your files are located on the same server but still getting this error.

    #58714

    Shahriar
    Moderator

    Do you have access to the admin dashboard? If yes, then go to the page where you put the [wpdm_user_dashboard] shortcode. Then add flaturl=0 parameter as shown above. That should fix the page not found issue when clicking add new link.

    Please send temporary wp-admin and FTP login info in private reply if you need help. I can set it up for you.

    #58639

    Shahjada
    Keymaster

    Please add flaturl=0 with shortcode.

    [wpdm_user_dashboard flaturl=0]
Viewing 25 results - 1,101 through 1,125 (of 1,647 total)