Search Results for 'bbpress'
-
Search Results
-
Topic: Adding Custom Profile Fields
I am trying to integrate a BBPress site with my WP site but as soon as I add the line “require_once(dirname(dirname(__FILE__)) . ‘/wp-config.php’);” to my config.php file, I get the following error:
Fatal error: Cannot redeclare merge_filters() (previously declared in /home/cgadmin/public_html/bbpress/bb-includes/wp-functions.php:424) in /home/cgadmin/public_html/wp-includes/functions.php on line 1181
I am using 0.73 BBPress and WP 2.0.3
Topic: user IPs
Is there some way of tracking user IPs within bbpress ? Or must one revert to using the webserver logfiles ?
I thought the secret to making a new page that is included into the bbpress fileset is to add the
require_once('./bb-load.php');
However, this must not be the secret because it doesn’t let me do stuff like get_header(). On the other hand, it sees my plugin file and gets the information I want from it.
What am I doing wrong? I have a file dropped into the http root with the require_once and then requiring the work page in my-templates, but nothing inside the my-templates file works (ie. no bbpress functions in the file work).
Topic: oh another cookie bake off
A clean install of .73 with it’s own mysql NO wordpress integration
After installing everything went fine till after logging in to do anything! The main screen is displaying just fine, but any links clicked after give the cookie issue below… and yes I have looked at the other postings but the all incorporate WP which I’m not. Regardless, I’m not refusing cookies so I’m at a loss as to why it would say this and refuse every other page but the dashboard…
Thank you for your help, the error is displayed below
Wonderliver.com/bbpress
The page isn’t redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete
* This problem can sometimes be caused by disabling or refusing to accept cookies.
<?php
define(‘BBDB_NAME’, ‘bbpress’); // The name of the database
define(‘BBDB_USER’, ‘*******’); // Your MySQL username
define(‘BBDB_PASSWORD’, ‘*******); // …and password
define(‘BBDB_HOST’, ‘************’); // 99% chance you won’t need to change this value
$bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!
$bb->domain = ‘http://www.wonderliver.com/bbpress’; // Example: ‘http://bbpress.example.com’
$bb->path = ‘/’; // Example: ‘/forums/’
$bb->name = ‘WonderLiver’;
$bb->admin_email = ‘admin@gmail.com’;
$bb->mod_rewrite = false;
$bb->page_topics = 30;
$bb->edit_lock = 60;
$bb->gmt_offset = 0;
define(‘BBLANG’, ”);
$bb->akismet_key = false;
$bb->wp_table_prefix = false; // WordPress table prefix. Example: ‘wp_’;
$bb->wp_home = false; // WordPress – Options->General: Blog address (URL) // No trailing slash
$bb->wp_siteurl = false; // WordPress – Options->General: WordPress address (URL) // No trailing slash
/* Stop editing */
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>
This plugin is another simple one. It allows you to set an inactivity limit on threads shown on the forum main page. The default is set to 7 days, and if you like that setting, then all you have to do is put the file in your my-plugins directory. If you want to change it, it’s easy enough (desciption in the readme).
You can download the file and read the instructions at http://faq.rayd.org/bbpress_limit_recent_activity/
You can see it being used at http://www.rayd.org/forums/ (notice how there are no threads in the “Latest Discussion” section whose last post is older than a week).
Enjoy!