I’ve just tested logins. I cannot log into my wordpress installation with my old password but i logged in successfully into the forums.
urgent help needed
I also have a user whose posts are getting caught by akismet because she posted too many links. I have installed _ck_’s human test plaugin (thanks!) and plan to disable akismet.
But is this user now listed as a spammer for akismet in general? That is, will her comments be blocked at other akismet-enabled sites?
If so, how do I restore her “good name”?
What you are asking for is very easy.
$forums = get_forums();
gets you all the forums,
$topics = get_latest_topics( $forum_id);
will get you the topics list for any forum id. So if you looped through the forums like on the front page, just fetch the $topics after each forum in the loop.
The formatting and page layout is the “hard” part.
I assume this is a non-WP page as well?
You can check the bbpress session cookie and then use that to check the user against the database. You’d have to use the same logic that WP or BB uses (the latest bbpress changes this logic). You’ll also need to make sure that the cookie domain is set correctly.
I’ve actually had to do this recently myself… it’s pretty simple and works well.
I’m using WPMU 1.3.1 and the latest version of bbPress. There is no SECRET_KEY in the config file for WPMU and I don’t think WPMU 1.3.1 uses the latest WP cookie encryption of WP2.5. I’ve tried mouldy cookies plugin and I can’t get it to work. I’ve got the usernames integrated with the blog, but I can’t pass login credentials (cookies) between WPMU and bbPress.
Any suggestions?
ok, i downloaded the latest trunk and i was able to get it working although it threw this error out:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/cristian/public_html/foros/bb-admin/upgrade-functions.php on line 537
any thoughts?
Hi there!
Why don’t use plugin authors gettext localization as bbPress itself does?!
I start testing plugins for the german community at bbpress.de and find out that absolutely NO plugin could be used without direct translation. That’s a pitty and I really wonder about this situation 
Regards
Jörg
bbPress 0.9 renamed the critical system email address that several plugins rely on (“admin_email” became “from_email”)
Unfortunately many plugin authors aren’t aware of this and the old setting is completely deleted from the database, which makes any older plugin that looks for “admin_email” fail and get a blank address and don’t anticipate/test for a blank. So they blindly insert the blank address into emails which causes the emailer to either fail or bounce the message.
A few of my plugins were affected, I just found another tonight, and there are several third-party ones still unpatched.
You can work around this problem by putting this into your bb-config.php
(anywhere on a new line)
$bb->admin_email = 'email@your-forum.com';
where email@your-forum.com
is the same email address you use inside bbPress on bb-admin/options-general.php
This won’t hurt anything, causes no extra load of any kind and simply allows older plugins to work without additional edits until the authors get a chance to upgrade them.
(Just remember you “hard coded” this address if you ever change the main one for any reason. You can delete it after 1.0 is out and all plugins have upgraded. In fact the old email address will become unused after all the plugin upgrade anyway so this can’t hurt anything in practice.)
That worked! Thanks _ck_!!
My educated guess would be because fel64’s plugin is grabbing the link within the title, so the plugin that alters the page count is not getting unhooked yet.
Try adding on a new line after global $topic;
in fel64’s plugin:
remove_action( 'bb_get_option_page_topics', 'bb_custom_topic_limit', 200);
It’s occurred to me there might be a bug in my plugin where I don’t have that matching ,200
on the end of the same remove_action line. If I remember correctly, actions have to be unhooked with matching priority numbers to how they were added. So maybe try adding the ,200
also.
Remember that bbPress’s “topics per page” setting must be set to the actual number of posts you want listed on a topic page.
Trunk means the error has been fixed in the code repository but it hasn’t been packaged into a new release yet.
You can get the latest trunk code here:
https://trac.bbpress.org/changeset/1428/branches/0.9?old_path=%2F&format=zip
I have no idea if there are any problems with that release though. You only need one tiny fix for this problem.
Also, it seems like you have a lot of interesting things going on with your installation based on the number of threads posted here. I suspect there is more going on than just a couple tiny, unrelated problems. If you can afford to do it without losing any work, you might want to try a fresh installation and start from scratch.
I’m trying to make a additional view in the plugin “my-views”, where I show “new post since last logout”. Inorder to do this I have added a new column to the online tabel from plugin “simpel onlinelist” inwhich I put the time when the user logoff.
I use the time from onlinelist :
$now = bb_current_time(‘mysql’);
but it look as if the time is 10 min to late!
So if I logoff and then logon again I may get some post which are to old.
In order to compare I made a small test where I made a new post and the logged out. Time on the post say 2008-04-22 11:44:07 and on the logout 2008-04-22 11:34:49.
Can anyone tell me how the time on the posts are made ?
or how the bb_current_time() works ?
I’ve just created a new dummy member, and tested this, and the above happens.
1. When clicking “add new” from the index page, creates a new post page.
2. It doesn’t allow a choice for which forum it should go into.
3. After submitting, it says that the topic has been closed.
However, creating a thread from within a forum topic doesn’t do the above.
How can I fix this?
I have everything installed, Fixed the 404 errors.
Now I cant get wp and bb talking. In the integration section it already is done but. My plug ins bbpress post, BBpress Latest Discussions arent working Fatal error every time I activate.
Also the bb video installed correctly but If I click on it from the admin area it takes me to my homepage?
Thanks to Sam, I learned that the Freshness column links to the latest post, so fel64’s Page plugin is no longer necessary.
However, when I activate _ck_’s Front Page Posts plugin, the freshness column links to a page without any posts.
_ck_ (or anybody who wants to troubleshoot) can contact me for a login and password for my forum. kamera [at] gmail will do the trick.
Hey.
I would appreciate it if I could get a few of you to review my latest bbPress theme before I release it: Demo
Let me know if you have any suggestions.
Thanks in advance.
Nate
Just tested it, and it works.
I have the latest MySQL, or, my host company, at least, does. They’re very good that way. I’ve tried the above fixes, and nothing works. I’ve adjusted nothing in my config file.
Also, I’m not Swedish, so I’m not sure why anything needs to be Swedish…
When I was not logged in, no errors. When logged in, I see a Javascript error:
Error: favoritesToggle[1 === isFav ? "removeClass" : "addClass"] is not a function
Source File: http://trashmedia.co.za/forums/bb-includes/js/topic-js.php?ver=20080401
Line: 55
I have a 0.9.0.1 installation and I checked there and I have the same exact same error.
It looked like the error was related to favorites, so I figured I would mark something as a favorite and see if the error would go away, but it didn’t.
There is already a ticket filed for this problem with a solution posted there as well:
https://trac.bbpress.org/ticket/851
I use this little plugin and my users love it. However, it stops working when using _ck_’s “Change Number of Front Page Topics” plugin.
How to restrict number of Latest Discussions on front page
Not sure which one is causing the problem, but thought it would be worth posting here, in case somebody wants to troubleshoot it.
I’m testing my new BBPress installation; I created a second – “normal” – user account for me, and am posting things to test everything. I noticed that, in Firefox, so far so good. However, I noticed something in IE: when I am not logged in, everything loads fine. But once I’m logged in (as a “normal” member), and navigate to various threads, the page loads, but with “errors” (as seen at the bottom of IE’s status bar). The CSS seems to mess up slightly, but otherwise everything loads correctly.
If I click on the report, it says that the “object doesn’t support this property or method”, on line 56, character 2.
Why is this, and how do I fix it?
Yes there used to be a limit with readfile/passthru but supposedly fixed in newer PHP and even the old limit was 2mb which is fairly high anyway. Also there is some debate that flushing output and making sure compression/output buffers are turned off avoids the limit. We’ll find out as more people test it.
I’ll have a version up for testing in 12 hours or so.
Oh, excitement! That seems to work just fine. Thank you.
However, fel64’s “Page” plugin doesn’t work after activating this one:
https://bbpress.org/forums/topic/go-to-last-post-in-topic
glanceup: Just cut and paste it into a plugin template. Here’s what I did (apologies to _ck_ if the headers aren’t quite right):
<?php
/*
Plugin Name: Fix Number of Front Page Topics
Plugin URI: https://bbpress.org/forums/topic/how-to-restrict-number-of-latest-discussions-on-front-page
Description: Fix Number of Front Page Topics
Author: _ck_
Author URI: http://bbshowcase.org/
Version: 0.1
*/
// fix number of front page topics
function bb_custom_topic_limit($limit) {
switch (bb_get_location()) :
case 'front-page': $limit=5; break;
case 'forum-page': $limit=10; break;
case 'tag-page': break;
case 'topic-page': $limit=15; break;
case 'feed-page': break;
case 'search-page': break;
case 'profile-page': break;
case 'favorites-page': break;
case 'view-page': $limit=10; break;
case 'stats-page': break;
case 'login-page': break;
default: $limit=15;
endswitch;
return $limit;
}
add_action( 'bb_get_option_page_topics', 'bb_custom_topic_limit',200);
// required to fix for custom topic limits to calculate correct page jumps
function fix_post_link ($link,$post_id) {
global $topic;
remove_action( 'bb_get_option_page_topics', 'bb_custom_topic_limit' );
if ($topic && $topic->topic_last_post_id==$post_id) {
$topic_id=$topic->topic_id;
$page=get_page_number( $topic->topic_posts );
} else {
$bb_post = bb_get_post( get_post_id( $post_id ) );
$topic_id=$bb_post->topic_id;
$page = get_page_number( $bb_post->post_position );
}
return get_topic_link( $topic_id, $page ) . "#post-$post_id";
}
add_filter( 'get_post_link','fix_post_link',10, 2);
?>