[PLUGIN] Twocents_XH

Ein CMSimple Support Forum für deutsch sprechende Nutzer und Entwickler
Post Reply
oldnema
Posts: 265
Joined: Wed Jan 21, 2009 5:15 pm
Location: Czech Republic
Contact:

Re: [PLUGIN] Twocents_XH

Post by oldnema » Mon Sep 22, 2014 10:34 pm

I'm sorry, two buttons appear only in my template. I send PM.
Josef
23.9.2014
Solved - It was my fault, Christoph I found a bug in the template. Thank you
Nobody knows how much time he has left ...
http://oldnema.compsys.cz/en/?Demo_templates

darekpiano
Posts: 2
Joined: Sun Nov 23, 2014 10:44 pm

Re: [PLUGIN] Twocents_XH

Post by darekpiano » Sun Nov 23, 2014 10:53 pm

Hello from Poland
I have some problems with activate Captcha.
I installed twocents_xh and cryptographp plugins, but I dont now what I must write in config: folder name

thank you for your help
darekpiano

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

Re: [PLUGIN] Twocents_XH

Post by cmb » Mon Nov 24, 2014 5:13 am

darekpiano wrote:I have some problems with activate Captcha.
I installed twocents_xh and cryptographp plugins, but I dont now what I must write in config: folder name
Simply write: "cryptographp" (without the quotation marks). Note, that the CAPTCHA is not shown when you're logged in as administrator.
Christoph M. Becker – Plugins for CMSimple_XH

darekpiano
Posts: 2
Joined: Sun Nov 23, 2014 10:44 pm

Re: [PLUGIN] Twocents_XH

Post by darekpiano » Mon Nov 24, 2014 8:07 am

Simply write: "cryptographp" (without the quotation marks). Note, that the CAPTCHA is not shown when you're logged in as administrator.
:lol:
o thank you, I never would have thought that is so "cm"simple :oops:
thank you again
darekpiano

svasti
Posts: 1651
Joined: Wed Dec 17, 2008 5:08 pm

Re: [PLUGIN] Twocents_XH

Post by svasti » Thu Apr 23, 2015 8:26 pm

Just making a blog for somebody and using twocents...
towcents wrote:Ein Themenname darf nur Buchstaben (a-z), Ziffern (0-9) and Minus-Zeichen (-) enthalten!
I thought Themes are the domain of the Themeswitcher ... :roll:

Can't we have just {{{twocents}}}

To have this I changed the function twocents in index.php a little bit:

Code: Select all

function twocents($topicname = '')
{
    global $_Twocents_controller,$h,$s;

    if(!$topicname) $topicname = str_replace('%','',uenc($h[$s]));

    return $_Twocents_controller->renderComments($topicname);
}
 

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

Re: [PLUGIN] Twocents_XH

Post by cmb » Thu Apr 23, 2015 9:41 pm

svasti wrote:Just making a blog for somebody and using twocents...
towcents wrote:Ein Themenname darf nur Buchstaben (a-z), Ziffern (0-9) and Minus-Zeichen (-) enthalten!
I thought Themes are the domain of the Themeswitcher ... :roll:
theme != topic, but Thema == Thema. I have not invented these languages.
svasti wrote:Can't we have just {{{twocents}}}
Making $topicname optional is possible. However, I'd rather avoid your concrete suggestion in the general case, as there could be ambiguities, and that might be rather confusing and annoying. Consider, for instance, two pages with the same heading in different branches.

I suggest that you write a simple wrapper (say, comments()) in userfuncs.php for this particular site. It might be best to call twocents() instead of $_Twocents_controller->renderComments(), because the latter might change without further notice. Then the installation is resilient with regard to updates (i.e. there's no need to fix plugins/twocents/index.php). You might make it even more comfortable by putting the comments() call in the template with a respective guard (strpos($su, 'Blog/') !== 0 or something like that).

A maybe even better alternative might be to extend Miniblog with a respective interface for Twocents_XH (and potentially other comment plugins); see CommentsBridge and RealblogBridge.
Christoph M. Becker – Plugins for CMSimple_XH

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

Re: [PLUGIN] Twocents_XH - memberpages/Register

Post by Tata » Wed Jul 29, 2015 10:43 pm

Wie geht es twocents mit/ohne Editor zu rufen?
Ich möchte die Kommentare für jeden Besucher zugämglich machen, aber nur den Registrierten auch schreiben erlauben.
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: [PLUGIN] Twocents_XH

Post by cmb » Wed Jul 29, 2015 11:49 pm

Tata wrote:Wie geht es twocents mit/ohne Editor zu rufen?
Ich möchte die Kommentare für jeden Besucher zugämglich machen, aber nur den Registrierten auch schreiben erlauben.
Dann nimm statt Twocents_XH am besten Forum_XH. Da ist das nämlich bereits so gelöst; für Twocents_XH werde ich das wohl nicht umsetzen (die ToDo-Liste ist auch so schon zu lang).
Christoph M. Becker – Plugins for CMSimple_XH

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

Re: [PLUGIN] Twocents_XH

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

Hallo zusammen!

Ich habe gerade Twocents_XH 1.0beta1 veröffentlicht.

Ich habe mehrere Fehler behoben und mehrere Verbesserungen durchgeführt. Details entnehmt bitte dem Changelog.

Beachtet, dass Twocents_XH 1.0beta1 nicht kompatibel zu Realblog_XH 3.0beta7 und davor ist; es benötigt zumindest Realblog_XH 3.0beta8, das ich baldigst veröffentlichen werde.

Ich freue mich auf Euer Feedback!

Viel Spaß beim Testen!
Christoph M. Becker – Plugins for CMSimple_XH

frase
Posts: 5085
Joined: Thu Apr 21, 2016 6:32 am
Location: Saxony
Contact:

Re: [PLUGIN] Twocents_XH

Post by frase » Mon Feb 20, 2017 8:41 am

Eine erste inhaltslose Demo mit:

- XH 1.6.9 split
- Realblog_XH 3.0beta8
- Twocents_XH 1.0beta1

gibt es hier zu sehen.

Post Reply