Title: VoucherPress
Author: Chris Taylor
Published: <strong>2010년 2월 11일</strong>
Last modified: 2016년 2월 6일

---

플러그인 검색

이 플러그인은 **최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다**. 워드프레스의
좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 
있을 수 있습니다.

![](https://s.w.org/plugins/geopattern-icon/voucherpress.svg)

# VoucherPress

 작성자: [Chris Taylor](https://profiles.wordpress.org/mrwiblog/)

[다운로드](https://downloads.wordpress.org/plugin/voucherpress.zip)

 * [세부사항](https://ko.wordpress.org/plugins/voucherpress/#description)
 * [평가](https://ko.wordpress.org/plugins/voucherpress/#reviews)
 *  [설치](https://ko.wordpress.org/plugins/voucherpress/#installation)
 * [개발](https://ko.wordpress.org/plugins/voucherpress/#developers)

 [지원](https://wordpress.org/support/plugin/voucherpress/)

## 설명

**Thanks for using VoucherPress. It’s great to see so many people creating vouchers
for all kinds of business. From pizza joints to jewellers, cleaning companies to
sports clubs – you’ve created thousands of vouchers, and I’m really proud to have
created something which has been useful to so many people.**

**As I work on the next version of VoucherPress it would be really helpful if you
could [fill in this short survey](http://www.stillbreathing.co.uk/projects/voucherpress-the-next-chapter).
Many thanks for your time.**

Have you ever wanted to give away vouchers, tickets, coupons or tokens on your website?
If so this plugin is for you. You can create a voucher with whatever text you want,
choosing the layout and font from a range of templates (you can also add your own
templates). Vouchers can then be viewed, downloaded and printed from a specified
URL.

There are shortcodes to add a link to a particular voucher, to show an unordered
list of all your vouchers, or to show the registration for to request a restricted
voucher.

You can require visitors to provide their name and email address to get a voucher.
If an email address is required an email is sent to the address with a link to the
voucher URL. Each voucher has a unique code, and vouchers that have an email address
associated with them can only be used once, so once a registration-required voucher
is downloaded it can’t be downloaded again.

### Hooks

From version 1.1.2 the plugin also offers a selection of hooks which you can use
to run your own custom code. The hooks are:

### voucherpress_create

When a voucher is created, this hook returns the properties of the voucher. You 
can use it like this:

add_action( ‘voucherpress_create’, ‘my_voucherpress_create_function’ );
 function
my_voucherpress_create_function( $id, $name, $text, $description, $template, $require_email,
$limit, $startdate, $expiry ) { // do something here… }

### voucherpress_edit

When a voucher is edited, this hook returns the properties of the voucher. You can
use it like this:

add_action( ‘voucherpress_edit’, ‘my_voucherpress_edit_function’ );
 function my_voucherpress_edit_function(
$id, $name, $text, $description, $template, $require_email, $limit, $startdate, 
$expiry ) { // do something here… }

### voucherpress_register

When someone registers to download a voucher and an email is sent to them, this 
hook returns the voucher and the users details. You can use it like this:

add_action( ‘voucherpress_register’, ‘my_voucherpress_register_function’ );
 function
my_voucherpress_register_function( $voucher_id, $voucher_name, $user_email, $user_name){//
do something here… }

### voucherpress_download

When someone downloads a voucher, this hook returns the voucher and the users details.
You can use it like this:

add_action( ‘voucherpress_download’, ‘my_voucherpress_download_function’ );
 function
my_voucherpress_download_function( $voucher_id, $voucher_name, $code ) { // do something
here… }

The plugin also makes use of the __() function to allow for easy translation.

Thanks to Christian Serron (http://twitter.com/cserron) for the code to make the
vouchers work in widgets (currently disabled, I’m working on this) and to Barry (
http://www.betakeygiveaway.com/) for bug testing above and beyond the call of duty.

### 숏코드

There are four shortcodes available. The first shows a link to a particular voucher,
and is in the format:

[voucher id=”123″]

The “id” parameter is the unique ID of the voucher. The correct ID to use is available
in the screen where you edit the voucher.

You can also how the description after the link:

[voucher id=”123″ description=”true”]

The second shows a link to a voucher, but with a preview of the voucher (just the
background image, no text) and the voucher name as the image alternate text:

[voucher id=”123″ preview=”true”]

And you can show the description after the preview as well:

[voucher id=”123″ preview=”true” description=”true”]

You can also show an unordered list of all your live vouchers using this shortcode:

[voucherlist]

And a list of all live vouchers with their descriptions:

[voucherlist description=”true”]

And you can also show the form for people to enter their name and email address 
if they wish to register for a restricted voucher:

[voucherform id=”123″]

The shortcodes for any voucher can be found on the edit screen for that voucher.
Just click the ‘Shortcodes’ button.

## 스크린샷

 * [[
 * Creating or editing a voucher
 * [[
 * Viewing the list of your vouchers, and the mot popular downloaded ones
 * [[
 * A sample voucher
 * [[
 * A Microsoft Window print dialog showing the voucher on the paper
 * [[
 * All the default templates

## 설치

The plugin should be placed in your /wp-content/plugins/ directory and activated
in the plugin administration screen. The plugin is quite large as it includes the
TCPDF class for creating the PDF file.

## FAQ

  My voucher PDF files are corrupted. Why?

This is normally because PHP isn’t given enough memory to create print-resolution
PDF files. If you open one of your corrupted PDF files in a text editor it will 
say something like this:

Fatal error: Out of memory (allocated 31981568) (tried to allocate 456135 bytes)
in
 /some/thing/here/wp-content/plugins/voucherpress/tcpdf/tcpdf.php

Speak to your hosts or system administrator to give PHP more memory. I’m also working
on a way for VoucherPress itself to work around this problem.

  Why is the plugin so big? It’s over 20 MB!

I know, and I’m sorry, but the TCPDF sytem which generates the PDF documents is 
pretty big. And there’s 40+ default layout templates which aren’t small either.

  Why did you write this plugin?

I’m not sure. It seemed like a good idea, and gave me opportunity to learn a little
bit about the TCPDF class.

  Does this plugin work with any e-commerce plugins?

Not at the moment, but I’m sure it could if those e-commerce plugin developers want
to get in touch.

  Can I add my own codes, for example if I want to give away numbered coupons?

Yes, you can add your own codes for any voucher. When people download the voucher
they will be given one of your codes (in the same order you entered them). Once 
one of your codes is used on a voucher it can’t be used again.

## 후기

![](https://secure.gravatar.com/avatar/a23e266d2cd4b699023370dd4803a5a9e89a3e43ffde096930c27f77a23a02fb?
s=60&d=retro&r=g)

### 󠀁[Nice and easy to use](https://wordpress.org/support/topic/nice-and-easy-to-use-48/)󠁿

 [Ghostyvb13](https://profiles.wordpress.org/ghostyvb13/) 2017년 10월 27일

The only thing i am missing is adding your own background image and custom registration
fields… but for what it is right now it works great so 5 stars!

![](https://secure.gravatar.com/avatar/f7a096ee9b8a7ccfccc00958e5b607b8c6896fb6e1e9b91c65e56e70b4d8e7a0?
s=60&d=retro&r=g)

### 󠀁[Nice but not work](https://wordpress.org/support/topic/nice-but-not-work/)󠁿

 [paolosvitato](https://profiles.wordpress.org/paolosvitato/) 2017년 10월 4일

Nice plugin with right setting alternative, but if i use shortcode, not work. I 
can’t edit voucher created, very very bad Database reset not work

![](https://secure.gravatar.com/avatar/e3fcc781ae9d42d5fc3e3fb61e9f4dfbc41b21011050d3108f596041839bd752?
s=60&d=retro&r=g)

### 󠀁[How to use?](https://wordpress.org/support/topic/how-to-use-93/)󠁿

 [nicholaslai](https://profiles.wordpress.org/nicholaslai/) 2017년 2월 9일 답글 
1개

Hi, i have installed the plugin, i have created the voucher as well. How do i able
to publish to public for download? Hope can get some advice Thanks

![](https://secure.gravatar.com/avatar/47cb954e9bfc4c7b9d89642f3993b2bc6168debbab2e5efe9edc52c6ab418951?
s=60&d=retro&r=g)

### 󠀁[Cannot Work it out](https://wordpress.org/support/topic/cannot-work-it-out-2/)󠁿

 [madox82](https://profiles.wordpress.org/madox82/) 2016년 10월 21일

how to set the email setting? the plugin display “Thank you for registering. You
will shortly receive an email sent to ’email’ with a link to your personalised voucher.”
but havent receive any email

![](https://secure.gravatar.com/avatar/663fe770c75b4f2b71ddd1141f7779087c55fcc6d94d23b67fc6ef1dcbaf2d70?
s=60&d=retro&r=g)

### 󠀁[Cannot Work it out](https://wordpress.org/support/topic/cannot-work-it-out/)󠁿

 [larikn](https://profiles.wordpress.org/larikn/) 2016년 9월 3일

Have installed and created a voucher. Where the heck is the shortcode? I wish you
Gurus would put some instructions up

![](https://secure.gravatar.com/avatar/de24bb7a731b1fc26568bc335a0ecd6694105c626c7504f28bb616682b6faa6d?
s=60&d=retro&r=g)

### 󠀁[Excellent Plugin](https://wordpress.org/support/topic/excellent-plugin-2081/)󠁿

 [philipdrm](https://profiles.wordpress.org/philipdrm/) 2016년 9월 3일

As a WordPress programmer, I use this plugin in a variety of ways. Needs some more
internal reports, but easily created my own thru phpmyadmin. Data is reliable and
easy to use.

 [ 모든 17 평가 읽기 ](https://wordpress.org/support/plugin/voucherpress/reviews/)

## 기여자 & 개발자

“VoucherPress”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

 *   [ Chris Taylor ](https://profiles.wordpress.org/mrwiblog/)

[자국어로 “VoucherPress”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/voucherpress)

### 개발에 관심이 있으십니까?

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/voucherpress/)는, [SVN 저장소](https://plugins.svn.wordpress.org/voucherpress/)
를 확인하시거나, [개발 기록](https://plugins.trac.wordpress.org/log/voucherpress/)
을 [RSS](https://plugins.trac.wordpress.org/log/voucherpress/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 변경이력

#### 1.5.8 (2017/01/29)

Fixed deprecation error messages. Removed survey text. Fixed loading the JavaScript
and CSS over HTTPS. Tested up to 4.7.2.

#### 1.5.7 (2015/06/02)

Added link to [a short survey](http://www.stillbreathing.co.uk/projects/voucherpress-the-next-chapter)
about the future of VoucherPress.

#### 1.5.6 (2015/02/01)

Fixed bug with HTTP method check. Updated readme file.

#### 1.5.5 (2015/01/31)

Changed use of ABSPATH to plugin_dir_path(), as that is what good developers use.

#### 1.5.4 (2014/11/22)

Fixed error encountered with some browsers who send two requests to download a file(
the first one is a HEAD request). Thanks to Susan Grant for reporting the error.

#### 1.5.3 (2014/07/01)

Added checking for whitespace output by other plugins stopping rendering of the 
voucher, which is one of the most regular “bugs” reported

#### 1.5.2 (2014/03/06)

Fixed bug with deleting template
 Formatted code to WordPress coding standards

#### 1.5.1 (2014/02/28)

Fixed bug with previewing voucher

#### 1.5 (2014/02/28)

Added page to list all vouchers
 Changed a bit of text to be clearer

#### 1.4 (2011/07/14)

Fixed bug with vouchers that require an email address
 Added optional displaying
of voucher descriptions in shortcodes Style changes

#### 1.3 (2011/06/03)

Allowed the expiry date to be a number of days in the future. Also added a start
date on which a voucher will become available.

#### 1.2 (2010/12/20)

Changed templates to work at 150dpi to overcome memory limit problem. Also added
code to temporarily increase PHP memory limit to 64mb while a voucher is being rendered.
Fixed activation bug caused by WordPress breaking the Plugin Register plugin. Upgraded
to recent version of TCPDF. Allowed CSV download for all vouchers, not just ones
requiring an email address. Added nonce fields for security.

#### 1.1.2 (2010/11/20)

Added shortcodes and description field

#### 1.1.1 (2010/10/24)

Changed check for writable template directory to fix bug

#### 1.1 (2010/10/08)

Added expiry date and registered name to voucher
 Added ability to delete (non-sitewide)
templates

#### 1.0.2 (2010/09/13)

Fixed bugs with CSV download

#### 1.0.1 (2010/09/13)

Fixed bugs with expiry date

#### 1.0 (2010/07/04)

Added different voucher code options. Added registration form shortcode. Moved JavaScript
into separate file. Lots of bug fixes.

#### 0.8.6 (2010/05/26)

Added voucher name to CSV report

#### 0.8.5 (2010/05/14)

Updated plugin URI

#### 0.8.4 (2010/04/20)

Implemented new Plugin Register version.

#### 0.8.3 (2010/04/17)

Fixed bugs with expiry date, download limit and email registration. Changed Plugin
Register to be opt-in.

#### 0.8.2 (2010/04/12)

Stopped failure of chmod() on custom templates directory causing warnings

#### 0.8.1 (2010/04/01)

Added voucher code to the CSV download. Added Plugin Register code.

#### 0.8 (2010/03/23)

Made activation even more robust. Changed expiry to separate year/month/day fields.
Prepared for own voucher codes.

#### 0.7 (2010/03/12)

Made activation more robust. Fixed bug with non-writeable templates directory. Added
expiry date.

#### 0.6 (2010/03/09)

Added shortcode with preview of voucher

#### 0.5.3 (2010/03/01)

Fixed bug with upgrades not creating tables

#### 0.5.2 (2010/02/25)

Fixed bug when no 404.php page found in template. Added link to voucher to voucher
edit page. Clarified some sections of the voucher edit page.

#### 0.5.1 (2010/02/17)

Added a support link and donate button

#### 0.5 (2010/02/15)

Fixed bug with download counts occurring in older versions of MySQL

#### 0.4 (2010/02/14)

Fixed bug with email registration. Changed PDF to force download.

#### 0.3 (2010/02/12)

Added check for PHP5

#### 0.2 (2010/02/12)

Fixed bugs with SQL

#### 0.1 (2010/02/11)

Initial version

## 기초

 *  버전 **1.5.7**
 *  최근 업데이트: **10년 전**
 *  활성화된 설치 **200+**
 *  워드프레스 버전 ** 2.8 또는 그 이상 **
 *  다음까지 시험됨: **4.7.33**
 *  언어
 * [English (US)](https://wordpress.org/plugins/voucherpress/)
 * 태그:
 * [buddypress](https://ko.wordpress.org/plugins/tags/buddypress/)[pdf](https://ko.wordpress.org/plugins/tags/pdf/)
   [print](https://ko.wordpress.org/plugins/tags/print/)[Voucher](https://ko.wordpress.org/plugins/tags/voucher/)
   [vouchers](https://ko.wordpress.org/plugins/tags/vouchers/)
 *  [고급 보기](https://ko.wordpress.org/plugins/voucherpress/advanced/)

## 평점

 별 5점 만점에 3.3점.

 *  [  7/5-별점 후기     ](https://wordpress.org/support/plugin/voucherpress/reviews/?filter=5)
 *  [  2/4-별점 후기     ](https://wordpress.org/support/plugin/voucherpress/reviews/?filter=4)
 *  [  1/3-별점 후기     ](https://wordpress.org/support/plugin/voucherpress/reviews/?filter=3)
 *  [  3/2-별점 후기     ](https://wordpress.org/support/plugin/voucherpress/reviews/?filter=2)
 *  [  4/1-별점 후기     ](https://wordpress.org/support/plugin/voucherpress/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/voucherpress/reviews/#new-post)

[모든  리뷰 보기](https://wordpress.org/support/plugin/voucherpress/reviews/)

## 기여자

 *   [ Chris Taylor ](https://profiles.wordpress.org/mrwiblog/)

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/voucherpress/)

## 기부

이 플러그인이 발전하도록 도우시겠습니까?

 [ 이 플러그인에 기부하기 ](http://www.stillbreathing.co.uk/donate/)