Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: how do i disable smilies in eCards?  (Read 4709 times)

0 Members and 1 Guest are viewing this topic.

jackbremer

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
how do i disable smilies in eCards?
« on: July 28, 2006, 02:50:55 pm »

Hiya,

My client thinks that smilies are ugly and naff and whilst I've turned them off for comments and the like, I cannot find where to turn them off in the ecards. I didn't want to just jump both feet first into the PHP of the ecards, as I bet some of you have done this in the past and will have a solution?

Thanks in advance, keep up the great work you lot!

Jack.
« Last Edit: August 11, 2006, 08:50:02 pm by Nibbler »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: how do i disable smilies in eCards?
« Reply #1 on: July 28, 2006, 04:23:36 pm »

Haven't tested - out of the back of my head, it should be enough to edit ecard.php, find
Code: [Select]
echo generate_smilies();and replace with
Code: [Select]
echo generate_smilies();Please report back if this works as expected.
Logged

Nibbler

  • Guest
Re: how do i disable smilies in eCards?
« Reply #2 on: July 28, 2006, 05:30:12 pm »

Code: [Select]
//echo generate_smilies();
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: how do i disable smilies in eCards?
« Reply #3 on: July 28, 2006, 07:31:46 pm »

oops, sorry... Of course Nibbler is right.
Logged

jackbremer

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: how do i disable smilies in eCards?
« Reply #4 on: August 11, 2006, 08:26:49 pm »

many thanks, worked PERFECTLY!

you guys are fantastic...

PLEASE MARK SOLVED
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.