FORUMS CLOSED DUE TO SPAM. YOU STILL CAN ADD POST!

customize User's role

Feed 6 posts, 3 voices

Avatar
2 posts

how modify administrator, developer and editor role, i can create new role??

tnks!

 
Avatar
257 posts

You can manually edit the user table to create new types at the moment. With the 0.9.5 release I will be releasing a registration plugin that will give you an interface to add and remove user types…

 
Avatar
125 posts

Hi Andy,
is it possible to have a user homepage (location, contact, informations…) ?

 
Avatar
257 posts

Hey oweb – it should be very easy to do those things but they won’t come with this plugin. This is intended to be a base plugin for user orientated plugins. There’s some more detail in the documentation that comes with the plugin (which I’m still writing). Basically, if a user is logged in you can retrieve their user_id (and therefore anything you associate with that ID) using something like:

<?php $user_id = AuthUser::getRecord()->id; ?>

 
Avatar
125 posts

Is it a 0.9.5 function ?

 
Avatar
257 posts

I don’t think so – more than likely available in the backend for a VERY long time then now available in the front thanks to the 0.9.5 developments.

 
Avatar
125 posts

Thank’s for explanations.
If you have freetime for this kind of plugin… ;)