Search Results for 'code'
-
Search Results
-
Hi folks, there seem to be many people out there having similar issues, but I’ve spent all evening looking through for a solution and still no luck.
I’m trying to do a full integration of bbPress 0.219 and WordPress 2.51, full integration meaning that bbPress should load WordPress functions and vice versa.
WordPress appears to be playing very nicely and loading bbPress template tags with no problems at all. I’ve done this using
//BBPress Integration
if ( !defined('BBDB_NAME') )
require_once(ABSPATH.'forum/bb-load.php');
at the very end of my wp-config.php file, as per the tutorial at
http://www.adityanaik.com/integratepress-part-i/ . As I say, no problem so far.
It’s when I try to load WP functions into bbPress that I run into trouble. When I’ve attempted either of the following two mods to bb-config.php, it has disabled user login, as well as blocking me from /bb-admin (which re-directs straight back to home). The two mods to bb-config.php I have tried are:
// WordPress Integration //
define('WP_BB', true);
if ( !defined('DB_NAME') ) {
require_once( dirname(__FILE__) . '/../wp-config.php');
}
// **Wordpress Variables ** //
$bb->wp_table_prefix = 'wp_'; // your wordpress db prefix is
$bb->wp_home = 'http://localhost/bloomag';
$bb->wp_siteurl = 'http://localhost/bloomag';
or simply
require_once( 'C:testingserverwwwbloomagwp-blog-header.php');
With both these mods, the bbPress page loads up with no problems but, as I say, both /bb-admin and any attempt to log-in give no response and just redirect to the hompage.
Has anyone got any suggestions for what might be going wrong and the correct method to call WP functions into bbPress?
Thanks a lot,
>Ben
I would like to put an HR code between the post text and the signature but I can not find it. help?
Topic: strange links to pages
somehow my forum adds links to pages that do not exist. i dont understand this
for eg (the topic hast only 2 pages):
topic.php?id=15&page=7#post-92
what is this?
e: appears WITH and WITHOUT plugins acitvated.
could it be a “front page topics” bug?
Topic: Some accessibility fixes
Hi there!
I just started to experiment with bbPress and will integrate it into my family’s blog installation which of course runs WordPress.
While playing around with it, I noticed some missing labels on form controls. These missing associations cause screen readers to not pick up on the right stuff to speak when focus moves to a certain textbox, combobox or the like.
So, I went ahead and filed ticket #871 to deal with this and submitted a patch.
If you’re interested in accessibility, I invite you to follow that trac ticket!
Marco