Topic Poll Module
Posted by Maurice Makaay
Re: Topic Poll Module (only for Phorum 5.1.16 and higher) April 19, 2007 03:02PM |
Registered: 17 years ago Posts: 8 |
Quote
mmakaay
...it would mean that the code has to go over all users that have any poll data and clean it up one by one. This could become system-unfriendly. I agree that it would be better to be able to keep things tidy, but the only way to handle that in a good way would be to store the topic poll data in its own tables in the database. Maybe something for a future release.
I see your point.
I like having modules use existing databases, seems cleaner somehow.
Another possible approach that wouldn't require mucking up your already-functioning system, might be to just add a "cleanup" option to the administrative functions. That could go through and flush out all the orphans at the administrator's discretion...
Thanks-- Larry
April 19, 2007 03:13PM |
Admin Registered: 20 years ago Posts: 8,532 |
Yes, that could be a feasable option for the current module code. I'll keep that in mind for my TODO list.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team



Re: Topic Poll Module (only for Phorum 5.1.16 and higher) April 26, 2007 08:53AM |
Registered: 17 years ago Posts: 21 |
I have install this module on 5.1.22 and after setting it up I got the poll.
I have tested and it worked fine. When I come back to the poll I realise I can vote as much as I want since after submitting my vote I still got the voting button and it works (votes are increasing).
I have add another module (the Terms of service) in between but I don't think this is the problem.
Any hints...
I have tested and it worked fine. When I come back to the poll I realise I can vote as much as I want since after submitting my vote I still got the voting button and it works (votes are increasing).
I have add another module (the Terms of service) in between but I don't think this is the problem.
Any hints...
Re: Topic Poll Module (only for Phorum 5.1.16 and higher) June 02, 2007 05:46PM |
Registered: 17 years ago Posts: 54 |
you said:
You can test-drive this new poll module at my development site. You can create a new topic and add a poll at: [phorum-dev.gitaar.net]
I'm sorry, but where is that polling capability shown? Maybe I'm blind...
You can test-drive this new poll module at my development site. You can create a new topic and add a poll at: [phorum-dev.gitaar.net]
I'm sorry, but where is that polling capability shown? Maybe I'm blind...
June 02, 2007 06:33PM |
Admin Registered: 20 years ago Posts: 8,532 |
Thanks for the heads up. This functionality was broken due to some recent changes in the Phorum 5.2 development tree. I fixed the code, so now you can try the poll.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team



June 17, 2007 01:51PM |
Registered: 19 years ago Posts: 131 |
Hello,
This poll module is just great, thanks!
I had to rename french.php into francais.php, now it works fine.
I have one question / wish : at the moment the poll is displayed at the top of the message, is it possible to put it below, after the message itself ?
Thanks
Cactus : [www.cactuspro.com]
Edited 1 time(s). Last edit at 06/17/2007 05:15PM by cactux.
This poll module is just great, thanks!
I had to rename french.php into francais.php, now it works fine.
I have one question / wish : at the moment the poll is displayed at the top of the message, is it possible to put it below, after the message itself ?
Thanks
Cactus : [www.cactuspro.com]
Edited 1 time(s). Last edit at 06/17/2007 05:15PM by cactux.
June 17, 2007 05:29PM |
Admin Registered: 20 years ago Posts: 8,532 |
Currently, that can only be done by hacking the code. There's no option for that. I will keep it as a todo. I think it would be best if the user who posts the poll can decide where to show the poll. So it'll be implemented as a poll option.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team



June 19, 2007 05:29AM |
Admin Registered: 20 years ago Posts: 8,532 |
Quote
cactux
I have one question / wish : at the moment the poll is displayed at the top of the message, is it possible to put it below, after the message itself ?
I added a feature to the module for this. In the poll editor, you can now choose whether to display the poll before or after the message. See version 1.0.6 which I uploaded to the start of this thread.
In the language file there are three new strings which need a translation in French. If you provide the translations, I will add them to the module package.
As far as the language filename is concerned: the Phorum team policy is to use the english name for the language. So we have file names like english.php, german.php, dutch.php, polish.php, etc. So the main French language file should be named french.php instead of francais.php in that respect. It seems that the differences in language file names have to be straightened out here.
Maurice Makaay
Phorum Development Team



Re: Topic Poll Module (only for Phorum 5.1.16 and higher) June 19, 2007 12:35PM |
Registered: 18 years ago Posts: 4 |
June 19, 2007 01:56PM |
Admin Registered: 20 years ago Posts: 8,532 |
Thanks Fran. I included the translation in the package and will upload the updated package to this thread (version is kept at 1.0.6).
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team



Sorry, only registered users may post in this forum.