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
Hmm You took away the brake between the option for single or multy votes? Shame
Ow and yes that caching in Opera is true, I always solve it to give it an unique time thingy to force Opera to reload instead of using cache.
Also I get this bug in Opera now:
You haven’t selected anything!
Well I DID select something
Can’t vote at all now, keeps saying that message!
Also the other issue with the standard template isn’t solved yet!
Ah I think I see the problem.
Unlike all the other browsers, Opera has taken it upon itself to cache the javascript request instead of actually fetching it each time (this is one way it cheats for speed).
Will add some code for a unique URL to force it to work.
okay, here you go, v0.24
http://ckon.wordpress.com/files/2007/08/bb-polls.txt?v024
should fix the issues with opera (and anything else caching)
I’ve also now added hidden near the top of the code a “test_mode”
If you change “test_mode” to “true” it will allow you do keep voting on any poll for testing purposes. You can switch back and forth to view/vote etc. Obviously change it back on a live site with members or people will be able to stuff the ballot box.
Keep in mind that previous poll data may have been made invalid by the bug in opera so start with a fresh poll. Do not keep re-using the old polls for testing with v0.24. I have not changed data structures but if the data got inserted wrong, it could be invalid for that topic.
(I’ll make a “delete poll” option soon for administrators.
The space it takes is trivial, so don’t worry about that)
I’m sorry if I just copy and paste what I said before but I’m not sure you saw. 
Then the somequote function finds the li where id is post-#, extracts the post text (this depends somewhat on the page HTML but should work) and puts it in the post box at the bottom. The somequotefunction can also use the DOM probably to take out blockquotes.
The key bit is that the function is only passed the post ID. It can get the post HTML perfectly simply itself with the getElementById method. And then remove the <blockquote> elements.
It doesn’t work for me
It is widening the whole table but I think the sproblem is tag <fieldset>. Removing this tag solved the problem.
Wasn’t aware of that one. I will look into it.
I’ve dropped it to the older escape routine.
Will just have to see if it works with non-english pages or not.
Is *anyone* else experiencing what Null is showing?
I cannot reproduce it.
v0.22 now adds ajax-ish voting so it’s almost entirely ajax except for the poll setup form which will take much more work than I am willing to do right now. (also cancel button added to poll setup)
http://ckon.wordpress.com/files/2007/08/bb-polls.txt?v022
It’s getting really good, ready for the the members to give it a go.
Can’t believe I didn’t have any code at all for this three days ago and its over 15k now with nearly 400 lines.
Now I need someone to come up with some pretty CSS styles.
Can you use $bbdb->escape() ? In future you could even use $bbdb->prepare() but I’m not sure how that one works.
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.
What I think you should do is use a bit of nifty javascript, like so:
<a href="" onclick="somequote( /* post_id */ ); return false;">Quote</a>
Then the somequote function finds the li with id post-#, extracts the post text (this depends somewhat on the page HTML but should work) and puts it in the post box at the bottom. The somequote function can also use the DOM probably to take out blockquotes. Quoting people isn’t something that needs bookmarking, at least not for my tastes, and reloading the page is annoying. But then quoting people is usually annoying anyway. You’re on a forum, why do you have to quote someone else’s post if other people can see it just above? Meh, personal preference
BOX help
:D:D:D:D can’t figure it out! Changed al $r into r1 etc mixed them did all variations, nothing worked. The foreach is wrong i guess…
we solved this issue in a previous thread, just make a search
Still not good here (also deactivated all other plugins):
http://www.sourceskins.com/pollbug2.gif
Also plz remove the capitals:
VOTE NOW -> Vote
SAVE POLL -> Save Poll
No need to shout 
I also miss a Cancel button when creating a poll
Any 1 can give me a wroking excample to activate a function on plugin activation and 1 on plugin deactivation?
I want to create a table on plugin activation. There is a hook, but don’t know how to use it
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.
Do you mean inside the edit profile page?
You’d need to reduce the <table width="100%">
but maybe also textarea style="width:90%;"
Are you using a custom template? Seems to work fine in the few templates I’ve tried.
If you still have trouble, post a screenshot image if you can.
I am now removing width="100%" from the new/next version.
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
here is my pack there is some modification for translating in hard code
thanks for inserting string in functions i translated them
and if you want i can send you the installation pack
there is another problem in style:
http://tinypic.com/view.php?pic=5zbd5wh
that was not in v0.14
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).
Create new Topic: Error
((
> Is that “legal” and if so, is it still “ethical” ? Are styles “copyright” ? I vaguely remember reading that “look & feel” cannot be copywrited.
By the looks of their site, not legal. Style is dictated by a combination of CSS and Markup (which is code, so is copyright). To make your markup compatible with someone’s proprietary CSS you would have to investigate and probably copy some of the markup structures, which brings you into iffy legal territory. The least you will need is permission from the copyright holder.
Copying look and feel can get you into trouble too. The look and feel of a commercial product is known as it’s “get up”, and that is considered intellectual property, more akin to a trademark than a copyright, but still intellectual property.
Of course, IANAL and your countries laws may vary. : )
I know it uses CSS, I also know users are lazy and don’t wanna edit the plugin file in oder to change some bar color.
Using the admin page is way more easy for them to change this and easy to add in.
Just a suggestion