Twocents_XH

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

Moderator: Tata

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

Twocents_XH

Post by cmb » Fri Aug 01, 2014 1:21 am

Hello Community,

I've just released Twocents_XH 1.0alpha1.
Twocents_XH allows your visitors to add their two cents. ;) You can use it as a general commenting possibility on multiple pages, or as a guestbook on a single page, or both.
As the latest version of the plugin Comments can't be used under CMSimple_XH, and as there is no real alternative, I have decided to release this first draft of Twocents_XH as soon as possible. Of course, there are many things that should be improved, but I think that it's already usable. Besides lots of minor details the following three items are on my roadmap:
  • email notifications about new comments
  • some kind of markup for the comment messages
  • moderated mode (i.e. comments will only be published after they've been acknowledged by the admin)
As my time is limited and there is much to do elsewhere (among others, CMSimple_XH 1.6.3 is somewhat overdue)--what do you think is most important?

And of couse, I'm planning to make Twocents_XH (and other conforming comments plugins) available for Realblog_XH as soon as possible.

I'm looking forward to your feedback!

Enjoy,
Christoph
Christoph M. Becker – Plugins for CMSimple_XH

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

Re: Twocents_XH

Post by cmb » Fri Aug 01, 2014 10:53 pm

Hello Community,

there has been quite some feedback in the German thread, and it seems to be reasonable to "release early", so...

I've just released Twocents_XH 1.0alpha2.

Enjoy,
Christoph
Christoph M. Becker – Plugins for CMSimple_XH

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

Re: Twocents_XH

Post by cmb » Tue Aug 19, 2014 10:27 pm

Hello Community,

I have just released Twocents_XH 1.0alpha3.

As Comments 4.0 has been released recently, a small feature comparison seems to be appropriate:
  • administration of comments happens directly on the page(s)
  • proper locking of the data files is implemented (requires proper support of flock())
  • optional moderation mode (new comments are initially hidden)
  • individual comments can be shown and hidden
  • can be used as comments plugin for RealBlog_XH
  • sort order can be configured
  • comments can be posted as plain text or HTML (configurable; conversion is possible)
  • simple WYSIWYG editor with formatting options (less than 5kB!)
  • posting of comments doesn't require JavaScript
  • displayed elements in the comment headers are configurable
  • no known CSRF and XSS vulnerabilities
  • import option from the Comments plugin
Enjoy,
Christoph
Christoph M. Becker – Plugins for CMSimple_XH

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

Disappearing USer Name : setlocale

Post by utaka » Thu Dec 24, 2015 2:22 am

Hi! Disappearing USer Name.
need of setlocale..fgetcsv
Same http://cmsimpleforum.com/viewtopic.php? ... =30#p50096

Code: Select all

####
## OPEN config/config.php  
## OPEN config/defaultconfig.php  
## Add to About Line 9

$plugin_cf['twocents']['csv_locale']="";

## OPEN languages/en.php
## Add to About Line 43

$plugin_tx["twocents"]["cf_csv_locale"]="Setting the setlocale function: set when the USER Name /comment of the article does not appear/strangeness setlocale(LC_ALL, set value) are used. See http://php.net/manual/en/function.setlocale.php ";


## OPEN classes/Presentation.php

## Find About Line 320

    public function renderComments($topicname)
    {
        global $plugin_cf, $plugin_tx, $_XH_csrfProtection;

## After Add

		// Set locale
		   if($plugin_cf['twocents']['csv_locale'] != ''){
		      setlocale(LC_ALL,$plugin_cf['twocents']['csv_locale']);
		   }
******************************************************
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-----

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

Re: Twocents_XH

Post by cmb » Thu Dec 24, 2015 11:01 am

Hi!

There is already a general setlocale for CMSimple_XH. Just set the desired locale under Settings→Language→Locale→All. That's better than setting the locale multiple times from each affected plugin. :)
Christoph M. Becker – Plugins for CMSimple_XH

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

Re: Twocents_XH

Post by cmb » Sun Feb 19, 2017 10:55 pm

Hi everybody!

I've just released Twocents_XH 1.0beta1.

I've fixed several bugs and made several improvements. For details see the changelog.

Note that Twocents_XH 1.0beta1 is not compatible with Realblog_XH 3.0beta7 and below; it requires at least Realblog_XH 3.0beta8 which I'm going to release in short time.

I'm looking forward to your feedback!

Happy testing!
Christoph M. Becker – Plugins for CMSimple_XH

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

Re: Twocents_XH

Post by cmb » Tue Mar 07, 2017 4:41 pm

Hi everybody!

I've just released Twocents_XH 1.0beta2.

I've fixed several bugs and made several improvements. For details see the changelog.

Note that Twocents_XH 1.0beta2 is not compatible with Realblog_XH 3.0beta7 and below; it requires at least Realblog_XH 3.0beta8.

Also note that Twocents_XH 1.0beta2 requires at least PHP 5.4.0.

I'm looking forward to your feedback!

Happy testing!
Christoph M. Becker – Plugins for CMSimple_XH

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

Re: Twocents_XH

Post by cmb » Sun Jun 25, 2017 2:25 pm

Hi everybody!

Twocents_XH 1.0beta3 has just been released.

Two bugs have been fixed, and some enhancement have been made, most notably a basic import facility from the GBook plugin has been implemented. See the changelog for details.

Enjoy!
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply