Thread Rating:
  • 4 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get simple 3.3.16 support for php 8.0
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.
Reply
(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.
Reply
(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?
[Image: 2.jpg]
Reply
i do it what you want on custom fieldSmile
and on special pages i find little error shows when custom field turned on.

https://github.com/multicolor-rgb/GetSim....0-support
Reply
(2022-12-23, 21:30:17)multicolor Wrote: i do it what you want on custom fieldSmile
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.
Reply
I was working on these and I think I forgot to push them to github, let me see where they are
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
Next chapter with PHP 8.x and GS CE , we created with Islander. Easy download repo pluginsSmile Feel free. Soon more.
https://getsimplecms-ce-plugins.github.io/
Reply
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
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
(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.
Reply
(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?
Reply
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.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
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/
Reply
https://getsimplecms-ce.github.io now GetSimple CMS CE has own website on github - old https://multicolor-rgb.github.io/ redirected to newSmile Today we added new plugins to repo and still will working with this. Islander Created autoinstaller ready to download Smile Soon more!
Reply
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/
Reply
(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?
Reply
(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.
Reply
(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?
Reply
(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.
[Image: 02.jpg]
Reply
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
Code:
'%','',


Try changing this to
PHP Code:
    <div class="search-entry-date"><?php echo strftime('%',''$dateFormat$item->pubDate); ?></div> 


GS Community Edition with php8.x compatibility, new features and much more!  Support Me


Reply
(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).
Reply
(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
Reply
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.
Reply
This was an existing problem then, as that line had not been changed.


GS Community Edition with php8.x compatibility, new features and much more!  Support Me


Reply
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.
Reply
(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 helpSmile
Reply




Users browsing this thread: 1 Guest(s)