Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2005-06-11 00:22:07

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: [archived] gho_comments_invite

have you tried the textpattern.org site? I was going to grab this too :)

one possible addition that might be added is the name of the commentators up to x number. so you can have something like:

comments from: bob, sue, and rita (7 total)

or something like that?

Offline

#32 2005-06-11 14:13:22

graumeister
Plugin Author
From: Ban Bang Por, Samui, Thailand
Registered: 2005-01-16
Posts: 167
Website

Re: [archived] gho_comments_invite

proph3t: Sorry, forgot to enable the domain again. Now it works. sekhu: I try to implement it till tuesday!


Samui? Samui! (about the life as farang in thailand)
David’s Neighbour

Offline

#33 2005-06-11 16:10:59

sekhu
Member
Registered: 2005-05-12
Posts: 428
Website

Re: [archived] gho_comments_invite

thanks graumester look forward to it – now call me stupid but how do you use this plugin? It’s uploaded, but do I need to hack a file or do I replace and existing comment invite with another attribute? nevermind.

Love this plugin :D

Last edited by sekhu (2005-06-11 16:16:49)

Offline

#34 2005-06-12 11:10:42

graumeister
Plugin Author
From: Ban Bang Por, Samui, Thailand
Registered: 2005-01-16
Posts: 167
Website

Re: [archived] gho_comments_invite

you have to replace <txp:comments_invite> with the <txp:gho_comments_invite> and the attributes like the help in the plugin-administration or the first entry in this thread will tell you.


Samui? Samui! (about the life as farang in thailand)
David’s Neighbour

Offline

#35 2005-06-14 11:30:58

graumeister
Plugin Author
From: Ban Bang Por, Samui, Thailand
Registered: 2005-01-16
Posts: 167
Website

Re: [archived] gho_comments_invite

@sekhu: i found, that its already implemented :) try the attribute limit to gho_last_commentator!


Samui? Samui! (about the life as farang in thailand)
David’s Neighbour

Offline

#36 2005-07-25 16:09:42

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

Re: [archived] gho_comments_invite

In RC4, I am getting

Notice: Undefined variable: nocomment in /../textpattern/lib/txplib_misc.php(424) : eval()’d code on line 26

Anyone else seeing the same thing?

Offline

#37 2005-07-26 03:21:38

graumeister
Plugin Author
From: Ban Bang Por, Samui, Thailand
Registered: 2005-01-16
Posts: 167
Website

Re: [archived] gho_comments_invite

hi michael,

no, i have the newest revision running without notices. i will look into this.

greetings


Samui? Samui! (about the life as farang in thailand)
David’s Neighbour

Offline

#38 2005-07-27 09:58:04

graumeister
Plugin Author
From: Ban Bang Por, Samui, Thailand
Registered: 2005-01-16
Posts: 167
Website

Re: [archived] gho_comments_invite

could you please test, if the following helps:

got to admin > plugins > edit gho_comments_invite and change

<code>elseif (empty($nocomment)){ $out = “”; }</code>

to

<code>elseif (is_null($nocomment) || empty($nocomment)){ $out = “”; }</code>

that should solve the problem. the plugin itself works like expected (except of the notice) or does it nothing?

Last edited by graumeister (2005-07-27 09:58:42)


Samui? Samui! (about the life as farang in thailand)
David’s Neighbour

Offline

#39 2005-07-27 10:52:53

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

Re: [archived] gho_comments_invite

Nope. Same message. I can get the error messages to go away by setting Production to live, though.

As for whether the plugin is working, it definitely works right when there is one comment. When there isn’t one, it isn’t doing quite what I want but I am not sure whether that is the results of the error, or something I am doing wrong.

Offline

#40 2005-07-27 11:29:23

mr_chiquita
New Member
Registered: 2005-05-13
Posts: 3

Re: [archived] gho_comments_invite

I was getting the same problem as michaelkpate, but as he said setting the production level to live made it go. It seems to be fine now though

Offline

#41 2005-07-27 13:36:34

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

Re: [archived] gho_comments_invite

I found a workaround by actually defining nocomment.

<code><txp:gho_comments_invite showcount=“yes” nocomment=” “ zero=” 0
<span>comments</span>” one=” <span>comment</span>” more=”
<span>comments</span>” /></code>

It turns out I needed to do that to get the functionality I was looking for, anyway.

Offline

#42 2005-08-14 05:44:12

graumeister
Plugin Author
From: Ban Bang Por, Samui, Thailand
Registered: 2005-01-16
Posts: 167
Website

Re: [archived] gho_comments_invite

Hi, I’ve updated the plugin to version 1.0 work working with rc5 and TXP1.0


Samui? Samui! (about the life as farang in thailand)
David’s Neighbour

Offline

#43 2005-08-16 16:00:57

Hans
Member
From: Everywhere
Registered: 2004-03-07
Posts: 99
Website

Re: [archived] gho_comments_invite

> graumeister wrote:
> you have to replace <txp:comments_invite> with the <txp:gho_comments_invite> and the attributes like the help in the plugin-administration or the first entry in this thread will tell you.

OK, you really need to put that in the documentation… Thank God I found this thread.


Lumilux – A Photoblog

Offline

#44 2005-12-19 23:01:53

rayne
Member
From: AL USA
Registered: 2004-03-24
Posts: 58
Website

Re: [archived] gho_comments_invite

I found that you have to add showcount=“yes”. In the documentation it says that by default this is set to yes. Well, it wasn’t. I fixed my plugin so that by default it now shows the count, but I thought I’d mention it.

Question, does zero comments take precedence over disabled comments?? I have an entry that has no comments, but it’s old so they have been disabled already. It shows the zero text instead of the nocomments text.


Rayne
mama love

Offline

#45 2005-12-20 03:48:46

graumeister
Plugin Author
From: Ban Bang Por, Samui, Thailand
Registered: 2005-01-16
Posts: 167
Website

Re: [archived] gho_comments_invite

hi rayne, i fixed the code so the documentation will be correct again. for convenience the default should be showcomments=“yes”. thanks for your message. the fix will be in the next release available.

the zero-comments-problem you mention is new to me and i will look into it.

hi hans (sorry for the late answer, i never saw your comment ;) – here too i fixed the documentation and its available in the next release.


Samui? Samui! (about the life as farang in thailand)
David’s Neighbour

Offline

Board footer

Powered by FluxBB