CMSimple News, Pictures, YouTube and BBClone Updated (CMSimle XH 1.7.2 and CMSimple 4.7.3)

Third Party Plugins to CMSimple - how to install, use and create plugins

Moderator: Tata

Phrax
Posts: 37
Joined: Mon Apr 18, 2011 11:55 am
Location: Aachen, Germany
Contact:

CMSimple News, Pictures, YouTube and BBClone Updated (CMSimle XH 1.7.2 and CMSimple 4.7.3)

Post by Phrax » Mon Jan 08, 2018 8:01 pm

Hi all,

after quite a while, I invested some time to get most of my CMSimple (XH) plugins working with the latest versions. Specifically, I tested the following plugins under CMSimple XH 1.7.2 and CMSimple 4.7.3:
I also installed two demo applications for the respective CMSimple versions; these include all of the above plugins to show some of the features.

CMSimple XH 1.7.2 | CMSimple 4.7.3

Since I wasn't very active in the last few years considering my CMSimple plugins, I thought I could announce the updates here ;)

David

Hartmut
Posts: 553
Joined: Sat Nov 05, 2011 6:13 pm
Location: Butzbach, Deutschland
Contact:

Re: CMSimple News, Pictures, YouTube and BBClone Updated (CMSimle XH 1.7.2 and CMSimple 4.7.3)

Post by Hartmut » Fri Jan 12, 2018 7:40 pm

Kompatibilitätstest CMSimpl_XH 1.7: Plugin BBclone for CMSimple Version: 1.0.1

Getestet lokal unter
Xampp
PHP-Version 7.1.1
CMSimple_XH 1.7.2

Plugin in der Sytem-Info sichtbar? => Bbclone 1.0.1
Plugin im Admin-Menü sichtbar? => Ja
Plugin im Admin-Menü aufrufbar? => Ja, beim Aufruf des Plugins Debug-Meldung

Plugin Statistik aufrufbar? => Nein, beim anklicken des Buttons erscheint ein "Whitescreen" mit folgender Meldung, die auch ins xampp-PHP-Logfile eingetragen wird:
Warning: reset() expects parameter 1 to be array, null given in C:\xampp\htdocs\bbclone\bbclone\lib\io.php on line 132
Warning: Variable passed to each() is not an array or object in C:\xampp\htdocs\bbclone\bbclone\lib\io.php on line 134
Warning: reset() expects parameter 1 to be array, null given in C:\xampp\htdocs\bbclone\bbclone\lib\io.php on line 132
Warning: Variable passed to each() is not an array or object in C:\xampp\htdocs\bbclone\bbclone\lib\io.php on line 134

Plugin Stylesheet / Konfiguration änderbar und speicherbar? => Ja

Plugin Sprache änderbar und speicherbar? => Nein, beim anklicken des Speichern-Buttons erscheint ein "Whitescreen" mit folgender Meldung, die auch ins xampp-PHP-Logfile eingetragen wird:
syntax error, unexpected 's' (T_STRING), expecting ']' in C:\xampp\htdocs\plugins\bbclone\languages\de.php on line 6
Vermutliche Ursache: In der original de.php steht "...user\'s..."

Plugin Aufruf auf der Seite: Nicht getestet (nicht in der Dokumentation enthalten)
Plugin Aufruf im Template: Nicht getestet (nicht in der Dokumentation enthalten)

Xampp-Fehlermeldungen: Ja, siehe oben
Debug-Meldung: Ja
beim Aufruf des Plugins Debug-Meldung:
XH-DEPRECATED: Function initvar() is deprecated
C:\xampp\htdocs\plugins\bbclone\admin.php:41

Ergebnis:
CMSimple_XH 1.6 Kompatibilität: ?? (nicht getestet)
CMSimple_XH 1.7 Kompatibilität: Nein, siehe Fehlermeldungen
PHP 7.0 Kompatibilität: ?? (wird nach der Bereinigung der Fehler geprüft)
PHP 7.1 Kompatibilität: ?? (wird nach der Bereinigung der Fehler geprüft)
Weitere Anmerkungen:
Die Plugininstallation ist nach der Plugin Hilfedatei durchgeführt worden. Eventuell ist die Dokumentation mißverständlich, oder nicht auf CMSimple_XH 1.7 angepasst.

lck
Posts: 2963
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: CMSimple News, Pictures, YouTube and BBClone Updated (CMSimle XH 1.7.2 and CMSimple 4.7.3)

Post by lck » Fri Jan 12, 2018 8:24 pm

