Oh I see you want to turn any post into a wiki by wrapping the text in [wiki]. There is a huge problem with your logic as the wikipost plugin allows anyone to edit a post by assigning a generic user to the post, which is the trigger. Replacing that with bbcode as the trigger instead would be far more difficult.
bbPress would not have any way to know to let another user edit the post until it scans the post_text for [wiki]. That’s going to be a huge problem.
by the way is translated to <strong> not <center>
I’m curious about this issue as performance problems always intrigue me. You must be using 0.9 as 1.0 has an index on stickies by default.
As far as fulltext search there is a trick I use because of the multiple issues with fulltext (not only speed but fulltext can’t do words less than 4 characters until you customize and rebuild mysql). The trick is to use regex and do a two pass query where you first exclude all the posts without the words and then allow mysql to do a regular scan of the remaining posts.
Query example from my Super-Search plugin:
WHERE post_text LIKE '%".$term."%'" AND post_text REGEXP ':<:".$term.":>:[^']' "
Compare the performance of that against a fulltext search that uses "MATCH post_text AGAINST $term" I don’t have enough data to do a huge benchmark but some simple tests with the cache off shows 0.4 seconds for the trick and 0.9 for the fulltext.
The only downside to the trick is you cannot do partial word searches that way. ie. $term="cat" will only return posts with the exact word “cat” and not “cats” or “category”. But it should be way faster.
Searching a huge number of posts is a non-trivial problem. It’s been known to crush other forums like vbulletin which has fancy code to prevent users from searching too often/too quickly and even disable search temporarily on high server load. Sites like Wikipedia have to go through several technically complex tricks to keep the search fast on that much data.
Many large sites end up using sphinxsearch to replace fulltext search. You could interface it to bbPress via their PHP api.
You can read more workarounds on the mysql fulltext search page (with far more knowledgeable people than me) http://dev.mysql.com/doc/refman/5.0/en/fulltext-search.html
I’ve done some research (and actually got an email from the find-answer owner out of the blue today) and I believe the site/request are unrelated.
But it does prove that it would be a wanted plugin.
Google/Yahoo might not like all the duplicate content however so “noindex” might be a good idea to prevent being search-engine banned.
Another consideration is that I believe bbPress keeps a full index on post text, so the table size for posts would become non-trivial for such a forum.
@ck:
based on my recollections, as i’m on a road trip and can’t readily pull up the code, WP2.6 (maybe older, too, i don’t know), in the midst of their new cookies, has an action hook that can be tapped at cookie-creation to make an additional cookie for bbPress to read (in my instance, bbPress is in /forums/ so the new cookie is restricted to that path). the function that destroys the cookies at logout doesn’t have an action hook, so it has to be overridden (it’s pluggable). on the bbPress end, it’s virtually identical–use an action hook at login to create the various cookies that WP expects, override the pluggable cookie-destroying function.
there’s also some work in syncing up all the various secrets.
it’s worth noting that the cookie that’s now restricted to wp-admin/ in WP2.6.x is the same cookie that was unrestricted in path previously, so the mechanics of the cookie contents and whatnot aren’t any different, just the path restrictions.
that works, however, i can no longer access the admin section, it only loads as blank, any ideas why? thanks for your help with this.
the rest of the functions work on the main pages of the forum.
Isn’t trying to get help from the developers of the bbpress the best place to get information? Isn’t that the whole point of the forum? In howtogeek contact page, he discourages to contact him directly…
Anyways, I fixed the stupid mistake (from my part), I only copied the table instead of the php entry. So it’s fixed.
Thanks.
To use the WordPress functions get_sidebar and get_header, you need to include WordPress inside bbPress:
https://bbpress.org/documentation/integration-with-wordpress/#func
This might help as well:
http://www.adityanaik.com/integratepress-part-i/
I wonder if the find answers site is related at all to this inquiry:
https://bbpress.org/forums/topic/bbpress-and-newsgroups
I successfully integrated bbpress alpha with the latest wordpress. The install is pretty flawless.
Now, I want to pull in the header and sidebar from wordpress. Does anyone have any tips for me on how to do this?
September also features the first site to be purposely excluded from the listings. Not that I am passing judgement on it as there are other sites far more dubious that are in the list where the content is not their own.
find-answers.net
It’s impressive in that someone wrote a bbPress to Usenet gateway. But its not right to include it on the list since there will be millions of posts in no time at all and they use a fake subdomain for each group.
At least it proves bbPress can handle such a load. They are going to really want my Super Search plugin (not released yet).
I do wish they’d share the code they made to accomplish that however, especially considering they seem to be using my theme, my plugins, my favicon, etc.
(What I really want is a Mailman to bbPress gateway!)
Hows your theme coming along?
I wish I knew how to develop/edit bbpress to make it into a theme like that.
logout and use bbPress login not wordpress.
I’m Still Learning! I installed the Forum with little or no problems. Now However I cannot Get the admin to work. That is to say I can’t get into admin. To Be Honest I’m not Sure Just How To Get Into the admin section. When I enter “…bbpress/admin.php” I am directed to the index file for the director I attempted entering “…bbpress/bb-admin/index.php” when I do I’m directed to to Index file. Can someone help me?… Please
“.mysite.com” should cover all subdomains.
Techincally .www.mysite.com is a subdomain.
I don’t know why it didn’t work for you
unless perhaps it was already “.www.mysite.com” on the WP side. They have to match.
Got integration working under WP 2.5.1 and bbpress 0.9.0.2
I’d just like to make an observation regarding integration instructions for power users –
Instruction part 8 says: Copy all these items into the bottom of wp-config.php and edit as required:
$wp->cookiedomain = ‘.your-domain-name.com’;
define(COOKIE_DOMAIN,’.your-domain-name.com’);
// note the leading DOT – this is important
// we list both for WordPress legacy compatibility
Originally, I took this to mean:
$wp->cookiedomain = ‘.mysite.com’;
define(COOKIE_DOMAIN,’.mysite.com’);
It wasn’t working. However, once I changed it to:
$wp->cookiedomain = ‘.www.mysite.com’;
define(COOKIE_DOMAIN,’.www.mysite.com’);
and in bb-config.php:
$bb->cookiedomain = ‘.www.mysite.com’;
(adding the www part) It works perfectly fine now.
Hope this helps.
Hi
I have WP 2.6 installed and the latest svn version (updated yesterday) of bbPress. The two are integrated with each other. I had a look at the users and roles in WP and noted that bbPress had changed all the roles to the bbPress role types. The WP roles are now all gone. The problem is that no one of my users can login, only the first admin user which I created when installed WP and bbPress. If I change another user from member to admin he cannot login.
Can I change back the roles to the default WP roles or do you have any clue what have happened?
Can add bbPress poll into wordpress like Bbpress Latest Discussion and embed wordpress post?
I experimented for awhile with making a plugin that would make 2.6 work with the 2.5 cookies using a pluggable replacement but the task proved overwhelming. Then I tried making a replacement pluggable for bbPress to make it work with 2.6 cookies and that was just as insane too.
Unless your mods are concentrated into one file I wouldn’t recommend tampering with the core.
I don’t get the rush to WP 2.6 It’s getting terribly bloated.
I miss 2.0 – feature rich yet still lightweight.
Though I hesitate to say this out loud, it is possible to integrate bbPress 0.9.0.2 with WordPress 2.6.x (I have a site running the two and logins to one part work in the other, cookies are properly set and cleaned up, etc.), BUT it requires plugins to both bbPress and WordPress (or, alternately, modification of core code) and I’d venture to guess that it might substantially weaken the cookie security introduced in WP2.6. If anyone is desperately interested, I can share details, but it’s messy.
Woo! Thanks!
The fixed reduce my bbPress 1.0 Alpha 27 to 18 queries!
https://trac.bbpress.org/changeset/1700
It’s weird. I had that exact thing happen to me on an alpha install, not integrated, and I thought I was going crazy seeing things. Maybe not. For me, I just restarted the browser or used another browser and registration went through fine. I have no idea what it is; it’s an esoteric bug for sure.
Hi,
Is there a way for me to easily merge Forums, topics, split topics and so forth?
I would like to merge a couple of my forums. I just imported my phpbb2 40 meg forum to bbpress. It works super! But I have so many forums and would like to merge them.
Any help would be greatly appreciated.
Best,