coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: icebox on October 24, 2003, 12:02:28 PM

Title: Suggest useful codes to users when uploading.
Post by: icebox on October 24, 2003, 12:02:28 PM
Noting that the average photographer does not necesarily know about bbCode, nor he'd expect it to work *only* in picture description I have a little suggestion: why not tell the users what codes can they use, as in the following image:
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fopenphoto.binary-pulse.org%2Flocal%2Flive%2Fmod1.png&hash=0a78d013b5274922a13020990748270bb82f1d7e)

The change would have to be made in every language file as following:
In english.php line 826:
        'description' => 'Picture description. ',
would become:
        'description' => 'Picture description. <br> Following codes might be useful: <li>[b]<b>Bold</b>[/b]</li> <li>[i]<i>Italic</i>[/i]</li> <li>[url=http://yoursite.com/]Url Text[/Url]</li> <li>[email]user@domain.com[/email]</li>',
Of course one would have to modify every language file but it's not much...

P.S. I know this is much more a mod/hack than a Feat. Request but:
1. The Mod/Hacks forum is locked.
2. It is a Feature Request as I think it would be nice to have it into the next release...
Title: Suggest useful codes to users when uploading.
Post by: Joachim Müller on February 20, 2004, 09:40:55 PM
Thanks for the contribution - I added this (as an admin settable option) to the devel branch of the cvs (will be in the next version)...

GauGau