|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 08/08/2008 15:35:09
Posts: 5,
Visits: 17
|
|
| I'm looking to hide the Delete Post button for users that are non moderators. I'm not concerned at all with which forums the users are moderators of (all the moderators have rights over all forums.) Anyone able to point me in the right direction? Cheers Justin
|
|
|
|
|
Support Supremo
      
Group: Customers
Last Login: 13/11/2008 12:44:07
Posts: 568,
Visits: 2,507
|
|
Justin Crabtree (3/30/2007)
I'm looking to hide the Delete Post button for users that are non moderators. I'm not concerned at all with which forums the users are moderators of (all the moderators have rights over all forums.) Anyone able to point me in the right direction? Cheers Justin Dear Justin, In the ctlTopicsRepeater_ItemDataBound method of InstantASP.InstantForum.UI.Controls. ViewTopic around line 1136 you can add the code: imgButDeletePost.Visible = MyBase .CurrentContext.CurrentUser.IsModerator
|
|
|
|