==== Wikka Mod 012 ==== Type: Feature Addition ---- ===Credit:=== **[[http://web.archive.org/web/20040603194747/http://www.wakkawiki.com/GenkiCodeguru | GenkiCodeguru]]** and **[[http://web.archive.org/web/20040826080955/http://www.wakkawiki.com/TobiasHesselmann | TobiasHesselmann]]** [[http://web.archive.org/web/20040820215904/http://www.wakkawiki.com/DeletingComments | DeletingComments @ WakkaWiki]] ---- - Users can delete their own comments. - Page owners can delete any comments on their pages. - Admins can delete any comments. ---- ===Deleting Comments=== Hi all, I figured out a way to have an owner delete his own comments off of his pages. First you have to edit **handlers/page/show.php** and add the following lines, all __old__ lines commented out, so only add those lines without the comment between those lines in the original show.php. %%(php) UserIsOwner()) $allowed_to_delete=1; // foreach ($comments as $comment) // { // print("\n"); // print("
Sorry, you're not allowed to delete comments on this page.