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: Copyright icon in "description"  (Read 3327 times)

0 Members and 1 Guest are viewing this topic.

cgc0202

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 199
Copyright icon in "description"
« on: November 04, 2006, 06:45:12 pm »

Hi,

I tried to search for a thread here, if someone already asked about how to include the "copyright icon" and I did not find any.  Obviously, the © does not work.

Is there a way to add the copyright icon in the photo description?

Thanks.

Cornelio

« Last Edit: November 04, 2006, 08:12:27 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Copyright icon in "description"
« Reply #1 on: November 04, 2006, 06:48:28 pm »

Just copy/paste a © into the box.
Logged

cgc0202

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 199
Re: Copyright icon in "description"
« Reply #2 on: November 04, 2006, 07:26:32 pm »

Thanks Nibbler,

That seemed to work, with the various browsers I use in Mac -- Camino, Safari, Netscape and Firefox.  I am not sure if they show properly in Windows or other Operating sytems.

CGC
Logged

Nibbler

  • Guest
Re: Copyright icon in "description"
« Reply #3 on: November 04, 2006, 08:12:56 pm »

If it doesn't it's not too hard to add a bbcode for ©
Logged

cgc0202

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 199
Re: Copyright icon in "description"
« Reply #4 on: November 05, 2006, 02:24:15 pm »

If it doesn't it's not too hard to add a bbcode for ©
That was what I was trying to find out, Nibbler.  I cannot find a site that describes the conversion.
CGC
Logged

Nibbler

  • Guest
Re: Copyright icon in "description"
« Reply #5 on: November 05, 2006, 03:24:28 pm »

Code: [Select]
$text = str_replace("[copyright]", '©', $text);
Just add that into the bb_decode() function in include/functions.inc.php Use whatever name you like for the new tag.
Logged

cgc0202

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 199
Re: Copyright icon in "description"
« Reply #6 on: November 05, 2006, 11:35:02 pm »

Thanks very much Nibbler, it worked.  I guess I can use that now as a template on how to convert many html symbols into bbCode.

CGC
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.