This plugin should do something similar, and hopefully won’t give you any errors. 
https://bbpress.org/plugins/topic/members-online/
I am using the latest bbpress i belive
and i have showavatar plugin enabled
it told me to put
<?php if(function_exists(‘pws_get_avatar’)) pws_get_avatar(); ?>
in post.php which i did, and the avatars started showing
but the database thing i do not get, i went to mysql admin and the database is their, and its bbph01
That table name looks wrong (based on the table name from the Simple Online List you posted in the other topic). What version of bbPress are you using and how are you getting the avatars to show? Plugin?
monstet5_bbp01.bb_online
Looks like monstet5_bbp01 is the database name, and bb_ is the table prefix, and online is the table name created by the Simple Online List?
If that’s the case there, how do you have an options table here with no table prefix, just a database name?
Unless you used bbp01.
as your table prefix instead of bbp01_
?
Also, can you get phpinfo() for your server? Just put this into a file and call it up in a browser:
<?php
phpinfo();
?>
If you save that as a file called info.php, you can load in your browser at http://www.example.com/info.php or http://www.example.com/bbpress/info.php depending on where you installed it.
Hi Sam,
Did the var_dump.
Here’s the result:
array(2) {
[0]=>
string(1) "2"
[1]=>
string(1) "1"
}
string(0) ""
[EDIT]
I should state that I forgot to clear the memcached service. How do I go about doing that?
bb_online looks like it’s from the Simple Online plugin?
https://bbpress.org/plugins/topic/simple-onlinelist/
If you deactivate the plugin, does the problem go away?
Shameless plug for a theme… I tried Vanilla for a while, along with everything else out there. I went for bbPress because everything worked or was easily modifiable (and I’m no PHP expert!)
I created a Vanilla-ish theme for bbPress as I loved its simplicity. You can get it it http://getfiles.letsdoo.org and see it in action (with restrictions) at http://mbforum.letsdoo.org.
I’m using “Human Test for bbPress” with RC3 and it’s working perfectly, spam bots has been stopped.
http://www.monstershideout.com/page_id1055/forums/topic.php?id=7
If you look at the post, it looks fine, the avatar, shows, but i get this msg? What do i do?
bbPress database error: [Table ‘monstet5_bbp01.options’ doesn’t exist]
select option_value from options where option_name = ‘gravatar_local’ limit 1
It sends all the invisible code before the webpage that your browser requires to understand the language, etc.
In theory commenting it out is very bad but for some reason with bb-gzip it’s being triggered twice which should not happen and is bad. The fix I gave you is a lazy workaround for now until I have time to address it properly one day (and might need a completely different fix with bbPress 1.0.1 etc)
“from now on” means “as of bbPress 1.0”
http://www.monstershideout.com/page_id1055/forums/
I can register and log in fine, but when i hit log out
http://www.monstershideout.com/page_id1055/forums/bb-login.php?logout
i get this error msg
bbPress database error:
[Table ‘monstet5_bbp01.bb_online’ doesn’t exist]
SELECT * FROM bb_online WHERE user_id = 2 LIMIT 1
Warning: Cannot modify header information – headers already sent by (output started at /home6/monstet5/public_html/page_id1055/forums/bb-includes/db-mysql.php:130) in /home6/monstet5/public_html/page_id1055/forums/bb-includes/pluggable.php on line 232
???
Thanks so much for the links Ipstenu!
I figured if there was a way out of YAF, it would most likely be to phpBB. Surprised I didn’t find this in my own searches.
If I can just get this data out of YAF, I think it will all be downhill from there
A few people struggled with that exact problem in this thread… several solutions were mapped out:
https://bbpress.org/forums/topic/bbpress-integration-plugin-for-wpmu#post-36870
Here’s to hoping one of them works for you!
ps are you using ck’s or SuperAnne’s plugins to ensure cookie compatibility between bbPress v 0.9 and WordPress v. 2.7?
I have searched the forum for answers to this, and there are certainly lots of threads on the topic. But no matter what I try, I get an error about the “admin” account already existing, and the install fails.
I recently tried to install bbPress 0.9.0.5 with WordPress MU version 2.7.1 and I keep running into trouble. The bbPress installation, when trying to integrate and share the database, will not allow me to specify the “admin” account as the bbPress key master. It fails saying that this account exists already.
Has anyone run into this? Should I be using a different version of bbPress? Does it matter that I already installed BuddyPress plugin, version 1.0-rc-3 ?
I have seen several tutorials on the bbPress – buddyPress – WPMU combo, but I don’t think they were using the very recent versions that I have. SO if anyone has very current experience, that would be extremely helpful. Or perhaps I just need to use older versions that match the tutorials.
You could also try restarting your memcached service to clear any potentially bad buffers.
@r-a-y
Can you please do a var_dump($cached_ids)
so we can find out exactly what the value of $cached_ids is?
Just before line 71 in that file would be the spot, before $_cached_ids = join( ',', array_map( 'intval', $cached_ids ) );
It should output something useful to the screen.
Hi Sam,
Thanks for that detailed post. I’ve added this post to my favorites so I can come back to it.
However, at this time, I’m not going to upgrade until bbPress reaches official version 1 status.
I’ve temporarily gotten rid of the warning messages by doing the following:
Line 71 of bbPress 1.o alpha 6:
$_cached_ids = join( ',', array_map( 'intval', (array)$cached_ids ) );
Lines 86-89 of bbPress 1.o alpha 6:
if(!empty($cached_ids)) {
foreach ( $cached_ids as $cached_id )
$this->results[] = $trans[$cached_id];
}
Yeah I know it isn’t ideal as I’m probably not using the latest, optimized build of bbPress, but it gets rid of the warning messages.
Hmm, I can’t see it either – but _ck_ mentioned that her gzip plugin usually isn’t needed in most cases?
Also, the bb-gzip plugin is only necessary if your server does not already compress pages, which is rare these days, so make sure you are not duplicating the effort.
https://bbpress.org/forums/topic/all-setting-use-cache#post-18867
Maybe you could get away with disabling the bb-gzip plugin, which would hopefully resolve the problem?
I would recommend starting all over again. Delete your current bbpress directory (I’m assuming this was your first time installing it) and re-upload a fresh new one. Once all of your files are uploaded navigate to that page with your browser. Depending on the name of your bbpress directory you should try to open something like this:
http://www.youwebsitename.com/bbpress
It’ll take you to the introduction page with step one.
What’s the best way to prevent spam user account registration?
I’ve tried the “Human Test for bbPress” plug-in but it seems to stop working with 1.0 RC.
Any other plug-ins out there that are a good way to prevent spam user account registeration?
@r-a-y
OK then, you really need to upgrade.
Here’s how I would do it…
- De-integrate cookies, clear out all cookie settings in bbPress/WordPress including hardcoded ones in configs with the exception of you secret keys (BB_AUTH_KEY and friends)
- Upgrade to the latest Trunk of bbPress
- Upgrade to the latest release of the bbPress Integration plugin
- Clear all relevant cookies in your browser
- Setup integration in WordPress first, go to the admin panel for the plugin – use the settings it gives you to use in your wp-config.php file
- Setup integration in bbPress second, if the plugin in WordPress tells you to add a special constant to bb-config.php, do that now too. You’ll need to login to bbPress separately at this stage. Only enter settings into the admin, don’t try to add anything back into your bb-config.php except that one line from the WordPress plugin
- Now you should be good to go again, clear your browser cookies and try various ways to login and logout
Visit the WordPress Codex and search for information on apply_filters()
.
You can filter that array with a simple plugin.