Sorry for earlier errors, the changed files are CORRECTLY attached now. Thanks
An editor is a user who can modify the keywords or description of an image.
1. Modify user table so a user may be flagged as an editor (replace 4images_ with whatever prefix you are using):
ALTER TABLE `4images_users` ADD `user_editor` TINYINT( 1 ) NOT NULL DEFAULT '0';
2. Apply the attached patch, 4images_editor.patch (total of 9 affected files)
Example, after uploading the patch to the 4images directory, run this command from the shell (modify for your setup):
patch -p1 -i 4images_editor.patch -d /path/to/4images/
3. Go to the admin area to edit a user
4. Use the radio button to choose whether the user should be an editor
5. Report in this thread if you experience any bugs.
Comments
I didn't know Deutsch so the following variables will in lang/deutsch/(main.php,admin.php) need to be corrected for those of you who are:
$lang['field_editor'] = admin text for Editor
$lang['editor'] = header on table on frontend
$lang['post_editor'] = submit button on frontend
I won't be maintaining this patch unless there any glaring issues. Have a nice day. Hopefully someone can move this to the proper forum.
OR
use editor.tar.gz to only download the modified files. you can use a tool such as winmerge to merge into any existing modified files:
http://winmerge.org/and I added a screenshot