Author Topic: Quick question, how to remove edit users?  (Read 3038 times)

0 Members and 1 Guest are viewing this topic.

Offline Ljay

  • Newbie
  • *
  • Posts: 26
    • View Profile
Quick question, how to remove edit users?
« 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:



Thanks
« Last Edit: April 04, 2008, 04:24:47 PM by Ljay »

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Quick question, how to remove edit users?
« Reply #1 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 ... ;)
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Ljay

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: Quick question, how to remove edit users?
« Reply #2 on: April 04, 2008, 04:24:18 PM »
great thanks so much  :)