Thank’s for quick reply.this code add the user role but does not work as properly.When user register as fronted side and show the user list as back end side users => all user’s that time user add in particular roll but when active that user that time automatically role change and become as subscriber.
sorry, Your solution is working properly for join community but pagination is not work so i am confuse.
Please help how to manage pagination for join community and how to pass value from ajaxquery string.
Thanks for reply.But this code does not helpful for me.I want to create new tab on group home page join group next to suggested tab.
Group Home Page have three tab.
1) My Group
2) Suggested Groups
3) Join Group.
First two tab is worked but third tab is not work.Please help How to fetch only join group not created by me.
Thanks.