Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

All code examples must follow the Markdown rules as this site uses Markdown. If you don't know how, click here for a tutorial. Any code examples not using Markdown will be deleted.
All code examples must follow the Markdown rules as this site uses Markdown. If you don't know how, click here for a tutorial. Any code examples not using Markdown will be deleted.

PF- Status/Comment Formatting

Since we write... a lot on my site, sometimes large blocks of text can be an issue in comments. We wanted a way to format them a bit to make them easier to read.

My first idea was to allow limited HTML. IE,
Bold
Italics
IMG tag links

This way, people could bold or italicize their text in places, and if they wanted to post a link to a photo in the comments that would show the preview of the photo to be clicked on, they'd be able to do so.

Unfortunately, allowing HTML in the feed has been known to invite hackers and issues in the past on other sites. We don't need a full fledged editor like the blog has, we'd just like the option to pretty up our comments a little, like to separate verbal/non-verbal actions. To bold something spoken in anger. To italicize something with inflection. Even the images aren't even a super big deal, as I know where are add-ons for that if it's really truly wanted.

Besides HTML, is there any other way to allow this that won't break the site?

I'm on v3.8, with 3.9 patches.

Comments

  • I am just getting familiar with v4 and have a similar question. I was wondering if there are any add-ons perhaps that make the activity feed posts more advanced. I don't expect it to have the bells and whistles of Facebook, of course.

    For example, I just copied a FB post I made to my site's activity feed and don't even see an option to edit a post. Only delete.

  • You can't edit a status post yet but you can edit comments. The status post edit is coming though.

  • edited September 2016

    These work for V4

    [b][/b]
    [i][/i]
    [link][/link]
    [link=http://www.bbcode.org] This is bbcode.org![/link]
    [strong][/strong]
    [u][/u]
    [color=red][/color]
    [em][/em]
    [email][/email]
    [size=12][/size]
    [center][/center]
    [align=right][/align]
    [left][/left]
    [right][/right]
    [ul][/ul]
    [ol][/ol]
    [li][/li]
    [br][/br]
    [hr][/hr]

    [code][/code]
    [img][/img]

  • edited September 2016
    The user and all related content has been deleted.
Sign In or Register to comment.