Count Total Users in a Group

In this little tutorial I will show you how you can count number of users in a group.. This was requested by wapkatutor members so we are adding it..

First let me introduce the group option in wapka.. :)
Think that you wanted to separate girls and boys in your site, you can do this with Groups function in wapka.. The Groups function allows you to make group of users.. Like Boys and Girls, Co-workers and family etc..
You can create new groups, delete the groups that you don't need any more, make changes, add users to the group and many many more options..
Goto ES > USERS > Click GROUPS link > You can do whatever written above and can do more as well [This is not the scope of this tutorial]
For this tutorial I am creating 2 groups.. i.e. ONE and TWO, now add some users to ONE and others to TWO group.. You should know the Group ID's that are written there after the # sign..
After this you will need the following code to count the users in group..

Now in above code change [ID] with the Group ID..i.e. 1
For example:

This will count all the users in Group ID 1 and will show its total number.. You can write any text before and after the code. For example you can write There are 23 Boys and 34 Girls in our site..

This is it, you have learnt how to count members in a group in your lovely wapka site... Keep visiting wapkatutor to get more about wapka!!

Join our facebook page
Create your own free wapsite in minutes
Request New Tutorials

19 comments:

  1. Nice .thanks 4 u know more teach about it... But can i get user's id example if any 1 register on wapka site then i get what is id of user please tell... Me (2.) and tell me i want online user with male and female picture and also gender sort..

    ReplyDelete
  2. Ahmed bro@ i want use icon, bbcode & smiley on ::var-N:: Code! How its possible? & also need ::user_rank:: on user statistic....

    ReplyDelete
  3. Naushad Akhtar@ You can have both via :user-tname: code and :userstats: code respectively
    Anonymous@ You can ask user to enter bbcode in the :egroup: tag and then use it with :userrstats: code

    ReplyDelete
  4. Admin bro plz tell process to make exloader plz.

    ReplyDelete
  5. Bro i want to know process to make exloader of any site not to set exloader.

    ReplyDelete
  6. Ok, we will try to add your request in our up next tutorials

    ReplyDelete
  7. www.tamildl.wapka.mobi,this is my site,but if i upload a file in file manager(not in users file uploader)it is showing that file limit have been exceeded.even if i upload more than three hundred kb,it is showing.file uploading limit in not 2mb.and also my site index page has some space in left and right.my site should like your fundunia

    ReplyDelete
  8. You need to have more space then the limit in your file manager.. If you are using ES > FILE UPLOADER then you can set the max allowed file limit in options.. :)

    ReplyDelete
  9. Sir plz tell me how to design download page

    ReplyDelete
  10. I will add the tutorial.. infact its the next tutorial to be added )

    ReplyDelete
  11. Thanks sir i'll read

    ReplyDelete
  12. Still i m waiting for download page tutorial

    ReplyDelete
  13. Sir please tell me how can desine forum same to same wapka please help me

    ReplyDelete
  14. You can find tutorial on forumlist in this site

    ReplyDelete
  15. Pls i nid to know how to design a download page and how to create a link to an existing theme not forum

    ReplyDelete
  16. find theme ID in url of the current theme..

    ReplyDelete
  17. Pls I need a group code that will separate user in group by their referers. I mean the group code that will show how many people you refer to join wapka in a group

    ReplyDelete
  18. Please i need wapka code that will count the member of my wapsite by their referral users. That will separate each referer's user.

    ReplyDelete

You are always welcome to add comments and suggestion about the tutoiral. Please note that, we do not allow misuse and if you have any questions write briefly so that our moderators can understand your message and reply as early as possible.