bbPress

Simple, fast, elegant

bbPress Plugin Browser »

bbPress Polls (0.5.9)

Download

Version: 0.5.9

Last Updated: 2009-2-24

Requires bbPress Version: 0.8.2 or higher

Compatible up to: 0.9

Author Homepage »

Plugin Homepage »

Donate to this plugin »

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(10)

Your Rating

Author: _ck_


  1. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    zmaroti, here's the changes:
    http://bbshowcase.org/forums/topic/bbpress-polls#post-173

    I don't normally waste time on validation unless it's something easy.

    Posted: 2 years ago #
  2. zmaroti

    Member

    Thanks, I made a diff for you to fixup minor cosmetics and comply with W3C. Posted it at BBshowcase.

    Posted: 2 years ago #
  3. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    0.5.4 adds some subtle improvements based on feedback from zmaroti (thanks!)

    The options (specifically CSS) will be need to be reset in admin panel because of xhtml changes, sorry. Please blame xhtml validation and not me, lol.

    Posted: 2 years ago #
  4. zmaroti

    Member

    A tiny diff:
    http://atp.pedia.szote.u-szeged.hu/~xavier/bb_polls-0.54-diff.txt

    Result is that the fixed box style is not appied to the "start new poll" question, but it will keep the consistent look of topicmeta (li tags).

    Posted: 1 year ago #
  5. retrospec

    Member

    Hello,
    The poll is very good, but one question/improvement. As far as I can see you have to create a topic then go back into it and change it to a poll.

    Why not modify the create new post so that you specify it's a poll at the same time?

    Posted: 1 year ago #
  6. glittereyes

    Member

    ditto to retrospec

    Posted: 1 year ago #
  7. Anonymous

    Unregistered

    Hi.
    I have a little problem with the plugin. "Only" admins can start polls! My settings are default. Authors of a thread see the button with the question to start a poll, but after pressing nothing happens. :(

    Extra Info: I use the Wordpress Integration plugin. Could the user role map be the problem?

    Posted: 1 year ago #
  8. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    A serious bug has been fixed in 0.5.5 that mostly affects ajax use (which is on by default so it affects virtually everyone).

    Posted: 1 year ago #
  9. "Only" admins can start polls! My settings are default. Authors of a thread see the button with the question to start a poll, but after pressing nothing happens. :(

    I am having the same problem, except that when it's not that "nothing happens" — I see a div trying to form, but it appears to be empty. Seems like it works great when I'm logged in as the admin.

    Extra Info: I use the Wordpress Integration plugin. Could the user role map be the problem?

    I use the native Wordpress integration that came with bbPress 0.9.0.2. Other than this bug, I think this plugin is super!

    Posted: 1 year ago #
  10. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    When you have problems with my plugins not working, try two things to see debug what the problem is:

    1. try temporarily switching back to the default kakumei theme

    2. try deactivating other plugins (one by one)

    See if either of those fixes it.

    If not, then report to me your total environment, Windows vs Linux, IIS vs Apache, which version, which version of PHP, etc.

    Posted: 1 year ago #
  11. On line 243, (if (($edit_poll==0 && bb_current_user_can($bb_polls['minimum_add_level'])) || bb_current_user_can('administrate')) {), users are prevented from creating polls if they are not admins.

    I think this should be switched to if ($edit_poll==0 && bb_current_user_can($bb_polls['minimum_add_level']) || bb_current_user_can('administrate')) {. (Correct me if I'm wrong)

    Posted: 1 year ago #
  12. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    Doesn't the logic come out exactly the same?
    administrate will override both earlier options.

    Mine just groups the first two together since they are related.

    Posted: 1 year ago #
  13. Thank you _ck_ for the improvement ( we now can add a poll when starting a topic )
    Would it be possible to remove or place it slesewhere the question ( to add a poll ) on the topic page ? Or give us a way to set it up to false so we can customize it . I want it out of topicmeta.

    Posted: 1 year ago #
  14. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    Yes you can place it anywhere you want on a topic page by commenting out this line #35 like so:

    // add_action('topicmeta','bb_polls_pre_poll',200);

    And then placing anywhere you want in the topic this line:

    <?php bb_polls_pre_poll(0,0); ?>

    It will be wrapped in <li> </li> so be sure to surround it with <ul> </ul>

    Posted: 1 year ago #
  15. Thanks _ck_, ok so I can put it where I want.
    the problem is I put it in edit-form et post form that is where I want it
    but then the poll will not show on top of the topic. Is there a way to get:
    bb_polls_pre_poll(0,0); on forms and a ex: bb_poll_show_survey() on topic page ?

    Posted: 1 year ago #
  16. got a little bug ( i think)
    I tested it a several times. If you do the following:
    1 Adding the plugin
    2 adding a poll to an existing thread
    3 vote on that poll which will show you the results
    4 press the "delete" link to delete the poll

    then the site's switching to an white page where you can see easy html/css code. I the code is from the bottom of the poll box.

    I'm on Firefox and Iron. Other Plugins: bbCode Buttons and bbCode Lite, Bozo Users and Human Test

    Posted: 1 year ago #
  17. Created my first poll with this plugin, try it out:

    http://satnightspecials.com/topic/vinyl-can-you-hear-the-difference

    Because my background is black, and this plugin assumes you have the gray default, I had to make many CSS changes.

    Posted: 1 year ago #
  18. froodian

    Member

    Thanks for this (along with all your other great plugins) _ck_. The only thing missing for me is the ability to let people see who's voted for what. That capability would be great for our forum.

    Posted: 1 year ago #
  19. I'll second froodian's comment. I would love to have that too. If I'm reading the serialized stuff stored in the database in the table for meta info on a topic right, it should be pretty straightforward to match up usernames to responses. Has anyone already done something like that?

    Posted: 9 months ago #
  20. _ck_

    5 stars
    4 stars
    3 stars
    2 stars
    1 star

    Moderator

    Well a single mysql query can grab all the usernames to show who voted on what,
    but where would you show such information?

    I'd also have to add an option to make poll show that info or not.
    To be honest I am fairly burnt out on this plugin.

    Posted: 9 months ago #

RSS feed for this topic

Add a Comment »

You must log in to post.

Code is Poetry.