Content last modified Monday 6 March 2017
hop to #bottom
Categories:
Author:
Current version:
0.1
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 2 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

czg_if_comment_cookies

This plugin allows you to display certain information about comments only to those users who don’t have the comment cookie set, i.e. who are likely to be first-time visitors.

Returning commentators needn’t see all the info again and can be presented with a more straightforward comment form. The idea and reasoning comes from and is explained by Dunstan.

Two tags.

<txp:if_cookie></txp:if_cookie> simply returns its contents if the user has a TXP cookie remembering their comment details.

<txp:if_no_cookie></txp:if_no_cookie> returns its contents if the users does not have a TXP cookie. Probably redundant with this new <txp:else /> business, but there it is anyway for you to use.

Used it to great effect on a blog to produce the 1976-esque effect of shunting all the inputs aside except the message one when the user has a cookie to deal with it.

Tested with RC3.

Article Request Count:
Initially released:
2005-02-28
Posted here:
24 Mar 2005
Article modified:
03 Apr 2005

You may want to leave your comments/questions at the Forum thread for quicker feedback. Otherwise, comment away:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern