latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Angie Gonzalez

Sorry, I've not written a description yet. I'll get to it soon!


My Latest Replies (From Various Topics)

Viewing 10 replies - 1 through 10 (of 10 total)
Author Replies
Author Replies
Posted: Saturday Sep 14th, 2013 at 12:25 pm #59572

Thanks for the answer TJ. I’ve already tried most of those items (they are well documented in the posts I referenced).

For reference, my site is loading in 3.3 seconds and the s2member-o.php processes are taking a 1.3 seconds!!! It’s insane. Very bad design on your end to be loading dynamically vs statically.

Think about it. Folks with this problem are typically your customers that their sites are getting a lot of traction, and need performance. You could even charge more for this!!!

Anyway, could you elaborate on option 4? Is that by using Plugin Organizer? Is the s2member-o.php css and js only needed for Pro Forms?

Thanks!

Posted: Monday Mar 11th, 2013 at 5:25 pm #44281

You can add a way for a customer to buy a coupon as a “gift”. I’ve done this on my site, but for simplicity, I’ll only describe the way I did it.

I did it this way:

1) I added additional fields to the database:
GFT: marks the code as available to be send out as gift.
GFT_REC: marks the name of the recipient.
GFT_REC_MAIL: enters the address of receiving customer

2) I uploaded several coupon codes to the database and marked the GIFT column with a “1”. These are the coupon codes available to be sent as a gift.

3) I make customer buy a gift “subscription”, it is a Custom Capabilities (e.g. gift_cap) that gives them access to a gift giving page.

4) Once they log in, I use conditionals to show them a button that says “send gift coupon”, and they go to a Form.

5) The Form validates that the customer has the capability to send out gifts, grabs a gift code from the database, and sends an email to receiver and sender.

Hope this helps.

Posted: Wednesday Jul 18th, 2012 at 11:22 pm #19719

I think the badges really over inflate my skills :)

This is the first time I contribute code or something, so please feel free to correct/advise/etc… This is hopefully the start of many more contributions…

You can check out how I did this here:

http://www.s2member.com/forums/topic/gift-coupon-codes-for-s2member/

Posted: Wednesday Jul 18th, 2012 at 10:39 am #19644

I coded something like this on my site.., cirumventing any payment system from s2member.

What I’ve already done:

1) Customers register for Free
2) In the welcome page, I’ve put a “activate coupon” link, which takes customer to a custom form.
3) In the customer form they enter a coupon code and the appropiate level is set. I then modify the current user object and that updates s2member database.
Backend) I maintan a dabatabe with coupon expiration date, membership details, who has used it, who distributed it.. etc.
Benefit) This has helped me a lot for link building, as other blog writer can offer them to their readers.

I’m planning in adding the ability for customers buying gifts, so what I’m planning to do next is:

1) I will make customers buy a membership with a custom capability (say gifts).
2) With said capability, they’ll access a page were they can generate a coupon code once, and even email it.
the catch) I’ll need to make a new contact form for this with its corresponding php code, and also tweak my coupon database for it (e.g. a customer can only send 1 coupon).

Anyway… I’m happy to share the code and database structure for what I have today (free coupons), the code has average commenting to guide you… but I’m a beginner WordPress developer and in no way this has a UI for admins or is packaged as a plugin.. I maintain the code directly…

Posted: Monday Jun 18th, 2012 at 11:09 pm #16818

I’m having a similar issue. Upgraded to WordPress 3.4 and the Pay Button shortcode is putting
tags in the form, pushing the button way down.

I’ve tested for plugins etc… but it was the 3.4 update that change this.

Posted: Saturday Jun 2nd, 2012 at 9:12 pm #15263

Thanks Raam. I feel comfortable putting some code in and deep diving into this, but want to make sure your suggestion still applies:

1) By Pro-Forms, are you referring to Paypal Pro-Forms or “S2member Pro” forms?

I want to make sure that I get this right before I invest a couple of hours on it. I’m just interested on the last page the free sign ups come from (I don’t care about the users who pay).

Any help is appreciated.

Thanks,
Angie

Posted: Saturday Mar 3rd, 2012 at 3:47 pm #7186

They are being served by WordPress. The exact same pages will work on my online server, but not on my WAMP localhost server.

Posted: Thursday Mar 1st, 2012 at 11:58 pm #6947

Below is an example of the conditionals that are not working (in shortcode form). Both images are appearing in my localhost installation when I am on the page that contains them, and the [shortcode] text is showings {seems like the code is not running at all}. This happens if I’m logged out or logged in. Fair to say that on my live site they work fine.

[s2If current_user_can(access_s2member_level1)]
<a href="http://localhost/bbs/cursos/lenguaje-de-senas-para-bebe/modulo-1-introduccion/"><img class="size-full wp-image-1390 alignnone" title="Módulo Introducción" src="http://localhost/bbs/wp-content/uploads/2011/11/member-Modulo-Intro.jpg" alt="Módulo Introducción" width="204" height="115" /></a>
[/s2If]

[s2If !current_user_can(access_s2member_level1)]
<a href="http://localhost/bbs/cursos/lenguaje-de-senas-para-bebe/modulo-1-introduccion/"><img class="alignnone size-full wp-image-810" title="Módulo 1 Introducción" src="http://localhost/bbs/wp-content/uploads/2011/11/Modulo-Intro.jpg" alt="Módulo 1 Introducción" width="204" height="115" /></a>
[/s2If]
Posted: Monday Feb 27th, 2012 at 8:54 pm #6614

Ok, I’ve tried that again and its PARTIALLY working. Registration and Page Level restrictions work.

What is STILL NOT working is S2MEMBER CONDITIONAL SHORTCODES.

Any Ideas?

Posted: Sunday Feb 26th, 2012 at 11:36 pm #6496

Yes, I have seen those instructions, read it several times and they are not clear:

“in cases where your localhost installation runs on something other than 127.0.0.1/localhost, you need to tell s2Member definitively, by adding that line to your /wp-config.php file”

ok, so we know my instalation runs on localhost/bbs/

What line needs to be added? Where and how?

I’ve been guessing and trying different lines for than 3 hours. Any ideas?

Viewing 10 replies - 1 through 10 (of 10 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.