Search Results for 'test'
-
Search Results
-
Topic: Installation madness o_O
Hi everyone,
I’ve successfully installed PHPBB3 forums, WordPress blogs etc etc… and somehow, I’m having a nightmare installing BBpress…
I’m not a coding/IT guru but I’m not a beginner either so this makes the thing even more frustrated. By wanting to make the installation process easy, the description lacks a lot of details I believe. Here’s what I have:
– Yahoo web hosting
– MySQL Server version: 4.1.14
– MySQL client version: 3.23.49
– phpMyAdmin latest version
Steps:
1. download bbpress
2. upload it to gufugumu.com/bbpress
3. go to the url gufugumu.com/bbpress -> installation window appears fine
4. Step1 – fill the information
– Database name : guillos
– Database user : admin
– Database password : *********
Then comes the famous error : “There was a problem connecting to the database you specified. Please check the settings, then try again.”
So I can’t pass step1. I then look in the forum but could not find anything usefull. One would expect that installing a forum should not require advanced PHP or MySQL knowledge. This is quite annoying.
Also, if I try to remove the “-sample” from the “bb-config-sample.php” then I get the error message “ERROR: Could not establish a database connection”. Finally, I have also created the database in phpMyAdmin. Of course there’s 0 tables.
Any help would be extremly nice as I’m about to give up and go for PHPBB3…
Thanks in advance
I have written a simple plugin for TinyMCE to make it compatible with bbPress’ usage of double line breaks as paragraphs. The plugin replaces all paragraphs with said double linebreaks and br-Tags with single linebreaks upon posting. When editing an existing post, all linebreaks get transformed back into br-tags for TinyMCE. So you can use TinyMCE with bbPress without changing anything in bbPress.
You can download it here:
http://www.kreativrauschen.com/blog/2009/07/12/bbpress-compatibility-plugin-for-tinymce/
You also need to set remove_linebreaks to false, or all linebreaks will get removed by TinyMCE.
Currently, it still has one limitation (besides not being thoroughly tested): When you edit an existing post, double line breaks do not get converted back to paragraphs in TinyMCE. Instead they become two br-tags.
Topic: theme help please
Hello,i have a site called azcs.co.uk, im using wordpress and bbpress and im trying to make the forum like my word press with no joy yet, i also whant to know how can i the Latest Discussions show only latest 5 posts only and on the forums i have forums saying modding, software and gaming i want to make these in bold and the background a different colour so that they stand out i also would like to know how to put a background image on the bbpress.
i hope this is not too much to ask
the forum can be found at forum.azcs.co.uk
Topic: Pingbacks not working?
Hi. I use v1.01 and love it!
I decided to give pingbacks a try and I believe they are not working for some reason. I checked “Allow link notifications from other sites.” in settings, my theme is a direct port of (v1.00) Kakumei and no pingbacks show.
For instance: this is a test link to check pingbacks… and nothing shows in the linked thread. How to use it?
Topic: Permalink question
Why every thread created have two different permalink, for example
http://www.example.com/forum/topic/test-post
and
Topic: BuddyBar in bbPress
Topic: Integration Woes
OK, I have sort of a weird problem that I am hoping I can get some help with.
I have multiple WP sites integrated with each other – 1 install on the root domain, and numerous installs on subdomains.
In order to integrate users and cookies to maintain a login valid across all the installs the Authentication Unique Keys section in my wp-config is set up like this:
define (‘COOKIE_DOMAIN’, ‘.mydomain.com’);
define(‘COOKIEPATH’, ‘/’);
define(‘AUTH_KEY’, ‘mygeneratedkey’);
define(‘SECURE_AUTH_KEY’, ‘mygeneratedkey’);
define(‘LOGGED_IN_KEY’, ‘mygeneratedkey’);
define(‘NONCE_KEY’, ‘mygeneratedkey’);
$baseurl = ‘http://www.mydomain.com’;
$cookiehash = md5($baseurl);
define(‘COOKIEHASH’, $cookiehash);
define (‘AUTH_SALT’,’AUTH_SALT’.COOKIEHASH);
define (‘LOGGED_IN_SALT’, ‘LOGGED_IN_SALT’.COOKIEHASH);
define (‘AUTH_COOKIE’, ‘AUTH_COOKIE’.COOKIEHASH);
// define (‘SECURE_AUTH_COOKIE’, ‘SECURE_AUTH_COOKIE’.COOKIEHASH); // If you use connection SSL
define (‘LOGGED_IN_COOKIE’,’LOGGED_IN_COOKIE’.COOKIEHASH);
define (‘TEST_COOKIE’, ‘TEST_COOKIE’.COOKIEHASH);
As a result, I can’t find the salts needed in wp-admin/options.php as they are not listed. I’ve tried using the same settings in bbpress as above in the bb_config file (see below), but no love. I’ve also tried changing them to BB_%WHATEVER% which doesn’t seem to work either.
define (‘COOKIE_DOMAIN’, ‘.mydomain.com’);
define(‘COOKIEPATH’, ‘/’);
define( ‘BB_AUTH_KEY’, ‘mygeneratedkey’ );
define( ‘BB_SECURE_AUTH_KEY’, ‘mygeneratedkey’ );
define( ‘BB_LOGGED_IN_KEY’, ‘mygeneratedkey’ );
define( ‘BB_NONCE_KEY’, ‘mygeneratedkey’ );
$baseurl = ‘http://www.mydomain.com’;
$cookiehash = md5($baseurl);
define(‘COOKIEHASH’, $cookiehash);
define (‘AUTH_SALT’,’AUTH_SALT’.COOKIEHASH);
define (‘LOGGED_IN_SALT’, ‘LOGGED_IN_SALT’.COOKIEHASH);
define (‘AUTH_COOKIE’, ‘AUTH_COOKIE’.COOKIEHASH);
// define (‘SECURE_AUTH_COOKIE’, ‘SECURE_AUTH_COOKIE’.COOKIEHASH); // If you use connection SSL
define (‘LOGGED_IN_COOKIE’,’LOGGED_IN_COOKIE’.COOKIEHASH);
define (‘TEST_COOKIE’, ‘TEST_COOKIE’.COOKIEHASH);
All of the users can login to bbpress using the same username and password as on the wp sites, but the cookie integration doesn’t work, and again – I cant find the correlating values in wordpress.
Does anyone have any suggestions?
I’m trying to protect page on another subdomain… but unfortunately bbPress is not authenticating the cookie. (they are set for .domainabc.net)
for test.domainabc.net:
Cookie: bbpress_logged_in_00aa30280fe74d40ca269b5b2efffba3=rich%7C1247421898%7Cfbd785e0974af74814b56550af9c49dc
for forums.domainabc.net
Cookie: bbpress_logged_in_00aa30280fe74d40ca269b5b2efffba3=rich%7C1247421898%7Cfbd785e0974af74814b56550af9c49dcon test.domainabc.net i have something like this:
require_once ('../forums.domainabc.net/bb-load.php');
function add_allowed_redirect_hosts() {
$allowed_redirects = array('test.domainabc.net');
return $allowed_redirects;
}
add_filter('allowed_redirect_hosts', 'add_allowed_redirect_hosts');
bb_auth( 'auth' );It will properly redirect to the login page, enter info, redirect back to test.domainabc.net – but then it will issue another 302 redirect back to forums.domainabc.net.
and if i place a die statement within this
bb_auth
else on test.domainabc.net it will echoif ( 'auth' === $scheme && !bb_is_user_logged_in() ) {
//redirects fine to login page the first time...
} else {
//echo - this happens when returning a 2nd time
}BUT… if i return to forums.domainabc.net i’m logged in… and everything works.
Topic: Pagination bug?
A funtion on a homepage of a blog
<?php bb_latest_topics_pages( array( 'before' => '<div class="nav">', 'after' => '</div>' ) ); ?>
generates errorous output. On page 2 (and followings) it outputs:
<div class="nav"><a class="prev page-numbers" href="" title="Poprzednia strona">« Poprzednia</a><a class="page-numbers" href="" title="Page 1">1</a><span class="page-numbers current" title="Page 2">2</span><a class="page-numbers" href="/page/3" title="Page 3">3</a><a class="page-numbers" href="/page/4" title="Page 4">4</a><a class="next page-numbers" href="/page/3" title="Następna strona">Następna »</a></div>
The problem I can see is href=””
Is there any solution to this?
bbPress used: 1.01
Is there a way to dispaly the Author of a topic in the Latest Discussions list and in the Topics list?
I mean, every other forum got this feature, and I think that viewing the Author of a Topic in the list is very useful and needed for a forum, as you may want to know WHO posted that Topic, without having to click on it to see who’s the first post. Right?
Still, I didn’t find this feature enabled on any bbPress forum.
For me it’s just so weird.
So, is that a way to get the template code?
Thanks.