We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Bug with User Roles - User Credits | Forum

Omari
Omari Oct 24 '14
When this plugin is enabled. Assigning User roles to add/limit features does not work. E.g. If set so only one type of user can add videos. with this plugin enabled everyone can now add videos
Skalfa LLC Partner
Skalfa LLC Oct 27 '14
Omari, if you don't want user to be able to complete certain actions via credits and would like this action to depend only on the configurations of your user role, you will need to "disable" this action within our plugin. Don't put credits to"0". This won't work. Action needs to be disabled ( if you visit settings page of "User Credits" plugin, you will see "disable" button next to each available action).


Omari
Omari Oct 27 '14
thanks for the explanation, but this configuration introduces a bit of an issue... in that for certain roles I want you to gain credits by adding videos but I dont want other users to be able to add video. E.g. Teachers gain credits by posting videos, students aren't able to add video.

The configuration you present with user roles is a bit problematic, as I can see this causing issues in other site setups, especially if someone just installs the plugin and realises their default oxwall user role configuration has been taken over by an external plugin.

Skalfa LLC Partner
Skalfa LLC Dec 4 '14

Omari, your site conception is quite specific and requires some individual configurations. Please find below explanation on how we see the configurations on your site basing on the existing functionality:


1. Create two Account Types: Teachers and Students

2. Create two Roles in addition to Free role: Teachers and Students

3. Assign the Teachers role to the Teachers account type and the Students role to the Students account type. 

4. Uncheck 'Add Video' action for Free and Students roles, and check it for the Teachers role.

5. Go to the User Credits plugin settings. Select the "Teachers" account type at the top of the settings and set positive ("5") value to 'Add Video' action.

6. Switch the account type to the "Students" and click the 'Disable' button for the 'Add Video' action. 


These configurations will allow you to grant Teachers by credits for the video upload and won't allow Students to upload a video. 


Do not hesitate to contact us if you have further questions.


The Forum post is edited by Skalfa LLC Dec 4 '14
You do not have permission to reply this topic