Terms and Condition by space or role

Events happening in the community are now at Drupal community events on www.drupal.org.
Mariana Achelat's picture

Hello

I have an OA site with my first space working as a "course" with sections for homework, calendar, resources and team sections for team work. The idea is make this space blueprint for create more courses like this and other 2 types of "courses" (space blueprint). I need to do "legal terms" for users but different for each space (course) or can be by role too and I can create role by type (blueprint) of space.
Also I need a list of users who accepted the terms.
I tryed with the "legal module" but only has one "Terms & Conditions" per site, can not make differences by role or other option.
Anyone have an idea how can I do this?

Comments

You could go to

paean99's picture

You could go to admin/config/group/group-membership/manage/og_membership_type_default/fields and add a text field with the licence (or edit the request field) and a checkbox field.

Since you don't want the terms and condition to be editables, you can use https://www.drupal.org/project/field_readonly or another solution (panels can do it, i think).

You can then view the info at group/node/#nid/admin/people.

Thanks paean99

Mariana Achelat's picture

I am going to try that, thanks for the tips.

Final solution

Mariana Achelat's picture

I set the terms fields in user account because the group membership is added by admin.

I added 2 fields: a select list called type of terms and multiple text fields for each Terms & Conditions. I made a dependence of these fields to show only one terms depending on the type of terms is selected and made the field terms required.

The field for terms is a check box with only one value: accept. In the help text I write the terms. I also used the "label help" module that show the help text in the top of the field and not in the bottom as the default help.

With these when admin created a new account and sent the welcome e-mail, the users are forced to add they password and accept terms to enter the site.

Hope this can help others...

Open Atrium

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: