Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#46 2006-01-06 09:31:14

-P-
Member
From: Finland
Registered: 2005-09-10
Posts: 211

Re: [archived] gho_comments_invite

Is it possible to get this working also with pop up comments?

Offline

#47 2006-01-11 07:46:47

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

Re: [archived] gho_comments_invite

hi p, not with the actual version of the plugin. i will implement it and release an update. stay tuned.


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

Offline

#48 2006-01-11 09:01:46

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

Re: [archived] gho_comments_invite

hi p, please try this not yet official version – i have added two attribute to txp:gho_comments_invite:

  • popup: if you set popup to 1 the link will open in a new window/tab instead of the actual window/tab (default)
  • format: if you set format to text only a link will appear instead of a link (default)

i did not test it in depth but i think it should work.


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

Offline

Board footer

Powered by FluxBB