Forum Replies Created
-
In reply to: Server requirements?
Shared hosting works fine assuming you have a good host. As you get more forum activity, you would need more server, and shared hosting is not going to be enough. For starting out though, bbPress works fine on a shared host.
I’ve been using 1&1 (affiliate link) for 4+ years now without any trouble at all running WordPress or bbPress or anything else, for that matter. If you get an account on a shared host, I would recommend getting one with ssh access to a command line. It makes a lot of things much easier. If all you have is FTP access, that’s OK too.
In reply to: Installation Errors, every time, DB IssueIt’s not you, it’s a problem with bbPress.
https://bbpress.org/forums/topic/cannot-select-db-error?replies=11#post-12434
There are two trac tickets that deal with it as well:
https://trac.bbpress.org/ticket/745 (the old one)
https://trac.bbpress.org/ticket/757 (the new one)
If you look through the forum for threads tagged 745, you will see lots of posts regarding the issue:
https://bbpress.org/forums/tags/745
Sorry you’re having the trouble, but it’s not too hard to fix.
In reply to: Post without beeing a memberIn reply to: Registration Email Not Being Sent – new issueI can’t see a way that bbPress would be responsible. The email is sent right before the registration success message is sent. From register.php lines 39-41:
do_action('register_user', $user_id);
bb_load_template( 'register-success.php', $_globals );So, after the register_user action (which emails the password) the success message is displayed. There is no delay built into bbPress. So, it is somewhere after bbPress has handed off the email.
Is is possible there is a different header in the bbPress password message that causes it to be delayed by the recipient’s ISP? I know there is a
Precedence: bulk
header in the bbPress email, and that WordPress has the same, but there is also a X header in the WordPress email that I don’t see in the bbPress email:X-Priority: 3
(which means “normal” delivery.) It could also be due to the email address the email is coming from (some sort of validation by the SMTP server to see if the sender is valid.)I would say the problem is with the server sending the emails, or the recipient’s ISP, not with bbPress. I can’t come up with any ideas at all how bbPress could be responsible.
In reply to: Next page not workingIt certainly LOOKS like a rewrite problem. When you click a link that looks like http://pakten.se/forum/forum/testa-loss/page/2, you are redirected to http://pakten.se/forum/forum/testa-loss. That to me says it’s a rewrite problem, maybe only when the url contains “page” or something.
You can try it with mod_rewrite set to false and see if it works properly. If it does, then it’s an issue with the rewrite rules. You could also check the apache logs (if you have access to them) to see how the rewriting is happening and why it’s doing this. It doesn’t result in a 404, it just redirects someplace that’s incorrect. I think that’s because of the rewrite rules. I would try it with mod_rewrite to false and see what happens.
Good luck.
In reply to: Move a comment from wp to bbpressThe beauty of open source is that anyone can write a plugin to accomplish what they need. If the need is great, someone will write a plugin. If there is no great need, no plugin. I don’t think what you’re asking for is really basic functionality, but maybe others will see this thread, decide that’s a good idea, then write a plugin.
In reply to: Lost in Login LoopBy removing the http:// you removed the path to the theme and the CSS and that’s why it was blue and black and all over to the left. The style.css makes it look pretty, and your installation not longer had a valid path to the style.css.
In reply to: Next page not workingCan you share the URL? It sure sounds like a permalinks problem, but you say those are working fine.
In reply to: language file ?1. No problem
2. I am unfamiliar with the tag problem, but I *thought* it was fixed in r846
3. I don’t know about creating a subdomain of bbPress.org. You could always create your own site to support an arab user.
4. Nope, not an arab. American. People do call me hajii sometimes, but I’m pretty much American
In reply to: language file ?Hi.
1. No, you can’t use the WordPress translation because there might be phrases that occur in bbPress that aren’t translated already for WordPress. I think you already discovered and resolved that.
2. You already figured out where to put the mo file (bb-includes/languages)
3. I have seen a couple different posts for places to host the translations, maybe this one would be OK?
http://www.bbpulp.org/wiki/Translation_files
I have no idea how to get it hosted “officially” at Automattic.
Thanks for translating.
In reply to: Lost in Login LoopThere’s nothing special to bbPress to get this working.
What browser are you trying with? And is this always the admin user or have you created another user and tested with that?
In reply to: language file ?These instructions are for WordPress but the procedure is the same:
https://codex.wordpress.org/Translating_WordPress
I think you take that pot file I linked to and use a tool like poedit to translate all the phrases that are in that pot file.
Then, according to the config.php:
// 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', '');So, according to that, use poedit to generate the mo file (maybe it’s ar.mo for arabic?) and drop the ar.mo file you just created into the bb-includes/languages folder. Now change the BBLANG line to read:
define('BBLANG', 'ar');
I THINK.
I am guessing on the ar as the proper language according to this page I found:
http://www.iana.org/assignments/language-subtag-registry
I am totally guessing at all of this, but I think that’s pretty close to what you need to do. When you’re done translating, please post back and share your work. Thanks.
In reply to: language file ?In reply to: Lost in Login LoopWhat did you set mod_rewrite to in your config.php? If you set it to true or slugs, you might want to try setting it to false.
$bb->mod_rewrite = false;
That’s right after the admin email you entered.
Also, there used to be a problem where depending on which login form you used (the one in the header or the one in the body of the page after you fail to login) you would get in a redirect loop that said something to the effect of:
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.If that doesn’t help, then I think posting the URL to the broken forum would be the best thing so people can see what’s actually going on.
I don’t think it’s cookies or permissions. I think it’s the mod_rewrite setting and your host does not support rewrite rules in the .htaccess file, or you haven’t created the .htaccess.
In reply to: Cannot select DB error!Was it “all of the sudden” all on it’s own (like it was working last night, and “all of the sudden” it was not working today?) or did you make a change that might have broken something? If you made a change, you need to figure out how that change might have caused this.
In reply to: Cannot select DB error!Did you change that from how it was working before, or did you recently upgrade to 0.83? I ask because 0.83 made the switch to db-mysqli.php and as far as I know db-mysqli.php does not accept the port parameter (the part after the localhost:)
So, was it working before and it stopped all of the sudden or did you upgrade something that might have broken it.
If you upgraded to 0.83, I think this ticket might be of interest to you:
https://trac.bbpress.org/ticket/745
https://bbpress.org/forums/topic/bbpress-on-localhost?replies=4#post-12105
In reply to: Cannot select DB error!I wouldn’t blow away your bbPress install completely. It’s a simple error that will have a simple solution. It just cannot connect to the database for some reason…
In reply to: Cannot select DB error!In reply to: Cannot select DB error!My guess is that there is something wrong with the database settings in config.php (sorry) – if it is using the same database as the WordPress site, and the WordPress site is still up, then I think there’s something wrong with the config.php. Unless you changed something else recently with your files, I can’t think of anything else that would cause it.
Since posting an edited wp-config.php and config.php would be useless since you’d be destroying information, I would have another set of eyes look at both config files and see if there are any differences. Maybe the config.php was edited with some editor that mangled a character or line ending or something.
Also, can you connect to the database with phpMyAdmin or something using the details from config.php? Make sure the database is still there?
In reply to: How Do I Do This?I’m not sure which version of front-page.php you’re using (couldn’t make my site look like yours using the last front-page.php code that was posted) but I THINK all you need to do is change the line that looks like this:
<table id="forumlist">
to this:
<table id="forumlist-<?php forum_id(); ?>">
That just adds a dash and the forum number to the table id. That should validate. But I think that will affect the CSS in a bad way. There will no longer be an id of “forumlist”, they’ll all be “forumlist-something” which the CSS will have trouble with.
Maybe it would be better to do something like this:
<table class="forumlist" id="forumlist-<?php forum_id(); ?>">
Then you would need to change your style.css to make any references to #forumlist look like .forumlist (change from applying the forumlist styling to ids and make it apply to classes.)
That’s a lot of work, but ids are supposed to be unique on a page, where classes are not. This is actually a better application of a class since all the tables should look the same and use the same styling. You’re not referencing them with javascript or something where the ids matter.
I just tried this and it worked on mine and validated properly. There were 6 instances of #forumlist that needed to be changed to .forumlist in my style.css
Hopefully that will work for you.
In reply to: Registration Email Not Being Sent – new issueSounds like a server problem, not a bbPress problem. It’s not like bbPress sits there and waits 14 hours before sending the email. It has to be something with the SMTP server or mail queue.
In reply to: 1970 issueNow the plugin browser theme just needs to be fixed
In reply to: Can’t loginIf they were all on the same server, then it could have all been the host. Glad it’s working in any case.
In reply to: 1970 issueI reported a similar problem for the bbPress plugin forum about 6 weeks ago, but there is no action on the ticket.
https://trac.bbpress.org/ticket/753
My guess is the template is calling the wrong time/timestamp function since it doesn’t happen with the stock kakumei theme.
In reply to: InformationUse the same database and just use the
$bb_table_prefix = bb_
table prefix as suggested in the config.php. No need for a whole new database just for a few new tables.