..
Here is one I’m Working on… Waiting for a Stable Version of V1 to be launched…
Still working on Modifying Theme and Creating (& Searching) for plug-in’s to make it into a Full Working Forum…
WARNING: This site is to be an Adult Site…
http://forum.tnalist.com/
—-
Best thing about bbPress = It’s Light Weight! and Extreme Flexibility!
I think you’d be better off just copying all the styles, and creating a new style called .return or whatever you want. Right now, it’s #header div.search which applied only to div.search in the header. I think I would just copy the styles you like, paste them at the end of your stylesheet, then rename them to whatever class you want to use for your button.
Tiago S, I signed up for your forum because I really like your design, want to know how it works, and am a little new at CSS…hope you don’t mind
http://www.holysh1t.net/forum/
Spent nearly a half day trying to get the same look as my main blog template. I’m nearly there, just some minor tweaks to get it exactly the same 
Besides that I several other plugins.
I’ve started coding my first bbPress plugin and I’m now pretty familiar with most of the actions and filters and some of the inner workings of bbPress but I’m stuck.
The idea of my plugin is to insert AdSense code block in every topic at post X where X is either random or defined by the admin. I’ve been messing around with the post_text filter which allows me to change the text of any given post and insert an AdSense block. I can mess around with the author name and stuff too. The problem is that by doing this I replace the current post with the AdSense block instead of simply inserting it before or after the post, thus the post I replace isn’t visible.
To get around this I tried to first display the AdSense post then include the post.php file in the currently selected theme. But this crashes, I think due to an infinite loop. I then noticed the pre_post filter which looked promising but I couldn’t find where it’s defined or how it’s used.
In short, I need an alternative approach or solution to create a custom (and theme-independent) post.
My code, so far, is visible here: http://pastebin.com/m1cbf6b24
Cheers
Do you have access to .htaccess on an Apache server? You could just put this in your .htaccess file:
Redirect 301 /forums/index.php http://www.example.com/forums/forum-1/
Without knowing your two URLs, it’s hard to guess, but it can be done fairly easily like this.
I just wanted to say thanks to everyone. It took a bit of playing around with grep for Windows but I managed to compile a relatively complete list of filters and actions. Thanks for that.
Using this method it should be pretty easy to generate a complete list with arguments for the codex, why doesn’t someone who has access to bbpress.org add one? It wouldn’t include descriptions but it’d be a good starting point.
I only have one forum, so there is no point in BBPress giving me a seperate front page and Latest Disussions list. Is there an elegant way for me to integrate the sidebar into the forum listings page? I tried chopping up the templates but I can’t seem to get the code right.
If you have a config.php file in an directory above it, temporarily rename that config.php to x_config.php or some other name. Now complete the bbPress installation and then again rename x_config.php to config.php.
That solved my issue.
See https://bbpress.org/forums/topic/php_e-issue#post-16264
But there instead of wp-blog-header.php and wp-wp-blog-header-bb.php must be used wp-load.php and wp-load-bb.php files.
I’ve tried to install bbPress in a several different locations, but i always get an errormessage at Step4:
Installation failed! The database failed to install. You may need to replace bbPress with a fresh copy and start again. Referrer is OK, beginning installation…
Step 1 – Creating database tables
>>> Database installation failed!!!
>>>>>> Halting installation!
I cleared the database tables also and retried to install. But with no success. We use PHP 5+ and MySQL 4.1 on Suse Linux. I also tried to chmod some directories. No success.
As i took a closer look at the code, i can report that the errors is thrown from class-install.php on line 1513: $alterations = bb_install(); after doing a print_r on the alterations array, i can see it has now values.
EDIT:
further debugging shows the following errors:
Key master could not be created!
Forum could not be created!
So it seems, that the forum couldn be created. If i create it manually. The frontend works. but when i try to login to the admin panel, i always get redirected to the frontend without an error.
maybe this could help…
kind regrads from germany
michael
Hallo and thank you so much, it works!
For all who know even less than me about php, there is one little change to do:
Just start the code with: <?php
And it will work great.
Thanks to all!
I created this plugin for personal use, but others of you might find it useful too.
The Amazon Quick Linker plugin allows you to wrap keywords in bbcode style markup [amazon][/amazon] and it will then turn that into a search results link.
Example: [amazon]programming php[/amazon] would become programming php
Amazon Quick Linker plugin page
You could use the bb_is_user_logged_in() function like this:
<?php if ( bb_is_user_logged_in() ) { ?>
<div id="hottags">
<h2><?php _e('Hot Tags'); ?></h2>
<p class="frontpageheatmap"><?php bb_tag_heat_map(); ?>
</div>
<?php } ?>
You were very close with your guess as to the function name.
Hallo,
Please excuse my english!
I’using “private forums” and “approve user registration” to keep my forum privat. I don’t want to show the tags to users who are not logged in.
So I just did this <!– –> with the tags part in front-page.php.
But is there any way to show the tags to users who are loggend in?
For example change the front-page.php to something like:
if (user_is_logged_in)
{
<div id=”hottags”>
<h2><?php _e(‘Hot Tags’); ?></h2>
<p class=”frontpageheatmap”><?php bb_tag_heat_map(); ?></p>
</div>–>
}
This would be very nice 
Benjamin
Thanks _ck_, I just downloaded it and installed it. I have a question and a comment.
1st Q: Am I missing something simple? Is there a way to get forum_last_post_title() in addition to the link? I”d like the link title to be the post title. With your plugin I can create an href of the last post and link to it but the link text has to be the URL. I’d like the link text to be the post title.
2nd comment: There is something weird going on inside the bb_fourm_class() loop. If I do this code the plugin works correctly giving me the last post link:
<td class="topicTitle"> <?php forum_time(); ?> <a href="<?php forum_last_post_link(); ?>"><?php forum_last_post_link(); ?> </a> <?php forum_time(); ?>
<br /><span class="lastPoster">by <a href=""><?php forum_last_poster(); ?></a></span>
<span class="topicTime">at <?php topic_time('M. j, Y'); ?></span>
</td>
If I remove the first occurrence of <?php forum_time(); ?> and let the loop see “> first then the plugin doesn’t work correctly and the incorrect first post link is displayed. The following breaks the plugin for the 1st occurence of a link. The subforum link does work correctly.
<td class="topicTitle"> <a href="<?php forum_last_post_link(); ?>"><?php forum_last_post_link(); ?> </a> <?php forum_time(); ?>
<br /><span class="lastPoster">by <a href=""><?php forum_last_poster(); ?></a></span>
<span class="topicTime">at <?php topic_time('M. j, Y'); ?></span>
</td>
See if you can reproduce it in one of your templates. I can reproduce it here.
Hi there
As said in the topic title, how can I use bbpress avatars on wordpress comments? I have bbpress and wordpress on the same database.
Is there anyway to do this?
Someone told me to use User Photo, but I couldnt make it work… and I was wondering if existed some kind of code to add so wordpress could call the avatar from bbpress.
Thank you
Hey,
Thanks for the Reply…
I guess i may have to wait, but in the mean time, Is there ay pages available to see existing HOOKS on bbpress 0.9+. I guess it may help with testing randomly. who knows, I may get lucky
You mean the “Community” section on your WordPress site?
You need to change your .discussions2 style in http://www.audioscribbler.co.uk/wp-content/themes/revolution_magazine-40/style.css:
.discussions2 {
font-weight: none;
}
There’s no such font-weight. You want:
font-weight: normal;
It pays to validate your CSS:
http://jigsaw.w3.org/css-validator/validator?profile=css21&warning=0&uri=http%3A%2F%2Fwww.audioscribbler.co.uk%2F
You’ve made the same error in other places as well.
Also, this has nothing to do with bbPress really, it’s more of a Revolution Theme or WordPress question.
Anonymous User 1502623Inactive
hi guys, site is http://www.audioscribbler.co.uk
Basically, I’ve got the latest discussions plugin active in the sidebar, but I can’t find the necessary code to edit to customise it. I’ve create a custom DIV class (this managed to change the line-height) but I can’t get rid of the bold properties, I can’t change the font – I’ve looked on the widgets.php page and can’t find it, and editing the plugin itself doesn’t seem to work. Anyone got any ideas? thanks
I’m trying to make my front-page.php template look a little more like a conventional vBulletin type theme by displaying the “last post title and link” in a column next to the “forum title.” The problem is that topic_title() isn’t giving me what I want inside the loop. I guess I need some sort of nested loop or an alternate function.
Here’s an example of a vB style i’d like to emulate:
Main Car Forum (This is a top level forum)
Car Forums by Brand <– this is a bbPress category forum w/ subforums per car brand.
— Honda Forum 1…………………….. last post: my car broke down
— BMW Forum 2…………………….. last post: new tires?
The problem is when I play w/ the front-page template I can only get the last post info for the “Main Car Forum” not the brand subforums and even that isn’t actually giving me what I think it should.
Here’s what I have in my 2nd HTML column of my modified template:
<td class="topicTitle"><a href="<?php topic_last_post_link(); ?>"><?php topic_title(); ?> </a>
<br /><span class="lastPoster">by <a href="<?php user_profile_link($topic->topic_last_poster) ?>"><?php topic_last_poster(); ?></a></span>
</td>
The topic_last_post_link and topic_title() aren’t giving me the expected results. For topic_last_post_link it’s actually returning the last topic/thread link not the last post link and that’s for the “Main Car Forum.” For the subforums it’s displaying the same exact thing as it does for “Main Car Forum” it’s not actually displaying the topic/post info for the correct subforum.
TIA,
-Charlie
This problem has come up a couple times in the past couple days:
https://bbpress.org/forums/topic/bbpress-10-alpha-6-released#post-22750
The function do_action exists in ./bb-includes/wp-functions.php. Do you have that file and is it complete? Is there a line (around 641, in 0.9.0.4 anyway) that starts with:
function do_action ($tag, $arg = '') {
Is it possible that not all the files were properly uploaded?
If it were me, (which it’s not
) I would use WordPress for this. Everything seems easier except for the comment moderation, but searching for comment moderation plugins for WordPress turned up a few options. So, I think I would narrow my search to WordPress plugins rather than trying to strip out 85% of the functionality that exists in bbPress.
My 2¢
This will never happen because it’s physically impossible as the code is designed.
Ok
then the plugin will have to put wp inside bbpress but I still think that it will be a bbpress plugin.
I even could think in another solution; turning wp comment system into a forum. You only had to allow all members to post in the wp blog, make a custom category for them and a custom template for that category. There would be no front-page though.
BTW, _ck_, could you please tell us how did you add pagination to front-page latest posts in your bbpress showcase?
Another thing that I believe it is that sooner or later bbpress will have a wp plugin version or that it will be a plugin bridge to put it inside of wordpress.
This will never happen because it’s physically impossible as the code is designed. Also the deep integration would use so many resources that a busy forum will get you kicked off of most shared hosts. bbPress 1.0 + WordPress 2.7 running at the same time with deep integration and several plugins is over 1 megabyte of code PER INSTANCE (per user visiting, per page load).
This is why I always say don’t deeply integrate.
However when WordPress eventually switches to the backpress core (think version 3.5 perhaps?) it will be easier to have them deeply integrated without so much excessive resource use.