Forum Replies Created
-
In reply to: Installation gone awry – Sub folders not created
There is not supposed to be a folder names “topic” – that is done with mod_rewrite on Apache. Can you try disabling mod_rewrite in your config.php and see if it works?
$bb->mod_rewrite = false;
If your forum works after that, then you need to do some work with your .htaccess and rewrite rules, or just leave non-pretty permalinks. But try that first, I think that’s why you’re getting 404 errors.
You didn’t mess up anything I don’t think.
In reply to: How to disable rss ?Since it sounds like you’re heavily modifying your install, I suppose you don’t have a problem modifying core files. It makes upgrading to a new version of bbPress more difficult, but you’ve already started down that road.
How about just changing bb-includes/template-functions.php and modifying what the bb_feed_head function returns (i.e. make it return no rss links at all.) I don’t know if that takes care of everything or not. Maybe it just kills autodiscovery of feeds. But I think in that file is where you would make the changes you want to disable RSS altogether.
There are rss links in the template files as well, so you should remove those too, so they don’t appear. I think a combination of removing the links from the template and the rss links from the <head> would take care of it.
Also, I imagine there is a way with a plugin to remove the rss feed links, to avoid modifying core files. I just don’t know how to do that (add a plugin to remove links in the <head>.)
In reply to: Fatal error: bb_get_headerYou edited the path out of the error message, but did it include the health_blog part, as well as forum? So it looked like
/something/health_blog/forums/forum.php
?/usr/local/www/vhosts/healthstatus.com/htdocs/health_blog/forums/forum.php
Maybe it’s one directory off or something?
One thing weird about the link to a forum: the URL looks like:
http://www.healthstatus.com/health_blog/forums/forum/healthstatus-forums
when they should look like
http://www.healthstatus.com/health_blog/forums/healthstatus-forums
(I think – is there an extra “forum” in there?)
Can you turn off the mod_rewrite in .htaccess and try it without permalinks? If it works, maybe the rewrite rules are borked.
Try this:
$bb->mod_rewrite = false;
In reply to: Loading bbPress within wordpressNot possible or at least not easy to do (I don’t think I’ve seen any one do it.) See here:
https://bbpress.org/forums/topic/unable-to-log-in-in-iframes?replies=9#post-11051
In reply to: Warning: Invalid argumentWhat version bbPress did you install? I don’t see a line 294 in my bb-settings.php.
But, the solution is going to be the same as before. I can’t help you with the actual change since I can’t actually find the line you’re talking about.
In reply to: Warning: Invalid argumentThe bug you have run into is fixed in the latest trunk release, or you can see this thread and this post specifically about the change to make:
It’s been discussed before as well:
https://bbpress.org/forums/topic/installation-problem-cannot-modify-header-information
It’s just a php warning, and your server is configured to show warnings, so you see it. It does point to a problem with the code, but even with the warning, everything still works fine.
In reply to: I don’t get second PW reset email in HotmailGood question. I’m inclined to say it’s hotmail right off the bat, since they make it through to gmail, but maybe it’s something that bbPress does with the email that hotmail finds objectionable.
Who does the email arrive from, at gmail (and the first time at hotmail for that matter), and if the mail were rejected, where would the bounced message go? In my installation, emails appear to come from bbpress@domain.com – but that email doesn’t exist, so any mail that fails to get delivered is just gone forever. If your email comes from a real email address, is that address getting rejection emails from hotmail?
In reply to: EMAIL WON’T SEND, FROM ANYHTINGHmm – back to the drawing board…
In reply to: User RegistrationOne thing I always thought was interesting was that mail appears to be sent from bbpress@yourdomain.com, whether or not that is a valid email. So, if you responded to your password email or something, it would be sent to that bbpress@ address, which might be invalid, so it would bounce.
I wonder if bbpress@yourdomain.com has to be set up as a valid email account on the server, so if the SMTP server says “let me make sure this is one of my users before I sent out email for him” it will work. Since you wouldn’t normally have a bbpress@yourdomain.com address already set up, maybe some MTAs don’t like it and give up on the mail altogether.
Why wouldn’t the email just be sent from the admin email address since we’re asked to enter it in config.php anyway?
Any thoughts?
In reply to: Admin Links at top not working – example providedThe
$bb->name
setting in config.php is the name for the whole site and the name you see in Admin > Content > Forum is the name of the categories or sub-forums (however you want to think about it – see the bottom of http://bbPress.org/forums/ for “Installation”, “Troubleshooting”, “Themes”, etc – that is what you’re changing in Admin > Content > Forums). Changing it there does indeed change the display (look at the bottom of the front page to see the name you are changing in the admin panel: it’s under “Forums”). If it’s not working like that in your installation, there’s another problem I’m not familiar with.Anyway, being able to change the site name in the admin panel might be a good suggestion. You can make feature requests at http://trac.bbpress.org .
In reply to: User RegistrationDoesn’t look like there are any errors in that log file, to the untrained eye (me.)
I saw something checked into trunk today about a from email address. Maybe sambauers will comment on this thread if that change is related, or if it’s something that will work as a plugin. If not, I will look up the change tomorrow.
In reply to: Pre-Installation: Spam and User NumbersAs an experiment, I created 1000 users automatically with long text for the username, website, interests, email, etc. I also inserted meta info for them (so, 1000 new user rows, 4000 new meta rows.) I checked the size of the Data_length and Index_length in MySQL.
With 5 users, I had this:
bbpress_users Data_length: 524 bytes
bbpress_users Index_length: 3072 bytes
bbpress_usermeta Data_length: 708 bytes
bbpress_usermeta Index_length: 5120 bytes
With 1005 users, I had this:
bbpress_users Data_length: 384,524 bytes
bbpress_users Index_length: 142,336 bytes
bbpress_usermeta Data_length: 280,708 bytes
bbpress_usermeta Index_length: 146,432 bytes
So, 1000 additional fake user registrations used about 1MB of disk space. In reality, the data I used for the fake registrations is far longer than any spam registration I’ve ever gotten. In fact, the average row length for bbpress_users went from 107 bytes to 382 bytes since the fake data I used was so ridiculously long. The bbpress_usermeta didn’t go up as much: from an average row length of 52 bytes to 69 bytes.
Bottom line: 1000 spam registrations, if they actually did occur, would not hurt anything at all. To prevent those registrations in the first place though, I would use Akismet and the “enhanced registration” plugin. Then you don’t need to worry about the registrations at all.
In reply to: How to have ‘latest discussions’ on WP front pageHow about using a WordPress plugin to display items from the Latest Discussion RSS feed from your forum?
https://wordpress.org/extend/plugins/tags/syndication
or
In reply to: Pre-Installation: Spam and User NumbersThe bb_users table uses an unsigned bigint for the user ID which allows numbers up to 18,446,744,073,709,551,615. How many people are there in the world?
http://dev.mysql.com/doc/refman/5.0/en/numeric-type-overview.html#id4784709
You would have more of an issue with hardware and bandwidth than you would with any kind of limit that is built into the software.
In reply to: User RegistrationDo you have access to the logs on your server to check for SMTP errors?
Did you try this plugin by sambauers?
https://bbpress.org/forums/topic/email-wont-send-from-anyhting?replies=8#post-13217
This fix is checked into trunk as well, but the plugin might be the easiest way to try the fix.
In reply to: how can I rebuild .htaccess?finalwebsites: does it work? If so, that’s all you need. If permalinks are not working, then your server does not support
Options +MultiViews
and you need the longer explicit rewrite rules as generated bybb-admin/rewrite-rules.php
.In reply to: I cannot log in my forumNeed more information about your forum please. What is the forum URL? Are you using any plugins? What was the username you used to sign up? Can you reset the password and have it mailed to you? Do you have direct access to the database with a tool like phpMyAdmin where you could check the username and manually reset the password?
In reply to: Your opinion: Profile above or to left of post?Make it wider if you want sidebars on both sides. This layout is pretty narrow and works down below 800×600 resolutions (and on mobile devices I hear) but most web browsers are using 1024×768 and above (use Google Analytics to see what your users are browsing with). You have room to add sidebars on both sides, if you want.
I prefer the profile links on the left, BTW.
In reply to: how can I rebuild .htaccess?I think accessing http://www.website.com/bbpress/bb-admin/rewrite-rules.php will create the .htaccess rewrite rules. If you made other modifications to the .htaccess and deleted the file, it’s just like any other file you delete; it’s gone. You would need to recreate it by hand.
In reply to: How can I set my board index to TheBoard.php?Couldn’t you do something with mod_rewrite to make it look like the forum is in a different location than it actually is?
It’s in the database, but it’s encrypted (the type of encryption depends on which version of bbPress you’re using.) So, you can retrieve the encrypted value with something like phpMyAdmin. Once you have the encrypted value, you can’t just decrypt it. The encryption is one-way. You can use something like rainbow tables to crack the password hash, but that’s beyond the scope of this discussion I think.
I think there is probably an easier way to accomplish what you want to do without dealing with the encrypted password. What is it you want to do exactly?
In reply to: difference between permalinksWell, AFAIK, bbPress only allows three values for permalinks: true, false and slugs. In config.php, there is a line (around line 27 in the current 0.8.3.1 release I think) that starts
$bb->mod_rewrite =
. I think it works like this. Of course, you can try modifying your config.php and see for yourself as well.$bb->mod_rewrite = true;
/bbpress/topic.php?id=526&page#post-6043
$bb->mod_rewrite = false;
/bbpress/topic/526
$bb->mod_rewrite = 'slugs';
/bbpress/topic/the-title-of-the-topic
Oh.
I think what you want then is something that can display an RSS feed in your bbPress sidebar. I can’t recall if there is something like that now, for bbPress, but if there is, it would be a plugin.
WordPress has lots of plugins like that, to display RSS content in your WordPress sidebar, maybe something like that could be adapted to bbPress.
There was an old discussion of a bbPress plugin here but I don’t know if that plugin will work any more. Maybe it could be modified, if necessary, to use the latest bbPress.
Good luck.
I think you want bbSync, a WordPress plugin:
https://bbpress.org/forums/topic/bbsync?replies=214#post-7922
In reply to: Text became Jibrish after moving hostingWhat games did you play with the blog to get it to appear correctly, and why would it be different than what you need to do for bbPress?
Is it possibly a collation or character set issue with MySQL? Can you look in the database and see how the characters are stored (with something like phpMyAdmin.
Also, look at the dump you have from the old database and make sure the characters are present there, first.