Zen Cart Logo
Forums / All Other Contributions/Addons / Contest System [support thread]

Contest System [support thread]

Views: 57,864

Results 101 to 120 of 408
23 Aug 2009, 6:34 PM
#101
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Contest System [support thread]

With that many mods running I am unable to build a test site to debug the cause.
Maybe in time I will come across why this is happening to your site.
Or someone else has seen this before?

Skip

24 Aug 2009, 3:22 PM
#102
divaboutiques avatar

divaboutiques

Zen Follower

Join Date:
Feb 2007
Location:
Worldwide Web
Posts:
191
Plugin Contributions:
0

Re: Contest System [support thread]

Well thank you!

At least I tried to see how I can fix this problem for the contest section. I will just have to probably uninstall some of the module to test and see which one's are giving me this problem, and go from there.

But thank you again

24 Aug 2009, 3:30 PM
#103
divaboutiques avatar

divaboutiques

Zen Follower

Join Date:
Feb 2007
Location:
Worldwide Web
Posts:
191
Plugin Contributions:
0

Re: Contest System [support thread]

Well thank you skipwater-

At least I tried to see how I can fix this problem for the contest section. I will just have to probably uninstall some of the module to test and see which one's are giving me this problem, and go from there.

I'm going to start with these for right now and see what happens, and post something up if there was a change with me uninstalling the following. But deep down I'm thinking it's my wordpress for zencart that's causing the problem, but I will see once I uninstall

AskCost Automated Store Feed System API v1.0 for Zen Cart
Auction Lister Pro for Zen Cart
Better Together
Better Together Promotional Page
Ebay Exporter
eBay Exporter Configuration
FAQ module
Links Manager
News and Article Manager & Optional Sideboxes
Sitewide Mark Up
Ty Package Tracker
Yahoo! Product Submit Feeder

But thank you again

24 Aug 2009, 6:02 PM
#104
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: Contest System [support thread]

That sounds great be sure to let us know the out come.

Skip

25 Aug 2009, 5:11 PM
#105
divaboutiques avatar

divaboutiques

Zen Follower

Join Date:
Feb 2007
Location:
Worldwide Web
Posts:
191
Plugin Contributions:
0

Re: Contest System [support thread]

Skipwater-

I made a discovery just now by turning my SEO url to false and my contest entry worked see screen print:clap:

Now I don't know what made me check that out, but now my contest entry is work properly, but as soon as I turn my SEO url on to true I get the error again?????:lamo:

So I guess now we can go forward and try to resolve this issue, so I found the problem

Also if I try to re-enter I get this error

ERROR FALSE
iamtheultimatediva######################
test submission

1062 Duplicate entry 'iamtheultimatediva######################-August Con' for key 2
in:
[insert into zen_contest (contestant_name, contestant_email, contestant_ip_address, date_entered, validated, contest_code) values ('test submission', 'iamtheultimatediva######################', '63.80.205.5', now(), 'Y', 'August Contest 2009')]

25 Aug 2009, 5:23 PM
#106
divaboutiques avatar

divaboutiques

Zen Follower

Join Date:
Feb 2007
Location:
Worldwide Web
Posts:
191
Plugin Contributions:
0

Re: Contest System [support thread]

Skipwater-

I made a discovery just now by turning my SEO url to false and my contest entry worked see screen print:clap:

Now I don't know what made me check that out, but now my contest entry is working properly, but as soon as I turn my SEO url on to true I get the error again?????:lamo:

Update:

Skip I got it working with the SEO url Now set to true....I noticed under "Enter pages to allow re-write I had the following entered

index, product_info, products_new, products_all, featured_products, specials, contact_us, conditions, privacy, reviews, shippinginfo, faqs_all, site_map, gv_faq, discount_coupon, page, page_2, page_3, page_4, ez_pages, about_us, unsubscribe, main_page, login, how_to_checkout, create_account, account, logoff, add_product, shopping_cart, checkout_shipping, links, links_submit, contest

Once I deleted the contest and went back to the contest page and enter the contest again with another email address it worked

Butttttt if I try to re-enter the contest again I get this error

ERROR FALSE
iamtheultimatediva######################
test submission

1062 Duplicate entry 'iamtheultimatediva######################-August Con' for key 2
in:
[insert into zen_contest (contestant_name, contestant_email, contestant_ip_address, date_entered, validated, contest_code) values ('test submission', 'iamtheultimatediva######################', '63.80.205.5', now(), 'Y', 'August Contest 2009')]

25 Aug 2009, 5:33 PM
#107
divaboutiques avatar

divaboutiques

Zen Follower

Join Date:
Feb 2007
Location:
Worldwide Web
Posts:
191
Plugin Contributions:
0

Re: Contest System [support thread]

Also when I go to the contest prize entries, I can't see any name or emails, this is how it looks, but there or entries setting there that i can't see

25 Aug 2009, 7:35 PM
#108
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: Contest System [support thread]

I am glad you found the issue :smile:

You should have not gotten that error but this one "You are already entered in to this prize drawing."

Most likely trying to get it all to work the contest data is bad.

You might want to clear the contest data if you only have test records.
or
Use phpmyadmin and open the contest table.
When you look at the last field OMIT should have a '1' or 'W' or blank.

blank = active contest
1 = closed contest
W = winner of contest

If you replace all the blank fields with a 1 the contest will close and you will need to setup a new contest.

Skip

5 Sep 2009, 10:11 PM
#109
bear1728 avatar

bear1728

New Zenner

Join Date:
Jul 2009
Posts:
86
Plugin Contributions:
0

Re: Contest System [support thread]

