Wallpaper Script Forum » How-To and Troubleshooting

Adding Permissions to Members

(11 posts)

Tags:

  1. 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

    Posted 1 year ago #
  2. 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.

    Posted 1 year ago #
  3. Yes I was asking if someone could give me instructions to modify the script somehow to allow certain permissions to users

    Posted 1 year ago #
  4. 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.. :)

    Posted 1 year ago #
  5. I only want the users to be able to rename the wallpapers, thanks for the response batu544 :)

    Posted 1 year ago #
  6. Batu have you had a chance to try this?

    Posted 1 year ago #
  7. @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

    Posted 1 year ago #
  8. Batu have you tried this yet?

    Posted 1 year ago #
  9. @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,

    Posted 1 year ago #
  10. Thanks Batu :)
    So when I put the users ID inbetween the "" it will let that user rename the wallpapers but have no other permissions?

    Posted 1 year ago #
  11. no.. the above code basically gives full access to all the users .. ( not only there own images but also all other images)..

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.