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.
One thing that’s probably holding that back and bugs me in that templates are not re-used in bbpress, is for example how post-form and edit-form should be integrated with maybe one or two conditional statements if necessary.
I guess ajax post deletes are a lot easier than ajax posting/editing.
Then there is the code block in front-page, forum.php & view.php which shows sub-forums, stickeys and posts. It’s virtually identical in each template but if you want to change one, you got to go to all three and change them in each place, the exact same code. It should be a sub-template, which of course I could hack in on my own but should be part of the core. Change it in one place, changes everywhere you see it.
“get_topic_last_post_link()” and it’s dependency “get_post_link()” relies on two important things which can be easily thrown off in bbpress or it’s db
1. if you are using a plugin or other code to change the number of topics shown on the front page or forum pages vs the topic page, get_topic_last_post_link() will calculate the last post incorrectly. This is because there is only one universal setting in bbpress right now for the number of items per page (there should be an array in the core so limit can be different than limit and then get_topic_last_post_link() will know to look at the destination limit instead of where it’s coming from)
see my bug fix for custom limits for each page here:
https://bbpress.org/forums/topic/custom-topics-count-for-different-pages-that-doesnt-break-last-post
it basically forces get_post_link to recalculate
2. get_topic_last_post_link() relies on the post_position in the bbpress table – which can get messed up if there are deleted posts, moved/merged posts, or recounts
Recounts does not attempt to recalculate and resave the post_position. This would have to be written. It basically would have to look at all posts in a topic, sort them by the desired date order, and then renumber them.
Looks like it happened around r406 to address trac ticket 425? (the last place I can find topic-ajax.php is r384):
https://trac.bbpress.org/browser/trunk/bb-admin/admin-ajax.php?rev=406
https://trac.bbpress.org/ticket/141
09/22/06 20:47:15 changed by mdawaffe
* status changed from assigned to closed.
* resolution set to wontfix.
We're not even ajax posting anymore.
Should revisit this if we ever go back.