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

Login with username, password and session length

JoomlaTune Support Forum    JComments component    Integration with third-party extensions    Topic: [Solved] yvSmileys and JComments
Pages: [1]   Go Down
  Print  
Author Topic: [Solved] yvSmileys and JComments  (Read 1605 times)
0 Members and 1 Guest are viewing this topic.
frez
Newbie
*

Karma: 0
Offline Offline

Posts: 4


« on: June 26, 2010, 19:45:56 »

Hi!

I'm using the yvsmileys plugin to have smileys everywhere on my website but it doesn't display the smileys in the comments...  Cry

Do you know why and if I can do something to make it work?

Thank's a lot!

Regards,


* yvsmiley.png (20.91 KB, 645x178 - viewed 344 times.)
« Last Edit: June 27, 2010, 04:52:38 by smart » Logged
smart
Administrator
Hero Member
*****

Karma: 163
Offline Offline

Gender: Male
Posts: 2161



WWW
« Reply #1 on: June 27, 2010, 04:40:32 »

Hm... Try next:

1. Open file /components/com_jcomments/tpl/default/tpl_comment.php
2. Replace code:

Code: (php)
if (isset($comment)) {
with
Code: (php)
if (isset($comment)) {
global $mainframe;
$text = $comment->comment;
$mainframe->triggerEvent('onSmiley_RenderText', array (& $text) );
$comment->comment = $text;
Logged

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

Karma: 0
Offline Offline

Posts: 4


« Reply #2 on: June 27, 2010, 04:47:03 »

 Cheesy It work's thank's a lot! i was thinking about this but i wasn't able to know where to add onSmiley_RenderText!!!!
Thank you Thank you !
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Integration with third-party extensions    Topic: [Solved] yvSmileys and JComments
 
Jump to: