Hi!
I have filled in the plugin request form, but I’m completely clueless with SVN. I’ve downloaded TortoiseSVN and uploaded my plugin to the trunk folder (as a zip), but can’t see it on the site. Where do I go from here? Thanks
Thanks, PRB10 — this resolved my issue.
Forgot to add… I installed bbPress through HostMonster, and the version used is v0.9.0.4, and the PHP version used by HostMonster is 5.2.9.
Now, I just tried something suggested in another thread with the exact same problem, and I have fixed this issue.
So, here goes gm10gm10:
1. locate a file named .htaccess inside your ROOT DIRECTORY.
2. open this file to edit using the means offered to you by your hosting provider or FTP
3. locate a command line which may look like what follows (mine differed from commands in this thread: https://bbpress.org/forums/topic/warning-cannot-yet-handle-mbcs-in-html_entity_decode-in-home2):
–> the command *may* look like this: AddHandler application/x-httpd-php4 .php
4. Be mindful that variation on the code may be needed, make a copy of what was written than change it to look like this:
AddHandler application/x-httpd-php5 .php
AddHandler application/x-httpd-php .php4
5. It appears that it needs to be able to read php5 — Mind you, my host provider states PHP v. 5.2.9 so there should be not problem.
In any case, I hope this helps.
Regards, pat
bump
Yes, I can’t help but wonder why some of the most used plugins for bbPress (yeah, _ck_’s) are not localized? I looked into the code and saw that they use __() and _e() calls but lack the text domain so they can’t be translated in the usual way…
_ck_, did you hear that?? ^^
bbPress plugins altogether have poor localization – maybe the framework isn’t clear?
Here are the working plugins that I’m using with RC1:
- Allow Images 0.7.1
- bb-chunk 0.1
- BBcode Buttons Toolbar 0.0.9
- BBcode Lite 1.0.3
- bbPress signatures 0.2.0
- bbPress Smilies 0.0.8
- bb Topic Views 1.6.4
- BBVideo 0.24
- Censor 0.1
- Change Number of Front Page Topics 0.1
- Check For Updates 0.0.2
- Hidden Forums 0.0.8
- Human Test for bbPress 0.9.1
- Move It 0.14
- Post Count Plus – Dynamic.Titles & More! 1.1.11
- Quote 0.2 with add-ons by fel64
- Simple Onlinelist 1.5
- Strike 0.1
- Unread Topics 0.4
- Wiki Post 0.1.5
Plugins that AREN’T working:
- Admin add user 1.3
- Approve User Registration 0.3
Well, I totally can’t figure it out. I took the ultimate cop-out hack and in front-page.php, I removed
<?php new_topic(); ?>
and replaced it with ADD NEW
<a href="http://www.endsofearth.com/forum/?new=1">ADD NEW</a>
which works just fine, so I am happy with it.
I’ve just synced cookies on bbPress 0.9.04 and WordPressMU for the second time. I’ve read a few places that it doesn’t work or is difficult, so I wanted to share my solution. It’s really very easy. I wrote it up in a blog post:
http://www.callum-macdonald.com/2009/05/17/bbpress-09-and-wordpressmu-27/
It was remarkably simple (at least to me) to get it all working. Summary of steps:
1) Set all _KEY values to the same in WordPress and copy to bbPress.
2) Repeat for _SALT values.
3) Set COOKIE_DOMAIN and COOKIE_PATH
4) Settings > WordPress Integration > Show manual config settings, copy into bb-config.php.
5) From 4, change the authcookie value to wordpress_logged_in_
Step 5 won’t work exactly on WordPress standalone because it uses a hash in the cookie name. You can probably check the WordPress cookie in your browser and set it manually. Or maybe it’ll “just work”.
Then I whipped up a plugin to set / unset the other 2 WordPress cookies on bbPress login / out. It only works for WPMU right now. Somebody could probably improve it to work for WordPress. Code here:
http://www.callum-macdonald.com/download/wpmu-cookies.php-0.1.zip
This might be useful to somebody…
Oh, I forgot, add this to your bb-config.php
define('WP_AUTH_COOKIE_VERSION', 1);
When you upgrade to WordPress 2.8 later, you will need to remove that line.
Looking forward to using this plugin.
For those of us who are a little slow on the PHP stuff, what and where do you have to insert code into profile.php?
Thanks for your help
During installation, when I tried to access the intended URL, I got the following error code. What do I need to correct?
Any help in layman’s language is much appreciated in advance.
gm
Warning: require_once(../bb-load.php) [function.require-once]: failed to open stream: No such file or directory in /home/xxxxxxx/public_html/xxxxxxxxxxxxxxxxxxxxx/admin.php on line 4
Fatal error: require_once() [function.require]: Failed opening required ‘../bb-load.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/xxxxxxxxxxx/public_html/xxxxxxxxxxxxxxxxxxxxxxx/admin.php on line 4
Here is an untested variation of Mark’s WP plugin for bbPress, it’s a little more sophisticated in that it tries to return the person back to the topic they were in if it exists or if they were starting a topic, to the forum they were posting in.
<?php
/*
Plugin Name: Moderation Notification
Author: _ck_
*/
add_action( 'bb_post.php', 'moderation_notification', 999);
add_action( 'bb_head', 'moderation_notification_alert', 999);
function moderation_notification($post_id) {
if (empty($post_id)) {return;} // invalid post
$post = bb_get_post($post_id);
if ($post->post_status==0) {return;} // not moderated
if ($post->post_position>1) {
$link = get_topic_last_post_link($post->topic_id); // return them to the last known good post in the topic
} else {
$link = get_forum_link($post->forum_id); // return them to the forum that they posted in since there's no valid topic yet
}
$link=add_query_arg('moderated','true',$link); // set the flag
wp_redirect($link);
exit;
}
function moderation_notification_alert() {
if (!isset($_GET['moderated'])) {return;}
$out = <<<EOF
<script type="text/javascript">
<!--
alert ("You post was successfully processed, \n\n however it was placed on hold and will appear once a moderator verifies that it is not spam.\n\n Please be patient and do not resubmit your comment.");
//-->
</script>
EOF;
echo $out;
}
?>
You can see the notice by putting ?moderated=true
on one of your urls
I don’t recommend trying to purposely cause spam to test it because akismet might flag you globally as a spammer and you’ll end up being bozo’ed across multiple forums/blogs.
bump
Sam’s code works but still it displays the time in GMT rather than in my timezone. That doesn’t seem right cause it display the proper time since. How do I get that correctly?
(same thing with _ck_’s code – off the time zone and into GMT)
EDIT:
looking through some bbPress code I think I’ve got it right at last! The time has to be filtered through bb_offset_time, so the code should be(for post times):
echo date("date-format-goes-here", bb_offset_time(strtotime($bb_post->post_time)));
Still wonder why isn’t the time filtered when using sam’s code…
EDIT again:
and it does not localize – the date is in English… wonder how to set that up?
I’ve resolved the problem. Thanks.
Ah, that might be it, thanks. I had only checked the bbpress repository 
Is this needed/required for the dreaded WPMU/BP/BBpress integration as well?
Sorry, I copied the wrong message…
The problem is not that they SUPPORT PHP4, it’s that you WANT PHP5. Add this to your .htaccess if you’re at 1&1.
AddType x-mapp-php5 .php
That will force *.php files to be processed by PHP5. That should resolve the problem for you.
How do I do that? I am not great with coding so I’m not really sure what to do.
Quote:
X-Powered-By: PHP/4.4.9
Are you using PHP4? I thought that was the source of this problem.
What version did you install?
How do I do this?
I have downloaded the files, extracted them and uploaded them to my site, each and every one of them but when I go to the link of my forum to install it in step one I have reems of the same kind of message saying:
Warning: cannot yet handle MBCS in html_entity_decode()! in /homepages/41/d23308234/htdocs/PRBSPORTS/bbpress/bb-includes/wp-functions.php on line 113
It goes on for quite a while with the installation info at the bottom. Any ideas what it could be?
Several plugins add options to the topic submission and edit forms (Support Forum, bbcode-buttons, etc).
I know how to add to the end of those forms with add_action(‘hook’,’function’), but I don’t understand how they add their fields to specific areas of the form, such as below the Topic title field, above the post text field, above the tag field, etc.
Is there a proper way to do this so it remains theme agnostic?
I have the following:
Version 1.0-alpha-6 and WordPressMU 2.7.1 The problem lies with the instructions: Your video is excellent but when you read other posts they approach it different, and everyone has different ideas about this token, and the plug ins. Its just so dam confusing. I have two con fig files that have so much different code I just have no idea what is going on.
How exactly do you go about redirecting? Can it be done through a plugin or does one have to hard-code files? Which files need to be edited? I am trying to do the same thing, (almost… I’d like profiles, etc. to be managed through bbpress, but registration through wp only since I use invite codes).
Thanks.
When I go to phpMyAdmin, I do see bunch of tables under XXX-forum. For example, when I open bb_usermeta, it shows some entries such as umeta_id, User_id; but when I try to ‘browse’ them , I don’t see the the contents where I can see user name etc, instead I see something like:
SQL query:
SELECT COUNT( * ) AS Rows
, user_id
FROM bb_usermeta
GROUP BY user_id
ORDER BY user_id
LIMIT 0 , 30
Is there a guide as to how I can work with this. Or do you know what is the best way to delete bbpress without affecting my wordpress, I will try to re-install it.
Thx.
You have to tell bb, when you set it up, where wp is
Default assumption is that it’s the same folder. You’re going to need phpMyAdmin or something to fix it.
Go into your XXX_forum database and open up the bb_meta
table.
Look for:
user_bbdb_name
user_bbdb_user
user_bbdb_password
The first one is the NAME of your WordPress database (so XXX_wrdp1
), the second is the ID used to access said database (sounds like XXX_wrdp1
from your post) and the third is (heh) your password for that ID.
Set those up to point to WP and you should be able to log in.
Hi
I am running WP 2.7.1 and bbPress 0.9.4 and have completed “deep” integration of the two (cookies, logins, users, wp functions).
A major component I use is a WP Plugin called “Featured Content Gallery” and I am trying to fuse it into bbPress. I have added the code and it *half works*. That is; none of the images, nor the description appear but oddly enough the title shows.
My question is then, has anyone actually done this? If so how OR Is it even possible?