hi,

i wanted to make my users able to administer shoutbox (read: delete and edit posts) without making them able to moderate it (read: without showing them voting icons as they dont want this). This patch make them able to do this. User without the moderate rights wont see the up/down icons, users with administer rights will be able to delete/edit ALL shouts.

I don't use voting at all in my shoutbox, and it seems my patch can break some thing there. I made an ugly " } else { return 1;}" to make the icons appear, but it seems you wanted to make them only appear if the user hasn't voted yet, wich doesnt work.

Regards,

Charly

CommentFileSizeAuthor
shoutbox_admin_modereate.patch2.78 KBcharly

Comments

disterics’s picture

Assigned: Unassigned » disterics
disterics’s picture

Checked in code for 6.x branch.
Working on porting it to 5.x

disterics’s picture

Status: Needs work » Fixed

Checked in code for the 5.x branch.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.