Hey all
I want to add a user and give him permissions to rename my wallpapers only. Can anyone give me instructions on how exactly to give the user these permissions?
Thanks
Hey all
I want to add a user and give him permissions to rename my wallpapers only. Can anyone give me instructions on how exactly to give the user these permissions?
Thanks
Don't think you can do that with this script. Would have to be a custoom mod. Now you only have option admin or user. only admin can rename. You can try support.
Yes I was asking if someone could give me instructions to modify the script somehow to allow certain permissions to users
I think it can be done.. just let me know what kind of access you need for the users .. I will try on this weekend.. :)
I only want the users to be able to rename the wallpapers, thanks for the response batu544 :)
Batu have you had a chance to try this?
@Moxxy.. sorry .. didn't get time on this week end.. I was little bit busy in USCIS .. I will look into it in this week and let you know ..
Thanks,
batu544
Batu have you tried this yet?
@Moxxy ,
Sorry for the delay.. :)
Here is the process ..
Open wallpaper.inc.php and in line 63 find
if ($_SESSION["user_id"]==$users_items["id"])
Replace this with
if ($_SESSION["user_id"] != "")
It will give you what you are looking for..
let me know if any issue in changing this..
Thanks,
Thanks Batu :)
So when I put the users ID inbetween the "" it will let that user rename the wallpapers but have no other permissions?
no.. the above code basically gives full access to all the users .. ( not only there own images but also all other images)..
You must log in to post.