I just installed r1637 as a test. Installation went well. I can’t believe they added the search by default!
I will test a little more and post issues to trac.
You can just change the register links in the wordpress template to point to the bbpress login and registration forms… that’s easy enough (you can even copy the login form code into the template directly and it seems to work).
The problem is, how to get users back to the URL they came from after they login (by default they seem to get bounced to the forum home page instead)… any ideas?
So, http://www.addiva.net is OK, and later, when people type in http://www.addiva.net you will direct them to http://www.addiva.net/blog/home ?
Sounds like a configuration issue in WordPress. There is an option to choose what is displayed on the front page (Settings > Reading). you can select your latest posts or a static page.
Yes, the default address for the blog’s main page is index.php, and what is shown there is what I described changing above. Check those options and post back if it’s not what you expect to see based on what is configured.
Thanks so much for the reply.
What I get at http://www.addiva.net is fine and what I expect. What I get at http://www.addiva.net/blog/home is the same and, once we get our htaccess file set up, will be what you get when you type in http://www.addiva.net. What we can no longer call up is the first page of the blog, the one that displays one or more recent posts, you know, the index for the actual blog section.
I don’t know of any way to call it up in the control panel to check on what the permalink is supposed to be. What’s the default address for the blog’s main page supposed to be? Isn’t it supposed to be http://www.addiva.net/blog/index.php? If I type that in I just get the main page of the site. .
As I said before, it was all working fine until I made an initial attempt to integrate our new bbpress installation with wordperss, didn’t get it to work and tried to backtrack what I’d done to try again another day. I’m trying to figure out what files might have been affected during this process.
Unfortunately by some oversight, there is no directly link to the search feature on the default bbPress 0.9 templates (this is fixed in the next version – perhaps too prominently given how weak the built-in search is in bbPress).
You can make a link to search.php yourself in the header.php or footer.php to have it on all pages.
<a href="<?php bb_option('uri'); ?>search.php">Search</a>
Or you can make a mini-form that passes the field “search”
<form action="<?php bb_option('uri'); ?>search.php" method="get">
<input name="search" id="search"></form>
I just now got this working! The solution is posted at https://bbpress.org/forums/topic/dropping-multiviews-support#post-16050
Quite simply, turn 1and1 hosting has MultiViews on by default and it must be turned off in .htaccess with:
Options -MultiViews
Then add the /bb-admin/rewrite-rules.php mod_rewrite AFTER the Options -MultiViews.
That was too simple to take this long to resolve.
bb_location is not called by default but still is typically used on every page. It’s easier to track the request_uri and store it with the title (formal name) of the page since bb_location does not track all pages (ie. edit and topic pages are the same, all views are the same, etc). My User Track plugin does this but it’s not available to the public yet.
bbPress does not use sessions by default (because they slow the system). But there is no need to use them, you can assume after 30 minutes since the last page load the user has left the site. Most tracking plugins work like that.
update: here you go:
https://bbpress.org/plugins/topic/mini-track/
Oh shoot, you are correct, I allowed them in the end by default. I might remove that.
update: oh wait, BMP is only allowed for admin, no one else has that allowance – so it’s not an issue, I forgot I did that. The reason you got “denied mime” is because it’s a bug where I didn’t add “image/bmp” to the allowed mime types for admin. I’ve reposted 0.1.9 with that fixed.
But that’s a strange error I need to explore on the png. Apparently “Error Occurred While Processing Request” is a mysql error? Interesting.
Did the filename have any strange characters? Quotes? Apostrophies? Unicode?
BMP is not an allowed mime by default because they tend to be huge and uncompressed. You can force it to be allowed though by adding it to the mime (and extension types).
This bug bothers me though, if you can give me steps to reproduce it that would be very helpful:
[png] Error_Occurred_While_Processing_Request.png (17.7 KB, 0 downloads) [x]
Did it happen when you uploaded a PNG and a BMP at the same time?
You only need to share databases to have integrated user logins. If you just installed WordPress, it’s probably 2.6, which is not compatible with bbPress at the moment, so you do not want to attempt this right now anyway.
The difference is, when you share a database, is that bbPress will use the wp_user and wp_user_meta tables for it’s users, rather than creating bb_user and bb_user_meta tables.
If you don’t care about logging in in bbPress and being logged in in WordPress, and vice versa, then you don’t need to shared the tables.
If you don’t do an integrated installation (sharing of the wp_users and wp_user_meta tables), then you can just use a different table prefix (by default WordPress uses wp_ and bbPress uses bb_) in the same database and not worry about a thing.
This is the best documentation I know of:
https://bbpress.org/documentation/integration-with-wordpress/
I think you asked this on the IRC channel but I will also answer here to help others.
PHP is not processed in style.css (unless you force your server to, and that’s not recommended)
However you can edit your theme’s header.php
and create an additional “inline” stylesheet like so:
<style>
body {background: url("<?php echo $_SERVER['REQUEST_URI']; ?>/wp-content/themes/default/images/background.gif") repeat-x top;}
</style>
</head>
(note that </head>
at the end, it’s meant to indicate you should put that code at the end of the <head></head>
section)
Also, more importantly, $_SERVER['REQUEST_URI']
is not going to be the variable you want. Probably more like $_SERVER['DOCUMENT_ROOT']
and you’ll have to add the path to wordpress too.
Hello,
i want to add in my css an image of the /wp-content folder of my blog, like:
background: url(“<?php $_SERVER ?>/wp-content/themes/default/images/background.gif”) repeat-x top;
but doesn’t work. why ?
bye,
Fred
i think the doctype of default skin is bad,
i use: <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”> and i have no errors and no warnings 
++
I think the default theme have a problem:
Conflict between Mime Type and Document Type
The document is being served with the text/html Mime Type which is not a registered media type for the XHTML 1.1 Document Type. The recommended media type for this document is: application/xhtml+xml
This is the error when i try to validate it for the w3c validator.
Why?
Fred
https is *not* the default protocol when installing bbPress. What gives you the idea that it is? Was a field pre-filled with a https:// value? Did you navigate to the installer from an https page? Or is the link to bbPress coming from an https page?
Just change it to http:// unless you have an SSL certificate and require the security.
Oops – edited after _ck_’s message below.
I have a navigation button on my website linking to a bbPress forum, which works fine in IE, but won’t work in Firefox. Apparently it is a security issue.
My host Support has advised that changing the bbPress URL from https protocol to http will resolve the issue, but I’m wondering why https is the default protocol when you install bbPress?
I am aware that https ensures security for exchange of credit card info etc, but in the case of my forum, there won’t be any such security issues as far as I know. The forum is just a place for students to post research proposals and the like, and feedback to each other, and for their lecturers to do likewise.
Does anyone know, please, if there is any reason I should NOT change the forum URL from https to http?
Hmm, is this the default in WordPress? define('COOKIEHASH', md5($_SERVER[HTTP_HOST]));
does that actually appear in wp-config.php by default? Because that would override the cookiehash calculation. Make sure then you have this in your bb-config.php
define('BB_HASH',md5($_SERVER[HTTP_HOST]));
also, since you are trying to do “full” (complex) integration. You may want to see here for more ideas: http://www.adityanaik.com/integratepress-part-i/
The plugin currently allows you to change the smilie “set”.
I intend future versions to be able to use multiple sets at the same time.
If you want to make your own sets, just look at how the default folder is done and build your own. There is a single PHP file to edit.
topic_time is meant to be used in topic loop, not a forum loop so it doesn’t know the last topic id.
You could get around this by passing the last topic id in the topic_time however you’d have to do a custom query to determine the last topic in a forum, as it’s not stored/available by default.
I think I’m going to make this into a plugin “forum_last_poster”
update: I seem to have finally made it work!
Oh yeah, I do already use Google’s reader – but you can’t actually subscribe to a site from within that, can you? And I have tried Firefox – I use it spasmodically. It’s illogical and even stupid of me, but I am so used to IE I find myself opening it up by default, as it were. No question, it is inferior to Firefox.
The closest thing I know of is “Comment Quicktags”:
https://bbpress.org/plugins/topic/quicktags-4-bbpress/
I think a WYSIWYG editor would be overkill since a lot of the markup is not allowed by default. I suppose you could disable the buttons that use non-valid markup.
Or, these forum posts:
https://bbpress.org/forums/topic/i-added-wysiwyg-to-my-bbpress
https://bbpress.org/forums/topic/bbpress-wysiwyg-status
I highly doubt anyone else is working on it, it’s a very complex plugin. Not something I would even try to tackle – go for it Nightgunner5.
“Also, the plugin (the original and my modded version) is completely unorganized. It should be rewritten …”
If nobody else is already remaking it, I could make it my next project.
Is anyone working on a remake of Private Messaging?
I think you are missing the point that some people don’t want such features (for example, me) on their forums and by keeping it plugin based it can be an option instead of forced.
775251Inactive
One other quick note. I just tried to view the default forum stylesheet in my browser, so navigated to:
http://mysite.com/forums/bb-templates/kakumei/style.css
And again was redirected to my blog’s homepage. I’m confused as to why this is happening?