WordPress Download Manager
WordPress Download Manager
  • Pricing
  • Demo
  • Extend
    • Full Access Pack Get access to all items on this site with a BIG DISCOUNT
    • WordPress Form Builder Plugin Try it even if you are using another one and you may thank me later :)
    • Attire All-in-One WordPress Theme, only theme you will ever need

    Add-ons

    • Add-ons
    • Cloud Storage
    • eCommerce Add-ons
    • Email
    • Featured
    • Free
    • Marketing
    • Payment Gateways
    • Social Networking
    • Tools
    • UI
    • Widgets

    Customization Service

  • Discount Packs
  • Docs
  • Support
    • Search in Forum
    • Download Manager Pro
    • Download Manager Free
    • Pro Feature Request
    • How To...
    • Tips and Tricks
    • Contact Us
  • Blog
Login | Register
Forgot Password?
— Don't have an account yet? Register Now —
Home / Topics / Download Manager Free / Download Link Alert Message without Timestamp

Download Link Alert Message without Timestamp

  • This topic has 7 replies, 2 voices, and was last updated 1 year, 11 months ago by Nayeem Riddhi.
Viewing 8 posts - 1 through 8 (of 8 total)
Jul 11, 2023 at 2:02 pm #188520

Matthias Hänsch
Participant

Hi,
I am working with a friend on a website with your Download Manager Pro and we have a problem with the Alert Message in the download Link, if you have set up the download to only be active from a speacil day. We don’t need the time and want to delete this from the alert message. I allready got it working on the first page, when the side is loading first time but if you have too many download files and use more pages in the download widget then on the second and every follow up page the time stamp is back again.

Is there any way to disable the time at all?

Greetings
Matthias

Jul 12, 2023 at 5:39 am #188532

Nayeem Riddhi
Moderator

Hello Matthias,

Hope you are well. Can you please elaborate more on your issue? if possible please share the related URL or you can also share a screenshot. if possible, can you please, give your temporary wp-admin login details in a private reply for checking the issue?

Thank you and regards

Jul 12, 2023 at 8:08 am #188539

Matthias Hänsch
Participant

Hi Nayeen,

and thx for your response. with the following Link you can see a screenshot.

In English the message would be “Download will be available from 31. December 2099 02:00 AM. The page where we use your plugin is a closed page so I am not able to give you access to it. Because of the Server Time the shown time is wrong and we want do delete the time information in the alert-message.

Is there a way to do this?

I found a way to change the alert-message string when the page is loaded first time. Here I use the following code in a html-modul on the page.

<script>
// Wählen Sie alle Elemente mit der Klasse “alert” aus
const alertElements = document.querySelectorAll(‘.alert’);

// Schleife durch alle Elemente und aktualisiere den Textinhalt
alertElements.forEach(alertElement ► {
let alertText = alertElement.textContent;
alertText = alertText.slice(0, -9);
alertElement.textContent = alertText;
});
</script>

But if you have more downloads then to be shown on the page, you have to change pages inside the download modul and then it is not working any more because the main page is not loading again.
And that is my big problem.

Best thing would be to get a configuration point where you can select if you want to have the time shown or not.

Greetings
Matthias

Jul 12, 2023 at 9:30 am #188542

Nayeem Riddhi
Moderator

Hello Matthias,

Can you please let me know, are you trying to say the time is making the issue and the available time is not correctly showing as expected? please check and let me know

Thank you and regards

Jul 12, 2023 at 10:51 am #188544

Matthias Hänsch
Participant

Hi Nayeem,
the available time is not correct shown. We allready tried to change Server time but with that other plugins not working any more. so the best for us would be that the available time is not shown in the alert-message so that the message would be like “Download will be available from 31. December 2099”.

Thank you for helping.

Jul 13, 2023 at 6:05 am #188559

Nayeem Riddhi
Moderator

Hello Matthias,

Have you tried this option too?

2023-07-13-120251

please check and let me know

Thank you and regards

Jul 13, 2023 at 7:44 am #188563

Matthias Hänsch
Participant

I already tested this but changing the time there is destroying other plugins time settings.

Jul 15, 2023 at 8:03 am #188598

Nayeem Riddhi
Moderator

I think you may have to change time settings for other plugins too. please check and let me know

Thank you again and regards

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Download Link Alert Message without Timestamp’ is closed to new replies.

footer-logo

WordPress Download Manager

All in One Digital Asset Management & Complete eCommerce Solution for Selling Digital Products

Quick Access

  • Try Demo
  • Pricing
  • Affiliate
  • Contact

Blog

  • Updates
  • How-to
  • New Release
  • Tips

Support

  • Support Forum
  • Priority Support
  • Feature Request
  • Terms and Conditions