Skip to:
Content
Pages
Categories
Search
Top
Bottom

I want hide tags

Published on August 5th, 2009 by 1onely

Hello

I want hide tags

if my WP has RPX, does my bbPress get it for free?

Published on August 5th, 2009 by

So I have an install of WP which is log-in integrated with my bbPress install.

If I were to install the JanRain RPX plug-in for WP, would that RPX based log-in also work for bbPress?

Keep losing "Admin" access for all users

Published on August 5th, 2009 by daniellaf

Hi BB peeps!

I have WordPress 2.8.3 and BBpress 1.0.2. (Before people get on my case for having upgraded the software and blah blah, I went through a painful upgrade BECAUSE the chatter in the forum indicated that WordPress 2.8 was needed to integrate better with BBpress and that it would have “native” cookie integration. Whatevs. So, let’s make that a mute point.)

They are pretty well integrated (you can have a look here: www.planningpool.com). What I’m finding is that I have a problem and when I fix it, it creates a second problem, and when I fix that I get the first problem again.

To explain better, most of the time the user can log into WordPress and then is not logged into BBpress when they click on “forums.” But, if the forums are opened in a new window, they are logged into it…?!? I’ve cleared my cookie cache and used various users and computers, and it does this every time. So, when I fix this issue by adding cookie info into my WP config file and deactivating Michael Adams’ BBPress Integration plugin, I get the second problem.

The second problem is that the user can log into WordPress or BBpress and be logged into both, but the user can’t access the BBpress “admin” panel or press the “logout” link. When either of these links is clicked, the page refreshes and nothing happens. So, to fix this, I reactivate Michael Adam’s BBPress Integration plugin and upload _ck_’s “fix admin access”. But now, the logout button in BBpress does not work.

So, to fix that problem, I delete fix admin access from the server, and things work great for about 30 seconds. Then, when I go to the wordpress site and then back to forums, I’m back where I started: I’m logged in on wordpress, but not logged in on BBpress.

Strange, huh? Any ideas? I’m thinking I’m going to uninstall and reinstall the integration plugins and try again

problem with some queries

Published on August 5th, 2009 by grosbouff

Hi, I’ve written a custom plugin to convert my old bbcode syntax myurl to myurl>.

It worked for a large amount of posts but I still get a lot (also) of errors.

Here’s a query error :

UPDATE bb_posts SET post_text ='Bon c'est sur que si on compare :rolleyes:nnimg-1933139bpys.jpgnnimg-1933292biwg.jpg' WHERE post_id = 114958

As you see, the url tags have not been updated neither.

My function :

function replace_bbcode_urls() {

global $bbdb;

$regex=”#[url ?=([^[]*) ?] ?([^]]*) ?[/url]#”;

$sql = “SELECT post_id, post_text FROM bb_posts WHERE post_text LIKE ‘%[url=%'”;

$results = $bbdb->get_results($sql);

foreach($results as $row){

$new_monchamp = preg_replace($regex, “\2“, $row->post_text);

$sql2 = sprintf(“UPDATE bb_posts SET post_text =’%s’ WHERE post_id = “.$row->post_id, mysql_real_escape_string($new_monchamp));

if ($bbdb->query( $bbdb->prepare($sql2) )) {

//echo $row->post_id.”
“;

}else {

//echo “error processing post “.$row->post_id.”
“;

echo $sql2.”
“;

exit;

}

}

}

Help would be appreciated.

Thanks !

Possible to allow users only to reply?

Published on August 5th, 2009 by

Hi all

I’m looking into creating a kind of online consultation system using bbPress. The idea is that the body doing the consultation will create the topics which they would like people to give their views on/discuss, but they don’t want users to be able to create topics themselves.

So, there’ll be a few subforums (one each for a project) and within them a few threads, say up to 10, each being a question or topic within the project that views are sought on.

Here’s an example of the kind of thing I’d like to create: http://talklaw.co.nz/topic/are-you-being-watched

(alas the software used for that site costs £14,000 and we’d like to do is F/OSS if possible!)

Does this sound reasonably easy to set up with bbPress?

here's how to fix some of the 1.0 query performance regression

Published on August 5th, 2009 by _ck_

I just realized today if you are using a bunch of plugins that have their options stored in the bbpress meta, your query count has jumped on every page in bbPress 1.0.x

Apparently 1.0 now has a reserved list of option names that are pre-loaded, instead of *all* of them like 0.9 could. Plugins have to add their desired names to the pre-caching option, which of course 100% of all pre-exisiting plugings are not aware of, so they all cause an extra query in 1.0

This isn’t a magic bullet by any means but you can at least fix this behavior. There isn’t any flag you can turn on to cache all (that would be far too easy) but you can fool the routine by loading all the options before it gets around to it.

Simply make the below into a mini-plugin, or right click here

and save as _load-options.php in your my-plugins/ directory

I strongly suggest you save it with a leading underscore so it auto-loads.

<?php
/*
Plugin Name: Load Options
*/

global $bbdb;
$results = $bbdb->get_results( "SELECT meta_key, meta_value FROM $bbdb->meta WHERE object_type = 'bb_option' ");
foreach ( $results as $options ) {
wp_cache_delete( $options->meta_key, 'bb_option_not_set' );
wp_cache_set( $options->meta_key, maybe_unserialize( $options->meta_value ), 'bb_option' );
}
?>

Admin just showing up as some text + missing links

Published on August 5th, 2009 by mrroboto

Hi

I’ve just installed the new version of BBPress and followed the instructions to integrate

it with WP.

When I log in and click on Admin I just get a plain text page, where my only options

are to choose the template. So basically I can’t go any further with this install…

Does anyone have a way to fix this please

How to completely remove BBpress from domain.

Published on August 5th, 2009 by Luke3115

Hi I have a problem and was hacked. How do I completely remove it from my domain. I can’t even access my wp-admin or anything.

I am kind of a noob also when it comes to coding so if someone could help explain the removal process I would greatly appreciate it. Thanks a bunch guys.

Changing Privilages For Member Roles

Published on August 4th, 2009 by

Here’s my problem.

To match blog and forum member roles I needed to make forum members with Author privileges on WP, moderators on the forum. This was fine except moderators can see IP addresses and while I have assured them that members cannot, they are a little freaked out thinking everybody can see IP addresses.

Is there a way to change Moderator privileges so that they cannot see IP addresses?

There is a plugin called ‘Role Manager’ but it does not install, and I could find no help with it on plugin home website, so assume it is dead. ???

Forwarding bbPress logins to WPMU login page.

Published on August 4th, 2009 by

Hi there,

Its amazing how much these forums have helped through reading about other people’s problems and solutions. I was able to get everything with integration working perfectly (albeit several installs later), but there has been one problem that I haven’t been able to find a direct answer for (maybe I am just using the wrong keywords to search).

What I am trying to do is have all the bbPress login/registration get directed to the WordPress (WPMU) login/registration pages. I am running RPX for login/registration at the WPMU page, and it has worked flawlessly for OpenID integration, but I can’t find a way to make all the bbPress goodness get directed to WPMU and then back to my forums.

Thanks ahead of time!

Skip to toolbar