Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    Bug-reports    Topic: Bug when saving comments with smiles
Pages: [1]   Go Down
  Print  
Author Topic: Bug when saving comments with smiles  (Read 1807 times)
0 Members and 1 Guest are viewing this topic.
Cobinja
Newbie
*

Karma: 0
Offline Offline

Posts: 2


« on: March 11, 2010, 15:46:38 »

Hi

If a smile is the last part of a comment, the blank after the second colon, i.e. the one finishing the smile-code, is suppressed when saving the comment to the database.
Thus, if one chooses to quote this comment, the smile-regex fails to convert from smile-code to image.

Example:

If this comment is saved (The underscore means the last blank):
Code:
Test : lol:_
this is what is saved to the database:
Code:
Test : lol:
If this comment is quoted, this is what is transferred to the editor:
Code:
[quote]Test : lol:[/quote]
But it should be
Code:
[quote]Test : lol: [/quote]

This bug has the effect that smiles, that finish a quoted comment, are not displayed as images, but as smile-codes

Greets
Cobinja
Logged
smart
Administrator
Hero Member
*****

Karma: 146
Offline Offline

Gender: Male
Posts: 2579



WWW
« Reply #1 on: March 11, 2010, 15:57:58 »

Hm... Could you reproduce this bug on demo.joomlatune.com? I don't remember if this bug already fixed in upcoming version or not Wink
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Cobinja
Newbie
*

Karma: 0
Offline Offline

Posts: 2


« Reply #2 on: March 11, 2010, 17:00:04 »

I tried it here:
http://demo.joomlatune.com/index.php?option=com_content&view=article&id=25&Itemid=28

Seems to be fixed in that version (I use 2.1.0.0, which seems to be the latest stable release)

When will the new version be released?
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Bug-reports    Topic: Bug when saving comments with smiles
 
Jump to: