Search Results for 'bbpress'
-
AuthorSearch Results
-
November 4, 2007 at 9:24 pm #60519
In reply to: after integration -> some problems!
Jaithn
Memberi call it like this:
if ( !defined('BBDB_NAME') )
require_once(ABSPATH.'forum/bb-load.php');the problem started after the integration of wordpress and bbpress…so i don’t know what the problem ist.
mdawaffe do you have a idea how i can fix this?
i have one more problem…i can’t add links to my posts…when i post a link in the entry it shows only
<a>test</a>…any idea?jaithn
i’m running now bbpress.83 and wpmu 1.3…
November 4, 2007 at 1:06 pm #59141In reply to: Installing bbPress
chrishajer
ParticipantThe “Warning: Cannot modify header information – headers already sent by” error comes from having whitespace before the opening <?php or after the closing ?> in a php file. I would check any modified files for an extra blank line at the beginning or end and see if deleting the line takes care of the problem.
November 4, 2007 at 7:43 am #61303In reply to: Forum-wide RSS Feed not working
livibetter
MemberOkay. I finally got it. I think this is a bug of bbPress.
line 29-55 in
rss.phpensures there is a post found at least, if not thendie().Normally, we see no entries in a feed if there is no posts matched. But bbPress choose to die. You can replace each line of
die();with a dummy statement like1; // die();However, this is no enough. The third statement from bottom:
bb_send_304( $posts[0]->post_time );Replace it with
if ($posts)
bb_send_304( $posts[0]->post_time );Since bbPress can’t find any posts, therefore it has no way to decide that should it send a 304.
Can anyone confirm this is a bug about choosing to die?
November 4, 2007 at 7:22 am #2565Topic: Error when ‘ is used in Post
in forum Installationprathik
MemberbbPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘/p> ‘,’2007-11-04 07:21:38’, ‘59.92.136.76’, ‘0’, 1)’ at line 5]
INSERT INTO bb_posts (forum_id, topic_id, poster_id, post_text, post_time, poster_ip, post_status, post_position) VALUES (’11’, ‘7’, ‘9’, ‘
This is the error that I get when ‘ is used anywhere in the post. Any fix for it? Thanks.
URL: All over http://tech36.com/forums/
November 4, 2007 at 5:32 am #59140In reply to: Installing bbPress
EricBobrow
MemberI installed wordpress without problem for two different blogs, but cannot get bbpress to install. I’ve spent a few hours trying out things this past week with no success. The patch by mdawaffe fixes my error messages related to mysql_get_server_info, however I still get some other strange messages:
Warning: Cannot modify header information – headers already sent by (output started at /homepages/10/d171407036/htdocs/bcg/mastertemplate/blog/bbpress/bb-includes/db-mysqli.php:473) in /homepages/10/d171407036/htdocs/bcg/mastertemplate/blog/bbpress/bb-admin/install.php on line 10
Warning: Cannot modify header information – headers already sent by (output started at /homepages/10/d171407036/htdocs/bcg/mastertemplate/blog/bbpress/bb-includes/db-mysqli.php:473) in /homepages/10/d171407036/htdocs/bcg/mastertemplate/blog/bbpress/bb-includes/functions.php on line 1898
Can anyone help me with this? I just set up a WordPress blog for a new product we’re distributing, and would like a forum in conjunction with it, so bbPress would be perfect.
If I can’t set up bbPress right now because the code is buggy, does anyone have suggestions for other forum software? I would even be ok with temporarily using a different forum setup, then porting it over to bbPress later (if that’s straightforward???).
Thanks in advance for any help or advice. I’m a knowledgeable computer consultant, but pretty inexperienced in blogs/forums. I can follow the conversation about patching the php files, and did so using standard web authoring tools. However, I’m not interested in becoming an expert on code versions or using diff tools. I just want a forum software that works well with my new blog for the benefit of our clients, with a minimum of fuss.
November 3, 2007 at 5:50 pm #61306In reply to: share templates between wp and bbpress
shaythong
MemberInstead you can make bbPress look like your blog. I stumbled onto Aditya Naik’s integratePress post.
November 3, 2007 at 4:45 pm #2563Topic: share templates between wp and bbpress
in forum Themesxkeo
MemberbbPress has been installed as subdir of wp blogs.
I found a template I like for wp blog but I would like to share it to bbPress.
Probably this cannot be done just by one click.
What’s your advise about this issue?
I was looking to create a new template for bbPress which would look like wp one. Problem is how can I use the blog functions into bbPress ?
Thanks,
wp is great
November 3, 2007 at 10:53 am #60952In reply to: Hiding Subforums on The Homepage
livibetter
MemberHere is a similar topic: https://bbpress.org/forums/topic/sub-sub-forums?replies=6
November 3, 2007 at 1:39 am #61300In reply to: Forum-wide RSS Feed not working
Doug Smith
ParticipantI have the same problem on a bbPress install I just set up. The top level feed just returns the text “No input file specified.”
Lower level feeds work as long as the topics have content. If they have no posts, it returns a blank page, which generates an error in some readers. This won’t be a problem as more posts are filled in, but it would be nice to return an empty feed now to avoid the errors.
November 3, 2007 at 12:58 am #59139In reply to: Installing bbPress
chrishajer
ParticipantNormally, bbPress is not this bad. A couple bugs were introduced which create problems on some systems. My install from a year ago was no where near this hard, but I checked out the new code and if I installed it I would have had this same trouble.
I think the line 80 being referenced is line 80 of /bb-includes/db-mysqli.php
https://trac.bbpress.org/browser/trunk/bb-includes/db-mysqli.php#L80
I think there are 3 possible workarounds:
1. You can try overwriting /bb-includes/db-mysqli.php with /bb-includes/db.php
2. You can manually modify line 80 of /bb-includes/db-mysqli.php
3. You can apply the 745c.diff patch attached to trac ticket 745
4. Wait for mdawaffe to fix it permanently.
I guess a 5th option is to move on to other forum software. I hope you don’t do that. bbPress is nice when it works (which is 99.9% of the time.)
November 2, 2007 at 10:26 pm #59138In reply to: Installing bbPress
jim12345
MemberThanks again chrishajer,
Yeah I’m running windows so I have no idea what the equivalent would be.
mdawaffe keeps talking about “line 80”, changing “line 80”. But I don’t know, line 80 of what? lol.
Man I had no idea that installing bbpress was going to be so difficult, installing wordpress itself was not bad at all.
November 2, 2007 at 9:27 pm #61297In reply to: Page Loading Problem in Internet Explorer
pwdrskier4
MemberI believe that it was a problem with the way my host (GoDaddy) deals with .htaccess files. I was also having major issues with the same as this: https://bbpress.org/forums/topic/pretty-permalinks-not-working?replies=29#post-5247
All-in-all, I would say stay away from GoDaddy if you are trying to do a integrated wordpress/bbpress site. I have moved the site to another host and all issues have been resolved.
November 2, 2007 at 5:04 pm #50415In reply to: Importing from vanilla
JamesM
MemberAnyone ever come up with a solution from Vanilla to BBPress? I’m having daily requests to move from Vanilla and NO ONE has a converter.
November 2, 2007 at 2:47 pm #60559In reply to: sub-sub forums
Sam Bauers
ParticipantYou have to keep your custom templates up to date your self.
You might want to use the browser in the trac site to see which files have changed.
November 2, 2007 at 2:36 pm #61092In reply to: 9rules.com
ericakadisco
MemberOkay, the 9rules notes is the coolest bbpress forum I’ve seen yet. It looks almost like a combination of a blog and a forum. Any tips on how to do something like that? The little preview is amazing and the number of responses looks great too.
November 2, 2007 at 1:08 pm #60557In reply to: sub-sub forums
livibetter
MemberI checked the svn repos. It seems you are using bbPress prior to 0.8.2, please upgrade first.
November 2, 2007 at 4:14 am #59137In reply to: Installing bbPress
chrishajer
ParticipantLooks like mdawaffe is working on a different solution as well (read to the bottom):
https://trac.bbpress.org/ticket/745
Did you already try applying that patch with the patch command on linux (there are probably equivalents on Windows and Mac, but I don’t know what they are)?
November 2, 2007 at 1:53 am #54733In reply to: Is there a Post Preview Plugin?
thomasklaiber
MemberMaybe someone could port the “Live Comment Preview” plugin from wordpress to bbpress.
Too bad I don’t have the time at the moment
November 1, 2007 at 10:59 pm #59136In reply to: Installing bbPress
jim12345
MemberHello chrishajer, thanks for your reply.
I’m having a heck of a time trying to make sense of what I should do now lol. This is VERY confusing to me. I looked for a “db-mysqli.php” file in the bbpress files that I uploaded and did not see anything similar to that. And I don’t see that line 80 “mysql_get_server_info”, which it says should be changed to “mysqli_get_server_info” anywhere in the config.php file. I’m real lost here lol, so if anyone can just point in the right direction I would greatly appreciate it.
November 1, 2007 at 5:58 pm #61294In reply to: “Access denied for user” during install?
chrishajer
ParticipantWith integration, it’s easiest to use the same database, then just change the table prefix (or leave it at the default for bbpress – there’s no conflict.) If you use the same database, then just use the database connection details from wp-config.php.
It seems you can’t even SHOW TABLES, not even talking about creating anything yet. The permissions required to SHOW TABLES are much less than those needed to create a table.
Something weird is going on and we’re going to smack our heads when we realize how simple it really was.
November 1, 2007 at 4:29 pm #61293In reply to: “Access denied for user” during install?
ericakadisco
MemberHey Chris,
I had created a second bbpress database called bbpress2 to see if that was the problem, which it wasn’t. The error message is an older one. The one I’m getting now is in reference to bbpress, not bbpress2 like above. But everything else is the same:
bbPress database error: [Access denied for user 'disco'@'localhost' to database 'approachanxiety_com_bbpress']
SHOW TABLES;
bbPress database error: [Access denied for user 'disco'@'localhost' to database 'approachanxiety_com_bbpress']
CREATE TABLE bb_forums ( forum_id int(10) NOT NULL auto_increment, forum_name varchar(150) NOT NULL default '', forum_slug varchar(255) NOT NULL default '', forum_desc text NOT NULL, forum_parent int(10) NOT NULL default '0', forum_order int(10) NOT NULL default '0', topics bigint(20) NOT NULL default '0', posts bigint(20) NOT NULL default '0', PRIMARY KEY (forum_id) ) DEFAULT CHARACTER SET utf8
bbPress database error: [Access denied for user 'disco'@'localhost' to database 'approachanxiety_com_bbpress']
CREATE TABLE bb_postsQuestion: can I use the same database as my WordPress database?
I may call my hosting provider to see if there is something wrong with the way mysql databases are set up. Perhaps I can connect but can’t create tables?
Thanks for all your work on this!
Eric
November 1, 2007 at 3:38 pm #61292In reply to: “Access denied for user” during install?
chrishajer
ParticipantI have no idea what the problem is, but this right here is a funny 404 page:
http://approachanxiety.com/404.htm
This database is listed in the first error:
approachanxiety_com_bbpress2
But you are connecting to approachanxiety_com_bbpress in the second example. Was that changed along the way?
And you said you’re integrating with WordPress, but are you using a different database (i.e. why approachanxiety_com_bbpress if it’s an existing WP database?)
Not sure what it is yet, but I am curious.
November 1, 2007 at 3:30 pm #54732In reply to: Is there a Post Preview Plugin?
chrishajer
ParticipantI remember when bbPress had AJAX posting:
https://trac.bbpress.org/ticket/718
Not post preview, but still, the AJAX was there at one point.
November 1, 2007 at 9:07 am #60372In reply to: bbPress cannot count properly after upgrading
karaboga
ParticipantThanks for the replies; I’ve upgraded the forum to the newest version 0.8.3, and then I’ve apply recounting. Now the problems I’ve stated in my first message are solved.
November 1, 2007 at 4:23 am #61291In reply to: “Access denied for user” during install?
ericakadisco
MemberThanks for the response.
Okay, I tried to patch all the files with the changes in that ticket and I seem to get the same error.
Here is my config.php:
<?php
// ** MySQL settings ** //
define('BBDB_NAME', 'approachanxiety_com_bbpress'); // The name of the database
define('BBDB_USER', 'disco'); // Your MySQL username
define('BBDB_PASSWORD', 'xxxx'); // ...and password
define('BBDB_HOST', 'localhost'); // 99% chance you won't need to change these last few
define('BBDB_CHARSET', 'utf8'); // If you are *upgrading*, and your old config.php does
define('BBDB_COLLATE', ''); // not have these two contstants in them, DO NOT define them
// If you are installing for the first time, leave them here
// Change the prefix if you want to have multiple forums in a single database.
$bb_table_prefix = 'bb_'; // Only letters, numbers and underscores please!
// The full URL of your bbPress install
$bb->uri = 'http://approachanxiety.com/bbpress/';
// What are you going to call me?
$bb->name = 'New bbPress Site';
// This must be set before you run the install script.
$bb->admin_email = 'ericmonse@yahoo.com';
// Set to true if you want pretty permalinks, set to 'slugs' if you want to use slug based pretty permalinks.
$bb->mod_rewrite = false;
// 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 = 0;
// 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 it as it is.
$bb->wp_table_prefix = ''; // WordPress table prefix. Example: 'wp_';
$bb->wp_home = ''; // WordPress - Options->General: Blog address (URL) // Example: 'http://example.com'
$bb->wp_siteurl = ''; // WordPress - Options->General: WordPress address (URL) // Example: 'http://example.com'
/* Stop editing */
if ( !defined('BBPATH') )
define('BBPATH', dirname(__FILE__) . '/' );
require_once( BBPATH . 'bb-settings.php' );
?>When I run the testdb.php I get
Connection Results
Connection: Successful!
Database Selection: Successful!
Enter Your MySQL Information
MySQL Hostname localhost
MySQL Username disco
MySQL Password xxxx
MySQL Database approachanxiety_com_bbpress
Here is the text php file that connects to the database and works:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>MySQL Test Script</title>
<style>
body { font-family: Verdana; font-size: 10pt; }
td { font-size: 10pt; }
th { font-size: 8pt; }
</style>
</head>
<body>
<?php
if ( isset ( $_POST['submit'] ) ) {
?>
<table border="1" summary="" cellpadding="2" cellspacing="0" style="border-collapse: collapse;">
<tr>
<th bgcolor="#F2F2F2" colspan="2"><center><b>Connection Results</b></center></td>
</tr>
<?
if (!$link = @mysql_connect($_POST['mysql_hostname'], $_POST['mysql_username'], $_POST['mysql_password'])) {
?>
<tr>
<td>Connection:</td>
<td bgcolor="red"><font color="white"><?php echo mysql_error(); ?></font></td>
</tr>
<?
} else {
?>
<tr>
<td>Connection:</td>
<td bgcolor="green"><font color="white">Successful!</font></td>
</tr>
<?
}
if (!$dblink = @mysql_select_db($_POST['mysql_database'], $link)) {
?>
<tr>
<td>Database Selection:</td>
<td bgcolor="red"><font color="white"><?php echo mysql_error(); ?></font></td>
</tr>
<?
} else {
?>
<tr>
<td>Database Selection:</td>
<td bgcolor="green"><font color="white">Successful!</font></td>
</tr>
<?
}
@mysql_close($link);
?>
</table>
<?
}
?>
<form method="post">
<table border="1" summary="" cellpadding="2" cellspacing="0" style="border-collapse: collapse;">
<tr>
<th bgcolor="#F2F2F2" colspan="2"><center><b>Enter Your MySQL Information</b></center></td>
</tr>
<tr>
<td>MySQL Hostname</td>
<td><input type="text" name="mysql_hostname" size="40" value="<?php echo $_POST['mysql_hostname']; ?>"></td>
</tr>
<tr>
<td>MySQL Username</td>
<td><input type="text" name="mysql_username" size="40" value="<?php echo $_POST['mysql_username']; ?>"></td>
</tr>
<tr>
<td>MySQL Password</td>
<td><input type="text" name="mysql_password" size="40" value="<?php echo $_POST['mysql_password']; ?>"></td>
</tr>
<tr>
<td>MySQL Database</td>
<td><input type="text" name="mysql_database" size="40" value="<?php echo $_POST['mysql_database']; ?>"></td>
</tr>
<tr>
<td colspan="2"><center><input type="submit" name="submit" value="Submit"> <input type="reset" name="reset" value="Reset"></center></td>
</tr>
</table>
</form>
</body>
</html> -
AuthorSearch Results