Search Results for 'download link'

Viewing 25 results - 6,001 through 6,025 (of 9,358 total)
  • Author
    Search Results
  • The problem solved by the author of the Justified Image Grid.

    In justified-image-grid-core.php file line number 901:

    Change:

    if(!is_admin() && stripos($_SERVER["SCRIPT_NAME"], strrchr(wp_login_url(), '/')) === false){

    to

    if(!is_admin()){

    It works without any errors now!

    2 more questions:

    1-) I was planning to use Downloads without links but now I want to use them all with links. Completelhy the reverse. Is there a way to disable the download on click but always open the link in new page?

    2-) Is there a way to open a pop-up saying “Your download will start soon.” when users clicked the download?

    #60335
    This reply has been marked as private.

    pullober
    Member

    hello again.

    if i go to “other shortcodes” to insert wpdm packages downloads on a page (for better sorting) it generates the template with shortcode link_template=”…” instead of template=”…”, resulting in displaying a complete different wpdm-(standard)-template.

    [wpdm_packages link_template="5960b1fc85b25" order_by="post_title" order="asc" paging="asc" items_per_page="10" title="" desc="" cols=1 colsphone=1 colspad=1]

    correct would be:

    [wpdm_packages template="5960b1fc85b25" order_by="post_title" order="asc" paging="asc" items_per_page="10" title="" desc="" cols=1 colsphone=1 colspad=1]

    #60290

    Shahriar
    Moderator
    This reply has been marked as private.

    We had this issue a while ago and you fixed it, but now it’s back. I am using the advised template and have disabled single file download per your previous instructions.

    (https://www.wpdownloadmanager.com/support/topic/download-link-displaying-in-footer-of-all-site-pages/)

    FYI: I just updated to the latest version of WPDM Pro. I had been trying to install from the update utility, but it kept reappearing and I realized it was never actually updating, so I manually updated the plugin via FTP.

    Screenshot attached.

    Login to follow.


    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.


    Shahriar
    Moderator

    No, WPDM and JIG are not using same function or class. In you support request, ask them if they are applying login_url filter hook anywhere. This issue most probably originated from a premature call on filter hook.

    Yes, you can disable the link. Use a custom link template for that. Just remove the [page_url] template tag from the custom template.

    Maybe a permission issue. Please check the directory permission of download-manager-files fir.


    Shahriar
    Moderator

    Does Download Manager work if you disable your justified image plugin? Download Manager code on the reported line is a just simple call to get_permalink function which is a core function. So, most probably it is something in the justified plugin. Have you notified that plugin author about this? We really want to solve this for you. But doesn’t look like WPDM related issue.

    – You can use the shortcode to show downloads anywhere you want. Use TinyMCE button to insert shortcode or copy the shortcode from “All Packages” page.

    – Subscribers page lists all user info collected through email lock feature.

    – Frontend settings pages are used for different purposes including redirecting users to the login page. Create a page for each of these shortcodes and set the page in each page option.

    – All WPDM files are uploaded in /wp-content/uploads/download-manager-files/ directory. But you can attach files from any server directory to your download package. We do not recommend changing the upload dir as this change will be gone after each plugin update.

     

    #60240

    Shahriar
    Moderator

    Default Values add-on sets predefined values of package settings when creating a new package.

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

    Sorry, I didn’t get what you meant in the first place. From you last reply, it is clear now you are trying to use default link template in category shortcode. But Default Values doesn’t handle that.

    You can easily select the link template when inserting category shortcode. TinyMCE add-on has nice UI for that. No need to edit plugin code for that.

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

    I’ll also ask another thing about the usage of the plugin. Is it possible to create a short-code and insert it into a post and it will generate a link? I don’t want full seperate page for download package. I just want to create a shorcode link contains the package that can be copy/pasted anywhere? Is it possible to do it?

    Also I see in Admin Panel there are Subscribers Menu. How can I let users subscribe to a package?

    In Download Manager Settings->Frontend there is settings for Login Page, Register Page and some shortcodes. What is the use of these things?

    Where the files are uploaded, from TinyMCE Plugin? Where can I choose the upload directory? (It is not in the setting I see, can you tell the file, so i can change the default PATH from code directly?)

    I can use the remote file just fine, but when I upload a file i can’t download it, i searched the whole server for the file but it can’t be find. It can’t move it to the right directory after uploading in temp finishes. Possibly a permission issue. Changed line below in download-manager.php, but it didn’t work:

    define(‘UPLOAD_DIR’,$content_dir.’/some/directory’);

    After disabling the welcome page errors I have seen clearly that, it conflicts with Justified Image Grid (JIG). Final error is this:

    Fatal error: Uncaught Error: Call to a member function get_page_permastruct() on null in wp-includes/link-template.php:357
    Stack trace:
    #0 wp-includes/link-template.php(320): _get_page_link(Object(WP_Post), false, false)
    #1 wp-includes/link-template.php(144): get_page_link(Object(WP_Post), false, false)
    #2 wp-content/plugins/download-manager/libs/class.Apply.php(742): get_permalink(Object(WP_Post))
    #3 wp-includes/class-wp-hook.php(298): WPDM\libs\Apply->loginURL(‘https://www….’, ”, false)
    #4 wp-includes/plugin.php(203): WP_Hook->apply_filters(‘https://www….’, Array)
    #5 wp-includes/general-template.php(350): apply_filters(‘login_url’, ‘https://www…’, ”, false)
    #6 wp-content/plugins/justified in wp-includes/link-template.php on line 357

    Do you have any idea how to get rid of this error?

    Problem occurs on get_permalink call, but why?

    This reply has been marked as private.
    #60178

    Shahriar
    Moderator

    Use this template tag [download_count] to show download counter. You can use it in a page or link template.

    All template tags are listed in the template editor page.

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


    pullober
    Member

    hello.

    i bought the pro version and default values. i thought – when i insert a new download category or package on a page – my custom link-template (as saved in the settings of default value) would be chosen. instead link-template-calltoaction3.php always comes up, when i don’t select a link template.

    i would like to have my custom link template to be chosen automatically when inserting a package without selecting any link template!

    where is the code-line where i can change this behaviour?

    thanks a lot for any feedback.

    If I delete the line require_once dirname( __FILE__ ) . '/LinkedIn/LinkedIn.php'; in libs/socialconnect/linkedinconnect.php
    he plugin activates but this I see this Warning:

    `Warning: Some code is trying to do a URL redirect. Backtrace:</strong>
    #0 WP_CLI\Utils\wp_redirect_handler(https://www.example.com/wp-admin/index.php?page=wpdm-welcome) called at [/var/www/example.com/public_html/wp-includes/class-wp-hook.php:300]
    #1 WP_Hook->apply_filters(https://www.example.com/wp-admin/index.php?page=wpdm-welcome, Array ([0] ► https://www.example.com/wp-admin/index.php?page=wpdm-welcome,%5B1%5D ► 302)) called at [/var/www/example.com/public_html/wp-includes/plugin.php:203]
    #2 apply_filters(wp_redirect, https://www.example.com/wp-admin/index.php?page=wpdm-welcome, 302) called at [/var/www/example.com/public_html/wp-includes/pluggable.php:1190]
    #3 wp_redirect(https://www.example.com/wp-admin/index.php?page=wpdm-welcome) called at [/var/www/example.com/public_html/wp-content/plugins/download-manager/admin/menus/class.Welcome.php:30]
    #4 WPDM\admin\menus\Welcome->welcomeRedirect(download-manager/download-manager.php) called at [/var/www/example.com/public_html/wp-includes/class-wp-hook.php:300]
    #5 WP_Hook->apply_filters(, Array ([0] ► download-manager/download-manager.php,[1] ► )) called at [/var/www/example.com/public_html/wp-includes/class-wp-hook.php:323]
    #6 WP_Hook->do_action(Array ([0] ► download-manager/download-manager.php,[1] ► )) called at [/var/www/example.com/public_html/wp-includes/plugin.php:453]
    #7 do_action(activated_plugin, download-manager/download-manager.php, ) called at [/var/www/example.com/public_html/wp-admin/includes/plugin.php:618]
    #8 activate_plugin(download-manager/download-manager.php, , ) called at [phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php:284]
    #9 Plugin_Command->activate(Array ([0] ► download-manager), Array ())
    #10 call_user_func(Array ([0] ► Plugin_Command Object ([*item_type] ► plugin,[*upgrade_refresh] ► wp_update_plugins,[*upgrade_transient] ► update_plugins,[*obj_fields] ► Array ([0] ► name,[1] ► status,[2] ► update,[3] ► version),[*chained_command] ► ,[WP_CLI\CommandWithUpgrademap] ► Array ([short] ► Array ([inactive] ► I,[active] ► A,[active-network] ► N,[must-use] ► M,[parent] ► P),[long] ► Array ([inactive] ► Inactive,[active] ► Active,[active-network] ► Network Active,[must-use] ► Must Use,[parent] ► Parent)),[fetcher] ► WP_CLI\Fetchers\Plugin Object ([*msg] ► The ‘%s’ plugin could not be found.)),[1] ► activate), Array ([0] ► download-manager), Array ()) called at [phar:///usr/local/bin/wp/php/WP_CLI/Dispatcher/CommandFactory.php:67]
    #11 WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}(Array ([0] ► download-manager), Array ())
    #12 call_user_func(Closure Object (), Array ([0] ► download-manager), Array ()) called at [phar:///usr/local/bin/wp/php/WP_CLI/Dispatcher/Subcommand.php:401]
    #13 WP_CLI\Dispatcher\Subcommand->invoke(Array ([0] ► download-manager), Array (), Array ()) called at [phar:///usr/local/bin/wp/php/WP_CLI/Runner.php:323]
    #14 WP_CLI\Runner->run_command(Array ([0] ► plugin,[1] ► activate,[2] ► download-manager), Array ()) called at [phar:///usr/local/bin/wp/php/WP_CLI/Runner.php:330]
    #15 WP_CLI\Runner->_run_command() called at [phar:///usr/local/bin/wp/php/WP_CLI/Runner.php:929]
    #16 WP_CLI\Runner->start() called at [phar:///usr/local/bin/wp/php/WP_CLI/Bootstrap/LaunchRunner.php:23]
    #17 WP_CLI\Bootstrap\LaunchRunner->process(WP_CLI\Bootstrap\BootstrapState Object ([WP_CLI\Bootstrap\BootstrapStatestate] ► Array ())) called at [phar:///usr/local/bin/wp/php/bootstrap.php:75]
    #18 WP_CLI\bootstrap() called at [phar:///usr/local/bin/wp/php/wp-cli.php:23]
    #19 include(phar:///usr/local/bin/wp/php/wp-cli.php) called at [phar:///usr/local/bin/wp/php/boot-phar.php:8]
    #20 include(phar:///usr/local/bin/wp/php/boot-phar.php) called at [/usr/local/bin/wp:4]`

    #60111

    Hi,

    I am trying to use doc preview tag in order to preview pdfs on my document.
    I followed all the steps I kept the put to be public but it show the source of the page, it does not show the pdf preview, pls. see the link below
    I tried to deactivate the plugin activate the plugin again, I dont have anyother plugins conflicting with this one, still its not working

    http://lifescicapital.staging.synergynetworx.com/download/test/

    Thanks

    #60097

    In reply to: WP Multisite


    Sa
    Member
    This reply has been marked as private.
    #60086

    Hi, my license key stopped working. Now it says invalid license key when I try to enter it in the plugin

    All my download links are not working. Can you please check asap?

    Thanks!


    Barney Ling
    Member
    This reply has been marked as private.
    #60032

    In reply to: Code from sample page


    Shahriar
    Moderator

    The shortcode for archive page sidebar view is as follows,

    [wpdm-archive cat_view="sidebar" button_style="default" link_template="link-template-calltoaction3.php" order_by="post_title" order="asc" items_per_page="10"]

    Please install TinyMCE Button add-on, you can insert the code easily using that add-on.


    Barney Ling
    Member

    Hi Guys,

    I have a very simple requirement to show some single file packages in a table and allow users to download them. All was working great with free version however since upgrading to pro version, with intention of customizing table template, now when users click on an individual file within the table my entire site comes to a grinding halt. If they click the download links all is ok it just happens when a user clicks on the individual file/package name and it is obviously trying to load a template and it crashes entire site. If I restart apache2 all is ok however I am very disappointed with the pro version which I was hoping would allow me to customize templates not kill them entirely. I have not changed anything apart from upgrading and this started happening immediately after the upgrade.

    I am using this shortcode in my downloads page;
    [wpdm-all-packages items_per_page="20"  jstable=1 order_by="title" order="asc"]

    Interesting any shortcode like, [wpdm_package id=1364 template="link-template-calltoaction3.php"], for a specific package also kills the site – please let me know what is going on I have narrowed down to a template needing to open.

    Using Ubuntu 16.04 for a private intranet site.

    Any assistance would be wonderful at present I will have to remove this plugin.

    Barney 🙂


    Shahriar
    Moderator

    Although Form Lock pop-up appeared fine in my test ( due to higher screen resolution ) you can use [download_link_extended] in a custom link template to show the embedded form to avoid content overlapping.

    Clone the current link template you are using now and replace the [download_link] template tag with [download_link_extended]. Then use this custom link template in your shortcode. You can clone any template you want.

    When the customer request the Download link, the information e-mail for the administrator does not arrive. We used first a private e-mail address with another ending “.de” – and the e-mail notification arrived. But as we used the correct e-mail address with the ending of the web address “.com” no e-mail notification arrived. On which position should the e-mail address be inserted to make sure that the e-mail is going to be sent correctly?

    As we used the option “terms and conditions have to agree” in the Lock-Options, two problems occurred:

    – When the customer uses the download link at the right side of the table the terms and condition check box is nonexistent. This should be a must.
    – When the customer use the Filename and the site with the version starts, the check box for the terms and conditions is already ticked off and there is no button for starting the Download. So the customer don’t know what to do.
    Is it possible for the popup area, which appears after clicking on the check box, to be directly visible all the time.


    Shahriar
    Moderator

    Hi,

    There is no link between package details page and shortcode page in this situation. SO, it is not possible to get back to the shortcode page when clicking the category or tag link.

    You can try the Archive Sidebar view. It shows package details on the same page and category links remain in the sidebar. Close to what you are trying to implement.

    Thanks.

     

Viewing 25 results - 6,001 through 6,025 (of 9,358 total)