IPB

Welcome Guest ( Log In | Register )

Movable Type

We're moving to movabletype.org!

At long last, we're moving to forums powered by, well, Movable Type itself. You'll want to bookmark http://forums.movabletype.org/ for future reference, and in the meantime you can view these old forums as a read-only archive of past posts. Thanks for being part of the community!

 
Reply to this topicStart new topic
> Comment Text Format Buttons
demonsurfer
post Sep 24 2005, 12:52 PM
Post #1





Group: Members
Posts: 245
Joined: 7-May 03
From: NYC
Member No.: 10,667



I've been wanting something similar to the text format buttons in use on most forums (such as this one) that allow commenters who have no knowledge of HTML to add bold text, italics, linked text etc in their comments.

I've just added a script on my weblog which I developed from UBB code that seems to work well (MT3.2), so I'm making it available if you want to try it out.

The current version supports URL link formatting, bold text, italics, underline, strike and blockquotes. The URL linking in particular resolves the issue with wrapping on your comment listing page when visitors want to post a really long URL.

Download the script and instructions here (zip file):
http://demon.twinflame.org/mtscripts.php (buttons included)

See the script in action on the comments form here:
Urban Scrawl (please don't spam the sh*t out of me testing it tho - just use the preview button to see your results, thanks).

I'm not offering support for it - it's an 'as is, where is' script, but it's pretty basic so you shouldn't have any problems. Tested in Firefox1.0.6 and IE6.0 and validates as XHTML 1.0 Transitional for those who are concerned about that sort of thing.

cheers.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 11.24.09 - 11:20 PM