Forum Replies Created
-
In reply to: Creative Commons T&C
Thanks _ck_ – I should have read the FAQ for the plugin
In reply to: 1.0 Alpha – Wp Integration messed loginsNormally the WordPress API version 1.1 escapes those properly so you can use all manner of special characters in the keys.
In reply to: Creative Commons T&CYou could use this plugin:
https://bbpress.org/plugins/topic/terms-of-service/
CC is not really about the type of behaviour to expect on a forum though. CC is for licensing. Why not find T&C you like from another forum and copy the best ideas?
Some inspiration:
http://mlb.mlb.com/fan_forum/msgboard_guidelines.jsp
http://www.google.com/search?q=forum+terms+and+conditions
But honestly, just tell people what you expect and what you’ll allow. Customize it for your site.
In reply to: New topic not displayingVery odd. I can see what you’re talking about now. There is the <h2>Reply</h2> but then something goes wrong.
This is in the source:
<h2 class="post-form">New Topic</h2>
</div>
<!--
If you like showing off the fact that your server rocks,
<h3>0.150 - 15 queries</h3>
-->Looks like bbPress has it until the
<h2 class="post-form">New Topic</h2>
part, then WordPress takes over for some reason. At least it looks like that’s what’s happening. If you look at the source of the page you’ll see what I mean.Sorry I don’t know what’s causing the problem, but it’s interesting to look at nonetheless.
In reply to: Error on installSounds like a permissions issue. What are the permissions of the folders and the php and css files?
Folders should be 0755 and php files should be 0644.
In reply to: seems simple, but i’m stumpedDouble check:
If your forum is visible, it worked. If not, then it didn’t. Can you post the URL?
In reply to: A few Pluggin QuestionsIn reply to: New topic not displayingWhy is this listed as a stylesheet in the source? It gives a 404 then includes the whole WordPress page as a stylesheet:
<link rel="stylesheet" href="http://www.audioscribbler.co.uk/oldboards/my-templates/bbpress-forum/style2.css?v=8" type="text/css" />
I don’t know if that has anything to do with it, but it’s not right.
Also, does the problem you’re describing happen with the stock template as well?
In reply to: 404 errors on all posts – please helpThat won’t do anything at all for your bbPress installation I don’t think.
In reply to: WordPress + bbPress Integration 101If you mean WordPress 2.6 and bbPress 0.9.0.2, then no, they’re not compatible. Choices seem to be:
1. Go back to WordPress 2.5.1
2. Install bbPress alpha release and take your chances
3. Wait for a new bbPress release that’s compatible
4. Live without integration
In reply to: New topic not displayingThat’s a PunBB installation right now. Did you switch it?
Very nice. Glad you got it working.
In reply to: Blank ScreenIf you’re getting a blank screen, it’s likely a 500 Internal Server Errror. If you have access to logs, you will see what caused it.
Alternatively, you probably have an error in a file you edited. This error does not exist in the default installation. I would look carefully at any file you edited for syntax errors.
Also, whatever you’re doing you’ve done twice since it happened both times. Look for the common file that you might have edited.
If that does not work, contact me off-site at information linked to my profile.
In reply to: bbPress 1.0 alpha looks interestingThat was my point exactly. It’s just in the template, like things are in WordPress. Remove them or comment them out if you don’t need them.
In reply to: Cant Integrate bbPress 0.9 with WordPress 2.6bbPress 0.9 is not compatible with WordPress 2.6. Read the first sticky thread for more information. If you cannot wait for a 1.0 release of bbPress, you might try the alpha release that was just packaged up, but I wouldn’t try it on a production site that you care about.
In reply to: stylesheet_directoryWell, that function gives the URI of the stylesheet, which will be a file, not a directory (sorry). Try this instead:
<link rel="stylesheet" href="<?php bb_active_theme_uri(); ?>css/enplus.css" type="text/css" />
You had some other errors in there too, in addition to the wrong function I gave you.
There’s lots of neat stuff in bb-includes/template-functions.php – take a look.
In reply to: stylesheet_directoryFrom header.php
<link rel="stylesheet" href="<?php bb_stylesheet_uri(); ?>" type="text/css" />
<?php if ( 'rtl' == bb_get_option( 'text_direction' ) ) : ?>
<link rel="stylesheet" href="<?php bb_stylesheet_uri( 'rtl' ); ?>" type="text/css" />bb_stylesheet_uri();
In reply to: Forum and newsletter email accountsThere is no plugin that I know of.
In reply to: Installation instructions incomplete?I did edit my bb-config.php before installation, but I’m not sure if the installer needs that any more (it might be smart enough to write the file these days). There’s nothing in there that you should have edited that would cause this problem anyway (other than the BB_PATH which is after the *Stop Editing* line, near the bottom.)
Looks like you installed the latest 0.9.0.2 version. That’s good.
It looks like not all the files are present though. Do you have a bb-includes directory with a wp-functions.php file in it? I do and I did not get that error.
I would just verify that all the files were uploaded properly. First check for the existence of a bb-includes directory with a wp-functions.php file in it. The error is saying that file is not there.
You take all that code that howtogeek pasted and put it into a file called “replacebbmail.php” or something. To make php code into a bbPress plugin, it needs to have a header. The header needs to look something like this (change the values to something meaningful to you):
<?php
/*
Plugin Name: Swift Mailer
Plugin URI: http://www.example.com/ (doesn't really matter)
Description: Replace bb_mail with Swift Mailer
Author: You
Author URI: http://www.example.com/
Version: 0.1
*/Then, paste the code that howtogeek showed at the end of that file. In the end, it will look something like this.
<?php
/*
Plugin Name: Swift Mailer
Plugin URI: http://www.example.com/ (doesn't really matter)
Description: Replace bb_mail with Swift Mailer
Author: You
Author URI: http://www.example.com/
Version: 0.1
*/
if ( !function_exists('bb_mail') ) {
function bb_mail($to, $subject, $content, $headers=''){
require_once('PATH_TO/Swift/lib/Swift.php');
require_once('PATH_TO/Swift/lib/Swift/Connection/Sendmail.php');
$swift =& new Swift(new Swift_Connection_Sendmail("/usr/sbin/sendmail -bs"));
$from = new Swift_Address("noreply@mysite.com","My bbPress Forums");
$message =& new Swift_Message($subject, $content);
if ($swift->send($message, $to, $from)) {return true;}
else{ echo "Message failed to send to ".$to." from ".$from;}
$swift->disconnect();
}
}
?>The name of the file does not matter really. Save that new file in bb-plugins. Now activate your new plugin in the admin section of your bbPress site.
You will need to configure it before activating it to make sure it works (setting up the path to swift mailer and setting the auth stuff if you need to.)
In reply to: Recomended Hosting?“Cheap, fast, good. Pick any two.”
I have no specific recommendations, but so long as the host supports the minimum requirements, just ask about SMTP auth and then shop by price.
I don’t know about a complete solution, but I’ve been able to get this one working.
If it becomes a large enough issue, I imagine someone will create a plugin for it. Until then, this is a work around.
Integrating something like this does not affect WordPress integration as far as I know. It’s just the email function. I imagine WordPress would have the same issue sending out emails unless you use a plugin like this there as well.
In reply to: Forum List on front page differs from logged in viewWhat plugin are you using to hide some forums from some members?
In reply to: Merge registration pagesInstead of this WordPress function:
<?php wp_register(); ?>
You would have a link to bb-login.php. Then bb-login handles the whole thing. In the login form, you would add that hidden form field to redirect then after login, as explained here.
https://bbpress.org/forums/topic/heres-a-trick-to-redirect-user-back-to-topic-after-login#post-14268
In reply to: bbPress 1.0 alpha looks interestingI agree on the search. It’s too “in your face now.” I think it should have been in the template files and commented out. People could uncomment it to get the functionality. We’ll never be happy. At least with it there now, people can see it, remove it or style it however they want. This is probably better than there being nothing in the template at all before. That’s typically how WordPress themes are: they have a bunch of useless cr*p in them that I just remove or comment out. It’s easier to remove or modify something that you can see than trying to figure out how to add something you don’t know exists.
Not sure yet on the bb_meta table. I haven’t looked at the DB schema yet.