Matthias Hänsch

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
in reply to: Download Link Alert Message without Timestamp #188563

Matthias Hänsch
Participant

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

in reply to: Download Link Alert Message without Timestamp #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.

in reply to: Download Link Alert Message without Timestamp #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

in reply to: Time Zone configuration! #186396

Matthias Hänsch
Participant

Hello Tanvir,

all updates are made. The Servertime is set to utc +2 (Berlin) and the wordpress time is set to the same time.

If it is not possible the change the time in the Plugin maybe you have a way to not show the time at all in the warning message.
Maybe a snipped which can be used.

Greetings
Matthias

in reply to: Elementor ADD-On not translated with Loco Translate #185407

Matthias Hänsch
Participant

Hello,
thank you for your offer. I found the problem in the meantime. The Language File was corrupt and I had to create a new one. now everything is working fine.
The problem with not been able to create a translation file was that the plugin “Disable WP Notification” blocked all the informations on the screen. After deactivating it, everything was working like it should be.
Thx again for your support.
Greetings
Matthias

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