4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: Ljay on April 04, 2008, 09:26:25 AM

Title: Quick question, how to remove edit users?
Post by: Ljay on April 04, 2008, 09:26:25 AM
I have a lot of members in the gallery, so when I try to edit details on the edit image page, the user list takes a long time to load and is causing me problems. Because I don't need to edit users I was wanting to remove that line on the page. What code do I have to remove to do this? I didn't want to guess incase I messed anything up. This is the line I mean:

(http://img228.imageshack.us/img228/9845/guestvm7.th.jpg) (http://img228.imageshack.us/my.php?image=guestvm7.jpg)

Thanks
Title: Re: Quick question, how to remove edit users?
Post by: mawenzi on April 04, 2008, 11:29:01 AM
... in admin/images.php find ...
Code: [Select]
show_user_select_row($lang['user'], $image_row['user_id']);
... to remove : replace with ...
Code: [Select]
//show_user_select_row($lang['user'], $image_row['user_id']);
... to show only the User-ID : replace with ...
Code: [Select]
//show_user_select_row($lang['user'], $image_row['user_id']);
show_input_row("User ID", "user_id", $image_row['user_id']);

... thats all ... ;)
Title: Re: Quick question, how to remove edit users?
Post by: Ljay on April 04, 2008, 04:24:18 PM
great thanks so much  :)