I dunno if my post gets deleted, but I posted this twice already and can’t find it, so here another try.
I tried installing the latest version of the social network from buddypress two days ago, but I fear it isn’t working properly. Whenever I click on a link, be it a member, blog, post, groups, create groups, etc I get redirected back to my homepage where my blog is. Is there a plugin that I am missing or do I have to set up sth?
Thanks.
I’ve tried installing bbPress 0.9.0.4 twice now, and with the same results both times. It installs, runs, lets me into the ACP to change things, etc. I add nothing more than a topic and a post, and get this for every link I select;
Not Found
The requested URL /topic/welcome-to-the-forum was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
It’s all in the DB, so what’s happening? Any help appreciated before I go mad (have tried 5 BB packages in 3 weeks trying to meet my users requirements).
[edit]
Aha! Found a post elsewhere about changing Pretty Permalinks, and that was what wrecked it. Should perhaps have some sort of internal test when you click the dropdown list..?
Oh, I checked my webserver’s log and found that my rather obsolete German translation is still downloaded frequently. So I decided to rework it for the latest stable bbPress 0.9.0.4.
You can download my language file on my German blog.
And now for the folks that understand German better than English:
Oha, ich habe einen Blick in die Logdateien meines Webservers geworfen und musste dabei feststellen, dass meine ziemlich veraltete deutsche Übersetzung immer noch häufig heruntergeladen wird. Deshalb habe ich meine Übersetzung für die aktuelle stabile Version 0.9.0.4 von bbPress überarbeitet.
Wer mag, kann meine Sprachdatei in meinem kleinen Blog herunterladen…
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
When my users click the same link while signed out, they get sent to a similar link:
http://boards.weddingbee.com/bb-login.php?re=http%3A%2F%2Fboards.weddingbee.com%2F%3Fnew%3D1
So it looks like bbPress is sending users to the right place. So I played around with your URL a bit:
http://www.endsofearth.com/forum/bb-login.php?re=http://www.endsofearth.com/
That didn’t work either, so I stripped off the re= part completely:
http://www.endsofearth.com/forum/bb-login.php
That worked… suggesting that the problem is with the re= part and your htaccess file.
Just when I was feeling clever, I did a quick Google search and ck had already figured it all out:
https://bbpress.org/forums/topic/latest-discussions-add-new-link-problem-if-not-logged
Maybe try disabling MultiViews or checking your htaccess file?
Same problem here. There are no mismatches between my manually set cookie paths. However, is there a list of all cookie paths that could be set?
All I did was upgrading to RC1. Before that, with the latest alpha-release, this problem did not occur.
I am using WP 2.7.1 (not WPMU).
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.
Everything matches, everything is UTF8 (since I am running a Russian site). All headers and meta show utf8. The DB is all UTF8…
Could you tell me what function reads users from WP db? I would follow from there.
Example: http://www.ourtx.com/ourtx/forum/topic/43
DB is WP 2.7.1 all UTF8_general_ci where it concerns text fields
Plus, I have a chron job that gets latest posts and prints them on the left side of the website, it gets that user name in Cyrillic just fine.
Today I installed the bbPress Attachments plugin, which seems to work well.
But then I tried to delete a topic, got a PHP header already sent error, and when I returned to the Front Page, in the Forums and Latest Discussions tables I no longer have the Topics & Posts counts in the Forums table, nor do I have the Posts, Last Poster and Freshness columns in the Latest Discussions.
I’m running .9.0.3.
Anyone have any ideas what might have happened and/or how I could resolve this?
a wiki-plugin already exists:
https://bbpress.org/plugins/topic/wiki-post/
a revision tracking plugin also:
https://bbpress.org/plugins/topic/edit-history/
But it seems like it does much more than we basically desire.
I just tested the Edit History plugin and it does indeed track all that data – last edit, last editor and number of edits. But it does not output the message in the normal topic view. Instead it uses a separate page with all the revisions of a post. And that page is not visible to everyone.
I guess it is not hard to add that feature to the plugin. Wish I had the programming skills to do it!
For anyone having problems with WPMU integration with bbPress, make sure you have the latest (1.0-alpha-6) version of the bbPress Integration plugin.
This newer version of the plugin is compatible with bbPress 1.0-rc-1 and should give you better advice about what to manually insert into your WPMU wp-config.php
One of the users has set in WP a nickname in Cyrillic (which reads in place of the username in latin). In WP it shows up fine, however, when that user info read by BB it is displayed as ??????????. My guess is that it read from db utf8 but then it goes through single byte string function that kinda kills it. Any other parts of the posts, topics, body and such are read and displayed fine in Cyrillic. Thus it is my understanding that the user name gets de-utf8 somewhere in the process of maybe checking for its validity or something else.
The $collation_query is “SET NAMES ‘utf8’ COLLATE ‘utf8_general_ci'” in class.bpdb.php
Any idea where to start looking? I have what was the latest alpha.
What function reads users from WP db?
Try the latest 1.0 release (1.0-rc-1). There was a bug in the way orphaned users got their roles applied. If you upgrade, then re-save the role map in the admin, it might fix your problems.
Cool. Upgrade went easy. Shared login with WP 2.7.1 works. Now to test…
I’m using Allow Images on 1.0a6(trunk from last month) and it seems to still be working. But I’m not using the bbCode plugin so people just put in <img src="http://mylink.com/image.jpg" />
I just tested now and it’s working okay.
That might be an interesting discussion, but for another forum. We’re not going to change that here. Maybe try the wp-hackers maling list?
Or, there is some pretty good info here on why NOT to do it:
http://us3.php.net/function.mysql-pconnect
Thanks, why in BB and WP no one is using _pconnection ? Would it not be better than _connection?
I don’t have the latest beta installed, but I do have an Alpha 2 installation and the database connection is here:
./bb-includes/backpress/class.bpdb.php:123:
$this->dbh = mysql_connect($host, $user, $password, true);
Trying to locate the file that has the routine that does msql_connect or _pconnect…
I’m attempting to install bbPress on a completely fresh site, latest WPmu and bbPress and have php5 and I’m getting the same message.
please help!
site http://twilighttearoom.com
intstall http://twilighttearoom.com/forum
It would be possible to do that via a plugin.
this might work, untested:
add_action('bb_head','close_long_topics');
function close_long_topics() {
global $topic;
if (is_topic() && $topic->topic_open===1 && $topic->topic_posts>299) {
bb_close_topic($topic->topic_id);
$topic->topic_open=0;
}
}
bbPress 1.0 rc1 will be announced shortly,
aka 1.0 alpha 7, Sam has decided to jump the beta test phase.
I don’t want people to use 1.0 on live sites because you can never go back to 0.9 once you upgrade. There is always an upgrade path, there is no downgrade. It is very tedious for plugin developers to keep up with radical changes in the alpha development, bbPress 1.0 is a different creature internally than 0.9
You can read more about my reasons here.
Okay, I’ve managed to figure some of it out, I’m using:
<br />
<pre><code><?php $posts = get_thread( $topic->topic_id, $page ); //pulls posts fo each topic?>
<li <?php topic_class(); ?> style="border: 1px solid green;">
<?php foreach ($posts as $bb_post) : $del_class = post_del_class(); ?>
<ul class="TopicStarterInfo">
<li><?php post_author_avatar(); ?></li>
<li><?php post_author_link(); ?></li>
<li><?php post_author_title(); ?>
<li><?php printf( __('Posted %s ago'), bb_get_post_time() ); ?> </li>
<li><?php echo $bb_post->forum_id;?></li>
</ul>
<?php endforeach; ?>
But its pulling all the post authors. I think I need to limit to the first one, but I’m not exactly sure how to do that.
Edit: figured it out from: https://bbpress.org/forums/topic/separating-the-first-post-of-each-topic#post-21808
using:
<?php $bb_post = $posts[0]; unset($posts[0]); $del_class = post_del_class();?>
instead of the foreach.