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: 1293
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!“   👉   XH-Templates for MultiPage & OnePage

Tata
Posts: 2749
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: 12718
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, 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, but not for CMSimple 4+

Tata
Posts: 2749
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: 2749
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: 12718
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, 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, but not for CMSimple 4+

Post Reply