Forum Replies Created
-
In reply to: How To bp_set_member_type?
thanks Henry, will you help us to sort it out. take a look at this code.
bp_register_member_type( 'student', array( 'labels' => array( 'name' => 'Student', 'singular_name' => 'student', 'role' => 'subscriber' ), ) ); } add_action( 'bp_init', 'bbg_register_member_types' );will this code set a user role as subscriber ?
and lastly after registering member type by using above code, how show member type ‘name’ in header (or in meta fileld or out put it any where ) ?
thank you
In reply to: BP 2.2 beta 2 member-type selectable by memberi have a question for r-a-y, is it not possible to make it one time select able (for users), i mean locking down after selecting once or twice.
but admin can change it on user request ?or making it available on registration form only ?
i also saw the ticket above mentioned but its just hiding the box from user, i dont think its a perfect solution. i will be good to hide after selecting a member type by a user .
Try this ..
Make a blank page and name it to buddypress.Php
And copy only post loop from your page.php, exclude comment codes and paste it to buddypress. Php .In reply to: How To bp_set_member_type?I too doubt this code,we need to set the array in loop,by using if and else statements. It will be great help if some one make it here .
In reply to: How To bp_set_member_type?Thanks henry, but how about adding 3 different types of member types Eg : 1) student. 2)staff 3) collage ?
And how to assign the user roles? I mean students are just subscribers , they don’t need to create a blog & group etc [ some sort of restrictions ] and college user type can have admin rights etc . thank you once again .In reply to: How To bp_set_member_type?I am also waiting for the tutorial for this, plus adding user roles and restricting users capabilities by member types and their assigned roles.
Since buddypress 2.2 is in beta stage most of the devs are playing with this new query so that they can provide error less tutorials and plug ins. So wait till bp 2.2 officially launch. In the top announcement one of the dev has promised for the tutorial .In reply to: Members Loop – Filter by User RoleHi cofeewebdev will you please share your solution. Thanks in advance