Very interesting, and sad for the project to lose Sam, if that’s the case.
I think Sam doesn’t work for Automattic anymore. Check this link : http://www.wptavern.com/forum/bbpress/860-future-bbpress-undecided.html
Moreover he isn’t listed here too : http://automattic.com/about/
@mwaterous: Sorry, now i know what you mean. Yes, you´re right. This is really not what i want to do.
@all: I tested the above mentioned fix once again with the default theme and got it working after changing the css file too… But as mwaterous said: this fix is not removing the brackets. It just fixes the line break between the brackets. I´d like to completely remove the brackets. Where they´re generated?
or just <?php forum_name($topic->forum_id);?>
ah.. thats what I said. Good will come to use someday.
Go it <?php global $topic; forum_name($topic->forum_id);?>
with the help of _ck_’s post: https://bbpress.org/forums/topic/retrieving-forum-id-from-post-id#post-21521
I don’t know how to write php…
forum_name() requires you to pass the forum_id to it. one way of doing is to get the forum_id for the topic_id and then call it. in other words create a function which takes topic_id as argument and do a mysql query to find out the forum_id & then call it.
I don’t think there is a bb-template function which can do that. you can try coding it. its easy enough.
Hi
I run a WP site and BBpress forum. Recently upgraded to BBpress latest release version and now when I log in I cannot view any old posts and when I try to create a new topic is reports ‘This topic has been closed’
On the top of dashboard I get the following…
Warning: Division by zero in
inetpubvhostssunstridercats.orghttpdocsbbpressbb-includesfunctions.bb-statistics.php on line 214
Warning: Division by zero in
inetpubvhostssunstridercats.orghttpdocsbbpressbb-includesfunctions.bb-statistics.php on line 194
Warning: Division by zero in
inetpubvhostssunstridercats.orghttpdocsbbpressbb-includesfunctions.bb-statistics.php on line 174
Warning: Division by zero in
inetpubvhostssunstridercats.orghttpdocsbbpressbb-includesfunctions.bb-statistics.php on line 244
I know this warning is shown if it belives there are no posts but the forum has been fine for a long time and has showing on the overview of the dashboard..
39 forums
82 topics
457 posts
So the posts are still there although I cannot see them or add to them.
Any help would be greatly appreciated.
How do I add forum name to latest discussion.
so instead of saying,
call for testers on the 0.9 branch and 1.0 trunk
to say,
Requests and Feedback: call for testers on the 0.9 branch and 1.0 trunk
I’ve tried <?php forum_name(); ?>
Found the solution for the “nofollow” in signatures, similar to the one you proposed for posts:
https://bbpress.org/plugins/topic/bbpress-signatures/page/2/#post-3179
Ooops, I think we posted at the same time. Ok, I tested it and it works so now all links in the message area are nofollow with no holes and the profile has the follow as I wanted. Very good
Thank you, mwaterous.
Hi, mwaterous. That is FANTASTIC. Thank you!
I have to run some more tests but I think you nailed it. I tested:
Test.com
http://www.test.com (simply written www, no html)
http://test.com (http: but no html)
<a/ a tag)
Except for the 1st one, all were converted into a link and ALL carried the nofollow tag. This is for posting messages by members on regular threads.
I placed that last line anywhere inside /bb-includes/functions.bb-formatting.php, as I didn’t have any of the other files you mentioned. In case others need this, is it possible to stick this one up? When I researched this subject here I found a few topics with at least 7 or 8 members looking for an answer to this problem. But the only answer was provided by you today.
Still ONE MORE spammer alert: if a member places HTML in its signature (using the <a tag) this will escape your filter and the signature will go “follow”
On another subject, if I may…
1. Signatures: do they only appear in the first post made by the member? I believe so.
2. I messed up the .css and can’t refix it. The size of the font for the “textarea” where messages are entered is close to nothing and I have to glue my eyes to screen to read what I am writing. This is the only field where the font-size was nuked. Where and in which .css should I fix this?
Thanks!
The latest WordPress is definitely the most secure, b/c Automattic has not released security patches for earlier versions. But bbPress 1.0 is not clearly more secure than 0.9 – in fact, because bbPress 1.0 uses BackPress, it’s possibly less secure. Plus 0.9 has been stable for a long time, while 1.0 is new and still has a fair number of bugs.
Integration is easiest when you share a user table. It’s possible to integrate bbPress with other software (WordPress, or even something else) without sharing a user table but it’s not easy and there are no publicly released plugins which allow it.
How many users do you have on your WordPress install?
The latest versions of wordpress and bbpress are the most secure and bbpress is designed to integrate with wp. The only possible advantage to keeping an older version of bbpress is the amount of plugins that have not been updated to ensure compatability (in other words, if you want a lot of plugins, stick with 0.9 until the ones you can’t live without are brought up to speed. My recommendation – upgrade now that you don’t have too many plugins to worry about).
If you’re going to upgrade bbpress, do it first.
Install wordpress and integrate with bbpress. Basic (shallow) integration eliminates the need for users to log in to each seperately.
Did you select integration during the installation? I’m assuming so – you should have the following values set in WordPress which you will use during this process to have added to your bb-config.php and the bbpress database;
AUTH_KEY
SECURE_AUTH_KEY
LOGGED_IN_KEY
NONCE_KEY
AUTH_SALT
LOGGED_IN_SALT
SECURE_AUTH_SALT
The four that go in your bb-config.php (should be handled by the installation):
BB_AUTH_KEY
BB_SECURE_AUTH_KEY
BB_LOGGED_IN_KEY
BB_NONCE_KEY
The three that should be (matched) in your database (the bb_meta table) are:
bb_auth_salt
bb_secure_auth_salt
bb_logged_in_salt
…the rest of the integration allegedly needs no attention with the latest WP/WPMU and bbPress, but I have the bbPress Integration plugin installed on mine anyways, and at the very least it doesn’t hurt. It also gives you some additional cookie information to add to your wp-config.php
I would it be separate from the forums. maybe another tab in a person’s profile. (maybe I should ask bp people?)
People can upload their car picture(s) and fill out pre determined fields.
You will have a link under their name when they post saying garage where you see the person vehicle, like you see their profile. That would be the minimal and the starting point.
Then more complex:
-Have a directory of all the people’s car, maybe looking like the groups in bp (http://testbp.org/groups).
-Have rating on the car
-Top Rating, Random, Search, and Last updated.
-Add more than one car, more than one picture
I realized that means you are basically creating a photo album with fields.
Hi,
I don’t think that there is a standard function for that, do you tried some custom code?
since version 1.0 it’s possible to have custom functions in the template functions.php file. Just like in wordpress.
I haven’t seen any reports of that issue on the forums… you might want to try upgrading to the latest 1.0 release, and see if that helps?
You are correct. I downloaded it from https://bbpress.org/latest.zip and there it was. Strange that it doesn’t come with the .zip package from the trac site.
On a new note there is now a new installation error:
Warning: Cannot modify header information – headers already sent by (output started at /XXXXX/StealthEmployed/forum/bb-config.php:64) in /XXXXX/StealthEmployed/forum/bb-includes/functions.bb-pluggable.php on line 232
I have a feeling this is probably easier to fix than the last one. Any ideas?
Is there a way, on the front page, to list the top level forums, and then show the lastest 5 discussions under each forum? I’ve been poking around in these forums and haven’t found a solution quite yet.
I just checked out 1.0.2 via svn and I see backpress is included as an external:
Fetching external item into 'bb-includes/backpress/pomo'
A bb-includes/backpress/pomo/mo.php
A bb-includes/backpress/pomo/sample
A bb-includes/backpress/pomo/sample/app.php
A bb-includes/backpress/pomo/sample/languages
A bb-includes/backpress/pomo/sample/languages/app.pot
A bb-includes/backpress/pomo/sample/languages/bg.mo
A bb-includes/backpress/pomo/sample/languages/app-side.pot
A bb-includes/backpress/pomo/sample/languages/bg-side.mo
A bb-includes/backpress/pomo/sample/languages/bg.po
A bb-includes/backpress/pomo/sample/languages/bg-side.po
A bb-includes/backpress/pomo/po.php
A bb-includes/backpress/pomo/streams.php
A bb-includes/backpress/pomo/entry.php
A bb-includes/backpress/pomo/translations.php
Checked out external at revision 191.
It’s actually included in the packaged download here too:
https://bbpress.org/latest.zip
https://bbpress.org/latest.tar.gz
I don’t think using trac to grab the source is the same as actually downloading the package. Maybe that was the problem?
1 Year ago latest reply posted.
I Wonder if this has got any progress in v1.0.2 or if it is easiy doable by templates.
I was thinking about this and it would be ideal to ask for Name, Email, and Post, when asking for a reply, if it’s a new user, he will be registered as described above, if it matches an existing user, it’ll ask for password before posting.
It would be a killer feature for me.
I’d do this but I simply haven’t got the time. It’d be easy enough to store meta data if you added an action hook for ‘bb-post.php’ that got all the event-related form data from the post form and WP’s database handling makes storing it a breeze, so that wouldn’t be too hard. Throw in a ‘bb_head’ action hook to pull up data for a given topic (do a is_topic() check and check the forum ID, that’s floating around in a global variable iirc, probably $forum), load it into global variables and then let those be added in by the template. Main issue for me would be the testing and actually having to support something after I write it for once
I’m trying to show the last ten posts in my sidebar, but I am not entirely succeeding, what am I doing wrong? I thought I’d just need to adjust the code from latest discussion a bit. Obviously it doesn’t work like that.
<table class="recent_posts" cellspacing="0" width="100%">
<?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
<tr<?php topic_class(); ?>>
<td><?php bb_topic_labels(); ?> <a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td>
<td><small><a href="<?php topic_last_post_link(); ?>"><?php topic_time(); ?></a></small></td>
</tr>
<?php endforeach; endif; // $topics ?>
</table>
So how can I call the latest ten posts in the sidebar?