Forum Replies Created
-
In reply to: No style sheet
Try removing the .htaccess file in your bb-templates directory.
In reply to: another type of login problemAh!
My sincere apologies. I’ve sent you on a wild goose chase. That plugin will only work with the upcoming next release of bbPress.
Don’t dispair, though. That new release is coming soon.
Sorry!
In reply to: Topics, and then subtopicsThen you’re in luck!
Login to your bbPress site
go to the admin panels by clicking the “Admin” link next to the “logout” link
Click on the “Content” tab
Click on the “Forums” subtab
Then add whatever forums you like
In reply to: User management, WP and BBPIf
bb_
really is your bbPress table prefix, and that is what is entered int the integration plugin page, users registering through bbPress should be given WordPress’ default role upon logging into WP for the first time.So I’m not sure what’s wrong exactly, but it may be caused by the stuff you’re doing manually (as you expect).
In reply to: Template (login.php)This will be fixed in the next release. Thanks!
In reply to: User management, WP and BBPGo to the Users tab of your WordPress Admin panels.
Under what role are these troublesome accounts listed?
In reply to: Topics, and then subtopicsIt sounds like you want four forums (like this site has “Installation”, “Troubleshooting”, “Templates”, “Plugins” and so forth).
Users would then create new topics in these four forums.
Am I mistaken?
In reply to: Cannot login, Hide forumzapata, this plugin.
<?php
/*
Plugin Name: Force Login
Description: No one can see your forums unless they are logged in.
Plugin URI: https://bbpress.org/forums/topic/117
Author: Michael D Adams
Author URI: http://blogwaffe.com/
Version: 0.7
*/
function force_login_init() {
if ( !bb_is_user_logged_in() && false === strpos($_SERVER, ‘bb-login.php’) ) {
if ( file_exists( BBPATH . ‘my-templates/login.php’ ) ) {
require( BBPATH . ‘my-templates/front-page.php’ );
} else {
require( BBPATH . ‘bb-templates/front-page.php’ );
}
exit;
}
}
add_action( ‘init’, ‘force_login_init’ );
?>
In reply to: another type of login problemCan you paste the entire contents of that file http://pastebin.com/ and then post the link here?
In reply to: Cannot login, Hide forumYou should probably have the www. pages redirect to the other pages.
Failing that, you can follow the advice I gave here: https://bbpress.org/forums/topic/113?replies=3
You’ll need to change the cookie information for both WP and bb.
In reply to: another type of login problemStrange – it worked for me.
Make sure that userspace.php has no whitespace before the
<?php
or after the?>
In reply to: loading wordpress with bbpressrequire_once(‘/home/dental/public_html/wp-blog-header.php’);
define(‘WP_BB’, true);
Where are you putting that? It should be the very first thing in bbPress config.php
In reply to: Login problem- not WP integratedI went to the URL you posted, and there was nothing there.
In reply to: Cannot login, Hide forumTry
$bb->wp_home = 'http://passionforcinema.com';
$bb->wp_siteurl = 'http://passionforcinema.com';
In reply to: A bit further with the installdid you define WP_BB in bbPress’ config.php file?
If so, you must also
require_once(‘/path/to/wp-config.php’);
In reply to: Cannot select DB.abc112345,
That’s a great tip, thanks! And I’m glad you got it working.
In reply to: Is there a list of template tags anywhere?No easily.
Try:
<
a href="<?php user_profile_link( $topic->topic_last_poster ); ?>" title="User Profile"><?php topic_last_poster(); ?></a>
In reply to: Call to underfined functionThis can also be caused by defining WP_BB to true without manually loading WordPress as well.
In reply to: CookiesIn addition to editing bbPress’ cookie information, you will have to edit WordPress’:
for both bbPress and WordPress
the domain should be .salatti.net (note the first
.
)the path should be
/
So in bbPress’ config.php:
$bb->cookiedomain = ‘.salatti.net’;
$bb->cookiepath = ‘/’;
in WordPress’ wp-config.php:
define(‘COOKIE_DOMAIN’, ‘.salatti.net’);
define(‘COOKIEPATH’, ‘/’);
define(‘SITECOOKIEPATH’, ‘/’);
Let us know how it works.
In reply to: another type of login problemThat snhould be all you need to do (it shouldn’t matter who’s what). But I haven’t actually tested it.
Please let me know how it goes.
In reply to: Cannot select DB.The domain should be
http://localhost
and the path should be/~myusername/bbpress/
but that shouldn’t stop the database connection.Do you know if you have PHP’s mysqli extension loaded (as opposed to the normal mysql)? If you do, try copying bb-includes/db.php to bb-includes/db-mysqli.php to overwrite that later file (it seems to be out of date).
Please let me knw if that helps or not.
In reply to: another type of login problemIt’s the space.
Try this plugin:
<?php
/*
Plugin Name: Allow spaces in user names
Plugin URI: https://bbpress.org/forums/topic/99
*/
function wpbb_user_sanitize( $text, $raw, $strict ) {
$username = strip_tags($raw);
// Kill octets
$username = preg_replace(‘|%([a-fA-F0-9][a-fA-F0-9])|’, ”, $username);
$username = preg_replace(‘/&.+?;/’, ”, $username); // Kill entities
// If strict, reduce to ASCII for max portability.
if ( $strict )
$username = preg_replace(‘|[^a-z0-9 _.-@]|i’, ”, $username);
return $username;
}
add_filter( ‘user_sanitize’, ‘wpbb_user_sanitize’, -1, 3);
?>
In reply to: Permalinks?Jaxia, bbPress cannot use forum and topic names in its urls currently.
This will likely be a feature in future versions.
In reply to: bbPress works alone, integration failed.What do you mean “but it failed”?
In reply to: Using RSS FeedsI believe there are several plugins for WordPress (and even a sidebar widget) that pull content from RSS feeds.
I’d use the widget since I don’t know the names of the plugins off the top of my head. I’m sure Google does, though