-

Note: You are currently viewing documentation for Moodle 3.10. Up-to-date documentation for the latest stable version of Moodle may be available here: Anonymous posting plugin.

Anonymous posting plugin: Difference between revisions

From MoodleDocs
m (clean up, typos fixed: beeing → being, standar → standard, an user → a user (2))
 
Line 1: Line 1:
== Description ==
== Description ==
Local plugin for allowing anonymous posting in forums.
Local plugin for allowing anonymous posting in forums.


Line 11: Line 10:
It is recommended to create a new custom Student role (Anonymous student) with all the capabilities restricted excepts the forum ones.
It is recommended to create a new custom Student role (Anonymous student) with all the capabilities restricted excepts the forum ones.
The capability for deleting own posts in a forum must be disabled also.
The capability for deleting own posts in a forum must be disabled also.
In the global configurations you can choose this new role for beeing used as the default role for the anonymous users in the course and the activity.
In the global configurations you can choose this new role for being used as the default role for the anonymous users in the course and the activity.


Once enabled, users will see new buttons and links for posting or replying as anonymous users.
Once enabled, users will see new buttons and links for posting or replying as anonymous users.


When an user click in one of these link, is logged in as a special Moodle user account called "Anonymous users", once they have posted a new message they can recover their actual session using a link displayed in the settings block.
When a user click in one of these link, is logged in as a special Moodle user account called "Anonymous users", once they have posted a new message they can recover their actual session using a link displayed in the settings block.


== How it works ==
== How it works ==


Using javascript some links are added to the standar forum pages:
Using javascript some links are added to the standard forum pages:


Add a new anonymous post
Add a new anonymous post
Line 32: Line 31:
Please note that:
Please note that:


* This plugin creates an user account in your Moodle installation
* This plugin creates a user account in your Moodle installation
* This user account has the login blocked
* This user account has the login blocked
* This user is enrolled in the course where the forum is
* This user is enrolled in the course where the forum is
Line 53: Line 52:
[http://tracker.moodle.org/browse/MDL-1071 Tracker issue]
[http://tracker.moodle.org/browse/MDL-1071 Tracker issue]


[[Category: Contributed code]]
[[Category:Contributed code]]

Latest revision as of 14:11, 4 February 2021

Description

Local plugin for allowing anonymous posting in forums.

Configuration

Go to "Admin block => Plugins" section for enabling/disabling the plugin and for choosing the default roles for the anonymous user in the course and the activity.

In a forum activity, there are options in the settings block for enabling and disabling the anonymous posting feature.

It is recommended to create a new custom Student role (Anonymous student) with all the capabilities restricted excepts the forum ones. The capability for deleting own posts in a forum must be disabled also. In the global configurations you can choose this new role for being used as the default role for the anonymous users in the course and the activity.

Once enabled, users will see new buttons and links for posting or replying as anonymous users.

When a user click in one of these link, is logged in as a special Moodle user account called "Anonymous users", once they have posted a new message they can recover their actual session using a link displayed in the settings block.

How it works

Using javascript some links are added to the standard forum pages:

Add a new anonymous post Reply as an anonymous user

Once a user click in one of these links, a new page with a notice is displayed

This notice alerts the user that is going to be "login as" an anonymous user to allowing him to post into the forum.

Privacy and security notice

Please note that:

  • This plugin creates a user account in your Moodle installation
  • This user account has the login blocked
  • This user is enrolled in the course where the forum is
  • This user is enrolled in the forum
  • The navigation of the user is restricted to the forum in the course
  • The navigation is restricted using hacks in the navigation and settings block. At least one of this block must be present

Credits

Juan Leyva <http://twitter.com/#!/jleyvadelgado>

http://moodle.org/user/profile.php?id=49568

See also

Help forum

Plugin entry

Tracker issue