Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Disable private messages?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

First of all, a big thanks to the developers of this wonderful tool. I am a librarian and we use this tool for book discussions in a mentoring program. If it is possible, I would like to find a way to disable the private messages function in our forum, since we don't want the students doing anything but public comments on the particular discussion topic. I have looked at the admin pages but can't discover if there is some setting that would do this for us.

Thank you in advance for your help with this.

Sara
[originally posted on jforum.net by saoyama]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no configuration setting to turn this off. There are various ways to manually disable this.

One is that you can edit the template files to remove all PM references.

Another way is to just leave the PM links but modify the templatesMapping.properties file to change the pm.sendform value to use a new template file that says "This function not available". (Note: The default is to share the same form used for making posts so you can't just change the template).

Both of these are sort of "security by obscurity" methods. If you need to ensure this doesn't work and are familiar with Java coding, you can look at the PrivateMessageAction class and make sure it doesn't work here. The quick way is to make the sendSave method return a "Function not available" page.
[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you so much. This is very helpful and should solve our problems!

Sara
[originally posted on jforum.net by saoyama]
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic