Add categories for new users on a multisite

Hi there!

I am looking for a solution here for adding categories for new users. The site is a blog portal that allows users to sign up and have their own blog subdomain. I need to be able to give these users the option to choose 1 of a number of “blog categories” when they sign up. Meaning, I need it to be a part of their user profile as soon as they sign up.

I doubt there is a plugin for this type of functionality so I am wondering if anyone can give me some guidance towards solving this myself? Which tables should I modify in the DB and what functions should I modify in my functions folder?

Any help would be greatly appreciated to get me off in the right direction.

Cheers

B

  • B
    • Flash Drive

    Hi Jack,

    Well the plugin seems to do MOST of what I need, but on the main categories page all I can do is list the categories… I need to be able to have the same functionality on the individual pages for the main category page.

    For example..

    On the “Categories” page. There will be the 4 categories of the site. Under each category heading I need to display a number of the blogs with a Next button.

    So when someone clicks a category from the drop down menu, it will just come to this page and slide to the appropriate category heading… All of this I can handle except how to get the actual results for the blogs of each category.. I could hack the plugin code, but I’m hoping there is a much more elegant way of doing it… as it is right now, I just have a categories page with the 4 headings and no blogs to show under them…

    I hope you get my meaning?

    Thanks

    B

  • Jack Kitterhing
    • Code Norris

    Hi there,

    Hope you’re well today.

    That does make sense, at the moment say you have your main “categories” page. Then you can select your category, which should have a blog count next to it, and that when selected, gives you the the list of the blogs in that category with their description and image.

    Or are you looking for a more jQuery powered way of displaying these blogs? :slight_smile:

    Please advise, thanks!

    Kind Regards

    Jack

  • Paul
    • The Green Incsub

    @B,

    If you know anything about WordPress WP_Query coding you can build your own output. The plugin uses a normal Taxonomy ‘bcat’ registered on the primary site. So you could build your own WP_Query to display things how you want.

    I’m still not sure I follow what you are trying to accomplish.

  • B
    • Flash Drive

    Hi guys,

    As it is right now, it displays the 4 categories no problem. I have the header and titles modified and looking how I want, but in the MAIN site categories page (this one where it shows all of the categories) it DOES NOT display the blogs under each category… it’s essentially just a list of the categories and their images with no additional info… After you click on one of the categories, however, and go through to the mywebsite.com/categories/this-cat-page, it will show the blogs in that category…

    Paul, I was thinking of doing that as well. It seems to be the easiest and quickest solution as the plugin is limited in display methods for it’s different pages.

    B

  • Paul
    • The Green Incsub

    @B,

    I have the header and titles modified and looking how I want, but in the MAIN site categories page

    I guess by ‘MAIN site categories page’ you are referring to the Site Categories Landing page?

    it DOES NOT display the blogs under each category…

    Correct this is by design. The landing page first shows the categories. There you can show the category description, presentation in grid, accordion, lists. Show how many sites within that category. And correct you click the category link and is shows a second page with a list of sites within that category.

    Paul, I was thinking of doing that as well. It seems to be the easiest and quickest solution as the plugin is limited in display methods for it’s different pages.

    Yeah, well can’t produce a product what will be acceptable for 100% of the users. It should be pretty easy to build your own WP_Query to extract the ‘bcat’ taxonomy terms. Oh and realize the ‘bcat’ taxonomy is only registered on the primary site. so if you plan on doing any output on a sub-site you need to switch to the primary blog first. Good luck.