Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: including smilies to reviewcom  (Read 3270 times)

0 Members and 1 Guest are viewing this topic.

borru

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
including smilies to reviewcom
« on: February 18, 2005, 02:10:51 am »

1. i put
Code: [Select]
require('include/init.inc.php');
if ($CONFIG['enable_smilies']) include("include/smilies.inc.php");
on line 22-23

then i put
Code: [Select]
$msg_body = nl2br(process_smilies($tableb)); on line 112

and it aint working.

where did i go wrong?
« Last Edit: February 18, 2005, 02:16:11 am by borru »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: including smilies to reviewcom
« Reply #1 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
Logged

borru

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: including smilies to reviewcom
« Reply #2 on: February 18, 2005, 01:16:17 pm »

i dont get an error message.
it just doesent show smilies somehow.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: including smilies to reviewcom
« Reply #3 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: including smilies to reviewcom
« Reply #4 on: February 19, 2005, 08:17:14 am »

yes, won't hurt imo...

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.