WHY
I have developed for my own need a photo contest plugin, to be used on a photography forum to evaluate several photo during a fixed period, and to identify the best one.
WHAT DOES IT DO
1) adds a new option in album configuraion: is this album a contest, and saves the data in a new column of the album table (YES / NO); Adds a table to keep detail of votes along with voter id for contests.
2) non contest albums have an unmodified behavior
3) Contest albums with voting ="YES":
- data are anonymized (no display of any info, owner_name, ...)
- voting shows only vote from the currently logged person (does not show the average)
- does not allow photo owner to vote for own photo
- shows a square around each photo in the film strip for which the current user has already voted
- only own comment can be seen (max 1 per person)
- image are not displayed as part of any of the pseudo-albums categories (such as best vote / most viewed / ...)
4) Contest albums with voiting ='NO'
- results of vote are displayed, but not possible to vote
- other capabilities are reset to normal.
5) automateed install / deinstall from plugin page.
DOWLOAD
--> here <-- (http://www.round-planet.com/transfer/coppermine/ADXD_voting_1.0.zip)[edit by PYAP]Allways ZIP in attachment please[/edit]
SUPPORT
This is my first plugin; I'll be grateful to here any feedback / suggestion for improvement / bug report; however, I cannot systematically guarantee fast corrections. Thanks for your understanding.
Pascal (from round-planet.com)
[edit by PYAP]ZIP in attachment[/edit]
[Edit GauGau 2010-03-03]
This plugin has been added to the subversion repository: http://coppermine.svn.sourceforge.net/viewvc/coppermine/branches/cpg1.4.x/plugins/adxd_voting
It has been updated as well to reflect the version checking routines in the plugin manager that are meant to make sure that galleries don't break because of plugins installed that aren't meant for that particular version of the gallery.
Download: https://sourceforge.net/projects/coppermine/files/Plugins/1.4.x/cpg1.4.x_plugin_adxd-voting_v1.4.zip/download
[/Edit]
New revised version 1.01 (fixing a bug when using film strip)
Thanks for your contribution. The plugin needs some improvements, as it doesn't work out of the box. I have added some minor fixes and a German language file.
Thank you Joachim;
do not hesitate to give me your improvement, I will re-release the plugin. It is my very first plugin and my very first usage of Coppermine, so I'm sure I can learn a lot.
Pascal
<?
// language data for ADXD_vote plugin in danish
$lang_contest=array(
'wip' => 'Konkurrence',
'my_vote' => 'Min stemme',
'my_image' => 'Mit billede',
'result' => 'Konkurrence resultat',
'evaluation' => ' - Evaluering: %s / %s for %s stemmer - ',
'iscontest' => 'Album bruges til en konkurrence'
);
?>
Quote from: round-planet on November 15, 2009, 08:23:56 PM
do not hesitate to give me your improvement, I will re-release the plugin. It is my very first plugin and my very first usage of Coppermine, so I'm sure I can learn a lot.
It's already attached to my posting...
@morch: thanks
Just integrated the danish language within the plugin; attached to this post.
Please stick to our naming conventions. Seems like you haven't based your version 1.3 on my version 1.2, which is not a bright idea, as I'm not fond to play attachment ping pong.
Just wanted to comment that I'm glad to see such a plug-in. I use Coppermine on my own personal photos gallery but I am using Gallery2 for an international photo club at http://www.isobap.com. View Gallery : Contest to see the dorky way in which we use the stars to cast votes I would gladly switch it over to Coppermine to have a proper voting system for this club.
Great idea for a plugin, it's just what i need.
I've installed it, but when clicking one of the rating options, i get a URL error... like "The requested URL /copper/{RATE2} was not found on this server."
New to coppermine, so any help, or a point in the right direction would be great.
Cheers,
Dave
What happens when the contest is over, can the admin then move the images to the categories they belong to ?
Why don't you try it?
I was planning to yes. But there i wanted to know that before i did, also i wanted to know , if the contest duration is like a month, but you want people to start voting when the contest is over if that is a possiblity. It wasn't clear in the first post to me. I don't want to nag but just to make sure it does what i would expect before i install it
Ok i have installed it, have set to voting, but it do show the name of the uploader, even if i am logged out. I thought when voting is yes it wouldn't show that
Hi
thanks for trying the plugin; did you set contest as yes?
Yes i did set it as yes, you can see here , http://www.pixelnutz.com/gallery/index.php
Not safe for work the username is showing
from pixelnutz.com/gallery/Quotewe do allow nudity
[edited by Joe Carver to add warning - Mannie_ , please remember that rule in future postings...]
I forgot to mention, since i cannot edit my own post, for every album there it now also has an extra row called evaluation
Quote from: round-planet on February 09, 2010, 12:44:42 PM
Hi
thanks for trying the plugin; did you set contest as yes?
can you point me on your site towards an album where contest = Yes and voting = yes?
sure, http://www.pixelnutz.com/gallery/index.php?cat=12
this album
That caption is non-standard. It is probably added by the modpack.
So is there a way to make it work with the modpack ?
Easiest way would be to disable display of the uploader name in config. If you need that enabled you'll need to dig into the code.
easier would just be to uninstall the plugin
Hi,
Thank you so much for this plug-in - it was exactly what I needed - however when a user votes on a photo - it takes them to a blank page. Shouldn't it return them to the original photo page or a "Thank you for voting" page?
http://02aede4.netsolhost.com/Sept2009Vote/index.php
Thanks for any help.
The link you posted doesn't work - I get a 404 not found. Stop playing silly games with us...
I installed this plugin to a completly new coppermine installation, but as soon as the plugin is uploaded (not installed), I cant acces the frontpage, the plugin page, only the config menu.
If I rename the folder in the plugin folder, I can se all af the pages again. When I try to install the plugin after renaming the file, I get "There was an error while processing a database query"
What am i doing wrong?
Start by respecting board rules (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616).
Hello;
I've been created this plugin a while ago, and I don't think it would be doing what is described in your report(at least on cpg 1.4); however, I must confess that after using it for a couple months, I have come to the conclusion that I could not get to the full extent of what I needed without hacking somewhat the code; so since then I have hacked the code on my own site, and, since cpg 1.5 is coming and the voting becomes very different, I'm afraid to say I do not envision to continue maintaining this plugin.
I have looked at 1.5, but although it's a great deal better, it still does not provide everything I'd need to continue using a plugin with 0 hack. So I'm waiting for cpg 1.5 to be official, and I will again hack my way to make the contest working again.
The contest plugin + hack is in use at the address http://www.alphadxd.fr/galerie/index.php. Underwent more than a 1000 votes on the april contest without issues.
If someone is interested, I can give clues on how to make an equivalent thing work, but since it's not a pure plugin anymore, I don't believe I would be allowed to give explanations on this forum?
Thanks for your interest.
Pascal.
If you start a thread in the 1.5 section of the board regarding your plugin and what you need we can probably add plugin hooks or point you towards existing ones.
Thanks for the proposal; I'll do this when I switch to 1.5... jsut waiting for an official release...
... and sure, I know I have to refrain myself from asking if anyone has an idea of when that might be.....
Added italian translation :)
In regard to v1.5.6, what is the status of this plug-in? I'm very interested in using it.
Tks-Charlie
Great plugin. Works fine.
Is there a way to start/stop the contests on exact day/time or we have to do it manually?
Has to be manually, I'm afraid!
Thank you anyway :)