Scratch Cards Add-on

Store / / Scratch Cards Add-on
Sale!
scratch-cards-772
treasure-cove-card-setupscratch-card-featured-imagescratch-card-historyscratch-card-shortcode-playscratch-card-shortcodes
Minimum Requirements
  • WordPress 4.0
  • PHP 5.3
  • myCRED 1.6
Version
  • 1.1.1
4.29 out of 5 based on 7 customer ratings
(7 customer reviews)

$ 69

You must be logged in to make a purchase. Signup for a free account or Login.

Design & Build your own scratch cards for your online community!

This add-on allows you to design and build your own scratch cards or use one of the built-in templates for your WordPress users to scratch and win points!

Design

Design your own cards or use one of the templates included in the add-on.

Setup

Set the cost of the card and what winners get with optional daily limits for plays.

Generate

As easy as clicking a button and you can have thousands of cards generated in seconds.

Play

Create a play area using the mycred_scratch_cards or the mycred_all_scratch_cards (to show all cards) shortcode and start playing!

Features

  • Design & Create scratch cards.
  • Daily play limit.
  • Built-in templates to help you get going.
  • Easy card generator.
  • Option to manually give cards to users.
  • Custom shortcode to show users winning history.
  • Custom shortcode to show the remaining cards in a set.
  • Easy management of card sets by administrators.

Supported Browsers

  • Internet Explorer 10, 11 (Not tested with Edge)
  • Firefox 3.6+
  • Chrome 2.0+
  • Safari 2.0+
  • Opera 9.0+

Supported Devices

  • Iphone and Ipad (with IOS 6.1+)
  • Windows Phone (with Internet Explorer Mobile 10+)
  • Android Phone (with Android 4.1+)

Templates

Fireworks

The most basic template of all with one design for winning cards and one for no-wins. How much the winner gets is all up to you.

Starburst

This basic template provides an example of how you can have multiple no-win images to give your card set some variation from just a win or no win design. The objective is to scratch a card that has three stars. No-win cards use a variation of other shapes.

Treasure Cove

This is an example of more complex setups where users can win different amounts amongst a large variation of cards. The objective is for the user to scratch three of a particular value and they win that value.

Got a myCRED account? Test the cards out in the above “Demo” section!

Installation Guide

Plugin Installation

  1. Unzip the attached zip file and upload the folder to your websites plugin directly.
  2. Make sure you have myCRED installed and setup.
  3. Enable the myCRED Scratch Cards plugin.
  4. Once enabled, a new admin menu item will become available called “Scratch Cards”.
  5. Under Scratch Cards select the “Settings” menu.
  6. Make sure you fill out all settings, including the templates.
  7. Save. You are now ready to start building cards!

 

Adding a Card Set using a Template

  1. In your admin area, under the Scratch Cards menu click on “Add New”.
  2. First, give the set a title and if you want, select a logo to use.
  3. If you are justing multiple point types, select the type you want to charge card purchases in and the point type you want to payout in.
  4. Set the cost of playing a card. Use zero for free plays.
  5. Set the number of times a user can play a card per day. Use zero for unlimited.
  6. In the Design Template dropdown, select a template you want to use. The page will be disabled while the template loads and once completed, you can select a different template if you are not happy with your initial selection.
  7. If you want, you can change the coin image however if you want to use the template, do not change the width or height of the set.
  8. Double check your log templates, message templates etc.
  9. Click on the “Save Changes” button to save your setup.
  10. In the “Winnings” metabox, adjust the amount of points you want to payout and if you prefer change the number of cards you want to generate with no wins along with each winning option.
  11. If you prefer, you can remove images that the template uses however all card types must have at least 1 image!
  12. Click on the “Save Changes” button to save your setup.
  13. Once all required fields are filled out, you can test the card set out via the Preview metabox. This is just a simulation and will not actually pay anything out!
  14. Double check all your settings.
  15. When ready, click on the “Activate” button. Once clicked, the plugin will generate the number of cards you have set and reload the page once completed.
Important Once a set is activated, you can no longer make any changes to the set! If you make a mistake, you will need to disable and delete the entire set and start over. For testing, I recommend you generate a small number of cards.

 

Activating a card set will not save any changes you might have made! Make sure you always save your changes before activating a card set!

 

Letting Users Buy Cards

Users buy and play scratch cards via the mycred_scratch_cards or mycred_all_scratch_cards shortcode. You can place this shortcode on a dedicated page or anywhere where shortcodes can be used. The shortcode as a minimum requires you to nominate the set you want users to play by adding in the set ID. The shortcode can only sell access to one particular set at a time. If you have multiple card sets setup, you must use one shortcode for each.

If a user can not afford to buy a card, or is excluded or if the set is put on hold etc. the appropriate template is shown instead of the play field. These templates are managed in your admin area on the Scratch Cards > Settings page.

Other shortcodes included with this plugin are: mycred_scratch_history which shows your users all the times they have won playing a scratch card and mycred_scratch_cards_remaining which shows the remaining number of cards for a given set.

 

Giving Free Cards

Administrators can give out cards to users on the Give Cards page in the admin area. Cards are given out, just as when a card is purchased, at random and if the card is not free to play, the user will not need to pay to scratch the card!

  1. Go to the Scratch Cards > Give Card page in your admin area.
  2. If your website has less then 100 users, you will see a dropdown where you can select the user that should receive the card. If you have more users, you will need to enter either the users numeric ID, email or username.
  3. Select the card set you want to give from.
  4. Set the number of cards you want to give to them.
  5. Click on “Give Card”.
  6. Done!