Hartmut wrote:
Fri Jan 12, 2018 7:40 pm
Plugin Sprache änderbar und speicherbar? => Nein, beim anklicken des Speichern-Buttons erscheint ein "Whitescreen" mit folgender Meldung, die auch ins xampp-PHP-Logfile eingetragen wird:
Siehe hierzu viewtopic.php?f=16&t=12828&start=20#p64751 und viewtopic.php?f=16&t=12828&p=64786#p64782
Hartmut wrote:
Fri Jan 12, 2018 7:40 pm
beim Aufruf des Plugins Debug-Meldung:
XH-DEPRECATED: Function initvar() is deprecated
Siehe hierzu viewtopic.php?f=16&t=12828&start=20#p64745
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: CMSimple News, Pictures, YouTube and BBClone Updated (CMSimle XH 1.7.2 and CMSimple 4.7.3)

Post by cmb » Fri Jan 12, 2018 9:58 pm

Hartmut wrote:
Fri Jan 12, 2018 7:40 pm
Warning: Variable passed to each() is not an array or object in C:\xampp\htdocs\bbclone\bbclone\lib\io.php on line 134
Hm, auch wenn diese möglicherweise harmlose Warnung beseitigt würde, dann würde PHP ≥ 7.2.0 eine Deprecated-Notice erzeugen. Ich gehe davon aus, dass BBClone keine langfristige Lösung darstellt.
Christoph M. Becker – Plugins for CMSimple_XH

Hartmut
Posts: 553
Joined: Sat Nov 05, 2011 6:13 pm
Location: Butzbach, Deutschland
Contact:

Re: CMSimple News, Pictures, YouTube and BBClone Updated (CMSimle XH 1.7.2 and CMSimple 4.7.3)

Post by Hartmut » Sat Jan 13, 2018 4:44 pm

lck wrote:
Fri Jan 12, 2018 8:24 pm
Hartmut wrote:
Fri Jan 12, 2018 7:40 pm
Plugin Sprache änderbar und speicherbar? => Nein, beim anklicken des Speichern-Buttons erscheint ein "Whitescreen" mit folgender Meldung, die auch ins xampp-PHP-Logfile eingetragen wird:
Siehe hierzu viewtopic.php?f=16&t=12828&start=20#p64751 und viewtopic.php?f=16&t=12828&p=64786#p64782
Hartmut wrote:
Fri Jan 12, 2018 7:40 pm
beim Aufruf des Plugins Debug-Meldung:
XH-DEPRECATED: Function initvar() is deprecated
Siehe hierzu viewtopic.php?f=16&t=12828&start=20#p64745
Danke für die Hinweise als Ergänzung.
Dann stehen Phrax für seine nächste Plugin Version die Lösungen gleich zur Verfügung.

In diesem Zusammenhang habe ich eben den Beitrag "Ein paar Gedanken an Entwickler, "Brückenbauer" und Anwender" (https://www.cmsimpleforum.com/viewtopic.php?f=5&t=13289) veröffentlicht.

Viele Grüße
Hartmut

manu
Posts: 1086
Joined: Wed Jun 04, 2008 12:05 pm
Location: St. Gallen - Schweiz
Contact:

Re: CMSimple News, Pictures, YouTube and BBClone Updated (CMSimle XH 1.7.2 and CMSimple 4.7.3)

Post by manu » Sat Jan 13, 2018 4:46 pm

cmb wrote:
Fri Jan 12, 2018 9:58 pm
...
Hm, auch wenn diese möglicherweise harmlose Warnung beseitigt würde, dann würde PHP ≥ 7.2.0 eine Deprecated-Notice erzeugen. Ich gehe davon aus, dass BBClone keine langfristige Lösung darstellt.
Ich hoffe schon, dass bbclone noch ein Weilchen unter uns bleibt. Die kleine schnuckelige flatfile Statistik passt gut zu CMSimple. Mit bbclone 0.4.6 läuft es schon einiges besser. Eine angepasste Version gäbe es hier.
Gruss
manu

lck
Posts: 2963
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: CMSimple News, Pictures, YouTube and BBClone Updated (CMSimle XH 1.7.2 and CMSimple 4.7.3)

Post by lck » Sat Jan 13, 2018 8:07 pm

manu wrote:
Sat Jan 13, 2018 4:46 pm
Mit bbclone 0.4.6 läuft es schon einiges besser.
Sehr schön. Mit bbclone 0.6.4 ;) läufts noch besser.

Aber hast du im Backend die Sprachdatei schon mal gespeichert?
Irgendwie habe ich das Gefühl nur ich und Hartmut haben das Problem, mag's eigentlich gar nicht mehr ansprechen :?

Dann gibts da noch Meldungen vom Debug-Mode und beim Aufrufen der Statistik (die könnte man wohl ignorieren):
Debug-Mode wrote:DEPRECATED: Methods with the same name as their class will not be constructors in a future version of PHP; bbc_marker has a deprecated constructor
D:\xampp\htdocs\cmsimplexh172\bbclone\lib\marker.php:26
Statisken wrote:Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bbc_html has a deprecated constructor in D:\xampp\htdocs\cmsimplexh172\bbclone\lib\html.php on line 34

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bbc_marker has a deprecated constructor in D:\xampp\htdocs\cmsimplexh172\bbclone\lib\marker.php on line 26
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

