BuddyDev

Search

[Resolved] Blog Categories for Groups – Automatic category

  • Participant
    Level: Initiated
    Posts: 2
    kristina voynova on #1330

    Hello,

    Thank you for the useful plugin.

    Is there any way to force it to automatically create a category with the group name?
    The category list is a problem because it allows users to add their blogs just about anywhere – and some of those categories they are not even meant to see.

    Any tips would be appreciated!

    Kristina

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #1336

    Hi Kristina,
    Welcome to BuddyDev forums and thank you for asking.

    Please give me around an hour and I will post the code.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #1338

    Hi Kristina,
    I have managed to write some code that creates a category with group name when group is created.

    What do you suggest for already existing group? should we check and create for them when user visits the blog tab?

  • Participant
    Level: Initiated
    Posts: 2
    kristina voynova on #1339

    Hello Brajesh,

    Thank you very much for your attention.
    I guess it would be useful to add that function (for existing groups) for anyone else that may need this 🙂 For me though, it’s all going to be brand new

    Kristina

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #1340

    Hi Kristina,
    Thank you.

    1. Please upgrade to blog categories for groups 1.2.1(It is required only if you want to disable the create step category selection screen & group admin manage screen for category selection)

    2. Please put the following code in your bp-custom.php

    https://gist.github.com/sbrajesh/186460e14bbd1f9e5910

    I have left the top ‘

  • Participant
    Level: Initiated
    Posts: 2
    kristina voynova on #1341

    Brajesh,

    Thank you so much!!!

    Kristina

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #1353

    Hi Kristina,
    You are most welcome 🙂

    Should we mark it as resolved then?

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #1404

    Hi Kristina,
    I am marking it as resolved assuming the above code worked for you. If you need further assistance, please reopen it.

The topic ‘ [Resolved] Blog Categories for Groups – Automatic category’ is closed to new replies.

This topic is: resolved