Forum Replies Created
-
In reply to: 404 Errors in Internet Explorer Only
OFFTOPIC: I hate the fact that code in backticks has changed 0.8 em recently. It’s nearly unreadable. They must be working on the site since there have been a couple other CSS changes recently as well. Looks like the changes were made about a week ago.
In reply to: 404 Errors in Internet Explorer Onlynoyz319: the site loads for me in Firefox and IE, but when checking the server response from the command line, it gives a 404 error.
u35452940:~ > time curl -I clutchmagonline.com/forums/
HTTP/1.1 404
Date: Wed, 13 Feb 2008 18:14:13 GMT
Server: Apache
Cache-Control: no-cache, must-revalidate, max-age=0
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Pragma: no-cache
X-Pingback: http://clutchmagonline.com/xmlrpc.php
Set-Cookie: PHPSESSID=cec9b723687a4a88fc83b4a528c2017a; path=/
Last-Modified: Wed, 13 Feb 2008 18:14:15 GMT
Content-Type: text/html; charset=UTF-8
real 0m1.550s
user 0m0.004s
sys 0m0.000sIs it possible that you have an .htaccess file with rewrite rules that would do something like this? That’s kind of interesting that it returns a 404 error but still loads the forum. Maybe there’s an ErrorDocument directive that directs the 404 error to the forum index page?
Weird.
The server response has been consistent though between IE, FF and command line, so I wouldn’t worry too much about the fact that it only happens sometimes. There is one thing making the 404 error happen on all browsers. I wonder what that is…
The default role is set in bb-includes/capabilities.php around line 485
$user->set_role('member');
This is a job for a plugin, but I haven’t tried to write one yet, so if you were to change that word
member
toinactive
, my guess would be that that would make any new member inactive and then the keymaster would need to edit their role to make them members.ACTUALLY – that didn’t work
In bb-includes/pluggable.php, line 361 says this:
bb_update_usermeta( $user_id, $bb_table_prefix . 'capabilities', array('member' => true) );
I changed member to inactive there, and now new users are inactive when they first register.
Like I said, this is really a job for a plugin, but you could probably use this last change temporarily until a proper plugin is written.
HTH, and be warned this is not a good way of doing it. It should really be a plugin I think.
In reply to: Need a board where guests can post, with CAPTCHAThis would take care of the anonymous posting I think:
https://bbpress.org/forums/topic/anonymous-posting#post-5614
Not sure on the CAPTCHA.
In reply to: Forums not indexed in Google!I see you started a new thread rather than continue this [resolved] one…
In reply to: Why the urls become plain text,but not hyperlinks?Yep, it was made clickable. Maybe it has something to do with your translation and character set?
In reply to: Why the urls become plain text,but not hyperlinks?They DO become links automatically, unless the URL is not well formed. Then maybe bbPress can’t handle it. Why not try posting a URL here that does not work at your forum to see if it works here. I will post a URL to google here without markup and let’s see if it is made clickable:
In reply to: 404 Errors in Internet Explorer Onlynoyz319: need a URL to test your site.
In reply to: 404 Errors in Internet Explorer OnlyThe dotq.org site is REALLY slow, like the server is overloaded or the pipe to it is overloaded or something. It loaded for me in Firefox, once, but in IE it timed out after 60 seconds or something.
When I did it with the command line, it took almost 58 seconds, and that’s browser independent. I think the problem is that the server is slow, or the software running the site is slow, one or the other.
u35878210:~ > time curl -I dotq.org
HTTP/1.1 200 OK
Date: Wed, 13 Feb 2008 15:59:37 GMT
Server: Apache
real 0m57.898s
user 0m0.004s
sys 0m0.000sIn reply to: 404 Error ~ New installation.How about a URL?
In reply to: ErrorChange this line in your config.php:
$bb->mod_rewrite = slug;
to this:
$bb->mod_rewrite = false;
That should fix the problem. Your server configuration does not support the .htaccess rewriting rules you have set up. Changing this to false turns off the need for mod_rewrite and .htaccess. You can get them working later.
Also, it’s possible the might work if you spelled and quoted it properly. It should be
$bb->mod_rewrite = 'slugs';
and that will work if your server supports mod_rewrite and you have the proper .htaccess rewrite rules in place.
In reply to: ErrorHow about this for getting bbPress to look like WordPress:
https://bbpress.org/forums/topic/getting-same-header-footer-and-background-color-as-wordpress
You can also search the forum for integration or browse the integration tag. There have been some good tutorials posted but I can’t find them right now.
In reply to: ErrorI think for bb-plugins.php, you would need to make this change:
if ( function_exists( 'glob' ) && is_callable( 'glob' ) ) {
foreach ( glob(BBPLUGINDIR . '_*.php') as $_plugin ) {
$_data = bb_get_plugin_data( $_plugin );
$_plugins[$_plugin] = $_data ? $_data : true;
}
}That’s the whole block of code from trunk. Looks like they test now to see if glob is callable, then actually call it. That should fix your glob problem.
In reply to: ErrorRegarding the glob thing – you are going to need the same sort of fix for the glob anywhere it’s used in bbPress since your host disabled it. You would have to grep through all the code and say something like:
if ( function_exists( 'glob' ) && is_callable( 'glob' ) ) {
whatever test that used to use glob;
}Not sure the best way to deal with that.
In reply to: ErrorYes, the URL is wrong in the config. The URL should be http://www.jompen8.byethost13.com/wordpress/bbpress/ for the location of your bbPress installation, and http://www.jompen8.byethost13.com/wordpress for the location of your WordPress installation (if you are planning on integrating user logins.)
The link or button you put in your WordPress installation should point here: http://www.jompen8.byethost13.com/wordpress/bbpress/. You can delete page 24 in WordPress (unless you want to use a WordPress redirect plugin to have an actual WordPress page, so the link appears easily in your navigation – just redirect it to http://www.jompen8.byethost13.com/wordpress/bbpress/).
Once that is all sorted, you will have a forum installation accessible from WordPress, but it will look nothing like your blog theme. There’s more work involved in making that happen, copying over the header and footer and sidebar and making the forum look like the blog. It’s all doable, it just takes time and energy and some CSS and HTML skills (maybe some PHP too.)
First get it in the proper location, accessible at the proper URL, then worry about getting it to look like you want. Because bbPress is not a plugin for WordPress, it is not going to look like your blog pages at all without some work.
In reply to: Installation Error MessageA moderator will come along (Trent) and delete that. He hasn’t logged in in a while. There’s not much else you can do at this point.
In reply to: After upgrade dashboard incompleteAre you still the keymaster or did you get somehow demoted to an editor or something?
Also, is it possible that the files just did not all get transferred? Can you compare the zip file structure to your installation structure?
In reply to: ErrorAt this URL I see a blank forum WordPress page that has a title of “Forum”:
http://jompen8.byethost13.com/?page_id=24
That’s not how it works. You need to have the bbPress directory inside the WordPress folder. It looks like WordPress runs the whole site, so your forum will be available at http://jompen8.byethost13.com/bbpress/ .
To get to the forum, you need to make a link in your navigation to “Forum” (just like there is now) but it won’t be a WordPress page, it will just be the URL of your forum (http://jompen8.byethost13.com/forum/).
bbPress is not a plugin for WordPress and it won’t look like your WordPress installation (with header, footer, sidebar and style) unless you do some work.
In reply to: Installation Error MessageThat’s the best setup for integration, with the bbPress directory a subdirectory of the WordPress directory. The thing that threw me was that this is still a valid (if somewhat broken) URL:
http://www.johnwade.ca/Forums/
I think the integration needs to happen up front, in the config.php, since an integrated install modifies the wp_users table and does not create a bb_users table. I’m not sure if you can go back and edit the config to make it integrated later. I don’t think it would work since the table creation and modification are done upon installation.
In reply to: ErrorIt looks like you made bbPress a page inside your WordPress installation? I’d say that’s incorrect in your config. Or, does that page_id 24 just redirect to a forum URL??
In reply to: ErrorFor integration, you have it set up properly with the forum folder inside the WordPress folder. So, the URL is correct if you want that setup. If you don’t care about WordPress integration (mostly user logins) then you would put the forum folder on the same level as the WordPress folder.
In reply to: Installation Error MessageFor integration, hopefully you have something like:
http://www.johnwade.ca/ (plain old website)
http://www.johnwade.ca/puppyplaydate/
hhttp://www.johnwade.ca/puppyplaydate/Forums/
From what is accessible online though, that doesn’t look like the case.
If you have that structure, integration will be easiest.
In reply to: Installation Error MessageInteresting (16:12 CST):
Your bbPress URL (http://www.johnwade.ca/Forums/) is not a subdirectory of your WordPress URL (http://www.johnwade.ca/puppyplaydate).
Sharing login cookies is possible but is more complicated. See the documentation about integrating bbPress and WordPress.
In the meantime, remove the http://www.johnwade.ca/puppyplaydate setting from your config.php file, or you may not be able to log in.In reply to: Installation Error MessageThe formatting of the config.php got jazzed up posting it here, so now there are lots of parse errors in it. Hard to say what it is without having the actual config.php in hand. It’s either on line 16 or right before line 16 and then it gets reported as line 16. This is line 14 in a stock config-sample.php:
$bb_table_prefix = 'bb_';
Maybe there’s a problem with that line in your config?