bbPress Plugin Browser »

BB Anonymous Posting (2.2)

Download

Version: 2.2

Other Versions

Last Updated: 2008-5-21

Requires bbPress Version: 0.9.0.2 or higher

Compatible up to: 0.9.0.2

Author Homepage »

Plugin Homepage »

Donate to this plugin »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(5)

Your Rating

Author: so1o


  1. I have updated the plugin with the following two options

    1) Anonymous Users must supply credentials when creating Topics
    - Adds input-fields for email and display name (Just like when adding a comment in WP)
    - Is limited to the topic-author, no validation of following posts.
    2) Anonymous Users can only reply to their own Topics
    - Prevent anonymous users from replying to other topics than their own (uses the email as key)

    I guess when the meta system is extended to support meta-data for posts, then one can also require credentials for anonymous users posting to other topics than their own.

    I can email the new plugin-code if interested (or create a patch).

    Posted: 3 years ago #
  2. Ailana

    Member

    Hi, snakefoot

    Could you send me the new plugin-code? analiank [@] hotmail.com

    Thanks!

    Posted: 3 years ago #
  3. I have mailed you the modified version of the plugin-code.

    Posted: 3 years ago #
  4. Under bbPress 1.0 it is now possible to have post meta data so adding the same info that's used under WordPress (name, website, email) is technically possible to store. Of course you'd also have to add the code to input the fields and display them later in posts. None of this would be standardized though so bbPress would be "unaware" of the extra meta.

    Posted: 3 years ago #
  5. snakefoot, you added the extra fields for name and site?

    Maybe post the code on http://pastebin.com

    I have an idea how to add post meta for all bbpress versions and also a captcha.

    Posted: 3 years ago #
  6. Starting with version 0.8.0, the Human Test plugin now supports the bb-anonymous-posting plugin with a challenge question automatically placed above posts/topics.

    This should help prevent automated post spam.

    Posted: 3 years ago #
  7. mithrandir321

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Member

    Hello, I replaced the BB_user with WP_user as chrishajer suggested but the plugin won't work. For example, one recurring error: if I try to activate anonymous topic posting, it gives this error (similar occurs while attempting to post anonymously).

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/home1/novapojistovna_cz/public_html/www/bbpress/bb-includes/backpress/class.wp-user.php on line 53

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/home1/novapojistovna_cz/public_html/www/bbpress/bb-includes/backpress/class.wp-user.php on line 55

    Warning: Cannot modify header information - headers already sent by (output started at /home/home1/novapojistovna_cz/public_html/www/bbpress/bb-includes/backpress/class.wp-user.php:53) in /home/home1/novapojistovna_cz/public_html/www/bbpress/bb-includes/pluggable.php on line 214

    I've got bbPres 1.0-alpha-2 and Anonzmous posting 2.2

    Posted: 3 years ago #
  8. I doubt this works yet with 1.0 which is why you are getting errors. Some of the hooks are advanced and 1.0 changed some things. The two main errors there are related to users (the third is caused by the first two errors).

    Posted: 3 years ago #
  9. Oh and never refer to wp_users or bb_users directly.
    Let bbpress fill it in properly via
    $bbdb->users
    That will always be the correct table name.
    Make sure $bbdb is available via:
    global $bbdb;

    Posted: 3 years ago #
  10. geltoorch

    Member

    any update on using this plugin for 1.0? as far as i can see, it just gives a fatal error...

    if anyone can help me out, i would be very grateful.

    also, it would be nice to add snakefoot's changes (allowing name and other fields for anonymous posts) to the plugin to the next release, which would presumably be compatible with the alpha release.

    Posted: 3 years ago #
  11. I've now combed through this plugin and fixed it for bbPress 1.0

    http://bbshowcase.org/plugins/bb-anonymous-posting_ck_mod.zip

    I've also fixed a quirk or two for it under 0.9 where it would not manage the user id correctly and modify the db as the original author intended.

    It also should now work for IIS users, I don't believe the activation hook would properly fire because of a bbPress IIS bug - I put in a workaround.

    If you use this mod with 1.0, also upgrade
    my Human Test plugin to 0.8.2 for proper support.

    Posted: 3 years ago #
  12. geltoorch

    Member

    thanks, ck! i gave to your monitor fund to show my appreciation.

    anyone have ideas on how to add display name functionality (like wordpress comments) to this plugin?

    Posted: 3 years ago #
  13. Adding display names and other info like WordPress does to anonymous comments is going to be much more difficult.

    It's easy to ask for the info, but storing it and then making the data available to bbPress's regular internal functions is going to be a bit tricky. 1.0 makes the storage part a little easier but I want to also make it compatible with 0.9

    I might take a shot at it by the end of the year but don't hold your breath.

    ps. thank you very much for the donation!

    Posted: 3 years ago #
  14. I've now update my mod to also allow anon users to properly add tags to their new topics during the first post if you are allowing new topics for anon users. (but they cannot add tags afterwards of course or the bots would have a blast)

    http://bbshowcase.org/plugins/bb-anonymous-posting_ck_mod.zip

    Posted: 3 years ago #
  15. Just a quick question, the user "anonymous" is still inactive in my database, do I need to activate it and set it to a role before it can post? And if so, I also have the Hidden Forums plugin on my forums. When changing the role of the anonymous user, it will also be able to see the hidden forums.

    Also, when not logged in, I don't see the area where to enter text for a new post/topic. Am I doing something wrong?

    I use BBPress 1.0 RC2 and the latest mod version from _ck_

    Posted: 3 years ago #
  16. The anonymous user should not appear in your member list. Are you saying you can see them?

    Anonymous users should not be able to see hidden forums, are you saying they can?

    You should see a new post form at the bottom of each topic, or if you have write_topics enabled, you should be able to ADD NEW when logged out.

    If you can't do that, there is something wrong.

    Also make sure you upgrade Human Test to the newest version.

    Posted: 3 years ago #
  17. Yes, I can see the user anonymous in my database as a registered user. But that is correct I think because the plug-in registered that user. At least, that was in the readme file.

    But the user is inactive, and my question was, do I need to change the status/role of the user to anything else than inactive? And if so, for example when I change the status to member, will it then also be able to see the hidden forums? Because that filters on capabilities/role. And the role member can see the hidden forums.

    The problem is, that I installed the plug-in but when I am not logged in, I cannot post anything. And asaik that is exactly what this plug-in is supposed to make possible, right? I don't see the new post form. Maybe that is related to my custom theme?

    I don't have the human test plug-in installed (yet)

    Posted: 3 years ago #
  18. I just checked, when I switch back to the default theme, I also don't see the new post form. I just see an empty line where the form should be.

    Posted: 3 years ago #
  19. The original author did not change the user_status field so I left it alone. bbPress typically sets the user to active after their first login after registering, but since the login never happens for anonymous, it never changes. It should not affect anything.

    Now as far as it not working for you, that's a bigger problem because I have it working on 1.0 trunk and at least two other people have it working on 1.0 alpha. If it's not working in the default template it can't be the hooks.

    Have you tried deactivating/reactivating it?

    There is a possibility another plugin is interfering with it. What other plugins are you using?

    Oh and last but not least are you on IIS or apache?

    Posted: 3 years ago #
  20. My server runs Apache (latest version) and I just tried to de-active and re-activate the plug-in and that seems to have worked... I tried that before but then I didn't have your version installed yet.

    I now see the form. Thanks...

    I'm just glad that I didn't have to list all my plug-ins, because that would be quite a list! Most of them are yours btw.

    Posted: 3 years ago #

RSS feed for this topic

Add a Comment »

You must log in to post.