Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-08-16 18:32:53

davej
Member
From: Ireland
Registered: 2005-11-01
Posts: 27
Website

"Describe Me" widget

I don’t know how to describe what I want to do, so I’ve created a quick composition instead.

Can anybody give me some pointers on the best way to achieve this?

Offline

#2 2006-08-16 19:13:50

davej
Member
From: Ireland
Registered: 2005-11-01
Posts: 27
Website

Re: "Describe Me" widget

Just in case it wasn’t obvious.

You can use the textbox to input a short description of ‘davej’ and it will be added to the list of descriptions.

The colours alternate between pink and blue for each description.

The widget only displays about 20 or 30 of the descriptions, you can click the more button to see a list of all the descriptions.

Offline

#3 2006-08-16 19:22:52

steventer
Member
Registered: 2004-12-03
Posts: 56

Re: "Describe Me" widget

This would be quite cool for a “poll”, especially if the font changed size like a tag cloud.

Poll: “In a word, how would you describe Textpattern?”

Offline

#4 2006-08-16 23:18:23

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 5,125
Website GitHub

Re: "Describe Me" widget

Would that perhaps work with a normal comment reply with a really reduced reply form and comment txp-form with only the comment body? (I don’t do blogs really, so have not much practice): I can imagine each comment being a description and there’s an nth plug-in somewhere for alternating css classes between comments. What I’m not sure about is whether you can reduce the reply-form to such an extent that the author is not required.


TXP Builders – finely-crafted code, design and txp

Offline

#5 2006-08-17 12:06:00

TNT
Member
From: Rotterdam, Netherlands
Registered: 2006-01-06
Posts: 256
Website

Re: "Describe Me" widget

Jakob: what a clever solution!

I too think it should be possible, stripping your comment form to the bare minimum (only using <code><txp: comment_message_input /></code> and <code><txp: comment_submit /></code>) and using the plugin <code>ajw_comment_alt</code> for styling each “comment” in a different way.

And maybe you need the plugin <code>jnm_recent_comments_unique</code> for limiting the number of comments, but I’m not sure about that one.

Last edited by TNT (2006-08-17 12:07:50)


Prrrrrrrr

Offline

#6 2006-08-17 13:25:10

davej
Member
From: Ireland
Registered: 2005-11-01
Posts: 27
Website

Re: "Describe Me" widget

Ok guys, I can see how I’m going to do this now.

One other thing, I want to ensure that no description/comment is repeated. Is this possible?
I could turn on comment moderation and check each one myself but is there a way to automatically look for duplicate entries?

Offline

#7 2006-08-17 14:42:14

TNT
Member
From: Rotterdam, Netherlands
Registered: 2006-01-06
Posts: 256
Website

Re: "Describe Me" widget

Comment moderation is the way to go. With this solution, there’s no automatic way to prevent duplicate entries.

On the other hand, comment moderation might not be bad in the first place, preventing ‘funny’ people to abuse your widget.


Prrrrrrrr

Offline

Board footer

Powered by FluxBB