Community Support Forums — WordPress® ( Users Helping Users ) — 2012-01-27T04:59:34-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=16176 2012-01-27T04:59:34-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16176&p=61750#p61750 <![CDATA[Re: Urgent Help Voucher Code Registration]]>

Statistics: Posted by Cristián Lávaque — January 27th, 2012, 4:59 am


]]>
2012-01-23T10:59:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16176&p=61282#p61282 <![CDATA[Re: Urgent Help Voucher Code Registration]]> THANK you for your help, that works beautifully. Very clean and slick solution.

Best,
Jonathon

Statistics: Posted by demo38 — January 23rd, 2012, 10:59 am


]]>
2012-01-22T17:43:11-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16176&p=61217#p61217 <![CDATA[Re: Urgent Help Voucher Code Registration]]>
demo38 wrote:
Hi Christian,
This sounds close to what I need. I've installed the PHP Execution plugin (mentioned in API/Scripting) and tried using the conditional you posted above inside of a Free Registration Page, but I get:

Code:
Parse error: syntax error, unexpected T_BOOLEAN_AND, expecting ‘,’ or ‘)’ in /home/pitch/public_html/wp-content/plugins/php-execution-plugin/includes/class.php_execution.php(273) : eval()’d code on line 1



I had a syntax error in the condition, I'm very sorry. I edited my previous post to fix it.

Statistics: Posted by Cristián Lávaque — January 22nd, 2012, 5:43 pm


]]>
2012-01-22T08:27:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16176&p=61210#p61210 <![CDATA[Re: Urgent Help Voucher Code Registration]]>
I ended up just using a free registration form set to S2 Member Level 1 and inserted a voucher code field into the registration form. But it wasn't set to check against any database. I just didn't have the time to hire someone nor did I know enough PHP coding myself. It's not a long term fix by any means but it worked for what I was after and of course you can check that the right code has been entered anyway once someone has signed up.

The other option you could use is to password protect the free registration page straight through Wordpress (this option is just below the Publish Page option on the right hand side when you are editing a page). You can then make the voucher code the page password.

Not the most stylish options but they work!

Statistics: Posted by HD1512 — January 22nd, 2012, 8:27 am


]]>
2012-01-20T16:35:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16176&p=61132#p61132 <![CDATA[Re: Urgent Help Voucher Code Registration]]> This sounds close to what I need. I've installed the PHP Execution plugin (mentioned in API/Scripting) and tried using the conditional you posted above inside of a Free Registration Page, but I get:

Code:
Parse error: syntax error, unexpected T_BOOLEAN_AND, expecting ‘,’ or ‘)’ in /home/pitch/public_html/wp-content/plugins/php-execution-plugin/includes/class.php_execution.php(273) : eval()’d code on line 1


I need to find a way to allow for a custom link or coupon code for 12 months free registration, but need to limit it to only a few people.

Thanks for your help,
J

Statistics: Posted by demo38 — January 20th, 2012, 4:35 pm


]]>
2011-12-04T02:18:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16176&p=54503#p54503 <![CDATA[Re: Urgent Help Voucher Code Registration]]> http://yoursite.com/?voucher=free and then in your page use PHP conditional to check for it. If it's there, show a free registration page, else the regular payment form.

Code:
<?php if (isset($_GET['voucher']) && $_GET['voucher'] == 'free') { ?>
Show the free registration form.
<?php } else { ?>
Show the payment form.
<?php } ?>


Would that work for you?

Statistics: Posted by Cristián Lávaque — December 4th, 2011, 2:18 am


]]>
2011-12-03T08:26:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16176&p=54466#p54466 <![CDATA[Urgent Help Voucher Code Registration]]>
I need to accept voucher codes that will enable a free registration. The user will have paid elsewhere for the voucher code. I've seen the video about free registration with voucher codes and using a database of codes. But I just want 1 code.

I've also seen in previous posts you can't do this with coupon codes because the lowest they will accept is $0.01.

Can i do this? I think I need a separate registration form not linked to paypal with a required filled that will only work with the correct voucher code.

Please help!

Statistics: Posted by HD1512 — December 3rd, 2011, 8:26 am


]]>