Firefox PHP

Topic Poll Module

Posted by Maurice Makaay 
Re: Topic Poll Module (only for Phorum 5.1.16 and higher)
April 19, 2007 09:02PM
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
Re: Topic Poll Module (only for Phorum 5.1.16 and higher)
April 19, 2007 09:13PM
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
Re: Topic Poll Module (only for Phorum 5.1.16 and higher)
April 26, 2007 02:53PM
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...
Re: Topic Poll Module (only for Phorum 5.1.16 and higher)
June 02, 2007 11:46PM
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...
Re: Topic Poll Module (only for Phorum 5.1.16 and higher)
June 03, 2007 12:33AM
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
Re: Topic Poll Module (only for Phorum 5.1.16 and higher)
June 17, 2007 07:51PM
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 11:15PM by cactux.
Re: Topic Poll Module (only for Phorum 5.1.16 and higher)
June 17, 2007 11:29PM
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
Re: Topic Poll Module (only for Phorum 5.1.16 and higher)
June 19, 2007 11:29AM
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
my blog linkedin profile secret sauce
Re: Topic Poll Module (only for Phorum 5.1.16 and higher)
June 19, 2007 06:35PM
here the french.php with the translation of the new strings

Fran.

maurice: deleted attachment, because it's now in the distro



Edited 1 time(s). Last edit at 06/19/2007 07:59PM by mmakaay.
Re: Topic Poll Module (only for Phorum 5.1.16 and higher)
June 19, 2007 07:56PM
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
Sorry, only registered users may post in this forum.

Click here to login