Anonymous UserInactive
Yesterday I had the same question – a look into the kakumei-theme helps me. The Code-Snippet is:
<?php topic_page_links(); ?>
I’m very happy with the way my bbPress them has turned out. I’ve even managed to fix my drop down menus so they work — my function that spits out the
tags was putting the before the
tag for the level below. Once I fixed the placement of the tag, they worked great.
My problem at this point is when I view a topic, my IP address shows up beneath my gravatar. That’s not in the code in topic.php. I believe it’s coming from the call to do_action(‘under_title’). This seems to be the only place that the gravatars can come into the post, as there doesn’t seem to be anything in the topic.php file related to them.
Any ideas are appreciated.
Tony
I’ve got my forum set in German and had some trouble displaying various characters, so I followed a few hints in various topics around here and set my database collocation from utf-8_general_ci to utf-8_bin.
That in itself didn’t change the problem – that didn’t disappear until I converted the front-page.php from being encoded in ANSI to being encoded in utf-8. Since that took care of the problem, I converted all other files I’d been using lately (profile, topic, etc) to utf-8, figuring that it was my mistake for not having notepad++ set properly when I started out with it.
Everything is now displaying properly except for the profile page which simply will not load. I am getting timeout errors, e.g.
Fatal error: Maximum execution time of 30 seconds exceeded in … /forum/bb-includes/functions.bb-formatting.php on line 257
or
Fatal error: Maximum execution time of 30 seconds exceeded in …/forum/bb-includes/backpress/functions.plugin-api.php on line 136
or
Fatal error: Maximum execution time of 30 seconds exceeded in …/forum/bb-includes/functions.bb-core.php on line 844
If I hit refresh, it shows up with a different line in any of those files. They all have something to do with the encoding, from what I can see.
So I changed back the database collation, and converted the files into ANSI again, and deactivated any plugin that directly links into the profile page (the subscribe to topics plugin). No change. No profile. Still the same error messages.
Could anyone point me into the right direction of where to look? If there’s anything more you need to know, I’ll gladly mail the details.
This sounds really good. Would love to see the code when you’re finished.
Looks great, Sam! I like the avatar size… would be nice to add Gravatar size options in the admin panel (hint).
I might have solved this whole business:
BbPress MultiQuote (Based on Wp Quote Comments)
– wysiwyg support (tinyMCE)
– multiquote (No reloading or other problems)
– Select area to quote and never be forced to quote the whole message.
– Quote from previous pages (I got a solution for this. Just need to make the code)
Might add nested quote support to it later.
If there is any interest, I will make the code available here once Im done cleaning it up.
Hi and hello.!
In my forum.php I use the following lines to show different content based on the forum-id:
<?php if ( $forum_id == '2' ) : ?>
blablabla
<?php elseif ( $forum_id == '3' ) : ?>
blablabla1
<?php else : ?>
blablabla2
<?php endif; ?>
Now, I need to show different content inside the topics (topic.php) based on witch forum the topic is posted in. For example if the topic is posed in forum_id 2, I would like to show “this post was posted in forum_id 2…”
Any idea what I might use to make this come thru? I am running bbPress 1.1. 
– Thanks!
Yes, .htaccess should be added to the list too. More eyes see better
Yeah, that too, wiseacre
Third, keep the following files and directories.
1. bb-config.php
2. my-plugins/ (if you have it)
3. my-templates/ (if you have it)
4. my-languages/ (if you have it)
I’d also suggest keeping .htaccess if you’ve modified it!
В страницата с разширенията горе има едно “Инталирани” – липсва с-то
See and I just turned off Akismet for catching nothing but ham 
FYI, the upgrade instructions still work, though Sam, you might want to remove ‘These instructions cover upgrading to version 0.9.0.2’ and the mention of config.php (are we really supposed to rename that? I just turn off my plugins, copy the my* folders, htaccess and bb-config over to the new folder, and rename them both)
@ _ck_
That is defined for you in bb-settings.php
if ( !defined( 'BB_LOAD_DEPRECATED' ) ) {
define( 'BB_LOAD_DEPRECATED', true );
}
I dig the new look, a much needed re-design! Glad to see a bit of honey in the new design, adds a little fun, without giving me a toothache 
The two column layout is a big improvement too, helps organize the content better and keeps it at out fingertips.
Can I infer from the “Themes” link that bbPress will have an official theme directory soon?
Please be patient. Waiting about an hour between bumping is a little rude for a forum full of volunteers 
What are you using for the rest of your site? PHP pages, WordPress?
These folders do not exist:
http://roadtoanimation.com/forums/my-plugins/
http://roadtoanimation.com/forums/my-templates/
These do:
http://roadtoanimation.com/forums/bb-plugins/
http://roadtoanimation.com/forums/bb-templates/
(BTW, you should turn off directory indexes by putting this in your .htaccess:
Options -Indexes )
Since that server appears to be running Apache/Linux, the directory names are case sensitive. Are you sure they’re lowercase? Also, using hyphens, not underscores? Can you take a screenshot of the directory listing, using a shell or FTP, and post a link to that? Or, find someone local who you trust that can log in and check this out for you.
I’ll have a fiddle with the documents and see if switching to Mac or Unix format helps. I just assumed i’d run with what i use on WordPress…
What concerns me is why these role lines seem to be required for template files to function correctly, and that in keeping them there invalidates the pages…
I suppose the question now is, does anyone else have the issues i mentioned when editting or creating bbPress themes? … If anyone is to report they do not, then i’m happy to accept that it’s likely my mistake and look back over what i’m doing, and where i’m going wrong…. but i’d like a little feedback beforehand….
Admittedly i’m using a custom theme that i converted from a WordPress theme, however i’m not incapable of managing code, so i’ll happily accept that i may have fudged something unintentionally if that’s really the case.
I’ll let you know if using Unix or Mac format makes a difference….
If this is shared hosting, I think it’s overloaded. If it’s your own box, you can do something like this to see how many files are open:
ulimit -a
There are many reasons for too many open files, but I don’t think it’s related to bbPress since 0.9.x is pretty stable and I have not seen this error reported for it before.
If you post a link to your domain, someone can check and see how many virtual hosts are living there. Maybe one is just behaving badly.
I like ck’s method of displaying the dates and I tried applying her code to the front-page.php file. But when I change the code under ‘$super_stickies’ and ‘$topics’ from
<td class="num"><a href="<?php topic_last_post_link(); ?>"><?php topic_time(); ?></a></td>
to
<td class="num"><a href="<?php topic_last_post_link(); ?>"><span class=timetitle title="<?php echo date("r",strtotime($topic->topic_time)); ?>"><?php topic_time(); ?></span></a></td>
There is no change.
If I change it to
<td class="num"><a href="<?php topic_last_post_link(); ?>"><?php echo date("r",strtotime($topic->topic_time)); ?>"></a></td>
I get a properly formatted time description. But I can’t get the title to work. What am i doing wrong?
Yeah Its kind of an ugly workaround but its the only way i know that works. 
Id also like a native rss syndication. In time it will come i think!
Thank you very much for your replies.
It’s less common but it’s not invalid at all. There are many installs that do it.
To just move forward so you can work on other things I would simply try putting the copy of kakumei under bb-templates and see if even that works. Name it maybe mykakumei for example.
Have a look here on how to exclude a forum from the front page loop, whilst keeping the post limit intact.
limit forums included in latest discussions
Note the core hack required to keep the paging numbers correct.
Maybe you then need to write another small custom query to bring out just forum 17, as I’m not sure you if you can have two loops. (perhaps the WP multiple loop info would give some insight into this: https://codex.wordpress.org/The_Loop#Multiple_Loops)
Just looking at your code, it looks like you’re ending your “if” statement a little early.
Try this:
//Show latest discussions with all forums except id 17
<?php if ( $topics ) : foreach ( $topics as $topic ) : if( $topic->forum_id != 17 ) : ?>
<!-- your output stuff here -->
<?php endif; endforeach; endif; // $topics ?>
//Show latest discussions but only forum 17
<?php if ( $topics ) : foreach ( $topics as $topic ) : if( $topic->forum_id == 17 ) : ?>
<!-- your output stuff here -->
<?php endif; endforeach; endif; // $topics ?>
Not sure if that’s causing your problems… but try it out and see what happens.
You can rename the sub-folder anything you want and yes you can even put it into bb-templates though that’s not how it’s supposed to be done.
It’s just a bad sign that my-templates doesn’t work and very mysterious.
There might be something else going on like multiviews interfering.