Search Results for '\"wordpress\"'
-
Search Results
-
I’m running a fresh installation of bbPress, albeit with the WordPress integration and Bozo-error-fix plugins, and I noticed that certain links return a “No input file specified” error page. Here’s an example:
http://www.queenscentral.com/forums/tags/
The homepage RSS seems to do the same thing:
http://www.queenscentral.com/forums/rss/
Though other RSS feeds are working fine.
Anybody know what could be causing this?
Topic: Call to undefined function:
Hi, first of all, Thank You For Doing This
I uploaded the folder and trying to run the install.php (http://www.gaszappers.com/forum/bb-admin/install.php), and all I got is this:
Fatal error: Call to undefined function: bb_install_header() in /home/2206/domains/gaszappers.com/html/forum/bb-admin/install.php on line 11
Any Clues?
I triple check the dbName, user, password, directory and all that jazz, here’s my config.php:
<?php
// ** MySQL settings ** //
define(‘BBDB_NAME’, ‘db2206_gaszappers’); // The name of the database
define(‘BBDB_USER’, ‘********’); // Your MySQL username
define(‘BBDB_PASSWORD’, ‘*********’); // …and password
define(‘BBDB_HOST’, ‘internal-db.s2206.gridserver.com’); // 99% chance you won’t need to change this value
// Change the prefix if you want to have multiple forums in a single database.
$bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!
// If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.
// Adjust the domain and path to suit your actual URL.
// Just the domain name; no directories or path. There should be no trailing slash here.
$bb->domain = ‘http://gaszappers.com’; // Example: ‘http://bbpress.example.com’
// There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.
$bb->path = ‘/forum/’; // Example: ‘/forums/’
// What are you going to call me?
$bb->name = ‘GAS ZAPPERS Development Forum’;
// This must be set before running the install script.
$bb->admin_email = ‘kenneth@tinkin.com’;
// Set to true if you want pretty permalinks.
$bb->mod_rewrite = true;
// The number of topics that show on each page.
$bb->page_topics = 30;
// A user can edit a post for this many minutes after submitting.
$bb->edit_lock = 60;
// Your timezone offset. Example: -7 for Pacific Daylight Time.
$bb->gmt_offset = -4;
// Change this to localize bbPress. A corresponding MO file for the
// chosen language must be installed to bb-includes/languages.
// For example, install de.mo to bb-includes/languages and set BBLANG to ‘de’
// to enable German language support.
define(‘BBLANG’, ”);
// Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage
// of Akismet’s powerful spam blocking, you’ll need one. You can get an Akismet key at
// http://wordpress.com/api-keys/
$bb->akismet_key = ‘***************’; // Example: ‘0123456789ab’
// The rest is only useful if you are integrating bbPress with WordPress.
// If you’re not, just leave the rest as it is.
$bb->wp_table_prefix = ”; // WordPress table prefix. Example: ‘wp_’;
$bb->wp_home = ”; // WordPress – Options->General: Blog address (URL) // No trailing slash. Example: ‘http://example.com’
$bb->wp_siteurl = ”; // WordPress – Options->General: WordPress address (URL) // No trailing slash. Example: ‘http://example.com’
/* Stop editing */
if ( !defined(‘BBPATH’) )
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>
Topic: login form wordpress
At my site I have a login form put in the header (generated by wordpress, with wordpress functions) that displays either the form for the user to login or the welcome text with the username etc.
The reason I don’t want to use wordpress own login function is because that forwards the user to their wordpress profile which they shouldn’t be using.
The problem I now encountered using the usernames_i18n_fix.php plugin is that wordpress doesn’t display the usernames properly. For the time being I’ve removed the username from the welcome text. But is there any way to make this work through wordpress without including bbpress every time wp loads?
Is it possible somehow to redirect the user to the page they logged in from instead of sending them back to the forum main page?
To echo the username I use
<?php $user = wp_get_current_user(); echo $user->display_name; ?>
Is it possible with a plugin (or existing functionality?) to create a bbpress forum topic everytime a new wordpress posts is made? And everytime a visitor writes a comment in that wordpress posts, it will appear as a post in that bbpress forum? (and vice versa)
Cheers all!
If anyone is using ‘ Avatar pluginsuleiman, here’s a hack I use to show the WPMU’s avatar in BBPress:
In post.php, after the
<small><?php post_author_title(); ?></small>
bit I use the following:<?php
$userid = get_post_author_id();
$wp_avatar = '/full/path/to/public_html/wp-content/avatars/' .$userid. '.jpg';
$wp_avatarURL = '/wp-content/avatars/' .$userid. '.jpg';
if (file_exists($wp_avatar)) {
echo '<img class="avatar" src="'. $wp_avatarURL.'" />';
}
?>Probably not the most elegant, but it works:
Vincent
I made a plugin that allows you to change wordpress cookie path&domain (and even cookieHash) to suit the need of bbPress.
My configuration was not “simple” :
wordPress : http://www.2diabolos.com/blog
bbPress : forum.2diabolos.com
everything is explained here.
http://www.2diabolos.com/blog/2007/04/06/nouveau-plugin-setcookieparams/
BUT I have a problem :
on my local server (for tests), I tried my plugin.
it works … for bbPress front-page and admin page, but not for topics and other “deeper” pages.
I put “cookie domain == false” (because cookie must not have domain when you are a “local server”, that what I understood from the standard)
I don’t understand why the frontpage appears nicely, and why, when I try to go into a topic, Firefox tells me that the server redirects the request in way that can’t go nowhere. And IE does not achieve anything (I prefer Firefox, it better for debugging…)
Firefox tells it can be a problem with cookie acceptance or desactivation.
I feel that bbPress is making a round (infinite) redirection ….
Topic: A needed improvement ASAP
Moodle, the open source Course Management System (http://www.moodle.org) has put together a package that contains all components needed for a Windows localhost installation (including Apache, MySQL and PHP). The only problem is that it is semi-manual. It would be nice if they would develop an installer that uses, for example, InstallShield, and makes the process automatic. I believe it would be very welcome and helpful for most users if WordPress would do the same for WP and bb and include both packages in the installer with checkboxes to select to install one or the other or both (under a Custom Install option).
BTW will anyone at WordPress see this?