4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: nameless on January 05, 2009, 06:36:07 PM
-
Hi evry one
Can any one help me
i want to make evry user add and edit and del comments in his image only not other users images
i try to make the Post Comment from Edit categories is private and it make evry user edit and del comments in his image only not other users images but they can't add comments
hope
-
... allow user to edit their own comments ...
... it is a old thread, but try this ... http://www.4homepages.de/forum/index.php?topic=5577.msg23910#msg23910 ...
-
Thank You for your replay
this mod is not what i need
I make evry user del and edit any comments in his own images only but he cant add new comment in his own images
i want this use can add comment in his one images
i hope you can understand me and forgave my english
in my site evry register user have one images only
1- i want this user add and del and edit the comments in his own images only that mean this user can't add or del or edit comments in any other images
thanks for help
2-
-
nameless
in the file details.php
find
if ($action == "postcomment" && isset($HTTP_POST_VARS[URL_ID])) {
add below
if ($is_image_owner || $user_info['user_level'] == ADMIN) {
find
unset($row);
unset($spam_row);
add below
}
else{
$msg .= $lang['comments_deactivated'];
}
-
thanks for all ur help
i make what u say
now user can add comment in his own images but the problem he can add comments in other users image
can we mak the user add , del , edit comments in his own images only
i hope u can
-
i'm sorry i'm very sorry alekinna
it's work
when i see that the commend form still there i think it do't work
but when i try to make the user make comment in other user iimage ho did't make it
thank u thank u