• okay, a lot of people that comment on my website will do the heart thing: “<3” and it ends up cutting off the rest of their comment. i have tried changing kses.php to allow “<” and i’ve tried turning off HTML all together and i’ve tried everything, and even did a search on here to see if this had been brought up before.

    what all would i have to do to allow hearts in people’s comments? or at LEAST make it so that it doesn’t cut off their entire comment if they accidentally type one?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Install wp-grins, then you can have clickable smilies and add a animated heart smilie to the list. ??

    I have fixed this bug, it’s not perfect but it works, you set 3 as an allowed html tag in the kses.php file then in the functions-formatting.php you set it to automatically replace “<3>” with “<3” so the user types “<3” which is detected as an incomplete but allowed html tag so it is completed automatically with <3> and then the formatting replaces it with “<3″ (you have to use the html code for the < character)

    The problem is that WP is reading the angle brackets as the start of HTML tags; that’s not bad but, if it does not then read the *end* of the HTML tag, everything after it does not display. If you want to *display* angle brackets in the post, use these:

    < = left angle bracket
    > = right angle bracket

    Well, the forums are converting my code to angle brackets. Here’s the code, but take out the spaces:

    & l t ; = left angle bracket
    & g t ; = right angle bracket

    that means convincing all your users to do the same if they want to use them in comments and that’s why i did it the way i have done it

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘i need my hearts!’ is closed to new replies.