Search Results for 'code'
-
Search Results
-
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’ );
?>