Jump to content
Sign in to follow this  
franciccio-ITALIANO

Can I Create some GROUPS of users?

Recommended Posts

I must choose if create groups of users by buddypress of wordpress, or by login system of processwire.

In my project, each users group exist for send an emal in post for each new comment.

I see that in processwire, in comment area we can subscribe the discuss.

So,  I would like to know if exist a simple way to create a list of own groups in each profile member.

I hope I explain my problem!

Peraphs, is better and faster to use buddypress, right?

Share this post


Link to post
Share on other sites

You can create roles in ProcessWire. For example GuestsA, GuestsB, GuestsC and easily get 'em via Api.

// Get them
$usersA = $users->find("roles=GuestA");

// Check them
if($user->hasRole('GuestA')) 

 

Also you can create custom fields inside the user-"pages".
So you could create a selectfield which you can set with a hook after registration.

$users->find("yourcustomfield=groupA");

 

  • Like 2

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...