Search found 2522 matches

by Tata
Wed Dec 13, 2017 8:43 pm
Forum: Bugs
Topic: Translator_XH doesn't open some plugins' language files
Replies: 0
Views: 8

Translator_XH doesn't open some plugins' language files

I try to make translation to all available plugins that are compatible to v1.7.1. Some of plugins needed small changes in admin.php. I have found that some language files are not opened by translator and some even show no backend . Installed plugins: acdivs foldergallery meta_tags simpleplugins_xh a...
by Tata
Wed Dec 13, 2017 5:56 pm
Forum: Open Development
Topic: Warning: A non-numeric value encountered in...
Replies: 14
Views: 99

Re: Warning: A non-numeric value encountered in...

Hm, the "daily" pages need to have English names as well, since date('l', …) returns always English day names. I was googling after some localisation but haven't found nothing. The EN day names make no big sense on another 2lang pages. It seems, there would be some workaround - evaluating...
by Tata
Wed Dec 13, 2017 4:06 pm
Forum: Open Development
Topic: Warning: A non-numeric value encountered in...
Replies: 14
Views: 99

Re: Warning: A non-numeric value encountered in...

Added

Code: Select all

<?php if (function_exists('opcache_invalidate')) opcache_invalidate(__FILE__)?>
into the template: no change so far.
by Tata
Wed Dec 13, 2017 3:58 pm
Forum: Open Development
Topic: Warning: A non-numeric value encountered in...
Replies: 14
Views: 99

Re: Warning: A non-numeric value encountered in...

I'll wait. But anyway, there is still the issue with 2lang. There is shown nothing even on localhost.
by Tata
Wed Dec 13, 2017 3:25 pm
Forum: Open Development
Topic: Warning: A non-numeric value encountered in...
Replies: 14
Views: 99

Re: Warning: A non-numeric value encountered in...

Now, changing these two lines it works, but only on localhost and only in main language. On the server there is still the "4" only both in main and 2lang. ...    $next_day = date('w', strtotime(' + 1 day'));...                         <div class='w_plan_next_day'>" .                       ...
by Tata
Wed Dec 13, 2017 3:02 pm
Forum: Open Development
Topic: Warning: A non-numeric value encountered in...
Replies: 14
Views: 99

Re: Warning: A non-numeric value encountered in...

Well, it's a half way to what is expected. It shows the number of day in the newsbox instead of the page. There are pages "Monday", "Tuesday" etc. in the content. Just the same way they are defined in resp. language files. So today the tomorrow" box shaoul read the Thursday ...
by Tata
Wed Dec 13, 2017 1:55 pm
Forum: Open Development
Topic: Warning: A non-numeric value encountered in...
Replies: 14
Views: 99

Re: Warning: A non-numeric value encountered in...

That's it. Now the warning on Localhost is gone and the week beginns on Monday. But Now it is on Monday in EN as well. Funnz. Why the nations don't just unify this :-)? In the next plugin (week_plan_xh), which is basically the w_plan_pro extended clone remains the problem described in the code ...  ...
by Tata
Wed Dec 13, 2017 12:23 am
Forum: Open Development
Topic: Warning: A non-numeric value encountered in...
Replies: 14
Views: 99

Re: Warning: A non-numeric value encountered in... SOLVED

Also note that using the Calendar extension in this case might be beneficial. Well, but then everyone using this plugin (if used functions of the extension) would need to make the same installation on his server. Other thing is the difference in weekdays. I don't know how to support the right days ...
by Tata
Tue Dec 12, 2017 8:05 pm
Forum: Deutsch
Topic: Chat_XH
Replies: 23
Views: 3437

Re: Chat_XH

Finaly I have extended the code by variable in the placeholder

Code: Select all

$inputs = tag('input type="text" name="chat_message" placeholder="'.$plugin_tx['chat']['your_comment'].'"');
and extended language files by this variable. Works fine.
by Tata
Tue Dec 12, 2017 7:01 pm
Forum: Open Development
Topic: Warning: A non-numeric value encountered in...
Replies: 14
Views: 99

Re: Warning: A non-numeric value encountered in... SOLVED

There was in the line #42

Code: Select all

$next_day = $day_name[date('l',$time)+ 1];

Changing it to

Code: Select all

$next_day = date('Y-m-d', strtotime(' +1 day'));

seems to solve it locally (download actualized).

Go to advanced search