Oh! I see the problem! (Or at least one of them)
Try <?php $topic = $GLOBALS['topic'] = current( get_latest_topics( array( 'number' => 1, 'forum' => get_forum_id() ) ) ); ?>
I tried the code, it’s not working.
Anyone?
<tr<?php bb_forum_class(); ?>>
<td><?php forum_icon(); ?> <?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><b><?php forum_name(); ?></b></a><br /><?php forum_description( array( 'before' => '<small>', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td>
<td class="num"><?php forum_topics(); ?></td>
<td class="num"><?php forum_posts(); ?></td>
<td class="lastp"><?php $topic = $GLOBALS['topic'] = get_latest_topics( array( 'number' => 1, 'forum' => get_forum_id() ) ); ?><small>by <?php topic_last_poster(); ?><br />on <a href="<?php topic_last_post_link(); ?>"><?php echo date("D M j Y G:i:s", strtotime($topic->topic_time)); ?></small></a></td>
</tr>
results in
by
on Wed Dec 31 1969 19:00:00
Thanks, but I’ve already tried that, it still doesn’t seem to work.
I’m still unclear as to why I shouldn’t be putting my custom template in /my-templates/ rather than /bb-templates/. It’s often said that you shouldn’t, but when I put it in /my-templates/ most of the tags stop working, like the one listed above. I still haven’t got it to work.
The code to get topic titles and so forth don’t seem to work outside of the /bb-templates/ directory either?
Thanks.
You could just make the WP install part the ‘about this site’ page, or use it for a FAQ. Most forums I’ve seen end up using some plugin to force that anyway, so the loss is a little negligible.
What about having WP bothers you so? I mean that sincerely, since I suspect a good, logical argument would be beneficial to the development. You say you can’t afford a WP install, but I don’t know why (security risks? just don’t like it…)
Speaking as a coder/programmer/developer/whatever, I think that BB is most often used in concert with WP, and the integration is superficial right now. You can easily get user integration, but login can have issues and themes are often separate. While I had only minimal issues setting it all up, the difference between setting up WP and BB versus WPMU+BuddyPress+BB is obscene! It’s all of a click and done for the later, and there’s really no reason it can’t be that easy for WP. That kind of integration would really help BB get out there and be used.
This is a 5 year old app, it’s barely in V1, and it needs an injection to get it back on track. If the developers feel it’s easier, better and work on and support, well, I trust them. As far as forums go, there are other, better, stand-alones out there. If the dev team don’t want to complete against those, and want to make a niche app, that’s not a bad idea.
The forums at wordpress.org and mu.wordpress.org and wordpress.com are all using bbPress, which I suspect might be the driving force there.
@gerikg : I think that only works in their site ( Facebook ), but what a great progress ! So soon, we will only need _ck_’s OpenID plugin
The problem is that some people ( me for example ) don’t want to install a blank WordPress blog integrated with the bbPress forum just for the Facebook Connect support .
Oh and, I think it’s a really bad idea to make bbPress a WP plugin, if it’s gonna happen, there will be two choices for me : either leave bbPress and search for another easy to design forum software, or stick with the 1.0.2 or something like that and avoid to update . Because I can’t afford to install a WordPress blog just to use bbPress !
So, I think Matt is wrong when he’s saying that bbPress can’t compete in the forum software market ! IT CANS ! Just do some little improvements like default theme rewriting ( so that newbies will be encouraged to use it ), and write a Codex so that everyone sees how easy it is to customize bbPress, then, when bbPress becomes mature, try to link the two sites wordpress.org and bbpress.org together ( well yeah, when I visit WordPress.org, I don’t see any mention of bbPress ! ) to have a greater user base .
Matt had two choices :
- Listen to the non-coders ( who are requesting to make bbPress a WP plugin, because they find it “too hard” to integrate in the WP theme ) .
- Listen to the coders ( who are saying that bbPress should stay a standalone application ) .
Matt made the wrong choice ( the first one ), so I think that many coders will leave bbPress .
Sorry but… If someones wants a WP plugin, there are tons of them : SimplePress is a great example !
So please, leave bbPress as a standalone application !
@chrishajer, glad it works!
I did use the template of 1.0.2 for reference.
For 0.9.0.4 one can try to adapt it from that original template.
The reference file is tags.php of the Kakumei theme.
Add the bb_load call on top to create the page, and take off the 80 limit.
Hopefully, it will work the same way. The basic idea is to take that limit off when tags are called.
plutopsyche not yet, but they are going to work on it (codex) by 2010.
Any other suggestions?
Hi 
I have made a post at my forum, Dev:station:
“The problem with bbPages is that the customized pages are stored in an SQL Table within your bbPress Database. In effect, and based on the way it loads, the PHP code will not execute.
If, however, the plugin saved the custom page as a PHP file, it would work.
Once bbPress starts to mature with a new version, I may create such a plugin.”
Sorry, that’s:
# BEGIN BBPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /forum/
Options +MultiViews
</IfModule>
# END BBPress
So that page is current? It appeared to me that it was a bit out of date with the references to pre-1.0, but hey, glad it works!
So that solves 2) Awesome! Am still seeing 1)
Thinking this is an .htaccess issue. Is there a current link for what should appear in the .htaccess file? Still getting blank page anytime I click on Admin or access an admin page manually (via url).
: Have tried
– Deleting cookies
– Flushing cache
– various long & convoluted .htaccess files found here.
Have installed to a subdir of my root wp installation, dir is named forum.
Here is my current .htaccess for bbpress:
# BEGIN BBPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /forums/
Options +MultiViews
</IfModule>
# END BBPress
Almost there!
buddha trance, works perfectly in 1.0.2.
Using 0.9.0.4, it gives me the top half of the page and no more. These are the last two things in the rendered page:
<div id="main">
<div class="bbcrumb">
Add <?php $topic = $GLOBALS['topic'] = get_latest_topics( array( 'number' => 1, 'forum' => get_forum_id() ) ); ?> before the snippet you posted. (Untested, but I think it will work)
Dear Developers………. 
Recently I’ve used bbpages plugin .. it works fine… but I need one thing… the bbpages plugin’s editor just accept html code… so i want to execute php code .. .how it possible?… i want to include
<?php include(“filename.php”); ?>
in the editor but it does not accept php code… plz guide me how can I execute my php code in this editor … love you all
I have downloaded it, thank you.
I saw that the problem came from the fact that it was only allowing Key Masters as the minimum access. I realized that there was a problem with my database which is why it was not saving the settings when I changed them.
It al works perfectly now – thanks!
That’s awesome! I have just commented on the beta.
Thank you!
And thanks for the tips – they sound very logical, and pretty much confirm what I kept asking myself.
I really appreciate all your help.
Here are some steps when converting WP plugins into BB:
- Change everything from WP to bb (except some functions like wp_enqueue_scripts, etc – they are borrowed as it is from WP, actually they are in BackPress)
- Activation & Deactivation are hooks, not functions
- There are some different functions like
bb_title();, bb_option('description');, bb_option(’uri’);
- If a function name doesnt start with
wp_, then most of the times bb_ is added to avoid conflicts when WP functions are loaded into bbPress (integrated)
- There are also functions like
bb_is_topic() etc like is_single() in WP
- etc….
BTW, nice theme of your forums…
Greetings all
(I have removed the 888 from my user-name – I just couldn’t stand it anymore)
I hope someone can guide me or point me in the right direction here. In various attempts to understand how the bbPress plugin system works, I am trying to convert a few WordPress plugins into bbPress ones.
I’m starting off with “WP-Cumulus” as well as “Let It Snow”. I’m not sure, however, what to look out for. For example, what are the differences between WP and bbPress when it comes to adding extra admin and profile info.
What things should I look for while I go about doing this?
Any tips would be greatly appreciated.
Thanks!
Yeah, the OpenID plugin works quite well. I wish it was a little more theme-adaptive, but there’s a work-around for everything.
gerikg: Good idea – we’d like these meetings to be as productive as possible. And you’re very welcome to attend on Wednesday.
Looking forward to hearing your ideas.
I want to put a new column called “Last Post” on the bottom section of the front-page.php.
so it will be
Forums
Main Theme Topics Posts Last Post
Installation — Getting it up and running -6,451 9,163 by GerikG on Thu Dec 10 2009 16:48:32
I tried
<small>by <?php topic_last_poster(); ?><br />on <a href="<?php topic_last_post_link(); ?>"><?php echo date("D M j Y G:i:s", strtotime($topic->topic_time)); ?></small>
but that didn’t work.