4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: Lucifix on June 24, 2003, 05:48:24 PM
-
I didn't find any mode that disallow authors to vote thier own photo. Is there any mode? Or is it possible at all?
-
the easiest way to do so, is not display rate dropdown at all ;)
to do so, find in /includes/functions.php: if (check_permission("auth_vote", $image_row['cat_id'])) {
replace with: if (check_permission("auth_vote", $image_row['cat_id']) && $user_info['user_id'] != $image_row['user_id']) {