Request a mod for the "Restricted" Permission for Admin Users
BorisB 0
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Request a mod for the "Restricted" Permission for Admin Users
BorisB
OP
0
From: -
From: -
Request a mod for the "Restricted" Permission for Admin Users
Philipp,
Dude, you rock!
Works perfectly
Thanks!
Philipp,
Dude, you rock!
Works perfectly
Thanks!
1 Re: Request a mod for the "Restricted" Permission for Admin Users
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
Request a mod for the "Restricted" Permission for Admin Users
Open cadmin/index.php in an editor and replace:
with:
and:
with:
Then open cadmin/mod_review.php and replace:
with:
Next, open cadmin/mod_news.php and replace:
with:
Open cadmin/index.php in an editor and replace:
if (($aform == "reviewimgup") and ($admin[user_canreview] == 1))
with:
if (($aform == "reviewimgup") and ($admin[user_canreview]))
and:
if (($aform == "newsimgup") and ($admin[user_cannews] == 1))
with:
if (($aform == "newsimgup") and ($admin[user_cannews]))
Then open cadmin/mod_review.php and replace:
if ((phpversion() >= "4.1.0") and ($admin[user_canreview] == 1))
with:
if ((phpversion() >= "4.1.0") and ($admin[user_canreview]))
Next, open cadmin/mod_news.php and replace:
if ((phpversion() >= "4.1.0") and ($admin[user_cannews] == 1))
with:
if ((phpversion() >= "4.1.0") and ($admin[user_cannews]))
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