Simple Poll Plugin v1.3

Release Notes

 

Updates:

  • version 1.3 - upgrades the read & edit views, fixed bug in user polls view, misc fixes.
  • version 1.2 - uploaded version 1.1 linking to the wrong file.. oops! corrected for 1.2
  • version 1.1 fixes a bug in the poll editing screen, wherein submission of changes failed.

The Poll plugin was built to target Elgg 1.2 and has not been tested against 1.5.

This plugin lets a user create and manage single question polls. The poll postings show in the river as do any comments. There are pages to view one's own polls, friend's polls, and sitewide polls (that are set accessible to 'logged-in users' or 'public'). It also includes a widget for displaying one's polls on their profile.

While every effort has been made toward testing, I still consider this to be 'in development'. Of course, that's not to say it isn't useable. I have implemented a version of this for a project I am working on and it appears to be stable.

There's always room for improvement, so feel free to suggest additions, share bug-fixes, or extend and modify.

  • Looking good, but still the same issue with the profile widget view. Getting there though

  • @chambo67: I was unable to duplicate what you are referring to. My advice is to fiddle with the CSS in the file (..\views\default\poll\css.php). It looks like you are using a 'non-standard' theme, so you may wan't to look at it's accompanying css file as well. Hope that is helpful.

  • I got an idea for you; There should be some admin-settings, where the admin could choose if only admins can make polls etc, would be nice. Or maybe make a option like the "Featured groups".

    Just some ideas :-)

  • hmm yeah... a option for only admin...or admins and group owners and a all user setting can be cool..

    i guess would help quite a few...

  • Uhm. It works, but it needs some styling...

    Did somebody do it?

  • thank you for the email.  No joy on the style, however edit on the poll css fixed both poll and nagger.  However poll is still 2 to 4 px off on the rightside.

  • Some bugs:

    1. Looks like the poll owner is able to vote multiple times... should be same behavior if you have voted once. It is easy to fix if you remove the Owner check but then you will need to comment out the "elgg_view('poll/results'..." part since this is now in the toggled div

    2. Search for tags on the poll shows a blank screen... is search implemented?

    3. The widget display is messed up because of the absence of the icon that is typically used in listings... maybe there is a CSS only fix. I just put that back in and it works. I also changed the widget to show the latest polls from everyone instead of just the current users. This could be made a configurable possibly...

  • @SocialTrak Could you post your code changes it Would save the rest of us a lot of us hackers a lot of time

    This is a very good plugin and it is 95% there I am dying to take it live. We have been playing with it all day on our test site and having a good laugh at some of the funny polls we have come up with

    John M thankyou for all your work on this

  • @SocialTrak Could you post your code changes it Would save the rest of us a lot of us hackers a lot of time

    This is a very good plugin and it is 95% there I am dying to take it live. We have been playing with it all day on our test site and having a good laugh at some of the funny polls we have come up with

    John M thankyou for all your work on this

  • Interesting Double post. There is something definetly buggy around here.

  • I just uploaded the version that we will use at SocialTrak... it fixes some of the issues that I mentioned. I made some changes to the way the individual poll shows up too. Check it out.

    @John M: You may want to merge my changes with your last drop and post again.

  • new problem with both, plugin(s).  They take out my "latest activity".  Is there maybe an order in the plugins that would correct this?  If not the only fix I have is not to use either (disable).

  • @goofbucket: I see the issue with activity, but am stumped. I am actually hoping some good soul out here puts a fix in. I fiddled with ordering and other minor changes to no avail.

  • @SocialTrak Guru: About your bug list:

    1. The poll owner is able to vote as often as they like by design. My intent was to give the owner complete control.
    2. My latest version of this plugin (1.3.1) fixes the tagsearch bug for elgg 1.2. I have also uploaded a new Poll Plugin for Elgg 1.5 which addresses some bugs occurring in that environment.
    3. I have fixed the widget display in the 1.3.1 version of this plugin.

    @goofbucket: OK, here's what I discovered regarding the broken activity/river widget. There are differences between Elgg 1.2 vs 1.5 in the way the river is updated and the view is structured. So, if you are running Elgg 1.5 please download my new version of the poll for 1.5. However, I also discovered a similar problem in my plug-in's behavior on Elgg 1.2 so I have a fix up for this Plugin as well.

    @everyone: Please download the latest version of this plugin. It introduces some display tweaks from webgalli as well that clean up the display views a bit. As said above it also has some bug fixes.

  • I will give it a shot, cause I love the plugin wish I was better at this and could build and help build.

  • Joy...had to delete the polls created in the older version..thank you so much love the plugin.

John M

Seasoned web developer from the US

Stats

  • Category: Uncategorized
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 8492
  • Recommendations: 1

Other Projects

View John M's plugins