hello, i love this mod, it works perfectly

one question:
what do i change the start and end date format to dd/mm/yyyy

or 09 SEPTEMBER_LANGUAGE 2009 will be better
(define SEPTEMBER_LANGUAGE of english file to September)

thanks

6 Sep 2009, 2:57 PM
#110
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: Contest System [support thread]

bear1728:

hello, i love this mod, it works perfectly

one question:
what do i change the start and end date format to dd/mm/yyyy

or 09 SEPTEMBER_LANGUAGE 2009 will be better
(define SEPTEMBER_LANGUAGE of english file to September)

thanks

Edit file includes/templates/YOUR_TEMPLATE/templates/tpl_contest_default.php

Find anound line 18:

  $show_invite = false;
  $prossed_complete = 0;

Place this added code above it so it looks like this:

  $disp_start_date = date('d F Y', strtotime(CONTEST_START_DATE)); 
  $disp_close_date = date('d F Y', strtotime(CONTEST_CLOSE_DATE));

  $show_invite = false;
  $prossed_complete = 0;

Next find around line 180:

<!-- Display Prize -->
<hr>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="infoNotice" width=75% align="left" valign="top">
<?php
echo '<strong>Contest Starts: </strong>'.CONTEST_START_DATE.' 12:00am <strong>Ends: </strong>'.CONTEST_CLOSE_DATE.' 11:59pm<br/><br/>';
echo '<hr>';

Change CONTEST_START_DATE to $disp_start_date and CONTEST_CLOSE_DATE to $disp_close_date so it looks like this.

<!-- Display Prize -->
<hr>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="infoNotice" width=75% align="left" valign="top">
<?php
echo '<strong>Contest Starts: </strong>'.$disp_start_date.' 12:00am <strong>Ends: </strong>'.$disp_close_date.' 11:59pm<br/><br/>';
echo '<hr>';

Skip

20 Sep 2009, 5:44 AM
#111
beasleybub avatar

beasleybub

Zen Follower

Join Date:
May 2006
Location:
Virginia U.S
Posts:
176
Plugin Contributions:
1

Re: Contest System [support thread]

Well it's more like an improvement. But give credit where it is due to skipwater!

Skipwater,

I wanted to thank you for your cool mod and offer this improvement.
( See below and attachment )

I have submitted this to zen-cart for approval.

Update v1.6.1 09/19/09
By beasleybub

Edited: includes\templates\YOUR_TEMPLATE\templates\tpl_contest_default.php

Added: includes\languages\english\html_includes\YOUR_TEMPLATE\define_contestmustregister.php

When a customer is not logged in, Instead of seeing the "Contest Ended" page when a contest is currently active the customer or guest will now see an encouragement to log in or create an account in order to enter the contest.

Thanks again for the cool mod.

beasleybub

20 Sep 2009, 11:41 PM
#112
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: Contest System [support thread]

Thank's beasleybub

That is a fantastic add on :smile:

Skip

21 Sep 2009, 12:13 AM
#113
beasleybub avatar

beasleybub

Zen Follower

Join Date:
May 2006
Location:
Virginia U.S
Posts:
176
Plugin Contributions:
1

Re: Contest System [support thread]

You are very welcome skip :laugh:

Do you think you could take it a bit further by adding an actual login / create account link to the text?

That would be great!

21 Sep 2009, 8:36 PM
#115
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Contest System [support thread]

NOTE: v1-6-1 was built on v1-5, not v1-6, so is missing the features added in 1-6.

21 Sep 2009, 9:55 PM
#116
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: Contest System [support thread]

beasleybub now that you have added these two new updates are you going to combine your two and then create 1.7? or are you going to wait for me to?

Because DrByte is right.

Skip

22 Sep 2009, 6:05 AM
#117
beasleybub avatar

beasleybub

Zen Follower

Join Date:
May 2006
Location:
Virginia U.S
Posts:
176
Plugin Contributions:
1

Re: Contest System [support thread]

Hi skip,

You can do it if you would like. Ultimately it's your script :)

Drbyte, I added the new features to the last download that was offered in the free add ons section. ( That wasn't the most recent version? )

If it was not the latest version it would be easy to add my updates to any version of the script. Just copy the parts I added out and move them to the newest file.

Cheers

22 Sep 2009, 10:31 AM
#118
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Contest System [support thread]

beasleybub:

Drbyte, I added the new features to the last download that was offered in the free add ons section. ( That wasn't the most recent version? )
If you look at the downloads area you'll see that a 1.6 version exists before yours. You must have obtained your copy before that one was posted.

22 Sep 2009, 1:42 PM
#119
beasleybub avatar

beasleybub

Zen Follower

Join Date:
May 2006
Location:
Virginia U.S
Posts:
176
Plugin Contributions:
1

Re: Contest System [support thread]

Skip,

Would you please take the new parts and add them to the latest version.

You can take credit if you would like. I just wanted to make a contribution to the zen community because it has offered so much to me and my father.

Thanks!

Rob ( beazleybub ) :P

23 Sep 2009, 12:28 AM
#120
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: Contest System [support thread]

beasleybub:

Skip,

Would you please take the new parts and add them to the latest version.

You can take credit if you would like. I just wanted to make a contribution to the zen community because it has offered so much to me and my father.

Thanks!

Rob ( beazleybub ) :P

Rob

You did a good job and I feel that you are capable, to do the merge and updates. It is not my personality to take credit for something I did not do.

DrByte jumped in only to note something that I should have stated but missed.

Also my time is very tight right now and my head is around a new project.
So you would be helping me out if you could do it.

Thanks

Skip