Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2006-03-18 01:53:35

Ji31
Member
Registered: 2005-08-24
Posts: 103

Re: [plugin] [ORPHAN] ajw_if_comment_owner

I can’t make it ready!
Even if I past the default
txp:ajw_if_comment_owner name=“foo,bar”
YES!
else /
NO!
/txp:if_comment_owner

and post the comment as “foo”, it’s still writing NO!

Offline

#26 2006-03-18 07:51:00

The-Exit
Member
From: Berlin
Registered: 2005-07-16
Posts: 175
Website

Re: [plugin] [ORPHAN] ajw_if_comment_owner

you should put txp:ajw_if_comment_owner in the closing tag. i think you missed the ajw.

for the else-tag you should not use txp:else. this plugin works with else /

Offline

#27 2006-03-18 08:33:18

Ji31
Member
Registered: 2005-08-24
Posts: 103

Re: [plugin] [ORPHAN] ajw_if_comment_owner

Oh tahnx!!!!!!
But it is the mystake in the plugin’s documentation!
I have just copied it from plugin’s help.
But thanx a lot!!!!

Offline

#28 2006-03-18 09:34:57

The-Exit
Member
From: Berlin
Registered: 2005-07-16
Posts: 175
Website

Re: [plugin] [ORPHAN] ajw_if_comment_owner

Documentations are written by humans!

Nevertheless, this is a great plugin!

Offline

#29 2006-03-18 09:47:03

Ji31
Member
Registered: 2005-08-24
Posts: 103

Re: [plugin] [ORPHAN] ajw_if_comment_owner

Of course! One of the best plugin!

Offline

#30 2006-11-06 17:38:40

beztak
Member
From: Czech Republic
Registered: 2005-07-21
Posts: 184
Website

Re: [plugin] [ORPHAN] ajw_if_comment_owner

Great plugin.

But… It is possible to check whether author comments is also an article’s author? In our blog ovsem.net is 6 authors and I would like to differentiate author comments form article author comments.

Offline

#31 2008-04-08 18:10:30

robhert
Member
From: Perú
Registered: 2007-04-27
Posts: 206
Website

Re: [plugin] [ORPHAN] ajw_if_comment_owner

In case you don’t know How to use it:

Edit the form: comments (NOT comments_form)

<txp:ajw_if_comment_owner name="YOURNAME" email="YU@EMAIL" web="YOURWEB.COM" strict="1">
 <div class="STYLE-FOR-OWNER">
  <txp:comment_message />
  <p class="">— <txp:comment_name /> · <txp:comment_time /> · <txp:comment_permlink>#</txp:comment_permlink></p>
 </div>
<else />
 <div class="STYLE-FOR-GUESTs">
  <txp:comment_message />
  <p class="">— <txp:comment_name /> · <txp:comment_time /> · <txp:comment_permlink>#</txp:comment_permlink></p>
 </div>
</txp:ajw_if_comment_owner>

That’s all.

Regards

Last edited by robhert (2008-04-08 18:11:50)

Offline

Board footer

Powered by FluxBB