I am new to bbPress and have spent most of this weekend trying to get it installed and running on a site I am trying to roll out.
Here is a synopsis of where I am beginning from:
-Shared hosting account on HostGator
-Currently run 3 other sites all running WordPress
-All 3 sites run from 3 different DB’s named uniquely
-Never had a problem with any of the 3 sites
-I am not a WordpPress expert by any stretch of the definition
What I am trying to do:
-On a 4th site, I am trying to install bbPress to create a community forum.
-Eventually I would like to integrate it with WordPress, but I would like to get grounded in bbPress first.
Issue:
Every time I install bbPress, I can get the site to come up but when I click on any of the links (like trying to drill down into a topic), the URL changes but the content is always the homepage. I am able to login to the admin screen, but I can’t ever make any changes within it. I can add new topics and they display, but I can never drill into it so I can read the content or add replies.
Any ideas what I am doing wrong?
I tried searching the forums for the answer so if I completely missed it if you could point me in the right direction that would help. Any help or advice you can give is appreciated.
Thanks,
Jeremy
Thanks for both your replies. I’d read that thread previously and my impression was that it is overly complex for what I’m trying to accomplish and was hoping for a much simpler way. I’d rather avoid having to “hack core files” as described and I want to be able to upgrade both WP and bbPress easily with changes only in my template files. I also don’t need the complex behavior of conditionally showing admin links, etc. since I just bookmark the admin page. And finally, as I mentioned, my PHP skills are non-existant at this point so not the kind of thing I am comfortable taking on right now.
fel64, currently I have my user tables and cookies integrated. I installed bbPress within the WP directory to get the easy integration described in the docs since I’m still pretty new to both. So far that seems to work great. I like your suggestion of just grabbing the HTML code for the WP login and making it look like the bbPress login. That would solve the login part of it. However, then I would need some conditional code to display different things if the user is logged in or not, similar to what the bbPress login form does. It displays the welcome and profile link if logged in, or login form if not. For new user registration I’d have to send them to the bbPress registration page because I want them to fill out profile info not available in the WP registration form since it only asks for username/pw. Then I think it would be kind of weird that the user clicks register from the home WP page and gets taken to the forums after they register. Probably have to do some special handling there to see where they came from and send them to the right place.
So…. hope you don’t mind the thinking outloud but after all that I’m wondering if it’s all worth the trouble given how unfamiliar I am with these systems. Maybe I’ll postpone this until future versions of bbPress make login integration much easier or there are plug-ins written for WP that can help. My initial thought was, why can’t I just call the login form code from bbPress from WP? Is this something that requires a deeper level of integration than what I have? I’m curious about this in general as it would be something I’d like to be able to do in the future.
Thanks!
Stephen Kellogg and the Sixers Official Messageboard – SK6fans.com
Hi,
I am new here. I am form lithuania so sorry for my poor english.
I have trouble. I have installed bbpress and integrated with wordpress. And now i can’t go to bbpress admin panel. Can any body help my?!
No, I have a special test site for this stuff: http://www.sourceskins.com/bbpress go take a look if you have it there too…
I also run the latest stable release, no trunk versions
I doubt I will add lines/characters countdown meters anytime soon but will keep them in mind. The Polls plugin is my top priority for now as I don’t even allow signatures on my own sites.
I’ll look into the stylesheet bug though.
To see a signature somewhere else you’d have to call
echo add_signature_to_post('');
which might work but won’t apply other bbpress filters to it. It also needs to know the post and user id from $bb_post so if it’s outside the loop it won’t work at all.
I only worked on signatures for a day or two, it’s very very beta.
Null, I am testing using opera 9 on windows.
I am using 0.24 of the plugin on the bbpress trunk.
I am able to create a new poll & vote with no alerts.
There is no problem with the css layout.
Make sure you create a NEW poll for testing with 0.24
Wait I just thought of something.
Are you using a personal firewall like Norton?
They sometimes filter javascript in bad ways.
I am also starting to think that php 5 is doing something weird with the data escaping since you say you get it in all browsers. Unfortunately I do not have a php 5 server to test on.
Can anyone else reproduce what Null is reporting or does it work?
ps. you can turn off ajax if you want to test it normally by changing the “use_ajax” option near the top of the code. Set it to “false”.
pps. Null, is this off the site in your profile?
Can you create a poll for me to see off one of the pages so I can see the bug in action?
1. insert “quote” button on every post like my “report” button
2. don’t use javascript, use the arg add function and build a simple url for each quote button which references the source post id #
3. clicking said url button does a get from the server/bbpress
4. look for and capture the $_GET (ie. "epost=1327)
5. now the hard part, tell bbpress to start a new reply post in the topic and insert the formatted text from the quoted post. I have no clue how to pass bbpress existing text to a new post. Not even sure it has the action/filter to do it. I would bet not
That may have been factually accurate, but telling him that it’s been solved and he should go search is not helpful. Linking him to a solution would be.
“ganzua, that’s not all that helpful.”
Well, If undestood quite enough this quote;
“What I’d like to have is that same bbPress login form show up in my WP page so that if users are logged in they get the welcome/view profile otherwise they can log in/register from anywhere on the site.”
We solved this same thing here, ;
https://bbpress.org/forums/topic/any-idea-to-integrate-wp-and-bb-login-forms?replies=24
Are your usertables integrated? If they are it shouldn’t matter what login form you use and your userdetails should be identical, a change in one system resulting in a change in the other. In that case you can simply but the WP login forms back and integrate cookies.
If they are not integrated and you don’t want to do so, a solution could be to load bbPress when you load WP [edit: but again unless you’re integrated you’ll have function name collisions so that’s not an option] and use the login_form()
I believe it is template tag.
Or you could just look at what the bbP output login form is like, copy the HTML into wordpress and let users use that. No reason why that shouldn’t work. 
ganzua, that’s not all that helpful.
That’s the default bbpress template right?
I have a very similar setup but not seeing any of that.
Can anyone else report on this issue?
0.22 will be out shortly, I have ajax voting done.
Gotta fix how it calculates totals for multiple answer votes.
we solved this issue in a previous thread, just make a search
To change text you either have to use “pre_post” which is a permanent change saved back to the database (ie. auto close tags) or “post_text” which only affects the outputted text and leaves the source alone (ie. smilies typically use this cause you don’t want the image tags back into the text upon re-editing).
IMHO “post_text” is an “expensive” operation in that it has to be generated on the text each and every time it’s displayed but sometimes there is no other choice.
If you are asking how to automatically insert the button, that’s very tricky because somethings still don’t have hooks in bbpress, ie.
https://trac.bbpress.org/ticket/720
(ironically that’s where I’d put a quote button)
The trick is to start a new post with the old text as a quote. I have no idea how that would be done in bbpress because I don’t think you can have existing text on a new post, old an old one, and you really don’t want to pre-create a post in case the user cancels.
I’d love to see this plugin happen, I just don’t know enough to help you more – hope someone else can help.
ps please make it trim the old post for people who like to quote posts, who quote posts, who quote posts and it ends up being 10 pages long, LOL!
Hi everyone, I’m a bbPress newbie and have recently installed it along side my WordPress blog and followed the basic integration steps in the docs here. My WP blog is the home of my site and I have a link to the forums similar to this site after customizing the themes for both. I’ve removed the login/registration links from WP (anyone can comment) and users can log in from the bbPress login form if they’re at the forums.
What I’d like to have is that same bbPress login form show up in my WP page so that if users are logged in they get the welcome/view profile otherwise they can log in/register from anywhere on the site. I want all registration to happen through bbPress that way users aren’t confused by two login systems/profiles. I’ve been following alot of integration topics here and haven’t found one that answers this question for me so please let me know how this might be done or if it’s not a good idea for reasons I haven’t thought about.
Also, I don’t know any PHP but I can code in other languages. I’m not familar with any functions in bbPress or WP for that matter so hopefully this isn’t that involved but I’m definitely interested in learning. Just thought I’d give some heads up. 
Thanks in advance!
Ohhhhh
My test site has nothing but posts from me, no wonder I didn’t see it 
And to answer your question at the very top of this thread, I’m trying to use bbPress for a serious forum… I just opened my forum a little over a week ago. Not as much traffic as I’d like, of course, but decent.
I’ve tested this now up to the bbpress trunk and it seems to work fine.
Try the latest:
https://bbpress.org/plugins/download/report-post.zip
Make sure you are editing post.php in your bb-templates or my-templates?
Unfortunately there is no hook for me to place it automatically in post.php on that info line. Wish there was.
I’ve been having problems to translate bbpress since I integrated the forum with wordpress.
In particular I’m having this error;
Fatal error: Cannot redeclare class CachedFileReader in
wampwwwwordpressbbpressbb-includesstreams.php on line 163
whenever I try to define a lenguage in config.php -> define(‘BBLANG’, ‘es_ES’);
I was suggested to redirect to wordpress mo file -> define(‘BBLANGDIR’, ‘../wp-includes/languages’);
and then editing this mo file with poedit.
Well, I’ve been messing with poedit but I didn’t change bbpress config.php yet or included any language file for bbpress anywhere.
I went to bbpress control panel to activate the new signature plugin and I find that a line of the menu (and just one line, the rest are still in english) is already translated to spanish, this one;
http://img213.imageshack.us/my.php?image=transyf3.jpg
I admit that I’ve been very busy and I even admit that a was drinking some beers this evening but, what the hell did I do? I can’t rember!. I’ve been unsuccesfully trying to translate bbpress for a month and now bbpress started to translate all by itself?
here is my pack there is some modification for translating in hard code
https://opensvn.csie.org/wppersian/bbpress/files/poll.zip
Good advice and very clear points. Not worth the risk.
I’ve been looking at some of their templates and it’s not that amazing anyway. They also use tables. If I clear up my layout and document it well, I am sure some css gurus out there can make something even better.
In other news I fixed the nagging refresh bug
http://ckon.wordpress.com/files/2007/08/bb-polls.txt?v018
(the post data that’s left on the page when you hit f5) but I hate the way it has to be done (redirect after processing the post data, back to the same page – that’s twice the load for bbpress – can’t find any other documented solutions).
I think my next code attempt will be to make it load in place (like ajax but not really ajax).
The CSS is fully editable for the bar colours. You can even make the bars fancy images if you so desire.
I guess I am going to have to make a proof-of-concept to show people that it doesn’t have to look anything like my default. I can even make it look like polldaddy.
ps. @fel64 v0.17 now tricks bbpress in keeping the poll data completely unserialized until the plugin actually needs it (easy fix). It still has bbpress cache the data with the topic for fast loads. What’s nice about this is the topic title “[poll]” can still tell if the topic has a poll by just checking for the object without deserializing it (ie. $topic->poll_options) – oh it’s also completely compatible with any currently saved poll data and can deal with it already being unserialized, it just fixes it on the next vote
example of when serializing is bad:
a loop of 50 topics being displayed where the data has to be unserialized each and every time because of the way the data is fetched – it’s very easy to accidentally make this happen
fortunately polls are only displayed on the topic page where the data has already been fetched from the db and deserialized once
What bothers me even more however is using things like is_topic() which can get caught within the topic list loop on the front-page/forum page, because of how much work it does and how repetitive it is without being cached.
Unfortunately I cannot figure out a less intensive way and it can’t be cached. bbpress should be storing a simple string flag for it the moment it determines its heading towards that template, not post-processed by looking at the filenames. The difference in overhead is significant.
ps. actually, I just realised I am doing that bad version of deserializing. I have to trick bbpress not to deserialize all that data… will work on it
Serializing data is only bad if you are going to be constantly unserializing it in the same bbpress instance.
_Anything_ is bad if you do it unnecessarily. I don’t understand why you were unhappy with serialising earlier in this case.
Obviously topicmeta is there to be used for topicmeta. That doesn’t mean it needs to store everything that could be construed as topicmeta. My question wasn’t what where the orthodox place to store topicmeta was, but a comparison of unserialising very large arrays vs. a single query. But then I think that serialising is linear, anyway, so it probably remains very good value.