4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: ascanio on June 13, 2006, 06:56:33 PM
-
Hi im trying to modify the validateimages.php cuz i don't want to be able to change the owner of the image when i validate an image
and anther reason is becuase it takes a lot of time more than 50 seconds to load the whole list of users so it make the process of validation really slow, ive been trying to makes the changes myself but when i save validate the image it change the owner to the admin
i know that what i have to change is this line right here but i don't know how to change it
show_user_select_row($lang['user'], $image_row['user_id']);
this is what is would like to have
(http://img69.imageshack.us/img69/8665/sshot24zl.png)
-
replace that line with this:
show_hidden_input("user_id", $image_row['user_id']);
$sql = "SELECT ".get_user_table_field("", "user_name")."
FROM ".USERS_TABLE."
WHERE ".get_user_table_field("", "user_id")." = ".$image_row['user_id'];
$result = $site_db->query_firstrow($sql);
show_custom_row($lang['user'], $result['user_name']);
-
awesome!! just what i wanted! V@no u rock!
thanks :)
-
hello all.
I have same problem.
vono thanks for fix.
But .../admin/?goto=images.php%3Faction%3Deditimage%26amp%3Bimage_id%3D609
and removeimage. How to fix?