SimplePlugins_xh : very simple Plugins Library

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

Moderator: Tata

Post Reply
utaka
Posts: 52
Joined: Fri Sep 18, 2015 6:00 am
Location: japanese
Contact:

SimplePlugins_xh : very simple Plugins Library

Post by utaka » Tue Sep 06, 2016 8:10 am

This is a very simple plugin library.
10 over plugins will be included.

[ external image ]
  1. add_qrcode : Display the QRcode
  2. admin_only : This is displayed only when admin login.
  3. bclock : Show Clock
  4. browser-shots : Automate the process of taking website screenshots.
  5. g_adsense : Google AdSense
  6. h_tag : H1,H2,H3 tag
  7. mailaddress_hide : Converts email addresses characters to HTML entities to block spambots
  8. mailaddress_hide_js : Converts email addresses characters to block spambots By JavaScript.
  9. make_ruby : Display the ruby(HTML TAG) code
  10. responsive_iframe : responsive iframe
  11. simple_google_map : Display Google MAPs(responsive)
  12. simple_google_map2 : Display Google MAPs By Js (responsive)

    2016/09/12~
  13. recently_changed : display a list of pages that have most recently been changed ..
    This is based , http://cmsimpleforum.com/viewtopic.php?f=12&t=10543
  14. mailaddress_hide_js2 : Converts email addresses characters to block spambots By JavaScript(JQuery).
Edit & Set Your 'Google AdSense Code' , 'Google Map API Key'
  • Google AdSense Code :
    simpleplugins_xh/simpleplugins_library/g_adsense/index.php
  • Google Map API Key :
    simpleplugins_xh/simpleplugins_library/simple_google_map/index.php
    simpleplugins_xh/simpleplugins_library/simple_google_map2/index.php
Sample/Demo : http://cmsimple-jp.org/xh_plugin/
Download : https://github.com/bbfriend/simpleplugins_xh
Last edited by utaka on Fri Sep 16, 2016 6:50 am, edited 3 times in total.
******************************************************
Japan Site http://cmsimple-jp.org
Twitter Googe+ github
*I English is not a good . I'm sorry...
*Ich habe nicht eine gut Deutsch. Es tut mir leid ...
*Jeg kender ikke dansk
--Powered by Google Translate-----

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

Re: SimplePlugins_xh : very simple Plugins Library

Post by lck » Tue Sep 06, 2016 9:59 am

Hello utaka,

have it tested briefly, my first impression, great. About the code, I can say nothing because I'm inexperienced in php and javascript.
Thanks for sharing.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: SimplePlugins_xh : very simple Plugins Library

Post by Tata » Tue Dec 12, 2017 1:30 pm

Can somebody try to make this plugins' set compatible to v1.7.1?
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

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

Re: SimplePlugins_xh : very simple Plugins Library

Post by cmb » Tue Dec 12, 2017 3:26 pm

Tata wrote:Can somebody try to make this plugins' set compatible to v1.7.1?
What does not work exactly?
Christoph M. Becker – Plugins for CMSimple_XH

Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: SimplePlugins_xh : very simple Plugins Library

Post by Tata » Thu Dec 14, 2017 12:41 am

