[Done]: Customization to Ratepic [Done]: Customization to Ratepic
 

News:

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

Main Menu

[Done]: Customization to Ratepic

Started by susied, November 16, 2009, 11:21:19 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

susied

I am needing a couple of modifications to Ratepic. I am looking at needing this fairly quickly.
I would like to have this working before the 1st of the December when next photo contest kicks off.

The 1st goal is to test for 1 vote per album instead of 1 vote per picture.
An approach I have thought of is below:
1)  Use album_id instead of pic_id to load into the Votes tables
2)  Code that now tests for If voted using pic_id to be changed to use album_id


The 2nd goal is to only allow voting for the current month.
An approach again that I have thought of is:
If these equal then voting can happen. If not need an error message similar to Already Voted.
$month = date("F"); can be used to compare to album title (my album titles are the name of the month)



susied

Quote from: susied on November 16, 2009, 11:21:19 PM
I am needing a couple of modifications to Ratepic. I am looking at needing this fairly quickly.
I would like to have this working before the 1st of the December when next photo contest kicks off.

The 1st goal is to test for 1 vote per album instead of 1 vote per picture.
An approach I have thought of is below:
1)  Use album_id instead of pic_id to load into the Votes tables
2)  Code that now tests for If voted using pic_id to be changed to use album_id


The 2nd goal is to only allow voting for the current month.
An approach again that I have thought of is:
If these equal then voting can happen. If not need an error message similar to Already Voted.
$month = date("F"); can be used to compare to album title (my album titles are the name of the month)



http://catconnection.net/contest/cpg1.4.25/cpg14x/index.php

Αndré


susied

Quote from: Αndré on November 17, 2009, 09:34:25 AM
Budget? I would like a bid. In my mind, if you know php and cpg then this is a one or two liner code change.
$50.00 I would think would be on the high end.

susied

Quote from: susied on November 17, 2009, 03:23:27 PM
I just received and accepted a bid. If he changes his mind I will post it here. If not, please consider this freelance job awarded. Upon delivery I will post and close this.

Αndré

Please use the 'reply' button instead of the 'quote' button in future. Thanks.

susied


susied

I am not sure if this is where this goes or not.

Phuong provided a bid and accepted the work. It was done in an extremely timely manner. Thanks Phoung for your outstanding work!

I am considering this post completed.