Skip to:

Detecting number of blogs created vs membership of blogs

  • Avatar of Lemmy


    I have some academic blogs hooked up to LDAP authentication. I let users create an account or create an account AND a blog when getting started. Now I would like to allow those who have just created an account to go back to the signup form and create a blog with the same account, if they want to do that.
    To allow this I have to check (if possible) how many blogs they’ve created in the past, as I want to limit the number of blogs each user can create. I’m also using group blogs with Buddypress though, so users can be members of any number of group blogs, or other users’ blogs.
    Is there any way to check how many blogs a user has created? I believe the group blog creation allows users to be subscribed as administrators, so checking on role isn’t going to do it.
    Is primary blog useful for this?
    Or will I have to set a user metadata value when a blog is created?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.