Important The Give Card admin page is not visible until you have at least 1 active set!

 

Designing Your Own Cards

The best part of this plugin is the ability for you to design your own cards. With that being said, it helps if you have experience with drawing images in a design applications on your computer.

  1. First, you need to decide on the size of the card. We will need to know how wide and how high a card is going to be. The add-on uses two different models for the built-in template, but you can use your own dimensions.
  2. Next, we need to understand the structure of a scratch card. Each card consists of three images:
    Scratch Card Structure
    • The Background – This is the image that holds the results of the card. It can contain any design but should also show either a winning ticket or a losing ticket.
    • The Cover – This is a mostly transparent image of the same size as the background which the user scratches in order to reveal the background and results. If you want you can make the entire cover scratchable revealing the entire cart not just part of it.
    • The Coin – This is the image used as your mouse cursor while it hovers above the scratch card. The add-on provides a default image but you can use any image you want as long as it is smaller then the card.
  3. Next comes the fun part, the card designing. At the very minimum you will need to design three images: 1 background to use when a user do not win, 1 when the user does win and 1 cover. If you want users to win more then one amount, you will however need to design an image for each amount. You can also provide variations for each win or for the loosing tickets if you want. It would make your set look more diverse then just win or lose. For the cover, if you want to use transparency, make sure you use PNG images and not GIFs. You can try using GIFs but it is not guaranteed to work!
  4. Once you have designed and exported your images, upload them to your website and edit the card set you want to use them in. Otherwise see above for step by step guide for creating a new set.
  5. Add in the images in the appropriate meta boxes and make sure you are not including a winning background in the no-win section.
  6. If you have a design but do not feel comfortable designing them yourself, you can contact me and I can help you out for a nominal fee of $ 10 / 1000 Tokens. per design.
This demo is played using Chips. All users automatically receives Chips for signups and logins. Chips have no value and can only be used to play demos.

This demo is only available for myCRED.me community members. Join now for free in order to play this demo. (This is the Visitors template in use)

For this demo, I am using the mycred_scratch_cards shortcode to display the play field. This card set is called “Treasure Cove” and is one of the built-in templates you can use.

 

Supported Browsers Supported Mobile Devices
  • Internet Explorer 11+ (Internet Explorer 9+ with Flash fallback)
  • Firefox 3.6+
  • Chrome 2.0+
  • Safari 2.0+
  • Opera 9.0+
  • Iphone and Ipad (with IOS 6.1+)
  • Windows Phone (with Internet Explorer Mobile 10+)
  • Android Phone (with Android 4.1+)

 

Cards remaining in this set

Card Value Cards Left
No win140
10 CH70
50 CH29
100 CH20
500 CH2
1,000 CH0
Total 261

Remaining cards can be shown via the mycred_scratch_cards_remaining shortcode.

 

Your Winning History

Login to view your history
The mycred_scratch_history shortcode allows you to show your users their winning history.

Product Changelog

Version 1.1.1

  • FIX – Fixed issues with mobile devices not loading cards.

 

Version 1.1

  • TWEAK – Adjusted the card set editor to allow changes of messages and logo to be changed once a set is activated.
  • NEW – Introduced the myCRED Play API.
  • NEW – Added new
    This demo is only available for myCRED.me community members. Join now for free in order to play this demo. (This is the Visitors template in use)
    shortcode to show multiple scratch cards.
  • FIX – Fixed incorrect value in the Treasure Cove template.
  • FIX – Fixed PHP notice when saving settings.
  • FIX – Soldout template is not loaded due to incorrect variable name.
  • FIX – Sold out template not showing in certain situations.
  • UPDATED – Translation files.

 

Version 1.0.2

  • NEW – Added new filter mycred_scratch_everyonewins to allow zero no-win cards to be created.
  • UPDATED – Updated myCRED License API.

 

Version 1.0.1

  • FIX – Added better support for the mycred_history shortcode when using the mycred_scratch_history shortcode.
  • FIX – Corrected spelling mistakes.
  • NEW – Added new action hooks to detect card wins.

 

Version 1.0

  • Initial release

Frequently Asked Questions

7 reviews for Scratch Cards Add-on

  1. Review by plesien67
    5 out of 5

    Very good addon, i recommand to everyone

  2. Review by Karina Kruse Vestergaard
    4 out of 5

    I like this plugin, and I am sad to see that there has been a price increase 🙁 I could use this for other sites, but not a this price.

  3. Review by MedvedUS
    1 out of 5

    After updating to version1.1.1 plugin deactivated himself with error: “plugin file not found”, after activating it some of my custom card sets had broken. It allows to buy but no card loading. very bad update.

  4. Review by Reinald
    5 out of 5

    Like this addon very much! Appreciate the coding 🙂

  5. Review by Vincent
    5 out of 5

    Really great addon, thanks to this plugin I was able to build a new website :))

  6. Review by Luke
    5 out of 5

    Love this plugin. Does exactly what it says on the tin, it’s a fantastic public pleaser and great for drawing in new users. Would recommend it to everyone. =D

  7. Review by hazel
    5 out of 5

    Great addon! Really versatile. Don’t normally review but wanted to point out the fantastic support on the few occasions I’ve had a question. 🙂

Only logged in customers who have purchased this product may leave a review.

Last edited June 7, 2016