i’m having a problem with unescaped characters showing up in my forum entries – for instance, if there’s an apostrophe in an entry, it gets displayed as '
when people read the forum. if you later edit that entry, the next display is \'
and so forth. it seems as if the engine isn’t un-escaping the characters.
i’m using bbPress 1.0.1 and wordPress 2.8.1 at http://trashfilmorgy.com/
I recently upgraded my site http://trashfilmorgy.com/ to a WP/BB integration, and I wrap bbPress in the WP theme, arras, which creates a fairly seamless integration between the two. Check it out!
No, especially because not all plugins that work with 1 are labeled as such
It’s a very heavyweight plugin that duplicates the functionality that’s already in WP.
What you should do is either write the output of the function from WP to a file and simply do a readfile from the bbPress side, or write it into the WP options table with autoload turned off and fetch it from the bbpress side via a single query.
Hi _ck_ and thanks for the answer. The function above works perfectly when viewing the users profile page, is there any easy way to see the user id on the bbPress users.php page? would save having to go to each users profile to get the id.
I did ask on the plugin page, but also asked here as this forum seems to get a lot more replies.
Well, I did not notice the “0.9” notation. The bbPress forums captures a larger audience, and therefore seems the best avenue and quickly resolving a query. Thank you for your quick response. Much appreciated.
I am using the C*nsor posts plugin on bbPress 1.0.1, works perfectly…
However, I want to disable the censor on one forum.
the function used in the plugin is:
function censor_post_text($post) {
if (!bb_get_option('censor_enable')) {return $post;}
$words = bb_get_option('censor_words');
if ($words[0]=='') return $post;
foreach ($words as $key => $word) {
$words[$key] = '/b('.preg_quote($word).')b/i';
}
$replace = array();
$numwords = sizeof($words);
for($i = 0; $i < $numwords; $i++) {
array_push($replace, "****");
}
$clean_post = preg_replace($words, $replace, $post);
return $clean_post;
}
anyone know how I would add something like – if not in form id 20 – to the above?
For example, where is WordPress “auth” cookie salt in WPMU? I also can’t find WordPress “secure auth” cookie salt & WordPress “logged in” cookie salt in my WordPress admin page.
You just listed them.
The WordPress “auth” cookie salt in WPMU is in your wp-config.php file: define('AUTH_SALT', 'bliddyblah');
If you’ve done that correctly, you should see something like this: http://img268.yfrog.com/img268/8247/bbpresssettings.gif
I wiped out my cookies and URL, but you should get the idea.
Hi all,
I am using the hidden forums plugin by _ck_ on bbPress 1.0.1 without any issues so far.
The only thing I am stuck on is getting the user id to add to the list of allowed users. It is not displayed in the bbPress users admin page, so I have to go back to the wordpress end, click on edit user & get the number from the URL.
I am using pretty permalinks in bbPress, so maybe thats why I don’t get it in the edit user profile URL there…
Anyone know of an easy way to display the user id in the bbPress back end?
Is there any easy way to search for plugins that are compatible with the bbPress 1 branch?
Is it possible to link directly to post except with link to named anchor (http://example.com/forum/topic.php?id=152#post-499) on topic page, just like in vBulletin (http://example.com/forum/showthread.php?p=1856440#post1856440) or SMF (http://example.com/index.php/topic,152.msg499.html#msg499)?
Why I am asking this is that I’m doing migration from SMF and there are many links which contains IDs of posts and I want to link directly to them in bbPress too (through mod rewrite), and this is hard when topics have multiple threads (how to find on which page is post in exampled SMF URL above?).
Thanks
I am using WordPress MU 2.7.1, and BBpress 0.9.0.5 with PHP 5. I have the user table integration as well.
Are you certain you have bbpress installed under your /forums/
directory?
Because I am fairly certain you don’t.
If you did, this would work
http://absolute-truth.net/forums/license.txt
(unless you deleted that file, which is unlikely)
/forums/
should be at the same level that /blog/
is
Not much info here; but try downloading bbPress again in case it is corrupt.
The second worked I changed the options from the existing place to /forums. After that http://absolute-truth.net/forums/ showed the posts but the template was not applied, it had a crude look. Now I deleted the bbpress under plugins. Now it doesn’t show up anything. So there seems to be some dependency with the old area. Is that dependency in the Database?
Also, do all passwords need to be reset afterwards?
The cookies are a different problem, you have to set the cookies to use the root /
and not a sub-folder.
See if it allows you into
http://absolute-truth.net/forums/bb-admin/options-general.php
and/or
http://absolute-truth.net/blog/wp-content/plugins/bbpress/bb-admin/options-general.php
and change the bbPress address (URL)
I opened the .mo file and changed “sullat” to “tappat” in it using a text editor and saved the change and uploaded it and ir worked. It should perhaps not have been possible but it was!
The second part of my question now seems strange since I pasted what in my e-mail looked like Ditt användarnamn är: Gran Lindgren
but it displayed correctly here!
I saw somewhere you shall run into cookie problem with wordpress authentication if bbpress is not installed as a subfolder under WP. Nevertheless that’s exactly what I want to do and Iam unable to do. I haven’t deleted the http://absolute-truth.net/blog/wp-content/plugins/bbpress/ installation, I copied the whole bbpress to /forums and tried to re-install bbpress with bb-config commented. It failed in step 2. Thats where Iam. Unfortunately there is no step by step procedure to relocate bbpress.
I noticed many of the old constants are not defined anymore by default.
A few plugins, definitely not all just a few, may be fixed somewhat by adding this to bb-config.php
define('BB_LOAD_DEPRECATED',true);
You don’t actually have bbpress installed underneath wordpress do you?
http://absolute-truth.net/blog/wp-content/plugins/bbpress/
if so, that’s really not good design
move it to http://absolute-truth.net/forums/
bbPress is not a wordpress plugin, it’s a standalone program
I tried that Please see http://absolute-truth.net/forums/ my Intended place. You can see the “No page found” and the tags linking to the location where the forums is currently located within the plugins directory.
.mo
files cannot be directly edited, you need to use a tool like poedit http://www.poedit.net/ to correct the .po
file and then compile it to .mo