Okay, I did get the link to work going back to the home page. I added a copy of the default.html in the bb-templates folder. The problem is that it does not bring along the css styling. The website is password protected but I have created a temporary user and password so that someone can take a look at this and tell me if there is a way to bring along the css styling with my default page so that when users link back to the home page, it will look like it originally looks.
user: tempuser
pass: GNN*Xup*OrD, (don’t forget the comma)
oakleafmeadowshoa.net
Just go to Bulletin Board page and link to the forum. I put the home page link at the top left in the header.
Thanks,
juboe
Sorry I was trying to explain it without full explanation or linking to my test site.
I’m trying to imitate the buddypress default theme for bbpress. They have a button under title called Public Group. You can see an example here in blue. http://testbp.org/groups/testgroupp-1060610747/forum/topic/a-forum-topic/
I wanted to do the same in my bbpress theme that the button says Public Forum or Hidden Forum depending on what it is. Does this make sense now?
zaerl, that will show only on the title correct? I want an addition to that.
I was thinking if forum=hidden then echo…. (I don’t know how to write that)
example: The default label for a hidden forum is “[H]” so I will use that.
[H] Installation — Getting it up and running – This is a Hidden Forum
for the default theme it’s on front-page.php and forum.php
I thought that theme came with the installation. Is that not the default theme? There is a blue one and a green one and no other themes in the folder. I didn’t install any plug-ins. What do you suggest? If I made another clean install from the same files won’t the same thing happen?
if I delete a topic, then go back to the topic via the admin panel in order to ‘undelete’ the topic, it doesn’t work.
On clicking ‘undelete entire topic’ I am forwarded to a blank screen at a url in this format (had to break it up to fit on the page):
/bbpress/bb-admin/delete-topic.php?
id=2090&view=all&_wp_http_referer=/bbpress/topic.php
%3Fid%3D2090%26view%3Dall&_wpnonce=be30703be1
this is the case with no plugins installed and default template. Any ideas? I couldn’t find this issue anywhere on the forums already.
Thanks gerikg.
I installed and activated, and it seemed to have just removed all of the latest discussions – the entire list!
I read that the default is 7 days and we’ve had new posts today. Am I doing something wrong?
I’m having this same issue in a test forum I’m running at the moment. Adding tags doesn’t refresh the page, consistently in certain topics. And when it does, the whole page reloads, rather than just the tag section via ajax…
This problem happens when using the default theme.
Any ideas? kirpi.it didn’t say how it was fixed!?
I just installed bbpress into a folder “bbpress” that is in the root of my site, which is essentially a WordPress site. It said that the installation when fine. I want to integrate it into WP but the bbpress installation instructions say that I need to go to the bbpress admin page in order to do this. This is where things go wrong. I can’t GET to the admin page. It keeps sending me back to the bbpress default page, a page of forums.
I’m a big fan of fluid theme designs. People used to care about screens with different resolutions, but it seems like everyone has forgotten about their HTML design now. I guess the defaults with bbPress and WordPress don’t help the concept much.
That’s normal, it’s in the default theme as well.
<?php
$_head_profile_attr = '';
if ( bb_is_profile() ) {
global $self;
if ( !$self ) {
$_head_profile_attr = ' profile="http://www.w3.org/2006/03/hcard"';
}
}
?>
from SAM
“A first attempt at getting WordPress 2.7 and bbPress 1.0 to play nice again is now in trunk [1862].
I’m specifically talking about “deep” integration, i.e. when you include WordPress inside bbPress to gain access to WordPress’ functions.
This will need a lot of testing, so please post any issues you have on the relevant Trac ticket, #972 (which will stay open until some more testing has occurred).
I recommend using the following code at the top of your bbPress bb-config.php file to include WordPress inside bbPress:
if ( !defined( ‘ABSPATH’ ) ) {
include_once( ‘/Full/Path/To/wp-load.php’ );
}
Note that this includes “wp-load.php” not “wp-config.php” or “wp-blog-header.php”. This avoids running WordPress’ template loader which presumably isn’t needed inside bbPress. Some implementations may want it though, so if you find you need it then give it a go and let us know how that goes.
Also note that all filters and actions set in WordPress whether default or added by plugins or themes are cleared out completely. That means that plugins and themes installed in WordPress cannot add filters or actions to bbPress at all. This may have some implications I’m not aware of yet.
Go nuts! “
You need to get your database connection details from your host (hostgator.) You normally need:
Database name
Database user name
Database user password
Database host
bbPress defaults to localhost for “Database host” but that’s not always true (database is not always on the same machine as the website, which means localhost here is inaccurate.)
Find those in your hosting control panel, and we can go from there.
cool thanks!
I couldn’t get the buddybar to work but I was able to have both group forums and bbpress forums.
http://img267.imageshack.us/img267/2127/wpbbbbp1.jpg
http://img32.imageshack.us/img32/1755/wpbbbbp2.jpg
after the easter vacation i release the theme! now is working great and all the function are ok 
~12-15 april.
sorry for the delay, a new post coming with the link to download the theme.
and I don’t know what it means… I don’t code.
I’m working on it but I can’t get the admin bar to show in bbpress.
I keep getting:
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'bp_core_admin_bar_css' was given in /homepages/0/00/htdocs/wpbpbbp/wordpress/wp-includes/plugin.php on line 339
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'bp_core_add_js' was given in /homepages/0/00/htdocs/wpbpbbp/wordpress/wp-includes/plugin.php on line 339
It is in the template folder. If you’re using the default theme, it’s located at bb-templates/kakumei/header.php. If you’re using a custom template, it should be located at my-templates/yourtemplatename/header.php
It’s a template file, not a core bbPress file.
@Arturo and etiviti:
Are there any news concerning the forum theme? I see it’s working fine on BuddyPress Italy…
Hi there, I wonder if there is a way to prevent users from choosing display names that are login names of existing users. I mean, for example, that I would like to forbid users to choose “admin” as display name in order to avoid confusion and/or potential annoying situations.
I can’t find the desired option on the admin screen as well as I can’t find a useful filter on defaults.bb-filters.php.
Thanks in advance.
I have a fresh install of wordpress on a secured site. The default is https so cant use http when accessing. I’ve installed bb press on a subdirectory of the main site, hoping to integrate so members of the wordpress site could access the forum and vice versa, but after installing the bb press, I can’t log into admin to do anything in bb press. It doesnt give an error message, it just recycles to the login page. The server tech support guys havent a clue. I’ve seen that bb press works on https but what the heck? any clues? I would pay someone to get this up and integrated as needed.
I solved the problem!
I removed all “»
” in the rss.php
Replace the code of your rss.php with the following code and it should work:
<?php<br />
require('./bb-load.php');</p>
<p>// Determine the type of feed and the id of the object<br />
if ( isset($_GET['view']) || bb_get_path() == 'view' ) {</p>
<p> // View<br />
$feed = 'view';<br />
$feed_id = isset($_GET['view']) ? $_GET['view'] : bb_get_path(2);</p>
<p>} elseif ( isset($_GET['topic']) || bb_get_path() == 'topic' ) {</p>
<p> // Topic<br />
$feed = 'topic';<br />
$topic = get_topic(isset($_GET['topic']) ? $_GET['topic'] : bb_get_path(2));<br />
$feed_id = $topic->topic_id;</p>
<p>} elseif ( isset($_GET['profile']) || bb_get_path() == 'profile' ) {</p>
<p> // Profile<br />
$feed = 'profile';<br />
$feed_id = isset($_GET['profile']) ? $_GET['profile'] : bb_get_path(2);</p>
<p>} elseif ( isset($_GET['tag']) || bb_get_path() == 'tags' ) {</p>
<p> if ( isset($_GET['topics']) || bb_get_path(3) == 'topics' ) {<br />
// Tag recent topics<br />
$feed = 'tag-topics';<br />
} else {<br />
// Tag recent posts<br />
$feed = 'tag-posts';<br />
}<br />
$feed_id = isset($_GET['tag']) ? $_GET['tag'] : bb_get_path(2);</p>
<p>} elseif ( isset($_GET['forum']) || bb_get_path() == 'forum' ) {</p>
<p> if ( isset($_GET['topics']) || bb_get_path(3) == 'topics' ) {<br />
// Forum recent topics<br />
$feed = 'forum-topics';<br />
} else {<br />
// Forum recent posts<br />
$feed = 'forum-posts';<br />
}<br />
$forum = bb_get_forum(isset($_GET['forum']) ? $_GET['forum'] : bb_get_path(2));<br />
$feed_id = $forum->forum_id;</p>
<p>} elseif ( isset($_GET['topics']) || bb_get_path() == 'topics' ) {</p>
<p> // Recent topics<br />
$feed = 'all-topics';</p>
<p>} else {</p>
<p> // Recent posts<br />
$feed = 'all-posts';</p>
<p>}</p>
<p>// Initialise the override variable<br />
$bb_db_override = false;<br />
do_action( 'bb_rss.php_pre_db' );</p>
<p>if ( !$bb_db_override ) {</p>
<p> // Get the posts and the title for the given feed<br />
switch ($feed) {<br />
case 'view':<br />
if ( !isset($bb_views[$feed_id]) )<br />
die();<br />
if ( !$bb_views[$feed_id]['feed'] )<br />
die();<br />
if ( !$topics_object = new BB_Query( 'topic', $bb_views[$feed_id]['query'], "bb_view_$feed_id" ) )<br />
die();</p>
<p> $topics = $topics_object->results;<br />
if ( !$topics || !is_array($topics) )<br />
die();</p>
<p> $posts = array();<br />
foreach ($topics as $topic) {<br />
$posts[] = bb_get_first_post($topic->topic_id);<br />
}</p>
<p> $title = esc_html( sprintf( __( '%1$s View: %2$s' ), bb_get_option( 'name' ), $bb_views[$feed_id]['title'] ) );<br />
$link = get_view_link($feed_id);<br />
$link_self = bb_get_view_rss_link($feed_id);<br />
break;</p>
<p> case 'topic':<br />
if ( !$topic = get_topic ( $feed_id ) )<br />
die();<br />
if ( !$posts = get_thread( $feed_id, 0, 1 ) )<br />
die();<br />
$title = esc_html( sprintf( __( '%1$s Topic: %2$s' ), bb_get_option( 'name' ), get_topic_title() ) );<br />
$link = get_topic_link($feed_id);<br />
$link_self = get_topic_rss_link($feed_id);<br />
break;</p>
<p> case 'profile':<br />
if ( bb_get_option( 'mod_rewrite' ) === 'slugs' ) {<br />
$user = bb_get_user_by_nicename( $feed_id );<br />
} else {<br />
$user = bb_get_user( $feed_id );<br />
}<br />
if ( !$user ) {<br />
die();<br />
}<br />
if ( !$posts = get_user_favorites( $user->ID ) ) {<br />
die();<br />
}<br />
$title = esc_html( sprintf( __( '%1$s User Favorites: %2$s' ), bb_get_option( 'name' ), $user->user_login ) );<br />
$link = bb_get_profile_link($feed_id);<br />
$link_self = get_favorites_rss_link($feed_id);<br />
break;</p>
<p> case 'tag-topics':<br />
if ( !$tag = bb_get_tag( $feed_id ) )<br />
die();<br />
if ( !$topics = get_tagged_topics( array( 'tag_id' => $tag->tag_id, 'page' => 0 ) ) )<br />
die();</p>
<p> $posts = array();<br />
foreach ($topics as $topic) {<br />
$posts[] = bb_get_first_post($topic->topic_id);<br />
}</p>
<p> $title = esc_html( sprintf( __( '%1$s Tag: %2$s - Recent Topics' ), bb_get_option( 'name' ), bb_get_tag_name() ) );<br />
$link = bb_get_tag_link($feed_id);<br />
$link_self = bb_get_tag_topics_rss_link($feed_id);<br />
break;</p>
<p> case 'tag-posts':<br />
if ( !$tag = bb_get_tag( $feed_id ) )<br />
die();<br />
if ( !$posts = get_tagged_topic_posts( array( 'tag_id' => $tag->tag_id, 'page' => 0 ) ) )<br />
die();<br />
$title = esc_html( sprintf( __( '%1$s Tag: %2$s - Recent Posts' ), bb_get_option( 'name' ), bb_get_tag_name() ) );<br />
$link = bb_get_tag_link($feed_id);<br />
$link_self = bb_get_tag_posts_rss_link($feed_id);<br />
break;</p>
<p> case 'forum-topics':<br />
if ( !$topics = get_latest_topics( $feed_id ) )<br />
die();</p>
<p> $posts = array();<br />
foreach ($topics as $topic) {<br />
$posts[] = bb_get_first_post($topic->topic_id);<br />
}</p>
<p> $title = esc_html( sprintf( __( '%1$s Forum: %2$s - Recent Topics' ), bb_get_option( 'name' ), get_forum_name( $feed_id ) ) );<br />
$link = get_forum_link($feed_id);<br />
$link_self = bb_get_forum_topics_rss_link($feed_id);<br />
break;</p>
<p> case 'forum-posts':<br />
if ( !$posts = bb_get_latest_forum_posts( $feed_id ) )<br />
die();<br />
$title = esc_html( sprintf( __( '%1$s Forum: %2$s - Recent Posts' ), bb_get_option( 'name' ), get_forum_name( $feed_id ) ) );<br />
$link = get_forum_link($feed_id);<br />
$link_self = bb_get_forum_posts_rss_link($feed_id);<br />
break;</p>
<p> // Get just the first post from the latest topics<br />
case 'all-topics':<br />
if ( !$topics = get_latest_topics() )<br />
die();</p>
<p> $posts = array();<br />
foreach ($topics as $topic) {<br />
$posts[] = bb_get_first_post($topic->topic_id);<br />
}</p>
<p> $title = esc_html( sprintf( __( '%1$s Recent Topics' ), bb_get_option( 'name' ) ) );<br />
$link = bb_get_uri();<br />
$link_self = bb_get_topics_rss_link();<br />
break;</p>
<p> // Get latest posts by default<br />
case 'all-posts':<br />
default:<br />
if ( !$posts = bb_get_latest_posts( 35 ) )<br />
die();<br />
$title = esc_html( sprintf( __( '%1$s Recent Posts' ), bb_get_option( 'name' ) ) );<br />
$link = bb_get_uri();<br />
$link_self = bb_get_posts_rss_link();<br />
break;<br />
}<br />
}</p>
<p>bb_send_304( $posts[0]->post_time );</p>
<p>if (!$description = esc_html( bb_get_option('description') )) {<br />
$description = $title;<br />
}<br />
$title = apply_filters( 'bb_title_rss', $title, $feed );<br />
$description = apply_filters( 'bb_description_rss', $description, $feed );<br />
$posts = apply_filters( 'bb_posts_rss', $posts, $feed );<br />
$link_self = apply_filters( 'bb_link_self_rss', $link_self, $feed );</p>
<p>bb_load_template( 'rss2.php', array('bb_db_override', 'title', 'description', 'link', 'link_self'), $feed );</p>
<p>?>
So a while ago now I moved my SMF site to bbpress and very successful it has been however I have only recently properly integrated my WP blog and bbpress. This now leaves me 15 WP members and the 3 or 400 forum members are gone. How do I import these BB press members and their meta data into WP. There is some talk o fthis on the forums but it is incoherent (for me). Is there a simple way to import them. Or to make the bbpress user table the default on instead of the WP user table.
Thanks, here is the php:
And one final question , there is a way to reinstall using the same database and directory ?
<?php
/**
* The base configurations of bbPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys and bbPress Language. You can get the MySQL settings from your
* web host.
*
* This file is used by the installer during installation.
*
* @package bbPress
*/
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for bbPress */
define( 'BBDB_NAME', 'organica_foro' );
/** MySQL database username */
define( 'BBDB_USER', 'organica_ineFORO' );
/** MySQL database password */
define( 'BBDB_PASSWORD', '********' );
/** MySQL hostname */
define( 'BBDB_HOST', '' );
/** Database Charset to use in creating database tables. */
define( 'BBDB_CHARSET', '' );
/** The Database Collate type. Don't change this if in doubt. */
define( 'BBDB_COLLATE', '' );
/**#@+
* Authentication Unique Keys.
*
* Change these to different unique phrases!
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/bbpress/ WordPress.org secret-key service}
*
* @since 1.0
*/
// edited keys chrishajer 19 March 2010
define('BB_AUTH_KEY', 'gUpvcuMfP+tDsXUus|(|9|/G4Owo@=;C697V[[ZPd+|W)BVK-[U,fi/H2r+VOj');
define('BB_SECURE_AUTH_KEY', 'sf8;HNH}7%N#_|=$d4(_(yV8Wt&R($kL+)JS@}Kno-Q2jfkOm|BUL-i**&f_Wg');
define('BB_LOGGED_IN_KEY', 'm}Xc?tvc 3;o)JUVdxDm%F[V96V<+zyka239SbV<^2)o[/tV>Q4&kW$B4ik(NA');
define('BB_NONCE_KEY', ';k,c^0G4nz9eZS#-cF7((.smjv.GtAz+.WZd<G544PzG.Mz*Cztr]|Gaw:-(!=');
/**#@-*/
/**
* bbPress Database Table prefix.
*
* You can have multiple installations in one database if you give each a unique
* prefix. Only numbers, letters, and underscores please!
*/
$bb_table_prefix = 'bb_';
/**
* bbPress Localized Language, defaults to English.
*
* Change this to localize bbPress. A corresponding MO file for the chosen
* language must be installed to a directory called "my-languages" in the root
* directory of bbPress. For example, install de.mo to "my-languages" and set
* BB_LANG to 'de' to enable German language support.
*/
define( 'BB_LANG', 'es_ES' );
?>