Now, the plugins are installed [url=http://plugins_171.cmsimple.sk/?Plugins-Test/plugins-by-utaka]HERE[/url]. Some of them work fine. Some return Warnings. Back-end doesn't work either.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: SimplePlugins_xh : very simple Plugins Library

Post by Tata » Thu Dec 14, 2017 12:46 am

Now, the plugins are installed [url=http://plugins_171.cmsimple.sk/?Plugins-Test/plugins-by-utaka]HERE[/url]. Some of them work fine. Some return Warnings. Back-end doesn't work either.
The problems are in browser shots and recently changed.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

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

Re: SimplePlugins_xh : very simple Plugins Library

Post by cmb » Thu Dec 14, 2017 12:38 pm

Tata wrote:Now, the plugins are installed [url=http://plugins_171.cmsimple.sk/?Plugins-Test/plugins-by-utaka]HERE[/url]. Some of them work fine. Some return Warnings. Back-end doesn't work either.
Use the latest version (currently 1.02).
Tata wrote:The problems are in browser shots and recently changed.
Quick-Fix for recently_changed: change this line to:

Code: Select all

        uasort($pageData, 'recently_changed_func');
Quick-Fix for browser_shots: change these lines to:

Code: Select all

        $string = preg_replace_callback('/&([A-Za-z]{2,8}[0-9]{0,2});/', [$this, 'wp_kses_named_entities'], $string);
        $string = preg_replace_callback('/&#(0*[0-9]{1,7});/', [$this, 'wp_kses_normalize_entities2'], $string);
        $string = preg_replace_callback('/&#[Xx](0*[0-9A-Fa-f]{1,6});/', [$this, 'wp_kses_normalize_entities3'], $string);
And also change these lines to:

Code: Select all

        $string = preg_replace_callback('/&#([0-9]+);/', [$this, '_wp_kses_decode_entities_chr'], $string);
        $string = preg_replace_callback('/&#[Xx]([0-9A-Fa-f]+);/', [$this, '_wp_kses_decode_entities_chr_hexdec'], $string);
Christoph M. Becker – Plugins for CMSimple_XH

Caravaner
Posts: 112
Joined: Sat Oct 05, 2019 5:20 pm
Location: Wadgassen (Saarland)
Contact:

Re: SimplePlugins_xh : very simple Plugins Library

Post by Caravaner » Thu Feb 04, 2021 11:50 am

Da ich SimplPlugin_xh für ein anderes Projekt benötige habe ich mir das Plugin genauer angesehen und (zum besseren Eigen-Verständnis) die Hilfe-Seite help.htm erweitert. Anschließend habe ich versucht alle Funktionen zu testen.
Da ich keinen 'Google AdSense Code' und 'Google Map API Key' habe und auch nicht nur für die Überprüfung der Funktionen von SimplePlugins_xh extra erstellen wollte, konnte ich folgenden Funktionen nicht testen: g_adsense, responsive_iframe, simple_google_map, simple_google_map2. Kann mir jemand sagen, ob die aktuell noch funktionieren?
Die folgenden Funktionen habe ich nicht zum Laufen gebracht: bclock, browser-shots
Die im Script von browser-shots hinterlegte WP-Adresse http://s0.wordpress.com/mshots/v1/ gibt es dem Anschein nach nicht mehr.
Warum bclock nicht läuft habe ich nicht heraus gefunden.
Bei 2 der Funktionen zur Verschleierung der E-Mailadressen kann ich nicht nachvollziehen, dass die E-Mailadresse in irgend einer Weise vor Spidern versteckt wird: mailaddress_hide, mailaddress_hide_js2
Hat jemand eine Idee, wo ich einen Fehler gemacht habe? Oder: Wenn ich keinen Fehler gemacht habe, hat dann evtl. jemand eine (selbst) korrigierte Version, wo die beschriebenen Funktionen wieder laufen?
Ich bin > 69 und lerne fast jeden Tag was Neues. Dafür vergesse ich was Anderes.
Der Trick ist, sich nicht darüber aufzuregen und morgen zu lernen, was man vorgestern vergessen hat. ;)
https://lembach-cmsimple.de

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

Re: SimplePlugins_xh : very simple Plugins Library

Post by cmb » Sun Feb 07, 2021 11:08 pm

Caravaner wrote:
Thu Feb 04, 2021 11:50 am
Die im Script von browser-shots hinterlegte WP-Adresse http://s0.wordpress.com/mshots/v1/ gibt es dem Anschein nach nicht mehr.
Es würde mich nicht wundern, wenn die (freie) API eingestellt wurde. Immerhin müssen da einige Berechnungen durchgeführt werden, und wenn zu viele es nutzen, aber niemand dafür zahlt …
Caravaner wrote:
Thu Feb 04, 2021 11:50 am
Bei 2 der Funktionen zur Verschleierung der E-Mailadressen kann ich nicht nachvollziehen, dass die E-Mailadresse in irgend einer Weise vor Spidern versteckt wird: mailaddress_hide, mailaddress_hide_js2
Bei mailaddress_hide werden zufällige Zeichen der E-Mail-Adresse (etwa 50%) durch hexadezimale HTML-Entity-Referenzen ersetzt; das kann man im Quellcode der Seite sehen. Aber ob das wirklich vor Harvestern schützt?

Bei mailaddress_hide_js2 wird im HTML-Quelltext das @ der E-Mail-Adresse durch ein Komma ersetzt; per JavaScript wird die E-Mail-Adresse dann wieder hergestellt. Für Harvester, die kein JavaScript nutzen, dürfte das gut genug sein.
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply