Suggestion for CPG Suggestion for CPG
 

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

Suggestion for CPG

Started by pols1337, October 01, 2013, 08:34:14 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

pols1337

Some random suggestions for future CPG
1)  Theme Customization -- In the Config, allow an option to A) upload and change the logo B) upload and change the favicon. 
2)  Anycontent.php -- In the Config, allow a person to directly write and save the anycontent.php, including permissions.

Joel

phill104

Personally I think those items would just bulk up the code where not really needed. Take the logo for instance, it is something you only change once in most cases. To do that is often just a matter of replacing an image. However, sometimes you may wish to resize its container then a couple of css adjustments are needed. While it would be possible to add code for both it would also mean that theme developers would need to be quite strict in many areas of their theme development so from my POV it would not be the best of ideas. If you look at most CMS packages their template designers often take the same view.

As for anycontent, surely if a developer is knowledgeable enough to create such code they also have the skills to upload a file via ftp and set its permissions?
It is a mistake to think you can solve any major problems just with potatoes.

pols1337

QuoteAs for anycontent, surely if a developer is knowledgeable enough to create such code they also have the skills to upload a file via ftp and set its permissions?

It's not for developers.  It's for everyday users, who use anycontent to write a guest message or welcome message and who don't know how to code in permissions structures. 

Αndré

I also don't second both ideas. If somebody is able to upload and install Coppermine to his server, he should also be able to modify a simple file. You don't need coding skills to do that. Alternatively there's still the MiniCMS plugin.

pols1337

Install Coppermine = drag and drop in FileZilla with a nice GUI wizard to guide you through.  Absolutely no technological knowledge involved.

Writing anycontent.php = writing code in PHP, not even HTML.  And remember, yes I did need to ask for help to figure out how to make the message only appear to guests. 

MiniCMS = plugin, which means may or may not be compatible or supported with future Coppermine versions


Αndré

Quote from: pols1337 on October 06, 2013, 06:30:49 AM
Writing anycontent.php = writing code in PHP, not even HTML.
That's not true. An anycontent.php file with just HTML like
<h1>foo</h1><p>bar</p>
or even plain text like
foo bar
works without an issue.


Quote from: pols1337 on October 06, 2013, 06:30:49 AM
I did need to ask for help to figure out how to make the message only appear to guests. 
I don't understand how a built-in editor would have helped you to solve that issue. As I already said: somebody who's able to install (or more important: maintain) a Coppermine gallery is also able to edit a file.