Skip to:
Content
Pages
Categories
Search
Top
Bottom

Moderate Users and New Blogs


  • Wardee
    Participant

    @wardeh

    Hey, guys… Anybody know how to do moderate new users and new blogs created through a BP driven site?

    I found this hack (http://wpmututorials.com/hacks/how-to-moderate-signups/) and followed it well. Problem is, BP overrides (??wrong term??) the WPMU signups.

    So, it doesn’t really work for me.

    I look in bp-core and found the signup functions but it doesn’t remotely look like the above code in order for me (in my limited ability) to hack into it.

    The above hack has WPMU send the activation email to the admin and lets the admin activate the new user and/or blog, then sends the password(s) to the new user (for both registration and/or blog creation). I would really like to have this capability with my BP installation.

    What I’d really love is for someone to write a plugin to do this so that I don’t have to hack the files each time I upgrade BP. But I’d settle for a hack at this point.

    Any ideas????

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

  • Burt Adsit
    Participant

    @burtadsit

    bp just relies on the mu registration and login stuff wardeh. It adds a few fields by hooking some wp things to add extra profile info but it relies on the settings in site admin > options for ‘allow new registrations’. Thems the standard options in mu. Anything else is a mod or plugin.

    If it works for mu (the moderation plugin you found) then it works for mu/bp. Any mu or wp plugin should work for ya. Unless there is some bizarre conflict with bp which I haven’t run into yet.

    bp is just another mu plugin like all the rest. Well, more wildly cool and useful than all the rest, but it’s still YAMP. (Yet Another Mu Plugin)

    :)


    Wardee
    Participant

    @wardeh

    Hmmm… Well, it didn’t work. Unless I did it wrong (which is very, very possible).

    I changed the code according to Andrea’s hack (above). But BP still sent out its own message and activation link, regardless of my changes. So it seemed to me that it overrode my WPMU message changes.

    But I’ll try again. Thanks, Burt.


    Burt Adsit
    Participant

    @burtadsit

    Lemme take a look at that area.

    Yep, bp does snag the ‘wpmu_signup_user_notification’ event and doesn’t allow mu to do it’s thing. Looks like bp takes over the email to the user with the user’s activation link. Sorry, I just thought bp just added some xprofile stuff.

    Wonder why it traps the email activation to the user? Gonna go look.


    Wardee
    Participant

    @wardeh

    Oh, that would be great! You know what you’re doing and I don’t. (But I’m learning.)

    Thanks so much.


    Burt Adsit
    Participant

    @burtadsit

    Boy are you *not* living in reality wardeh. I’m a noob with a text editor and the desire to know how bp, mu and bbpress work. :)

    Lemme go look at that hack you mentioned.


    Wardee
    Participant

    @wardeh

    Well, if you’re a noob, then I must be… pre-noobian.

    I mean… pre-pre-pre-pre-noobian.


    Burt Adsit
    Participant

    @burtadsit

    lol. Ok, I kinda get what the hack is supposed to do and you can do the same style of thing in the /bp-core/bp-core-activation.php file. It contains the bp replacement functions that mu normally does. Some of the functions are also in bp-xprofile-signup.php.

    That post is kinda confusing as to what to modify and where. I get the gist though. Telling someone else how to modify a bunch of functions and why they are doing it isn’t real easy. It’s hard to be clear.

    Have fun.


    Wardee
    Participant

    @wardeh

    Okay! I see the same functions, too! I’m going to try the hack here… Thanks, Burt.

    Personally, I have a combination in effect. I use the plugin wp-hashcash and that helps stop “robot” registrations nicely. For restriction, I personally use Dsader’s Admin Approve plugin which is wonderful as nothing is activity for blogs until the admin approves. Doesn’t help with user registration “per-se” so I also use Signup Question on my more private install as well. I just change it to a normal question with a normal answer to only get people I want registering. It can be altered to almost having an “invite” code if you give the answer to people you want to register!

    Getting a bit off topic, so I will stop there.

    Trent


    Wardee
    Participant

    @wardeh

    Thank you, Trent.

    I had tried Admin Approve (Moderate New Blogs) plugin but thought it wasn’t working, so I turned it off. One of my users was creating blogs over and over and over again because she didn’t know that I had to moderate blog creation. So I thought BP was overriding this and not letting her know that her blogs were going into the moderation queue. Apparently (by your use of it) there must have been something else happening, so I can give that a try again.

    Because hacking bp-core-activation is not working for me yet!!! (Sorry, Burt, I’m trying…)

    I don’t mind you getting off topic. You’re full of information and I appreciate every bit of it.

    Not sure if this is what you’re looking for, but hope it might help!

    http://wpmudev.org/project/Moderate-New-Blogs


    dheerajsingh
    Member

    @dheerajsingh

    I have posted the solution on this thread

    https://buddypress.org/forums/topic.php?id=1696

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Moderate Users and New Blogs’ is closed to new replies.
Skip to toolbar