Request a mod for the "Restricted" Permission for Admin Users Hi Philipp, I am setting up a few editors for my site and I have given them all "Restricted" access to both the Reviews and News departments. I did this because I don't want editors to be able to delete or edit articles they don't own...the "Restricted" feature gives me that functionality. Only problem is, with the "Restricted" permission, these new editors also cannot upload images. I want them to be able to upload images for their Reviews. Is there a way to mod the script so that Admin users with "Restricted" permissions in Articles and News can also upload images? Thanks
Request a mod for the "Restricted" Permission for Admin Users Open cadmin/index.php in an editor and replace: Code: if (($aform == "reviewimgup") and ($admin[user_canreview] == 1)) with: Code: if (($aform == "reviewimgup") and ($admin[user_canreview])) and: Code: if (($aform == "newsimgup") and ($admin[user_cannews] == 1)) with: Code: if (($aform == "newsimgup") and ($admin[user_cannews])) Then open cadmin/mod_review.php and replace: Code: if ((phpversion() >= "4.1.0") and ($admin[user_canreview] == 1)) with: Code: if ((phpversion() >= "4.1.0") and ($admin[user_canreview])) Next, open cadmin/mod_news.php and replace: Code: if ((phpversion() >= "4.1.0") and ($admin[user_cannews] == 1)) with: Code: if ((phpversion() >= "4.1.0") and ($admin[user_cannews]))
Request a mod for the "Restricted" Permission for Admin Users Philipp, Dude, you rock! Works perfectly Thanks!