Posts: 408
Threads: 76
Joined: Nov 2017
2022-12-22, 21:08:16
(This post was last modified: 2022-12-22, 21:14:06 by multicolor.)
Try now, and english lang please. Maybe somehow problem with lang file.
https://github.com/multicolor-rgb/GetSim....0-support
https://discord.gg/tat6YADD go to my discord, we can talk - i am here now.
Posts: 44
Threads: 8
Joined: May 2014
(2022-12-22, 20:48:02)Oleg06 Wrote: Plugin I18N Custom fields does not allow creating fields in the settings and when you click on the Create a new field link, it jumps up.
Try replacing i18n_customfields/configure.php line 169.
PHP Code: function i18n_customfields_confline($i, $def, $issearch, $class='') {
With this:
PHP Code: function i18n_customfields_confline($i, $def, $class='', $issearch='') {
I tested php version 8.1.3. and it works.
Posts: 1,928
Threads: 88
Joined: Apr 2010
(2022-12-23, 17:34:24)smdp-1971 Wrote: (2022-12-22, 20:48:02)Oleg06 Wrote: Plugin I18N Custom fields does not allow creating fields in the settings and when you click on the Create a new field link, it jumps up.
Try replacing i18n_customfields/configure.php line 169.
PHP Code: function i18n_customfields_confline($i, $def, $issearch, $class='') {
With this:
PHP Code: function i18n_customfields_confline($i, $def, $class='', $issearch='') {
I tested php version 8.1.3. and it works.
Yes, everything is working now. Could you find and fix the difference in the field settings of these plugins?
Posts: 408
Threads: 76
Joined: Nov 2017
2022-12-23, 21:30:17
(This post was last modified: 2022-12-23, 22:24:41 by multicolor.)
i do it what you want on custom field
and on special pages i find little error shows when custom field turned on.
https://github.com/multicolor-rgb/GetSim....0-support
Posts: 1,928
Threads: 88
Joined: Apr 2010
(2022-12-23, 21:30:17)multicolor Wrote: i do it what you want on custom field
and on special pages i find little error shows when custom field turned on.
https://github.com/multicolor-rgb/GetSim....0-support
I checked your update, everything is working well now.
Posts: 6,266
Threads: 181
Joined: Sep 2011
I was working on these and I think I forgot to push them to github, let me see where they are
Posts: 408
Threads: 76
Joined: Nov 2017
Next chapter with PHP 8.x and GS CE , we created with Islander. Easy download repo plugins Feel free. Soon more.
https://getsimplecms-ce-plugins.github.io/
Posts: 6,266
Threads: 181
Joined: Sep 2011
Round 1 of rector processed plugins
https://github.com/GetSimpleCMS/GetSimpl...dd889de1dc
I need to fix a few, extragallery and newmanager seem to be unfixed and fatal
Posts: 3,491
Threads: 106
Joined: Mar 2010
(2022-12-30, 04:35:07)shawn_a Wrote: I need to fix a few, extragallery and newmanager seem to be unfixed and fatal
I recently uploaded News Manager 3.6.1 with some fixes for PHP 8.
Posts: 408
Threads: 76
Joined: Nov 2017
(2022-12-30, 04:35:07)shawn_a Wrote: Round 1 of rector processed plugins
https://github.com/GetSimpleCMS/GetSimpl...dd889de1dc
I need to fix a few, extragallery and newmanager seem to be unfixed and fatal
you tested this on on gs after this edit?
Posts: 6,266
Threads: 181
Joined: Sep 2011
I activated most and checked for fatal errors. Rector did not catch everything, not sure why. I will keep working it and someone will have to manually skim the diffs and see if the automated fixes are good, sometimes they are not the ideal fix and refactoring some stuff works better.
Posts: 408
Threads: 76
Joined: Nov 2017
ofc we use rector too, and fixes what can't compiler this do.
Some new plugin added from Islander to repo download, soon CE downloader plugin for PHP 8 direct from Admin.
https://getsimplecms-ce-plugins.github.io/
Posts: 408
Threads: 76
Joined: Nov 2017
https://getsimplecms-ce.github.io now GetSimple CMS CE has own website on github - old https://multicolor-rgb.github.io/ redirected to new Today we added new plugins to repo and still will working with this. Islander Created autoinstaller ready to download Soon more!
Posts: 1,928
Threads: 88
Joined: Apr 2010
I18N Search plugin stopped understanding Custom Permalink Structure settings %parents%/%slug%/
In the menu, the links look fine, but in the search they look like this
Code: http://mydomen.com/%parents%/lorem-ipsum-2/
Posts: 408
Threads: 76
Joined: Nov 2017
2022-12-31, 23:11:15
(This post was last modified: 2022-12-31, 23:11:38 by multicolor.)
(2022-12-31, 10:43:19)Oleg06 Wrote: I18N Search plugin stopped understanding Custom Permalink Structure settings %parents%/%slug%/
In the menu, the links look fine, but in the search they look like this
Code: http://mydomen.com/%parents%/lorem-ipsum-2/
added to check list.
some errors?
Posts: 1,928
Threads: 88
Joined: Apr 2010
(2022-12-31, 23:11:15)multicolor Wrote: (2022-12-31, 10:43:19)Oleg06 Wrote: I18N Search plugin stopped understanding Custom Permalink Structure settings %parents%/%slug%/
In the menu, the links look fine, but in the search they look like this
Code: http://mydomen.com/%parents%/lorem-ipsum-2/
added to check list.
some errors?
Didn't find any errors in the logs.
Posts: 408
Threads: 76
Joined: Nov 2017
(2023-01-01, 00:13:58)Oleg06 Wrote: (2022-12-31, 23:11:15)multicolor Wrote: (2022-12-31, 10:43:19)Oleg06 Wrote: I18N Search plugin stopped understanding Custom Permalink Structure settings %parents%/%slug%/
In the menu, the links look fine, but in the search they look like this
Code: http://mydomen.com/%parents%/lorem-ipsum-2/
added to check list.
some errors?
Didn't find any errors in the logs.
how you create custom structure? Default GS?
Posts: 1,928
Threads: 88
Joined: Apr 2010
(2023-01-01, 00:24:46)multicolor Wrote: (2023-01-01, 00:13:58)Oleg06 Wrote: (2022-12-31, 23:11:15)multicolor Wrote: (2022-12-31, 10:43:19)Oleg06 Wrote: I18N Search plugin stopped understanding Custom Permalink Structure settings %parents%/%slug%/
In the menu, the links look fine, but in the search they look like this
Code: http://mydomen.com/%parents%/lorem-ipsum-2/
added to check list.
some errors?
Didn't find any errors in the logs.
how you create custom structure? Default GS?
I only change this, as the I18N plugin allows. The menu gives the correct links for all levels, but the search for some reason does not generate them.
Posts: 328
Threads: 5
Joined: May 2012
2023-01-03, 22:42:03
(This post was last modified: 2023-01-03, 22:47:40 by islander.)
I am guessing that it is a change in this line from searchresults.php
was
PHP Code: <div class="search-entry-date"><?php echo str_replace('%','',date('d-m-Y', $item->pubDate)); ?></div>
now
PHP Code: <div class="search-entry-date"><?php echo strftime($dateFormat, $item->pubDate); ?></div>
missing
Try changing this to
PHP Code: <div class="search-entry-date"><?php echo strftime('%','', $dateFormat, $item->pubDate); ?></div>
Posts: 260
Threads: 39
Joined: Jun 2014
(2022-12-31, 10:43:19)Oleg06 Wrote: I18N Search plugin stopped understanding Custom Permalink Structure settings %parents%/%slug%/
In the menu, the links look fine, but in the search they look like this
In my installation the structure settings are "%parent%/%slug%" (parent without an s).
Posts: 1,928
Threads: 88
Joined: Apr 2010
(2023-01-04, 01:43:39)Hypertexter Wrote: (2022-12-31, 10:43:19)Oleg06 Wrote: I18N Search plugin stopped understanding Custom Permalink Structure settings %parents%/%slug%/
In the menu, the links look fine, but in the search they look like this
In my installation the structure settings are "%parent%/%slug%" (parent without an s).
parents allows you to show all levels in links
Posts: 1,928
Threads: 88
Joined: Apr 2010
I replaced this line in the searchresults.php file of the I18N Search plugin
Code: <a href="<?php echo htmlspecialchars($link); ?>">
with this
Code: <a href="<?php echo htmlspecialchars($item->link); ?>">
Now everything is working well.
Posts: 328
Threads: 5
Joined: May 2012
This was an existing problem then, as that line had not been changed.
Posts: 30
Threads: 4
Joined: Feb 2016
I'm loving all the activity on this thread to update to support PHP 8. My host is going to be forcing users to adopt PHP 8, so this will be very important for anyone in a situation similar to mine, where we can't stay on PHP 7 even if we want to.
Posts: 408
Threads: 76
Joined: Nov 2017
(2023-01-06, 04:35:09)jlyon1515 Wrote: I'm loving all the activity on this thread to update to support PHP 8. My host is going to be forcing users to adopt PHP 8, so this will be very important for anyone in a situation similar to mine, where we can't stay on PHP 7 even if we want to.
Great we can help
|