This is a modifed version of Simple Poll Plugin.
CHANGELOG
Modified Simple Poll Plugin Version 1.0b2
- updated to the last version of Simple Poll Plugin
- fixed river
- fixed some translations
Modified Simple Poll Plugin Version 1.0b1
Added features:
* Administrator setting: moderation on/off
* Categories
* Group polls
* administrator can add polls to homepage (via modified custom index)
Integration with Modified Custom Index.
This Plugin DEPENDS on modified custom index
This modified version of Simple Poll plugin works in conjunction with Modified Custom Index to display in homepage polls approved by admins. If both Modified Simple Poll and Modified Custom Index are installed a link appears in the administration area from where administrators can approve polls to be published in home page.
Added features:
WARNING
Thi is a BETA version for testing purposes only, not production. It works well in our testing environment but unsolved bugs have been reported.
View alivin70's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Do you mean select multiple responses? No.
Is poll comments/votes/created beeing show'n up on dashboard?
There are 2 widget for the dashboard: one with your own polls and another with Latest community polls. Both have number of responses.
Went to create a new group and the following words appear in the list of options when you create it:
poll:enable_poll
I added: 'poll:enable_poll'=>"Enable Poll",
to the language file but it remained the same so it must be an internal problem.
Another small bug:
I created a poll for a new group and it doesn't appear on the groups (community) main page (as the Discussions, Files and Videos etc do). They only appear if you click on the Group's Polls Link.
@Woodward
You have to put
I added: 'poll:enable_poll'=>"Enable Poll",
to the language file of 'groups'
I added it to the groups page and it now works. Thanks
Great plugin!
Question, what happens if i use this plug AND Poll-extended-plugin-for-use-with-simple-poll-plugin side by side ?? The poll extended plugin has descriptions for each poll which is nice.
Anyone using both of these together ??
I used to have them both together but then I changed them both for the Modified Poll even though it doesn't have the Poll Descriptions.
A simple description field would be nice on this plugin. Would it be hard to add in? Still like the plugin anyway. :-)
I installed the latest versions of your Custom Index and Events Calendar plugins and I created an event for a group which automatically appeared on the latest events list on the Index (Home) page. Few minutes later, after I installed the latest version of your Polls plugin, something strange happened. I discovered that on the Index page, the event, that I created earlier, appeared both under the Events and under the Polls at the same time. Why would an event be listed under the latest Polls? How can we delete this event from underneath the Latest Polls?
Which Elgg version are you using, 1.5 or 1.6beta1?
Anyway I'll check the code. See you later.
I am using Elgg 1.5
I'm trying to reproduce the error but it doesn't happen again. IT7s very strange.
Can you check the type/subtype of your entity?
To remove the poll from the homepage, edit it and change its homepage status.
To get rid of the problem, I unistalled the Events, Polls & Custom Index plugin and re-installed them, but the problem remained and got even worse. The listed event under Polls is no longer pointing to the regular event page, but to a page ( http://mydomain.com/pg/view/18 ) that shows some information about the event and the following information (Please note that I had to reinstall Elgg to get rid of the problem):
guid: 18
type: object
subtype: 7
owner_guid: 2
container_guid: 14
site_guid: 1
access_id: 2
tables_split: 2
tables_loaded: 2
I think something is messed up in the data.
pg/view/{guid} is an Elgg's general entity viewer. It automatically loads the right view of the entity, and a general one is loaded when the entity type/subtype is not recognised (try pg/view/1 and pg/view/2 for instance).
Try to check what subtype 7 is, poll or event?
@alivin70 i ran into a coding flaw in this plugin. In the start.php file , line 67 - 74 need to be in a function (like init or page_setup). If you don't do this, it will possible conflict with other plugins. The original poll doesn't have this flaw.
Thank you Jeroen.
maybe that has been corrected in the original poll plugin after we forked.
@alivin70 - have you since the last release made any improvements/bug fixes to this plugin? I have some modifications to make and I'd hate to fork yet another poll plugin. How about we put this up on google code?
Regards,
Liran.
Hi Liran,
you right!
I'll publish our last version of poll later today, here on Elgg and on Google Code.
@alivin70 - thanks, update this version with your latest code and upload it to google code, we'll work together on making it better.
I uploaded the latest version of poll here.
I also created a project on GCode http://code.google.com/p/elggpoll/
There is not the code yet, sorry
Send me your email so I add yu as admin.