Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Disable Deleting of Specific Nodes (Read 1047 times)
Nedor
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Aug 6th, 2010
Disable Deleting of Specific Nodes
Sep 22nd, 2010 at 7:30am
Print Post  
Is there any way to disable the user deletion of some nodes?
I have some nodes which are part of a group. This nodes shouldn't be deleted directly by the user. Only if the Groupowner Node is deleted they should be deleted.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Disable Deleting of Specific Nodes
Reply #1 - Sep 22nd, 2010 at 10:17am
Print Post  
You can handle NodeDeleting and set e.Cancel = true if e.Node.MasterGroup is set. Or just set Locked = true for the attached nodes if the user is not supposed to even select them.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint