A minor note: I think that if you set the edit_lock variable to -1, then members can edit their comments forever. It shouldn’t impact your echo of the edit_lock variable, since you’ll probably be setting it to positive numbers.
But just thought I’d mention it!
3) You can put this in you template’s post-form.php:
<p>You will be able to edit this reply for <?php echo bb_get_option('edit_lock'); ?> minutes after posting.</p>
I believe that will show the number of minutes from your admin setting.
I think it would be neat to put this next to the edit link of the reply as well, so people see that they have some amount of time they can edit, and when the message is gone, the edit link is gone. You could extend this in a lot of ways. I think the edit_lock option is the one you want though. Even neater would be to show how many minutes left before they can no longer edit their reply…
I have no idea what happens if you exclude some users from ever locking editing on their replies (like moderators and admins.) Probably just displays the same option even though they have been exempted from the edit_lock restriction.
Thanks, john. My error log says a lot and so I’m trying to figure out if it is a plugin that’s culprit or if it’s something much deeper!
Okay.. Suddenly the error log got like 100x bigger..
pastebin: http://pastebin.com/m2e9b3dd7 (DNE)
RC3 works flawlessly on integration with WP2.8 on all my sites now. Great work Sam! As for images, I could never use them unless using both allow images and bbcode lite in combination (bbcode buttons helps here). I just tested it with RC3 and that combo still works just fine 
peace~
I need to list the tags like in WP where each topic has it’s own tags separated out, that code is not going to do that? Thanks though for the help.
1) Glad to hear it!
2) I don’t know… there’s no guide to template tags at this point. But a Codex with documentation will be started soon, I think. I wonder if studying the plugin might shed some light on potential tags to use…
3) Hopefully someone else can help ya with this one!
Thanks for your reply, johnhiler!
1) Thank you, the linked code works fine.
2) The plugin works but this is more than i need
Is it not possible to place a short text with the last date/time of edit by a template tag? By the way is there anywhere a overview about available template tags?
3) Yes, i could hardcode it into the template. I don´t know how often i change the value yet. But everytime i change the value i also have to edit the template. So I wanted to avoid it.
Hi!
I´m new to bbPress and try to create a theme that suites to my wp-theme. It´s based on the blank theme by refueled. At the moment i have 3 little questions:
1) I´d like to show the amount of db-queries and the duration of loading the page in my footer. In WP i can add this information by adding a code like this <?php echo $wpdb->num_queries; ?> Queries, <?php timer_stop(1); ?> Seconds
. Is there something similar in bbPress?
2) Is there a way to display a text if a post was edited by a user? Something like “this post was last edited on X at X?
3) The last point: In the backend i can define how long a post is editable. Is it possible to display this value somewhere above the textarea when writing a post? I´d like to add a short notice like “You can edit your post for X minutes after saving it.” The X-value should change if i change it in the backend.
That´s it for now…
I hope someone can help me.
Thanks in advance!
infected
• No more images… bbpress just eats the code. allow images plugin installed, and activated.
This, however, is still true. Has anyone else encountered this trouble?
Trying to determine if it’s a plugin in need of update, or if it’s an error on my part, or an actual issue in RC3
Yep, I’m having the same issues since RC2, see this topic (starting bottom page 1):
https://bbpress.org/forums/topic/final-release-candidate-10-rc-2-is-available
A 500 error is just a syntax error or maybe a function that’s not available to you. Is there any logging you can look at to see what the actual logged error message might be? Maybe something else in the bb-config.php has a syntax error. Can you check the syntax of that file with command line PHP on the server: php5 -l bb-config.php
or php -l bb-config.php
maybe? (that’s a lowercase L for “lint”)
There’s no sense posting a modified config file here since checking the actual file is the only thing that matters.
Sorry, been busy.
Yup, with 1.0-rc3 the old-school method works again. Hope it stays for full release
• bb latest discussions wordpress plugin now reports an error.
This was not actually true… Seems I only needed to remove the trailing slash on my bbpress URL and voila! It works fine.
• No more images… bbpress just eats the code. allow images plugin installed, and activated.
This, however, is still true. Has anyone else encountered this trouble?
Trying to determine if it’s a plugin in need of update, or if it’s an error on my part, or an actual issue in RC3
However, it looks like integration actually works (for the very first time ever!)
This remains true. So happy about that!
Just updated to RC3 with WP2.8
• No more images… bbpress just eats the code. allow images plugin installed, and activated.
• bb latest discussions wordpress plugin now reports an error.
However, it looks like integration actually works (for the very first time ever!)
Johnjamesjacoby could you give us some more information ? Thanks
@johnhiler,
Thank you so much for sharing this. It worked perfectly!
I am using bbPress 1.0-alpha 6 and the bbpress-forum theme (same as the one used on these forums).
I have forums and subforums and have hidden the subforums on the main page, so that only the parent forums and latest topics are showing.
The challenge is that the parent forums are showing 0 topics and 0 posts, even when their subforums do have topics and posts.
How can I get the number of subforum posts and topics included in the parent forums’ count on the main page.
Thanks in advance.
ı downloaded old database
after deleted old tables like bb_ on database, using phpmyadmin tools.
after re-installed bbpress and integreted to wordpress
after opened downloaded sql file and re uploaded 3 tables:
bb_post
bb_forum
bb_topic
forum is fasted 
yes, bbpress rc3 faster older versions…
Add this line in your <head> tag
<link rel="shortcut icon" href="favicon.ico" />
Ah I see – you’d like to add a theme editor to bbPress?
The Theme editor is what I mentioned earlier as a huge existing potential security hole in WordPress. It seemed to be a major attack vector in the recent Bablooo spammer attack, which hit one of my sites; it allowed the virus to add spam links to existing posts. If they had wanted to, they could have easily overwritten the posts completely – or even deleted them.
I would highly encourage you to delete the theme editor file from any existing WordPress installs… at least until WordPress has diagnosed the vulnerability and if appropriate, issued a patch.
But if you feel safe behind your firewall… I suppose you could pay a developer to build a plugin which lets Adminstrators and above write to your file system using the bbPress admin. There’s definitely no existing bbPress plugin that I’m aware of! Maybe WordPress’s code could be ported…
Good luck!
A very big Thank You to everyone working on bbPress and in this forum.
Sam “The Man” Bauers (it has a ring to it, I think), any other coders behind the scenes, all of you who write such cool plugins to add great features, and those who respond to questions in this forum so promptly and in great detail. Many thanks indeed for your time, thoughts, and hard work.
I was just adding a note to a forum of mine, and realised that after a lot of hours getting it the way I want it, well, it just works. It does everything it’s supposed to, and I’ve learned tons about CSS and PHP into the bargain. This one helps new mums who’ve come to live in the UK, so in a roundabout way everyone who’s helped me has helped a mum and her baby too. Ahhh – all soft and fluffy feeling.
It’s kind of hilarious they have blocked ftp yet template upload and edits via php can completely open your system to security vulnerabilites. We’re still trying to figure it out but I have a strong suspicion of the WordPress theme-editor.php
causing a large number of WordPress sites to get compromised recently:
babloo/blyat spammer attack on many WordPress blogs
The day bbPress gets a built in theme-editor, delete the file immediately.
Also delete xmlrpc.php unless you absolutely need trackbacks/pings.
And never, ever, use a dictionary word within a WordPress password as there’s no limit on login attempts.
not sure how to submit a trac ticket… but this error showed up on a fresh install:
[You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘) /* WP_Users::append_meta */’ at line 1]
SELECT user_id, meta_key, meta_value FROM bb1_usermeta WHERE user_id IN () /* WP_Users::append_meta */
Caller: BB_Install->BB_Install, BB_Install->process_form, BB_Install->process_form_finalise_installation, bb_new_user, bb_get_user_by_nicename, WP_Users->get_user, WP_Users->append_meta
This is the code my template uses to generate the link to the forum name on front-page.php…
forum_id); ?>”><?php echo get_forum_name($topic->forum_id); ?>