Search Results for '"wordpress'
-
Search Results
-
So this will be another of my unpopular posts, i’ve had a whole week of working on bbPress, so this is my 3rd of the week – apologies to all.
It’ll really help this conversation if you read http://bbpress.org/forums/topic/future-of-bbpress#post-60022 which is written by the wonderful Andy Peatling who has integrated bbPress with BuddyPress (and therefore into WordPress). Basically, he is the authority on the matter.
I bring this up because I thought today, what the heck are we doing? WordPress integration is the single most asked for feature, it’s the reason a large number of people choose bbPress, and according to Matt:
Strategically the most important thing we need to figure out is how to integrate bbPress better with WP
-http://bbpress.org/forums/topic/future-of-bbpress
Ok, but if we look at what Andy has said, in order for this to happen we need to remove BackPress from bbPress. Except… 90% of the changes from bbPress0.9 to bbPress1.0 was adding BackPress.
So, if integration is the plan (even as a plugin), and integration = no backPress, then whatever platform we build the fully integrated bbPress out of is bbPress without BackPress, or as we commonly call it bbPress0.9.
So then why are we building on top of bbP1.0, when we’re going to have to port that code back to 0.9 in the future or worse, attempt to combine the two. Why are we focussing on features that are already in WordPress as standard, given that they will work as via the WP functions once integrated.
How far down the rabbit hole are we going to go before we take a slightly longer term look?
Anyone have any thoughts for a Friday evening?
Having followed what I presume is the “deep” integration method outlined in various posts here (i.e., replacing the 4 keys with the 8 keys) and gotten WordPress and bbPress to talk to each other, I find that Search in bbPress doesn’t work reliably: some words in a post it refuses to find, others it does. I’m a first-timer to the bbP world and don’t know where to start bug shooting this.
Where are we now?
Aside from the questions surrounding integration with WordPress, another of our big questions is “how do I import from _____” (insert a different forum product of your choosing)
Right now the approach is ad-hoc at best: We are handing a PHP script around hand-to-hand that is able to convert a phpBB v2.0.x forum over to bbPress v. 0.9, and if you want to convert a different forum (say, SMF) the accepted wisdom is to install phpBB, convert to that, then convert to bbPress 0.9 and then upgrade.
The official coding standards for WordPress state:
Avoid touching the database directly. If there is a defined function that can get the data you need, use it. Database abstraction (using functions instead of queries) helps keep your code forward-compatible and, in cases where results are cached in memory, it can be many times faster.
As it stands bbPress imports clearly violate that principle by using the script we are passing around.
Solving the problem
Importing data clearly is an example where a strategy pattern solves things in an elegant fashion.
The strategy pattern (also known as the policy pattern) is a particular software design pattern, whereby algorithms can be selected at runtime.
The strategy pattern is useful for situations where it is necessary to dynamically swap the algorithms used in an application. The strategy pattern is intended to provide a means to define a family of algorithms, encapsulate each one as an object, and make them interchangeable. The strategy pattern lets the algorithms vary independently from clients that use them.
More concretely, this means creating a bbPress Import plugin which provides an overall multi-step process, and delegates to an external sub-plugin to retrieve the external datasource specific steps. I would argue that this ought to be a plugin (and remain a plugin rather than being pulled into the core of bbPress) because once you’ve imported from a given external forum, you can deactivate and uninstall the “import” code as its no longer required.
Roadmap
- We need to create a basic import plugin. — This I have done, it’s experimental and I’d like some more eyes on the code before calling it “done”
- We need to create import strategies for external forums, starting with phpBB2 — This I have done, by extracting SQL from the script we all pass hand-to-hand. Again, it needs more eyes on the code as a QA step.
- We need to create import strategies for other external forums, specifically SMF and phpBB3 — this is where the strategy pattern comes into its own – each can be developed independently and combined later. Its also a great place for community input.
Looking further out
The import plugin relies on calling the internal
bb_new_post,bb_new_topic,bb_new_forumand to a certain degree thebb_new_usermethods. As we move toward bbPress being a plugin to WordPress, these will become the only way to import data, as the script we pass around will become evermore obsolete.Secondly, WordPress itself has an import framework. I suspect that any “import plugin” we write now will become somewhat obsolete in that timeframe. That said, if we do things right, the import strategies we create might migrate over. What I dont know is the timeframe. Is the bbPress-as-a-plugin-to-Wordpress change close enough on the horizon that we should simply target the WordPress import framework directly?
Thoughts / comments?
Hi
Been trying to install Buddypress onto a clean BBPress instalation – but it keeps giving me an error:
Warning: require_once(WP_PLUGIN_DIR/buddypress/bp-core.php) [function.require-once]: failed to open stream: No such file or directory in C:wampwwwbbpressmy-pluginsbuddypressbp-loader.php on line 19
Fatal error: require_once() [function.require]: Failed opening required ‘WP_PLUGIN_DIR/buddypress/bp-core.php’ (include_path=’.;C:php5pear’) in C:wampwwwbbpressmy-pluginsbuddypressbp-loader.php on line 19
Does anyone know if this installation is at all possible (clean BBPress + BuddyPress forum) ?
I would like to avoid using WordPress Mu – to keep things as lean (simple) as possible !
Thanks in advance for any advice on the subject !
Jens
btw. – I have for a couple of weeks been doing research on how to run the best and most sufficient frontend bases open posting site (or almost open) – and has ended with bbPress (has 12 different test systems running on wamp and easyphp – among them Word MU – Drupal version 6 and 7 and others. It’s close to chaos for sure)
I spent quite a few years doing marketing and corporate communication, and so far at least I have some basic questions I simply can’t find on the relevant websites. (It’d be very nice if the sites contained some sort of “Why you might want BBPress” or “Why you might want BuddyPress” or even perhaps “Basic requirements”–not to mention “Why you might want to install both BuddyPress and BBPress”.)
I am a complete newcomer to adding forums to a WordPress site, but I am planning to take the leap with a new blog site I am about to launch. A few basic questions, please:
From the looks of BuddyPress, it also offers forums by itself…although this is unclear from their site. What is the advantage, of any, of having BBPress either instead of or in addition to BuddyPress? Also, so far at least I have not found on the BBPress site a requirements listing–will it now work with a straight WordPress install, or is it tied to WordPress MU at this point? (With the upcoming integration of WP and WPMU, at this juncture I simply don’t want to go through the hassle of installing MU.)
I would appreciate any comments, suggestions, or advice you can give. Thanks!
Hello
I’m running a forum on IPB 3.0 I have over 2000 users a d over 12000 posts .. I would like to convert my site to bbpress (especially looking for the WordPress integration)
anybody ready to help me ???
feedbacks are welcome
Alessandro devigus
I have a 2.9.2 installation of WordPress, and it is installed in the root directory of my website. I installed bbPress in a subfolder named “forum” and followed the integration instructions. Now I can’t login in to the bbPress forum in anyway. I get the error message “User does not exist.” I am trying to login using “admin” and the password is the same for both.
Hello,
I’m using bbpress 0.8.3.1 at my site. Since there is a 1.0 release I’ve been wanting to update my bbpress. But to make sure everything works fine I tried the update on my localhost with Wampserver. Once I follow the install instructions I’ve been asked to create a new bb-config. Filling in the 4 steps gives me an error saying:
Installation errors
Forums already exist!
Key master email not sent!
Installation log
Referrer is OK, beginning installation…
Step 1 – Creating database tables
>>> Database is already installed!!!
Step 2 – WordPress integration (optional)
>>> Integration not enabled
Step 3 – Site settings
>>> Site name: forum
>>> Site address (URL): http://localhost/forum/
>>> From email address: myadres@gmail.com
>>> Key master created
>>>>>> Username: admin
>>>>>> Email address: myadres@gmail.com
>>>>>> Password:
>>> There are existing forums in this database.
>>>>>> No new forum created.
>>> Key master email not sent!
There were some errors encountered during installation!
If I go to http://localhost/forum it says;
Deprecated: Assigning the return value of new by reference is deprecated in I:wampwwwforumbb-settings.php on line 186
Deprecated: Assigning the return value of new by reference is deprecated in I:wampwwwforumbb-includesbackpressfunctions.wp-object-cache.php on line 108
Deprecated: Assigning the return value of new by reference is deprecated in I:wampwwwforumbb-includesbackpresspomomo.php on line 171
Deprecated: Assigning the return value of new by reference is deprecated in I:wampwwwforumbb-includesfunctions.bb-l10n.php on line 484
Could not determine site URI
I’ve no idea were to resolve this problem. Can someone point me in the right direction? I’m quite scared to do this for my live verion of the forum. Or shouldn’t I and is the problem probably with trying it on my localhost with Wampserver?

