Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsIs there a wa way to restrict deletion of events?Is there a wa way to restrict deletion of events?
Previous
 
Next
New Post
12/10/2008 2:24 PM
 

I'd like to allow others to post a request for event with moderation, but not allow them to delete, or if they want to , require the deletes to be moderated.  Is this possible or is there a workaround?  I know new events can be moderated, but "changes" don't seem to be moderated as the tooltip says..

 
New Post
12/10/2008 4:24 PM
 

There's no way I know of to do this without altering core EVENTS code.

You can get part of the way there with a small JavaScript hack (see below) that will remove the "DELETE" option from the event DETAIL view for all user roles except HOST or ADMIN.  Unfortunately you can't use the same trick to remove the "DELETE" option from the event EDIT page.

Script Hack
In case you're interested, here's one way to hide the "DELETE" option from the event DETAIL view (without altering DNN code) for all users except ADMIN and HOST users:

In your EVENT module's SETTINGS->ADVANCED SETTINGS->FOOTER, add the following code:

< script >
  if (!document.getElementById('IconBar.ascx_cmdInstallModules'))
  {
    try { document.getElementById('dnn_ctr
(your EVENTS module ID here)_Events_EventDetails_deleteButton').style.display="none"; }
    catch (err) {}
  }
< /script >

That's it. You can find your EVENTS module ID value in the page URL (your browser's address bar) while you're on the module's SETTINGS page.  The module ID is the value that follows "ModuleId" in the URL.

-mamlin


esmamlin atxgeek.me
 
New Post
12/11/2008 6:25 PM
 

Do you know if enhancing the security of this module is something in the works? It seems like a security flaw that someone creates the event and then changes all the dates and details around without re-approval...

 
New Post
12/14/2008 1:00 PM
 

I believe if you edit an event that is moderated, it will need to be re-approved. However, I don't think a deletion needs approval. Perhaps you would like to raise this as a request on Gemini. The details are in my signature.

Cheers
Roger


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
12/15/2008 1:57 PM
 

Thanks for the advice.  I've posted a bug report.  Hopefully it will get addressed in a near future release .    For now, I'll just move edit access to only a few managers...

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsIs there a wa way to restrict deletion of events?Is there a wa way to restrict deletion of events?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out