This is for front end Fan Pages and Groups

It's very important to always have Sub-Categories for your Main Categories as the script sorts Fan Pages and Groups by the Sub-Categories. Sub-Categories designate whether this is a Fan Page or a Group and without those, the script can't properly sort them. Make sure your users know to always choose a Sub-Category when making their page/group. Note that for these Groups, it is needed to do this way. If using the new (as of v4.4.0) Group App, please see this tutorial.

To make main Categories

The image below shows default Main Categories as a user would see it, front end:

When making the main categories there is no select to make this for a Group or a Fan Page. You would do that in the sub-categories. More on that later in the tutorial.

To Make Sub-Categories (Including for Groups)

If you want to make new Sub-Categories for your site's front end pages and groups, this is how to do it.  You can use the default Categories as the Parent or you can use the ones you make for it from the above tutorial.