bbPress Plugin Browser »

WordPress-bbPress syncronization (0.8.0)

Download

Version: 0.8.0

Other Versions

Last Updated: 2009-9-20

Requires bbPress Version: 1.0alpha6 or higher

Compatible up to: 1.0.2

Author Homepage »

Plugin Homepage »

Donate to this plugin »

Average Rating

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

Your Rating

Author: Ivan Babrou <ibobrik@gmail.com>


  1. CyrixInstead, seems that your server doesn't allow outgoing connections, because I can connect to your server well. Check php settings and consult with your admin

    annejan, what about enabling plugin on options page?

    Posted: 2 years ago #
  2. Jim R

    Member

    I've followed all the comments regarding this issue:

    (Not allowed: [WordPress part] Cannot establish connection to bbPress part)

    I have both plugins installed and activated. I have my bbPress installed in the my-plugins directory.

    I have my bbPress URL set in WP as: http://hoosierhoopsreport.com/bbpress/
    For that I'm getting the following message: URL is incorrect or connection error, please verify it (full variant):

    I have my WP URL set in bbPress as: http://hoosierhoopsreport.com
    For that I'm getting that everything is OK.
    My secret key matches.

    I'm using WP 2.8.3 and the latest bbPress as of a week ago. I'm using .8 version of this plugin.

    Posted: 2 years ago #
  3. where did you installed bbPress plugin? can't acces my-plugins subdirectory, getting 404 for it

    Posted: 2 years ago #
  4. Jim R

    Member

    It is installed in the my-plugins directory. I'm looking at the directory now, but I also got the 404 error.

    Posted: 2 years ago #
  5. bobrik, thanks for the information that my server does not allow outgoing connections. I checked with my web host (heartinternet.co.uk) and the reason they block outbound port 80 http traffic is to prevent loopback connections (where the script goes out to the wider Internet only to come back to my server). This stops the server being able to get into an infinite loop if a php script is poorly written, and apparently also acts as a security measure.

    I am sure there will be other people using hosts that do such a thing, so I am going to post my solution here to help.

    In each of the synchronisation scripts a call is made using fsockopen (line 551 in the WP script and line 112 in the bbPress script - both version 0.8.0). In my case both WordPress and bbPress are both hosted on the same server so there is no need to go out to the wider Internet. Therefore by changing the following:
    @fsockopen($matches[1], $port, $errno, $errstr, 10)
    to
    @fsockopen('localhost', $port, $errno, $errstr, 10)
    you do not try and open an outbound connection and your server does not block the script.

    To be honest I am not sure if this creates any kind if security risk or anything, but certainly bobrik I would recommend you put this information into the FAQ or readme or something if it works successfully. Please le me know if this is a bad thing to do!

    ~Cyrix

    Posted: 2 years ago #
  6. Cyrix, It's good to think about FAQ or something like it, but I really have no time for things that don't give me money :)

    You may leave that lines by default and use http://localhost/blah in your plugin settings. That's work too :) Not so nice, btw. It isn't so nice to drop outbound connections from the server.

    Jim, Check your permissions for my-plugins and its internal directory tree

    Posted: 2 years ago #
  7. Jim R

    Member

    Not sure what that means. Where do I check permissions? Pretty much all my chmod settings are 755, if you meant that.

    Posted: 2 years ago #
  8. Jim R

    Member

    Bump : )

    Posted: 2 years ago #
  9. Jim R

    Member

    I"m getting this now:

    Not allowed: [bbPress part] Invalid anonymous user id

    Posted: 2 years ago #
  10. Jim R

    Member

    Again, my host does the trick. It's working now. Not sure of their solution though...sorry.

    I would like to make a change. The plug-in provides a link back to the whole post on WordPress. I'd like to add something just before that link, something to the effect of, "Click here to read the whole article."

    Posted: 2 years ago #
  11. so implement that :)

    i've said that i don't have time to do anything for free now

    Posted: 2 years ago #
  12. Jim R

    Member

    Where in the files are the links to the WP posts echo'd? I've searched for all the "<a" and "href", tried a few of them, but I haven't located where to make that change.

    Posted: 2 years ago #
  13. Jim R

    Member

    Here is another issue, not sure if it's intended or not. Whenever I edit a post in WP, it creates a separate post in bbPress. How can I stop it from doing that?

    Posted: 2 years ago #
  14. xarzu

    Member

    I am being asked for it on the wordpress side as I try to sync with bbpress.

    On the bbpress side I see a lot of keys. Which one is the secret key?

    Does it have to do with this?

    WordPress bbPress
    AUTH_KEY <=> BB_AUTH_KEY
    SECURE_AUTH_KEY <=> BB_SECURE_AUTH_KEY
    LOGGED_IN_KEY <=> BB_LOGGED_IN_KEY

    Posted: 2 years ago #
  15. xarzu

    Member

    I put in something for the Secret Key but it says "Error! Not equal secret keys in WordPress and bbPress".

    Why and how do I fix this? I am on the WordPress side doing bbPress syncronization. Do I need to go to the bbPress side and put the same Secret Key somewhere?

    Posted: 2 years ago #
  16. xarzu

    Member

    I just got the two plug ins enabled !!!

    Posted: 2 years ago #
  17. xarzu

    Member

    I have managed to get BBPress and WordPress Sync installed on my web site. That is, the sync plug in (the latest one) is installed and "working" (albiet not as I want it to be). There were a lot of check boxes and input involved to make the plugins (both on the BBPress side and the WordPress) work and see each other. In some of the check boxes I just clicked on them because I was unclear about what they meant.

    The way I would like my WordPress to work is like this. When the user makes his comments about the blog, he is making them in the Forum. So the whole input field where he posts his responses to blogs are not there. Instead there is a link that takes him to the forum where responses are mirrored as responses to the blog.

    If a user goes directly to the forum (an option I will allow). And makes a brand new discussion thread, it is not automatically posted in the blog and the responses to that post are not reflected in the blog as well.

    There are lots of options on the Dashboard for setting up the plugins. Which options should I check and how do I customize the plugins such that my blog and forum behave like I want them to?

    Posted: 2 years ago #
  18. Jim R

    Member

    One of the features it says:
    "Crossposting to specified forum according post category"

    I guess I'm not sure how to achieve that. Should I have matching "forums" for each category I have?

    Posted: 2 years ago #
  19. circuit

    Member

    i am also getting the error that secret keys are not equal when they are. the URLs are verified as being correct. i've tried changing the keys and saving both plugin pages again..

    i am using MU if that makes any difference..

    Posted: 2 years ago #
  20. First, to a few posters above me, "Secret key" doesn't mean any of the keys found in wp-config.php or bb-config.php! The secret key is any arbitrary thing; you just have to use the same one in both plugins. It could be "toadthewetsprocket" if you wanted.

    Now, my question: is it possible to use this or modify it to work for pages?

    Posted: 2 years ago #

RSS feed for this topic

Add a Comment »

You must log in to post.