coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: borru on February 18, 2005, 02:10:51 AM

Title: including smilies to reviewcom
Post by: borru on February 18, 2005, 02:10:51 AM
1. i put require('include/init.inc.php');
if ($CONFIG['enable_smilies']) include("include/smilies.inc.php");
on line 22-23

then i put $msg_body = nl2br(process_smilies($tableb)); on line 112

and it aint working.

where did i go wrong?
Title: Re: including smilies to reviewcom
Post by: Joachim Müller on February 18, 2005, 06:17:46 AM
to accomplish what? What do you mean by "not working"? What error message do you get? Link?

Joachim
Title: Re: including smilies to reviewcom
Post by: borru on February 18, 2005, 01:16:17 PM
i dont get an error message.
it (http://m-farm.c-f-h.com/vaatakom.php) just doesent show smilies somehow.
Title: Re: including smilies to reviewcom
Post by: Tranz on February 18, 2005, 07:11:48 PM
I figured how to do it in 1.4 but it's different in 1.3

However, tableh2 is a css class so you can't just do it that way. The variable to work with is $msg_txt

@dev team, would it be ok to add ability to show smilies in reviewcom.php in  1.4?
Title: Re: including smilies to reviewcom
Post by: Joachim Müller on February 19, 2005, 08:17:14 AM
yes, won't hurt imo...

Joachim