Community & Support

Advanced_Forum Permissions Help - Delete Own Topic Not Working

I am using advanced_forum at http://www.lonestarfishing.org .

I have permissions set to allow users to:

Create Forum Topics
Edit Own Forum Topics
Delete Own Forum Topics

See permissions here: http://www.lonestarfishing.org/images/permissions.jpg

Members that post replies are not able to delete their own replies/topics. The can Edit, Reply, and Quote but the delete button is not available unless I give them "administer_comments" permission, which gives them the ability to delete other's Replies.

What am I missing here? Shouldn't members be able to delete their own replies to a Topic?

Thanks in advance

System Config Below:
=============================

Drupal 6.14
Access to update.php Protected
CAPTCHA Already 4 blocked form submissions
Configuration file Protected
Cron maintenance tasks Last run 12 min 52 sec ago
You can run cron manually.
Database updates Up to date
File system Writable (public download method)
GD library bundled (2.0.34 compatible)
Image import Import directory /var/www/html/tmp exists.
Image module directories Exists (sites/default/files/images).
Image toolkit The gd toolkit is installed.
MySQL database 5.0.84
MySQL database for event module 5.0.84
PHP 5.2.9
PHP memory limit 64M
PHP register globals Disabled
Unicode library PHP Mbstring Extension
Update notifications Not enabled
Web server Apache/2.2.11 (Fedora)

Comments

.

That's nothing to do with AF. It's the comment module. And I'm fairly sure that's normal behavior to not allow non admins to delete their comments.

Michelle

-----
Shell Multimedia - My sporadically updated mostly Drupal blog.

I'm also having the same issue with the Advanced Forum and am not seeing the ability to delete a forum topic or comment. My expectation would be that an authenticated user would be able to delete a comment or topic right from the "page" itself.

Comment Module:
access comments - authenticated users
administer comments - authenticated users
post comments - authenticated users
post comments without approval - authenticated users

Forum Module:
administer forums -admin
create forum topics- authenticated users
delete any forum topic - admin
delete own forum topics - authenticated users
edit any forum topic - admin
edit own forum topics - authenticated users

Am I missing anything? Any ideas are greatly appreciated. Thanks!

Michael

Right From The Page Itself (Delete | Edit | Reply)

Problem:
delete | edit links are not included directly on the page itself for the original post.

Goal:
Allow the user who created the post to delete | edit | reply directly from the post itself.

Solution:
Check to see if the logged in User is the author of the post, if so, provide the appropriate links to deleting and editing the node (the user's actual ability to perform these actions is of course based on the permission module for delete own, edit own). I basically "worked around" this by replacing the print $links code in my node-forum.tpl.php file with the following.

<?php if ($user->uid == $uid): // See if logged in User is Author of Post ?>
  <ul>
    <li><a href="../comment/<?php echo $nid; ?>Delete">Delete</a></li>
    <li><a href="../node/<?php echo $nid; ?>/edit">Edit</a></li>
    <li><a href="../comment/reply/<?php echo $nid; ?>#comment-form">Reply</a></li>
  </ul>
<?php else: // If logged in User is not Author ?>
  <ul>
    <li><a href="../comment/reply/<?php echo $nid; ?>#comment-form">Reply</a></li>
  </ul>
<?php endif; ?>

Follow Up
This worked for my needs. Not entirely too sure if this is what you are looking for, but... Hope it helps!

Thanks

Thanks, Dale. I'll give it a shot.

Michael