mdawaffe,
sorry I just saw this post. I try it in this forum here, and it works perfect. However I knew it is not working in my personal forum. I will try it as in your tickets 585 and report to you the debugging code.
thanks, and happy chinese new year to everyone.
Franky
I like it too. I’ve been watching the evolution from the beginning. I think I would fix a few of the XHTML errors so that the theme validates. You can check it here:
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fopen-dialogue.com%2Fbbpress%2F
Basically, the <br> should all be self-closed
<br />
and all the <p> and <div> tags need to be properly nested and closed.
In the CSS there are just a couple problems. Line 304 & 305 need to have units after the number for the absolute positioning:
top: 25;
left: 225;
should be
top: 25px;
left: 225px;
Other than that I think it looks really good. Nice job. Very nice.
A lazy short circuit solution which makes the first displayed entry in a loop appear different:
$special="specialClass normalClass";
for {
echo ... class="$special" ...
$special="normalClass";
}
So it filters through the post but not the edit? It appeared to me that some old posts that had text emoticons, like
, were filtered on display and how display a gif instead of the text. Maybe I imagined that?
In fact, here’s a post I made on my forum back in December, and it gets converted to a gif.
http://www.riversideinfo.org/forum/topic.php?id=6&replies=15#post-40
I did not edit that post, and I just installed the bb-emoticons plugin yesterday. I guess I still don’t understand how it works.
I was able to see the first post:
First Post! w00t.
What issue are you having? Maybe you need to clear your browser cache or something? Or it appears different to a logged in user?
There are also two different URLs in your post, one a subdomain and one a subfolder: which one is correct? Maybe there’s an issue there? (the config says subfolder “itts”…)
that was fast! 
Very interesting, I see you’re doing both things:
– Display WP posts in bbpress forums
– Display bbpress topics in WP
Are these two different plugins? I guess it’s one for WP and one for bbpress.
Looking forward to those plugins!
Do you think this would be an easy code?
If we we’re editing the actual bb code, wouldn’t we just put an if then conditional around the link to post a new topic? Then again… I guess that wouldn’t remove the ability, just the link that makes posting a new topic an ability… hmmm.
What existing plugin do you think my be the easiest to modify to this end?
I think I answered my own question. This appears to work fine in .80.
Ok, you can find it here:
http://open-dialogue.com/navigation1-1.zip
I appreciate any help and insight you can provide.
Np dude, you only forgot to outline the forum part now
Topic — Add New » part is still small and need to stretch to the max…
Looks good
Hi. First of all, thanks for your help.
Well, I’ve installed bbPress and integrated it with WordPress and it works fine.
But I’d like to show the last post of a forum on my WordPress home… is there any plugin to do that or what code should I use?
Thanks again.
It looks like “my-templates” is actually now “bb-templates” but the information on http://bbpress.org/documentation/themes/ doesn’t reflect that.
Just a heads up…trying to make sure we don’t lose track of documentation before we even get bbpress out of diapers.
What bugs? Euuh well if you have a fix too, put it here for the time being
I should have caught that the first time *SLAPS HIMSELF*. You are including your wp-config.php file for WordPress integration? For integration with wordpress, you need to define the other parts of wordpress, but I wouldn’t include that file as it has nothing to do with integration or with getting bbPress going. Take out this and it should work:
require_once( dirname(dirname(__FILE__)) . '/wp-config.php' );
If you want to integrate with WordPress, check out this integration documentation for bbPress and WP.
Trent
I think is must be just the way the comments are put in! Maybe try this format with the commenting out:
<?php
define('BBDB_NAME', '********');
define('BBDB_USER', '********');
define('BBDB_PASSWORD', '********');
define('BBDB_HOST', '********');
$bb->domain = 'http://www.dongbang51.net';
$bb->path = '/board/';
$bb->name = 'New';
$bb->admin_email = '********@hotmail.com';
$bb->mod_rewrite = false;
$bb->page_topics = 30;
$bb->edit_lock = 60;
$bb->gmt_offset = 0;
define('BBLANG', '');
$bb->akismet_key = '';
$bb->wp_table_prefix = '';
$bb->wp_home = '';
$bb->wp_siteurl = '';
/* Stop editing */
if ( !defined('BBPATH') )
define('BBPATH', dirname(__FILE__) . '/' );
require_once( dirname(dirname(__FILE__)) . '/wp-config.php' );
?>
As well, I am assuming you are using an Akismet number, otherwise have it as:
$bb->akismet_key = false;
Trent
function my_get_forum_link_filter( $link ) {
$link = 'yay'; // Whatever you want to do with the link
return $link; // Very important line!
}
add_filter( 'get_forum_link', 'my_get_forum_link_filter' );
That last line adds your custom filter function to the get_forum_link filters.
Hi,
I am trying to write a plugin and I do not know how can I do it properly.
The plugin I am working on requires the editing of the “get_forum_link” function, specifically the “$link ” vatiable.
I have the code done in php but do not know how to make a plugin out of it. What and how should I use add_action or add_filter?
Thanx.
function get_forum_link( $forum_id = 0, $page = 1 ) {
global $forum;
if ( $forum_id )
$forum = get_forum( $forum_id );
if ( bb_get_option( ‘mod_rewrite’ ) )
$link = bb_get_option( ‘uri’ ) . “forum/$forum->forum_id” . ( 1 < $page ? “/page/$page” : ” );
else {
$args = array();
$link = bb_get_option( ‘uri’ ) . ‘forum.php’;
$args = $forum->forum_id;
$args = 1 < $page ? $page : ”;
$link = add_query_arg( $args, $link );
}
return apply_filters( ‘get_forum_link’, $link, $forum->forum_id );
}
You couldn’t be farther from an expert on LDAP that I am 
I just recall seeing the trac ticket and didn’t know if it was relevant.
Show me what you mean 
Or look at bbportal.org and go to the forum. Thats also in a “new” sidebar
Please start a new thread for that new topic 
https://bbpress.org/documentation/themes/
Basically, it’s not done from the admin panel. You create a my-templates folder, then a folder in there for your theme (so “newtheme” or somthing) then follow the instructions above.
Sounds like there is an error in your config.php, in this line maybe:
$bb->domain=
The other possibility is an .htaccess rewriting the URL to that location. Do you have
$bb->mod_rewrite = false;
or
$bb->mod_rewrite = true;
As far as I know, bbPress does not currently support multiple groups (this may come later) so giving access to certain groups isn’t really possible. With the forum restriction plugin you could restrict certain folks, but unfortunately what you’re looking for isn’t here yet. Give it some time though, it may pop up soon enough.
I have looked at the private forums plugin, but it seems to be an all or nothing deal based on the user being logged in…
I didnt find anything when I searched, but wondering if anyone knows of or is working on forum access based on membership in a group? So basically, you would allow forum access to certain groups and you would assign users to various groups (or roles in wp/bb terms). Gives you much finer control over who can access which forums…
also, any way to make bbpress inherit the roles as defined in WP? or maybe just add new roles to bb? easy enough to do hacking the code, but I havent looked at the bbpress plugin structure yet…
thanks…
Ah ok, thanks Trent, guess the problem lies elsewhere then