Suggest useful codes to users when uploading. Suggest useful codes to users when uploading.
 

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]

Main Menu

Suggest useful codes to users when uploading.

Started by icebox, October 24, 2003, 12:02:28 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

icebox

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...
Cool photos, reviews, forums at:
http://www.openphoto.tk/
[size=10]Note: Contains  artistic nudity...[/size]

Joachim Müller

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