I have recently just installed 4images on my server and have seen many requests to allow users to add subcategories to the 4images gallery not having to give them admin rights. I have hacked the admin pgp code to allow for this on my site. I have attached the 3 files that i use to make this happen. PLEASE BACKUP ALL YOUR FILES BEFORE ADDING THIS MOD. I AM NOT AWARE OF ANY SECURITY ISSUES BUT I AM NOT RESPONSIBLE FOR ANY SECURITY ISSUES. I am not a programmer this is what i did to get it to work on my site.
This allows a user to add subcategories and then delete or edit those subcategories only, and no access to rename or delete the primary categories.
Add the following files to your 4images root dir.
editcategories.php
user_functions.php
user_global.php
I have left in the information that i commented out as I did not want to corrupt my files in case i needed it later. All i did then off my home.html template page is added a link off the menu to editcategories.php and it worked. You can post your questions, but i cannot guarantee an answer as i am not a programmer. This is my attempt to get something like this to work and if anyone cares to improve on it like making a html template file so it can be integrated into the rest of the website to have a header, side bar, content, and footer, that would be greatly appreciated. Good luck and remember to back up your files!