Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: [Done]: Customization to Ratepic  (Read 7648 times)

0 Members and 1 Guest are viewing this topic.

susied

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
[Done]: Customization to Ratepic
« 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)

« Last Edit: November 20, 2009, 08:40:47 am by Αndré »
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: Customization to Ratepic
« Reply #1 on: November 16, 2009, 11:31:16 pm »

susied

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Customization to Ratepic
« Reply #2 on: November 16, 2009, 11:34:35 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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Customization to Ratepic
« Reply #3 on: November 17, 2009, 09:34:25 am »

Budget?
Logged

susied

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Customization to Ratepic
« Reply #4 on: November 17, 2009, 03:23:27 pm »

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

susied

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Customization to Ratepic
« Reply #5 on: November 17, 2009, 03:34:23 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Customization to Ratepic
« Reply #6 on: November 17, 2009, 03:41:30 pm »

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

susied

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Customization to Ratepic
« Reply #7 on: November 17, 2009, 03:46:16 pm »

sure np
Logged

susied

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Customization to Ratepic
« Reply #8 on: November 19, 2009, 09:12:02 pm »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.