Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.
[more]

Pages: [1] 2   Go Down

Author Topic: Photo contest plugin  (Read 41581 times)

0 Members and 1 Guest are viewing this topic.

round-planet

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 11
Photo contest plugin
« on: November 14, 2009, 10:10:53 pm »

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 <--[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]
« Last Edit: March 03, 2010, 10:02:07 am by Joachim Müller »
Logged

round-planet

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 11
Re: Photo contest plugin
« Reply #1 on: November 15, 2009, 11:55:14 am »

New revised version 1.01 (fixing a bug when using film strip)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Photo contest plugin
« Reply #2 on: November 15, 2009, 07:54:47 pm »

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.
Logged

round-planet

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 11
Re: Photo contest plugin
« Reply #3 on: November 15, 2009, 08:23:56 pm »

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
Logged

morch

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Photo contest plugin
« Reply #4 on: November 16, 2009, 12:40:51 am »

Code: [Select]
<?
// 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'
);
?>

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Photo contest plugin
« Reply #5 on: November 16, 2009, 10:58:47 am »

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
Logged

round-planet

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 11
Re: Photo contest plugin
« Reply #6 on: November 17, 2009, 09:09:55 pm »

Just integrated the danish language within the plugin; attached to this post.
« Last Edit: November 18, 2009, 10:46:13 pm by round-planet »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Photo contest plugin
« Reply #7 on: November 18, 2009, 07:06:30 pm »

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.
Logged

bsvee

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
    • gallery.svee.org
Re: Photo contest plugin
« Reply #8 on: December 02, 2009, 04:33:23 pm »

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.
Logged

stormcloud

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Photo contest plugin
« Reply #9 on: February 09, 2010, 05:43:03 am »

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
Logged

Mannie_

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 51
Re: Photo contest plugin
« Reply #10 on: February 09, 2010, 06:48:49 am »

What happens when the contest is over, can the admin then move the images to the categories they belong to ?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Photo contest plugin
« Reply #11 on: February 09, 2010, 07:23:08 am »

Why don't you try it?
Logged

Mannie_

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 51
Re: Photo contest plugin
« Reply #12 on: February 09, 2010, 10:20:56 am »

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
Logged

Mannie_

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 51
Re: Photo contest plugin
« Reply #13 on: February 09, 2010, 11:32:07 am »

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
Logged

round-planet

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 11
Re: Photo contest plugin
« Reply #14 on: February 09, 2010, 12:44:42 pm »

Hi
thanks for trying the plugin; did you set contest as yes?
Logged

Mannie_

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 51
Re: Photo contest plugin
« Reply #15 on: February 09, 2010, 01:01:23 pm »

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/
Quote
we do allow nudity

[edited by Joe Carver to add warning - Mannie_ , please remember that rule in future postings...]
« Last Edit: February 09, 2010, 04:45:25 pm by Joe Carver »
Logged

Mannie_

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 51
Re: Photo contest plugin
« Reply #16 on: February 09, 2010, 01:03:31 pm »

I forgot to mention, since i cannot edit my own post, for every album there it now also has an extra row called evaluation
Logged

round-planet

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 11
Re: Photo contest plugin
« Reply #17 on: February 10, 2010, 10:09:44 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?
Logged

Mannie_

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 51
Re: Photo contest plugin
« Reply #18 on: February 10, 2010, 10:11:03 pm »

Logged

Nibbler

  • Guest
Re: Photo contest plugin
« Reply #19 on: February 10, 2010, 10:52:50 pm »

That caption is non-standard. It is probably added by the modpack.
Logged
Pages: [1] 2   Go Up
 

Page created in 0.021 seconds with 22 queries.