Search Results for 'bbpress'
-
Search Results
-
ok, so I added
require_once('path/to/bbpress/bb-config.php');
to my wp-config.php file. I then added the bbpress discussions code:<table id="latest">
<tr>
<th><?php _e(‘Movie’); ?> — <?php new_topic(); ?></th>
<th><?php _e(‘Posts’); ?></th>
<th><?php _e(‘Last Poster’); ?></th>
<th><?php _e(‘Freshness’); ?></th>
</tr>
<?php if ( $super_stickies ) : foreach ( $super_stickies as $topic ) : ?>
<tr<?php topic_class(); ?>>
<td><?php bb_topic_labels(); ?> <big>“><?php topic_title(); ?></big></td>
<td class=”num”><?php topic_posts(); ?></td>
<td class=”num”><?php topic_last_poster(); ?></td>
<td class=”num”>“><?php topic_time(); ?></td>
</tr>
<?php endforeach; endif; // $super_stickies ?>
<?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
<tr<?php topic_class(); ?>>
<td><?php bb_topic_labels(); ?> “><?php topic_title(); ?></td>
<td class=”num”><?php topic_posts(); ?></td>
<td class=”num”><?php topic_last_poster(); ?></td>
<td class=”num”>“><?php topic_time(); ?></td>
</tr>
<?php endforeach; endif; // $topics ?>
</table>
I added that code to my index.php file in my wordpress theme and this is what I get as the output in the browser:
<table id="latest">
<tr>
<th>Movie — Add New »
</th>
<th>Posts</th>
<th>Last Poster</th>
<th>Freshness</th>
</tr>
</table>
Obviously, there is something wrong. Does anyone know what?
Topic: Password Protected Forum?
Is it possible to create a password protected forum with BBPress? If so, what is the easiest way?
Topic: Where are the user comments?
Ok so I have searched the forums but didn’t see any relevant. I just installed bbpress and then went to setting and set the correct settings for integration with my separate wp database. Now I didn’t see the change when I went to the forums so I logged out cleared mu cache and cookies and went to log in with the same user name as before but it comes up as the user name is not registered. It doesn’t make sense it looks like it integrated the db’s fine but erased by login information. Is there a way to check to see if it integrated correctly? Also is there a way to make another or recover my admin login information since it looks like it deleted it.
Edit: I just tried to register a new user name and it gave me this error.
Warning: mysql_insert_id(): supplied argument is not a valid MySQL-Link resource in /home/hyperhoo/public_html/businessperfection/forum/bb-includes/db-mysql.php on line 180
I managed to add the WordPress functions to bbPress, but I now need to know how I can add the bbPress functions to WordPress. I want to include the exact “Discussions” code in “front-page.php” of bbPress to the “index.php” in WordPress. I know there is a plugin for this, but it wasn’t what I wanted.
I used this code to integrate WordPress into bbPress (added to the top of bb_config.php)
define('WP_BB', true);
if ( !defined('DB_NAME') ) {
require_once( dirname(__FILE__) . '/../wp-config.php');
if ( !defined(‘BB_PATH’) )
define(‘BB_PATH’, dirname(__FILE__) . ‘/’ );
require_once( BB_PATH . ‘bb-settings.php’ );
I think all I need to do is require bb-config.php and then the bb-settings.php. Anyone know how to do this (following the php example above)?
*I only wish I know php.
Topic: Where is
how do i change the log out link to use the log out of file of wordpress instead of bbpress, which isnt working for some reason.
im lookin in ‘kakumei’ logged-in.php file and it shows:
<p class="login">
<?php printf(__('Welcome, %1$s!'), bb_get_profile_link(bb_get_current_user_info( 'name' )));?>
<?php bb_admin_link( 'before= | ' );?>
| <?php bb_logout_link(); ?>
</p>question is where is bb_logout_link(); so i can change the actual link? which file is that function located in.
thanks
Hi,
I am just going through the setup of bbPress and I have 2 questions about the above.
1. Add cookie integration settings:
If you want to allow shared logins with an existing WordPress installation.
Does this mean that users who register for the forum are also able to write posts on my blog? I can’t imagine this would the case, but seeing this made me a bit nervous.
2. Add user database integration settings:
If you want to share user data with an existing WordPress installation.
What’s the benefit behind this, besides centralizing user data?
For more than a week I am fighting with bbPress and the latest WordPress version.
My problem is that user comments don’t appear. Well, I can see them in the Administration area in WP but not in the forum. Users already move away because they think I blocked their comments.
I actually installed bbpress because I wanted users to discuss on my page but now no one can discuss anymore lol.
My WP installation is at http://www.webserver.com and I installed bbpress on http://www.mywebserver/forum (example addresses)
I installed the WP plugin “bbPress Post” and filled out all the details. Also I installed bbSync.
At least when I write a new post the post title appears in the forum. So one good thing. But that’s all. How do users comment from my blog? I don’t want to put a link on every post “go to the forum and post there”.
I do have a custom theme by the way.
Actually I am not an idiot but now I’m just freaking out with bbPress because it’s so complicated and most of the how-to’s don’t work or are just bad explained. Here’s an example:
“Want a link back to the blog post? ” it days in the bbSync settings.
Well, what can I do there? There’s a field. Do I have to write YES or a special tag? Absolutely no explaination.