Search Results for 'code'
-
Search Results
-
Topic: WordPress Integration
I know there’s a few threads on WordPress integration, whereby WP and bbPress share users in the database. But I was thinking of doing it another way, prior to launching my site, and wondered if others had done it.
Basically, I would turn off registration for WordPress. No users can register using WordPress, ever. Instead, the registration process is just handled by bbPress.
What I would then need to do, is have a bbPress login in the header of my WP blog. The comments for a post in WP would be handled by bbPress. I would probably have to create a bbPress thread manually, then link to it from the WP post, or somehow integrate it into the WP post.
Is it possible to include a bbPress thread in a WP post, if you know the thread id? I would probably tie the thread id to the relevant post using a custom field in WP, then grab it in my WP template.
Does this make sense? I hope so.
Topic: not working in buddypress
When I install it using buddypress I get this when I click the “FORUMS” tab:
Warning: mysql_get_server_info(): supplied argument is not a valid MySQL-Link resource in /home/********/public_html/wp-includes/wp-db.php on line 1582
Can someone help me? I really need to use bbpress!
Topic: Buddypress: 0 posts in topic
I have been having trouble with the buddypress forums. Basically, everything on the wordpress side of things works, and everything else BP wise works too. However, when I post a topic, the topic get’s posted, but the post doesn’t. So it says that there are 0 posts in the topic.
I am running wordpress 3.0.1 (not on multisite mode) and buddypress 1.2.5.2 in a root install. I have made one code change: before this I was getting an error because of mysql_get_server_info on wp-db.com, so I changed line 1589 (or somewhere around there from return
preg_replace( '/[^0-9.].*/', '', mysql_get_server_info( $this->dbh ));toreturn preg_replace( '/[^0-9.].*/', '', mysql_query("select version() as $this->dbh") );, and that error stopped.This is not because of any plugins or themes that I have installed: I have tried deactivating all of them to no result. I can not find any solution in any other topics.
And the problem is because of buddypress, not bbpress. I tried installing bbpress separately and integrating it with buddypress, and the same problem occurred when I posted on the buddypress end, but it didn’t when I posted on the bbpress side.
xmlrpc is enabled.
Thank you for your help.
Topic: made the switch
I just want to say thank you to the following people who contributed plugins and made my life much easier.
Thomas Klaiber
Eduardo Graells
Michael Adams
Nightgunner5
_ck_
Rich Boakes & Frédéric Petit
Rhys Wynne
Francesco Bigiarini
Well, thats out of the way.

I switched from phpBB3 to bbpress 1.0.2 because I couldn’t stand the huge administration section and the constant spam. In addition I had problems integrating phpbb with wordpress (yes, I tried, wp-united and hated it).
It took me roughly 2 days to implement the forum and wordpress the way it is now and I converted the data from phpbb to bbpress. Lost a lot of users because they couldn’t convert for whatever reason but I managed to keep all the data.
Forum Address: http://www.cichlidexplorer.com/forum
It still needs work!!
In function definition that param is instead named