Copyright icon in "description" Copyright icon in "description"
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Copyright icon in "description"

Started by cgc0202, November 04, 2006, 06:45:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cgc0202

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


Nibbler


cgc0202

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

Nibbler

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

cgc0202

Quote from: Nibbler on November 04, 2006, 08:12:56 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

Nibbler

$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.

cgc0202

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