If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Smilies in Comment  XML
Forum Index » Advanced Guestbook Forum
Author Message
Lithium_Grim
Beginner

Joined: 06/02/2006 15:41:21
Messages: 6
Location: Amsterdam, Holland
Offline

Hi there,

I use the 2.4.3 and in every topic the smilies work. However it does not in the comments. Where and what do i need to change to get smilies in comments?

Thanx!!
Lithium_Grim
Beginner

Joined: 06/02/2006 15:41:21
Messages: 6
Location: Amsterdam, Holland
Offline

Ok, found it myself.... In gb.class.php replace the line

$com['comments'] = nl2br($com['comments']);

with

$com['comments'] = ($this->db->VARS['smilies'] == 1) ? nl2br($this->db->emotion($com['comments'])) : nl2br($com['comments']);
euroship
Newbie

Joined: 03/10/2008 21:17:14
Messages: 2
Offline

I'm having the same problem...i've made the change and it's still not working ...
Lithium_Grim
Beginner

Joined: 06/02/2006 15:41:21
Messages: 6
Location: Amsterdam, Holland
Offline

Do you have smilies in the regular comments? Checked that smilies are on in the general settings?
mdizdar
Newbie

Joined: 26/09/2008 17:35:28
Messages: 4
Offline

yes, smilies option is ON in general settings.

check it out->> www.vinacportal.com
and click on "Knjiga Gostiju"
mdizdar
Newbie

Joined: 26/09/2008 17:35:28
Messages: 4
Offline

anybody>??
 
Forum Index » Advanced Guestbook Forum
Go to:   
Based on the open source JForum