olape
Posts: 2731
Joined: Fri Mar 13, 2015 8:47 am
Contact:

Re: CMSimple News, Pictures, YouTube and BBClone Updated (CMSimle XH 1.7.2 and CMSimple 4.7.3)

Post by olape » Sat Jan 13, 2018 8:24 pm

manu wrote:
Sat Jan 13, 2018 4:46 pm
Ich hoffe schon, dass bbclone noch ein Weilchen unter uns bleibt. Die kleine schnuckelige flatfile Statistik passt gut zu CMSimple
Das hoffe ich doch auch.
Ich setze bbclone schon sehr lange ein, meisst noch zusätzlich zu anderen Statistiken.
Unter XH bisher aber nicht als Plugin, sondern auf ganz herkömmlichem Weg.

Ein Problem gibt es aber.
Es wird die volle IP gespeichert. Je nach Einstellung die letzten 50, 100, ....
Das ist aus Sicht von überpingelichen Datenschützern sehr bedenklich.
Oder ist das bei der Pluginlösung anders?
Gruß Olaf, Plugins for CMSimple_XH

Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: CMSimple News, Pictures, YouTube and BBClone Updated (CMSimle XH 1.7.2 and CMSimple 4.7.3)

Post by cmb » Sat Jan 13, 2018 10:37 pm

lck wrote:
Sat Jan 13, 2018 8:07 pm
Debug-Mode wrote:DEPRECATED: Methods with the same name as their class will not be constructors in a future version of PHP; bbc_marker has a deprecated constructor
D:\xampp\htdocs\cmsimplexh172\bbclone\lib\marker.php:26
Wenn ich mir die News anschaue, dann fehlt mir dort der Hinweis, dass nun mindestestens PHP 5.x erforderlich ist. CMSimple_XH hat diesen Sprung 2017 gemacht – erst 10 Jahre nach der Go PHP 5 Initiative![1] Es würde mich nicht wundern, wenn CMSimple_XH damit in die Geschichte eingeht – als letztes Projekt, das auf PHP 5 aktualisierte.
olape wrote:
Sat Jan 13, 2018 8:24 pm
Es wird die volle IP gespeichert. Je nach Einstellung die letzten 50, 100, ....
Wenn ich mich nicht irre, dann nutzt BBClone die IP-Adresse zur Identifikation des Nutzers. Falls ja, dann wäre das nicht "ganz" zeitgemäß.

[1] Mea culpa. Hätte ich auf Holger gehört, wäre viel Ärger erspart geblieben.
Christoph M. Becker – Plugins for CMSimple_XH

manu
Posts: 1086
Joined: Wed Jun 04, 2008 12:05 pm
Location: St. Gallen - Schweiz
Contact:

Re: CMSimple News, Pictures, YouTube and BBClone Updated (CMSimle XH 1.7.2 and CMSimple 4.7.3)

Post by manu » Sun Jan 14, 2018 1:19 pm

lck wrote:
Sat Jan 13, 2018 8:07 pm
manu wrote:
Sat Jan 13, 2018 4:46 pm
Mit bbclone 0.4.6 läuft es schon einiges besser.
Sehr schön. Mit bbclone 0.6.4 ;) läufts noch besser.

Aber hast du im Backend die Sprachdatei schon mal gespeichert?
Irgendwie habe ich das Gefühl nur ich und Hartmut haben das Problem, mag's eigentlich gar nicht mehr ansprechen :?

Dann gibts da noch Meldungen vom Debug-Mode und beim Aufrufen der Statistik (die könnte man wohl ignorieren):
Debug-Mode wrote:DEPRECATED: Methods with the same name as their class will not be constructors in a future version of PHP; bbc_marker has a deprecated constructor
D:\xampp\htdocs\cmsimplexh172\bbclone\lib\marker.php:26
Statisken wrote:Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bbc_html has a deprecated constructor in D:\xampp\htdocs\cmsimplexh172\bbclone\lib\html.php on line 34

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; bbc_marker has a deprecated constructor in D:\xampp\htdocs\cmsimplexh172\bbclone\lib\marker.php on line 26
..ein Hoch auf die Stegaleniker :lol:
Bei den Deprecated Meldungen bin ich optimistisch, dass diese von den bbclone Entwicklern beizeiten ausgebügelt werden. Die copyrights tragen sie ja zeitnah artig nach.
Der Sinn hinter den eigenartigen language Schlüsseln entgeht mir. Vielleicht weiss das der Entwickler. Schaun wer mal. Die Einträge mit Leerzeichen in den Schlüsseln bringen zwar keinen Fehler, aber der Inhalt wird gelöscht beim Ändern. Der Kern läuft ja, solange man nichts an den language Einträgen ändern muss (via edit).

Post Reply