can u tell me how to make only me the owner uid 1 perm 4 delete photo and photo comment?
Only Owner Can delete
Collapse
X
-
i think he's asking he should only be the one that can delete it..
well, just remove the mod part and leave only the admin part in genproc for deleting photos or commentsLDSWAPWORLD sigpic
site closed.
im busy with other things in life like facebook , send me PM so i can add you
www.pinoySG.com
don't ask for help if you're not even helping yourself!
i am tired of seeing the line "best site", i want to see something NEW and UNIQUE. maybe if i find one, ill go back to my wap life again.

Comment
-
this is so funny as when host put if username = crazybrumi (for example) you cannot delete this person lol, whats the point cos u can just rename the person if your the other owner who has got pisd of with the server lol. when renamed you would be able to delete the user crazybrumi. this code above would be the fix for this. i only made people aware of this because people who ask for a site said they deleted the host cos they pisd em of but had to rename them lol.PHP Code:if($uid=='1')
{
echo "<a href=\"genproc.php?action=delgal&sid=$sid&gid=$item[0]\">Remove This Photo</a>";
}
Comment
-
suppose i type in the verify area?(genproc) i'll still be able to delete photos...........Originally posted by Dj-marc View Posthere is the code for uid 1
let me knw if it workCode:if($uid=='1') { echo "<a href=\"genproc.php?action=delgal&sid=$sid&gid=$item[0]\">Remove This Photo</a>"; }
R.M.C
----------
PHP Adovocate B)
Comment


Comment