Carole Asselin

Forum Replies Created

Viewing 97 posts - 1 through 97 (of 97 total)
  • Author
    Posts
  • in reply to: Different protection for different levels? #710
    Carole Asselin
    Participant

    WOW… i’ll try that, now, since i ALSO have the drip timer combined to that, this will be a big job! But i’ll still try.

    in reply to: Different protection for different levels? #708
    Carole Asselin
    Participant

    So, i got this shortcode first to account for the local storage:

    [s2File download="Webinars/InTheNewsWithPSP.zip" storage="local" count_against_user="no"]

    Then, since i needed that in html format (for a link) i found this code while digging deeper in the documentation:

    <a href="<?php echo s2member_file_download_url(array("file_download" => "Webinars/InTheNewsWithPSP.zip", "file_storage" => "local", "skip_confirmation" => true)); ?>"><img class="alignnone" src="http://scrapbookcampus.com/Images/handout1.jpg" alt="" width="128" height="175" align="middle" border="0" /></a>

    (i hope this code will display, instead of trying to show the image)

    But now, this is a code for everyone, yet, if you and Krum suggest using a conditional for both levels (so the confirmation is skipped for level1 and stays for level 2), how would the code look like? It looks like it will get very convoluted!

    in reply to: Different protection for different levels? #705
    Carole Asselin
    Participant

    Yes that is exactly what i am looking for. How would i get everything from that embeded shortcode to link on an image?

    in reply to: Different protection for different levels? #703
    Carole Asselin
    Participant

    All that for a link!
    I think i would need a sample of what a linked image code would look like. All those codes are just jumbled in my head right now.

    in reply to: Different protection for different levels? #701
    Carole Asselin
    Participant

    May try to use [s2If condition_for_level] inside the [s2File] shortcode to add the attribute when needs. Any shortcode may stay inside any text, include other shortcodes.

    I think that might become quite complex as a code, especially since i’ll have to add that to 500+ current links! Maybe i’ll just approach it from a different angle, and have either the same popup for all, or none at all (and those going over the limit will just be the greedy ones!)

    in reply to: Different protection for different levels? #699
    Carole Asselin
    Participant

    Yes, i was wondering how to incorporate the “shortcode attribute” into a url, but i figured out that it needs to be wrapped. That works.

    However, is there a way to have that popup about the number of downloads appear for one level, and not for another level? In the case of the “all-access” pass (Level 2), i want to avoid someone from downloading hundreds of files at once, but on the dripped access (Level 1), there is no need for it, since they would not even have that many to download anyways. Is that possible?

    in reply to: Different protection for different levels? #697
    Carole Asselin
    Participant

    OK i realized that i was trying to add the shortcode attributes to an html code, which obviously didn`t work.

    Now, trying to use the shortcode, i have no clue how to add a shortcode so that the text or the image is clickable (i often have an image to click on).

    So, how do i get this shortcode:

    [s2File download="Webinars/InTheNewsWithPSP.zip" storage="local" count_against_user="no"]

    to replace my current html code that is :

    in reply to: Different protection for different levels? #696
    Carole Asselin
    Participant

    OK, i know what the shortcodes i want to use:

    I want to use storage=”local” to identify that a specific file is available in the s2m protected folder at least i was testing that)
    and i want to use count_against_user=”no” so that the popup won`t appear.

    However, i can’t figure out the syntax to put them all together. Probably a super simple question, but how do i add that to the initial:

    Testing download limit

    How do I put them together? With a comma? a semi-colon? Neither one worked so i am missing that .. “punctuation”.

    in reply to: Subscription modification #695
    Carole Asselin
    Participant

    Which means that it would be easy with a button and more convoluted with a form? If that is the case, i might as well go for a button instead of a pro-form!

    in reply to: Different protection for different levels? #694
    Carole Asselin
    Participant

    OK after a little tweaking, i noticed that i had to put a download limit on the Level 1, even if i didn’t need a limit (since everything would be dripped and limited by ccaps and such), so i added a download limit of 99999 for 365 days. That works EXCEPT for the fact that it will show a popup saying “you have downloaded 4 files out of a download limit of 99999….” or something to that effect.

    Ideally, i would want that popup for those who REALLY have a limit (Level2) but not the others (Level1). But if i can just remove the popup for both, it might be the plan B (and i know there is a code for that).

    Now, is there an easy way to generate that popup ONLY for the Level2? If not, i’ll just fall back on Plan B.

    in reply to: Subscription modification #691
    Carole Asselin
    Participant

    OK, reading those it seems that s2M should do what i want, and not what it does:

    The new terms will take effect at the end of the current billing cycle. In other words, if a Customer signs up for a monthly Subscription on Jan 1st at $9.99/mo… then they upgrade on Jan 15th to $99/year; they will be billed $99 on Feb 1st and be re-billed Feb 1st of each year.

    This means that effectively, it should be updated on the next scheduled payment, right? (as i am using the Paypal Standard integration).

    in reply to: Different protection for different levels? #690
    Carole Asselin
    Participant

    Where do i see what the MOP vars say?

    Carole Asselin
    Participant

    In the end i found out what the culprit was: the Maintenance plugin.

    That is the only plugin i could not desactivate when i was desactivating everything else, so of course, the problem was still there.
    I contacted the plugin author and he fixed it.

    in reply to: Subscription modification #685
    Carole Asselin
    Participant

    OK, let`s have a scenario:

    – you have a $10 subscription that is paid on the 10th of the month.
    – you want to upgrade to a $15 subscription but you click on the “upgrade” button on the 15th of the month

    In fact, you have already paid $10 for the month so i don’t want you to have to pay $15 5 days after you paid that $10, so ideally, i would like your level to upgrade now, but start paying $15 only on the 10th of next month.

    Is that even possible?

    in reply to: Different protection for different levels? #684
    Carole Asselin
    Participant

    The problem is not whether it counts or not, but whether the link is considered valild or not since it redirects to the Membership Option page.

    in reply to: Subscription modification #675
    Carole Asselin
    Participant

    OK after reading more, it looks like the “*” is only for the Buy Now, which might explain why the error message is referring to the BN. So, this means that i have to use “1”. That is fine. I can do that, and i don’t get an error.

    Then, the question is this one:
    – is there a way to ONLY increase the price on the NEXT payment, instead of requiring it NOW?

    From past experience, using the *1* had cancelled the current subscription (which was VERY confusing to the members). And if it is cancelled, i am afraid it will charge immediately. Or maybe i can give a whole month free “trial”?

    in reply to: Subscription modification #674
    Carole Asselin
    Participant

    I can try, but i don`t want to specifically set the level to 1, but keep the level to whatever it is (even though in my case i am only using 1). I had issues with level 1 in a code when it would cancel the subscription immediately, but this time, i would like the NEXT payment to be increased, not charge the member right away.

    in reply to: Subscription modification #672
    Carole Asselin
    Participant

    Anyone else has a “clean installation” where they could copy and paste that code? If you also get the error, then there might be a bug.
    Should i submit a ticket??

    in reply to: Subscription modification #671
    Carole Asselin
    Participant

    Ok i set up Paypal on the other site, copied the same code (changed the Custom value) and i get the exact same error.

    I am quite puzzled.

    in reply to: Subscription modification #670
    Carole Asselin
    Participant

    Yes i am sure it is the code. I copied and pasted it.

    I tried on a different page, with the exact same error.

    I tried it only as a shortcode (not a php) but i get another error because of the hack i have to use, which is only allowed inside a php code.

    I tried it on a different site, but i don’t have paypal enabled on that site, so i am getting an error message about Paypal instead.

    I tested it with a non-admin account in a different browser. Same thing.

    I tried to remove all the “hack code” and left only two ccaps, and i still get the same error.
    Here is the CURRENT shortcode (not even in a php code):

    [s2Member-Pro-PayPal-Form level="*" ccaps="lab,GOLD" desc="GOLD Membership" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="scrapbookcampus.com" ta="0" tp="2" tt="W" ra="15" rp="1" rt="M" rr="1" rrt="" rra="2" accept="paypal" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0"]

    And here is the page:

    http://scrapbookcampus.com/krum/

    in reply to: Subscription modification #668
    Carole Asselin
    Participant

    Depending on who is going to look at this, the url of the page is this:

    Creative Scrap – GOLD

    The form is inside a conditional so an admin can see it, but otherwise, you need to have the correct ccap to see it (not sure if the error message would still show or not).

    in reply to: Download restriction question #666
    Carole Asselin
    Participant

    but you’re pushing the limits of the current s2.

    Always have, apparently!
    I’ll test further and report.

    in reply to: Download restriction question #664
    Carole Asselin
    Participant

    When integrating with S3, I guess it was assumed that every protected file would be there and the local storage would be the exception. Why did you decide to integrate with S3 and why would you not use it for all protected files?

    I never actually made a conscious decision. All the written files, pdf and zip have always been stored on my site, but when i have 60 minutes video files, i have been using Easy Video Suite, which integrates with AmazonS3 and having it out of the site, it would not affect my data usage on my shared hosting. So that is how things are divided.

    Uploading files using Filezilla is so much simpler than AmazonS3 for those many small files.

    About removing the count for certain users, you can probably give them a higher level than the regular user, and remove download limits to that level. Would that work?

    Not sure it would work as nothing is based on levels on my site. I only have level 0 (free) and level 1 (paid) but i have no content that is conditional to a level.

    in reply to: Download restriction question #662
    Carole Asselin
    Participant

    Now that you say that, I don’t think ccap downloads are tracked, since tracking limits are based on level. But well, if all paid users have the same level, then that limit would apply. I’m pretty sure that files protected with a ccap still count towards the limit, but you can test it (remember to user s regular user account).

    That might be a little annoyance then: i have some customers who bought the dripped course, and are just starting.Their downloads are straightforward If i also offer an all access pass and hide the same downloads behind that protected wall, to track the downloads, those “dripped” customers will always see the popup about the download limit which is totally not for them. It won’t block anything as the dripped content will include fewer files than the maximum download limit, but still would be annoying.

    Remember that if you’re using the S3 integration now, then the local s2member-files directory won’t be used unless you specify it using the storage attribute. WP Admin -> s2Member -> Download -> Shortcode Attributes -> storage

    My head is spinning! I’d have 500+ links to change and i am terrified of using the program Krum suggested above in case i need to change something and have to redo it.

    in reply to: Download restriction question #657
    Carole Asselin
    Participant

    OK here is my hypothetical setup for a link to a particular tutorial based on two options:
    option 1 – the user has purchase the dripped option (which is currently done with Krum’s hack)
    option 2 – the user has a DIAMOND ccap which is an all-access and does not rely on the dripped option but is subject to download limit

    Here is the possible code:

    [s2If kc_drip_element(3_weeks)]<a href="http://scrapbookcampus.com/element-creation-index/square-paper/">Square paper</a>[/s2If]
    [s2If current_user_can(access_s2member_ccap_diamond)]<a href="http://scrapbookcampus.com/?s2member_file_download=Element/square-paper/">Square paper</a>[/s2If]

    Considering that the same download might or might not need to be tracked the same way (maybe by ccap instead of by level) is there a way to limit based on ccaps INSTEAD of level?

    • This reply was modified 8 years ago by Carole Asselin. Reason: code didn't stay as code
    in reply to: Download restriction question #656
    Carole Asselin
    Participant

    Ok, after removing all the setup for amazonS3 “protection”, i got all the files in the “protected folder”, and the link works (thanks Krum), and the shortcode too.

    Now, i configured the AmazonS3 and i can include the link to be protected.

    Great!!! So, at the base, it works.

    Now, i have another odd set up to account for. If i want to have one document (video or file) to be available EITHER as with a “buy now” product, with no download limitation (since it would be a purchased product) OR as part of an all access pass (where the download limitation IS to be tracked) how would i go about it?

    in reply to: Download restriction question #652
    Carole Asselin
    Participant

    The download link should be http://scrapbookcampus.com/?s2member_file_download=Webinars/InTheNewsWithPSP.zip, check in Dashboard -> s2Members -> Download options -> Basic download restrictions.

    That is still giving me an error.

    in reply to: Download restriction question #651
    Carole Asselin
    Participant

    Ok i can’t seem to edit that post so i’ll update here.

    It looks like the filename used for the writtendocument, saved in the protected folder of s2M has the same name (with different extension) than the video file uploaded on AmazonS3. I have set up (or tried to) the key for AmazonS3 video files.

    Currently, the video file can be downloaded using this link:
    [video src="https://evs-hosted-151211b109649b.s3.amazonaws.com/inthenewswithpsp.mp4" /]

    I am not sure it is “protected” or tracked in the downloads, so i am not sure what i am missing there either.

    in reply to: Download restriction question #648
    Carole Asselin
    Participant

    As i am slowly digging into these download restrictions, i am trying to figure out how the links will be changed to be ‘tracked’ by s2M, and i am at loss.

    For example, the videos i have on Amazon s3, would have a download link that looks like this:
    [video src="https://evs-hosted-151211b109649b.s3.amazonaws.com/inthenewswithpsp.mp4" /]

    What will it look like if i want to protect it (so it can be counted)?

    For all the current written documents downloads, the links are currently like this:
    http://scrapbookcampus.com/Webinars/InTheNewsWithPSP.zip

    From what i understand, i have to move those files into a “protected” folder in s2M, so i did this:
    http://scrapbookcampus.com/wp-content/plugins/s2member-files/Webinars/InTheNewsWithPSP.zip

    However, it gives me a 404 error.

    I tried this too:
    [s2File download="InTheNewsWithPSP.zip"/]

    And i am getting this error message:
    <Error>
    NoSuchKey
    <Message>The specified key does not exist.</Message>
    <Key>InTheNewsWithPSP.zip</Key>
    <RequestId>01E76E59A6AA9FF3</RequestId>
    <HostId>
    mH5k5nAV34Y3mo5vTniGMOdF3qW9Vd3JDeRhbjI7nXo4x4zDSjCAJkHgJ08byzhyV3fgeko6OfA=
    </HostId>
    </Error>

    What key is this referring to? What am i doing wrong?

    I have only started moving/copying files into that particular s2M folder, so i can plan on changing the actual link when i can figure out what they are supposed to look like, but i likely didn’t get it right yet.

    Thanks.

    in reply to: Download restriction question #646
    Carole Asselin
    Participant

    Krum, that is a little scary to use. I am wondering if using this tool will only change the link in the DB or will it change it also on the pages?

    in reply to: Download restriction question #645
    Carole Asselin
    Participant

    I am looking at the download restrictions in the s2m dashboard. And i have various questions:

    Since i have videos uploaded using Easy Video Suite to a specific bucket in Amazon S3, would i be able to use my existing bucket to deliver the downloadable version of the video files, while being “restricted” in s2M?

    If i have some videos hosted on S3, and some documents in the s2M protected folder, would a restriction download take both sources into account to limit for the 10, or 20 downloads that i would set up?

    in reply to: Free registration with ccaps #642
    Carole Asselin
    Participant

    Hi Krum, would you mind showing me the actual code i need to put? I don’t know the syntax of what goes in that file.
    Or even better… could you do it for me?? 😉

    in reply to: Free registration with ccaps #640
    Carole Asselin
    Participant

    I find that adding a footer is not very visually obvious for the user. Is there a way to place the footer higher on the page??

    Or can we modify the message that says that “registration is not allowed” to add a link there??

    in reply to: Free registration with ccaps #637
    Carole Asselin
    Participant

    OK everything worked, but yesterday i got a registration that didn’t have the “default” ccap. I asked the person to tell me where she registered (thinking i had forgotten one link). Sure enough, she had clicked on the “You need to be logged in to post a comment”, and that links to the default WP login/registration.

    Unfortunately, i have no idea how to redirect that link to the page i created with the free registration form.

    Any suggestion?

    in reply to: Simple captcha question #635
    Carole Asselin
    Participant

    Nevermind, i realised i had to set up a key for it to work. I knew it had to be too simple!

    in reply to: Can you use conditional based on a referring URL? #632
    Carole Asselin
    Participant

    Hum… not sure if i should be happy (that it is possible) or scared (that i have NO CLUE what that code is about!)
    I’ll have a look further, but you are giving me hope that something really interesting can be done to customize user experience!

    in reply to: Free registration with ccaps #628
    Carole Asselin
    Participant

    YES!!!! that seems to work!!!
    So it does not even have to redirect to the “registration” page!
    Woohoo!

    in reply to: Free registration with ccaps #626
    Carole Asselin
    Participant

    Just to be picky, is there a way to redirect dynamically to the page they were on, when they clicked to reach that page?
    If not, it is ok, but it would be neat!

    in reply to: Free registration with ccaps #625
    Carole Asselin
    Participant

    Cool, that seems to work exactly as i need it.
    This should be documented somewhere for others to benefit from this nice looking code! 🙂

    Thanks Cristian!

    in reply to: Free registration with ccaps #623
    Carole Asselin
    Participant

    Yes, that works. Now, to edit it, is there a way to remove the “Signup now”? Because having that would defeat the purpose of having the free registration form.

    in reply to: Free registration with ccaps #621
    Carole Asselin
    Participant

    OK that takes care of the error message, but i am getting a blank section (the one on the left).

    in reply to: Free registration with ccaps #617
    Carole Asselin
    Participant

    OK, i am trying to use the widget, but it does include the option to REGISTER, which i don’t want to (i want the free registration form), so i figured i could use the php version of the widget.

    I am choosing to send the member to the other page (the REGISTER one) once logged in so the member would get the same message as the one who would have just registered (and automatically logged in through the hack).

    My problem is simply the code as i don’t really understand the syntax. I came up with this:
    <?php echo s2member_pro_login_widget("title" => "" "login_redirect" => "http://scrapbookcampus.com/register-to-the-campus"); ?>

    But it is not working. Obviously, i have an error somewhere, so i would need your help to fix it.
    The page i put this login “widget” is this one:
    http://scrapbookcampus.com/login/

    Once i have the code figured out, i will take care of the page layout itself.
    So, can you help?

    in reply to: Free registration with ccaps #616
    Carole Asselin
    Participant

    Oh right… i`ll try the widget thing. I had not used that since i started, 5 years ago!
    I`ll update you on it.

    in reply to: Free registration with ccaps #614
    Carole Asselin
    Participant

    Ok, i tested it, and it seems to work.
    You can login and come back to the page where you clicked LOGIN
    You can click on REGISTER and be sent to the free registration page, and upon submitting, you are logged in automatically and a message redirects you to the previous page, where you just need to refresh.

    So that is one way it works.

    If there would be a way to remember the URL of the page where the user clicked the REGISTER, so he would be redirected there automatically, it would be even better!

    And while i am here, although i might not use the default WP registration form, i am still using the default LOGIN page. Can i have that on my “registration” page? Is there a shortcode or something? It would make it better looking and branded to the site (instead of having two different pages).

    in reply to: Free registration with ccaps #613
    Carole Asselin
    Participant

    OK looking deeper into the Free registration form to add a default ccap.
    Is there a way to format it in a way to have the Username field on top and the First and last name at the bottom, just like the default WP registration form?

    Right now, here is my page: http://scrapbookcampus.com/register-to-the-campus/

    I tested it and it does what i had it set for: register a user and add a ccap in AC.
    Now,i had disabled the auto-login plugin to test but i ran out of email addresses.
    Can you test again?

    in reply to: Free registration with ccaps #612
    Carole Asselin
    Participant

    It is ready for the next test.
    I really wish i could get this setup to work!

    in reply to: Free registration with ccaps #611
    Carole Asselin
    Participant

    I was specifically in the Text tab, but as i checked the visual editor to see what showed, nothing of those lines showed, but back to the Text tab, the code had disappeared.

    I installed Jason’s plugin now, and i put back the code in the code editor.

    in reply to: Free registration with ccaps #608
    Carole Asselin
    Participant

    Added those two lines.

    You do have a PHP execution plugin active on your installation, right?

    Yes i do. It is called Allow PHP execute.

    (you will run out of emails too!)

    in reply to: Free registration with ccaps #606
    Carole Asselin
    Participant

    OK, the hack is removed. Do you have another email you can use?

    in reply to: Free registration with ccaps #604
    Carole Asselin
    Participant

    Darn. Either it is ignoring it, or the hack is not working. Now, which one is it?? Or how to test it? Any idea?

    I think this would be a wonderful “hack” to use and could be very useful if we can get it to work, not just for me, but for adding functionalities to s2Member

    in reply to: Free registration with ccaps #600
    Carole Asselin
    Participant

    Ok i fixed that error. In the code you provided, it stated captcha = “clean” and it should have been “0”.

    in reply to: Free registration with ccaps #599
    Carole Asselin
    Participant

    I am not using any CAPTCHA. What should i check?
    I saw that error message but i have no clue where it is from.

    in reply to: Free registration with ccaps #597
    Carole Asselin
    Participant

    As i am running out of email addresses to test, Cristian, would you mind trying?
    I put the REGISTER link on this page: http://scrapbookcampus.com/test-page/
    and the form on this page: http://scrapbookcampus.com/krum/

    Would you be redirected?

    It would be a great workaround if it does what i think it should do.

    in reply to: Free registration with ccaps #595
    Carole Asselin
    Participant

    Well, i got a hack called s2-auto-login, which is this:

    <?php
    add_action('ws_plugin__s2member_during_configure_user_registration', 's2_auto_login_after_registration');
    function s2_auto_login_after_registration($vars = array())
    	{
    		if(is_admin()) return; // Not when an Admin is creating accounts.
    		
    		wp_set_auth_cookie($vars['user_id'], FALSE, FALSE); // Log the user in.
    		
    		if(did_action('login_form_register')) // For <code>/wp-login.php?action=register</code> compatibility.
    			c_ws_plugin__s2member_login_redirects::login_redirect($vars['login'], $vars['user']);
    		
    		$GLOBALS['_s2_auto_login_after_registration_vars'] = $vars; // For Pro Form compatibility.
    		add_action('template_redirect', '_s2_auto_login_after_registration', 1);
    	}
    function _s2_auto_login_after_registration() // Pro Form redirection handler.
    	{
    		$vars = $GLOBALS['_s2_auto_login_after_registration_vars'];
    		c_ws_plugin__s2member_login_redirects::login_redirect($vars['login'], $vars['user']);
    	}

    Maybe that would work?

    in reply to: One purchase cancels a recurring payment #592
    Carole Asselin
    Participant

    With this code, if a user is level 1 but has not logged in, what will happen?

    If they fill the form with their correct information, it will be rejected as their email address will be known as already in use. OR it can be a situation where the user might be using a different email address, creating a different account, and having some ccaps associated with one account, and others to another account (pretty confusing).

    in reply to: Free registration with ccaps #591
    Carole Asselin
    Participant

    Oh ok… that would work.
    Now, is there a way for this shortcode to get a dynamic variable to know where the person clicked to get to this form, so i could then use it instead of the WP registration form?

    So, if the person was on the page http://example.com/thispage, clicks on a button/link sending them to a generic page with that particular form you showed, is there a way for the code to redirect them to the http://example.com/thispage upon success?

    in reply to: One purchase cancels a recurring payment #586
    Carole Asselin
    Participant

    So, to summarize, would you say that unless i have NO option for ANY recurring subscription, i should ALWAYS use the level = “*” instead of level = “1” because any Buy now purchase with a level 1 would mess up any subscription?

    in reply to: One purchase cancels a recurring payment #583
    Carole Asselin
    Participant

    Looking into what i might have missed in the “improvement” of s2M, i see this is still there:

    Level #0 (Free Subscribers):
    Visitor
    This is the Label for Level #0 (Free Subscribers).

    That might lead to confusion in others if it is not exactly the case!

    in reply to: Replace the WP login/registration page #580
    Carole Asselin
    Participant

    Thanks Krum. This is for the LOGIN, right? the LOGIN is what i am using on the top right of pages on my site, correct?
    Would it work for the REGISTER too?

    I am trying to put it in the initial code i have but not sure if i can use something similar for the Register part.

    On the other hand, would that be using the free registration for s2M or the default WP one? Since i would like to get a “default” ccap, i could put one for the free membership form, but not on the WP form.

    in reply to: One purchase cancels a recurring payment #578
    Carole Asselin
    Participant

    Hum… ok.. i think s2M has evolved faster than i followed. Level 0 used to be Free and levels 1+ were paid. That was IT. So ALL my “buy now” buttons and forms have been set for level 1 so i could immediately sort out who were the “customers” (level 1) and who were the “leads” (level 0), so this improvement is actually limiting a previous feature, which i didn’t realize.

    The subscription is created when selling a level, and when the user buys a level again, the existing subscription gets terminated. Even if he purchases the same level, s2Member will end the existing subscription. If he purchases the new one with recurring payments, then a new subscription gets created, but if it’s a single payment, then that’s that.

    Maybe there should be a differentiation between recurring payments and buy now INSTEAD of basing it on levels vs ccaps. Something i might suggest, if it can prevent awkwarness of the system mixing things while we try to make them simple.

    in reply to: Replace the WP login/registration page #577
    Carole Asselin
    Participant

    I see. I guess i’ll have to study this, unless someone can suggest the actual code to use.
    Thanks.

    in reply to: One purchase cancels a recurring payment #573
    Carole Asselin
    Participant

    You know, something else is odd now. If a user is already registered to the site, but has a level 0, buying a ccap without a level (level = “0”) should keep the user at level 0, correct? But then, BUYING something changes from level 0 to at least 1. How is that done?

    – A user has level 0 (free subscriber) and wants to buy a ccap that would bring him to a paid member level (level 1)
    – A user has level 1 (paid member) and wants to buy a ccap that would keep him to a paid member level (level 1)
    – A visitor who has never purchased or subscribed and wants to buy a ccap that would bring him to a paid member level (level 1)

    If i use a pro-form and ask for registered members to login, that is so the form with level = “*” be applied, but how does the free member gets his level 1?

    I am confused now.

    in reply to: One purchase cancels a recurring payment #572
    Carole Asselin
    Participant

    With all that, i still don’t get why someone with a level 1, buying something with a level 1, would see any change in a recurring subscription. The subscription and the level are not really related, are they? I guess i don’t understand the path behind that (and i guess i don’t need to either).

    in reply to: Replace the WP login/registration page #571
    Carole Asselin
    Participant

    I don’t want the user to come back to a specific page. I wish they would come back to the “original” page. Is there a way to extract the url of the original page to redirect dynamically back to where they were?

    in reply to: One purchase cancels a recurring payment #568
    Carole Asselin
    Participant

    When selling individual ccaps, I think it’s fine to have a conditional that doesn’t add a level to the form when the user is logged in, so it doesn’t affect existing subscriptions, but adds the level when the person is logged out so the ccap can be sold to him.

    Is there a way other than by having two forms?
    My other question would be whether it would solve the problem if i just used a regular Buy now button instead of a form? Thinking of it, i don`t really need a form.

    Right now, the form allows a new member to register and purchase in one step, but it might be causing more issues than it saves. Can a button give a level 1 without affecting a level 1 recurring subscription?

    in reply to: Replace the WP login/registration page #564
    Carole Asselin
    Participant

    Maybe the registration link could just open the free registration pro-form in another tab/window, and leave the current one open and open a message that instructs him to “please reload this page after completing your registration and logging in.”

    Yeah, i can try that.
    Since the Pro login has something in it redirecting the user back to the same page, is there a way to use that feature/code?

    in reply to: One purchase cancels a recurring payment #563
    Carole Asselin
    Participant

    Yes, all three customers used the exact same form (there is only ONE place to make that purchase) and all three had the same ccap for the recurring subscription. I had set the level 1 as the only paid level i am using. I don`t use any other level so whether they buy a recurring subscription or a “buy now” product, they all end up with a level 1, so why would one affect the other?

    The safest way may be to always only sell to logged in users, and visitors only have free registration as the next possible action, and then upgrade.

    Technically yes, the practically, it means a longer process for the user, therefore a less desirable experience for the user who will feel like they have to jump through hoops. That is why i made that suggestion to Jason: on my zencart store, it knows if you are an existing customer or not, and will do the work in the backend instead of requiring the client to do all of it.

    in reply to: Replace the WP login/registration page #560
    Carole Asselin
    Participant

    This works but it uses the WP login page, and i can’t get a ccap on the WP login page.
    Can you suggest something?

    in reply to: One purchase cancels a recurring payment #559
    Carole Asselin
    Participant

    Other member can have different EOT, so this can be a reason, I think.

    They don’t have a EOT as it is “ongoing”.

    in reply to: One purchase cancels a recurring payment #556
    Carole Asselin
    Participant

    OK, i can do that, but then, that would not explain why other members who had the same recurring payment, and used the same form, didn’t see their recurring payment stopped?

    I really don’t like to use a conditional to have 2 pro-forms (one for logged in and one for not logged in) because i have to rely on the registered members to log in before making the purchase. If they don’t, it causes other issues (that is why i suggested that an additional feature would check the email and associate ccaps based on the email, no matter what).

    in reply to: One purchase cancels a recurring payment #553
    Carole Asselin
    Participant

    I am not sure what the code was because i had to redo it, but back then, i used the php code from you, Krum (years ago). But again, i would assume it is quite similar to this one:

    `<input name=”business” value=”admin@digiscrapcampus.com” type=”hidden”>
    <input name=”cmd” value=”_xclick-subscriptions” type=”hidden”>
    <!– Instant Payment Notification & Return Page Details –>
    <input name=”notify_url” value=”http://scrapbookcampus.com/?s2member_paypal_notify=1&#8243; type=”hidden”><input name=”cancel_return” value=”http://scrapbookcampus.com/&#8221; type=”hidden”>
    <input name=”return” value=”http://scrapbookcampus.com/?s2member_paypal_return=1&#8243; type=”hidden”><input name=”rm” value=”2″ type=”hidden”>
    <!– Configures Basic Checkout Fields –>
    <input name=”lc” value=”” type=”hidden”>
    <input name=”no_shipping” value=”1″ type=”hidden”>
    <input name=”no_note” value=”1″ type=”hidden”>
    <input name=”custom” value=”scrapbookcampus.com” type=”hidden”><input name=”currency_code” value=”USD” type=”hidden”>
    <input name=”page_style” value=”paypal” type=”hidden”><input name=”charset” value=”utf-8″ type=”hidden”>
    <input name=”item_name” value=”Custom Scrap Course” type=”hidden”>
    <input type=”hidden” name=”item_number” value=”1:element,forum,element<?php echo date(‘Ymd’); ?>” />
    <input name=”invoice” value=”” type=”hidden”>
    <!– Identifies/Updates An Existing User/Member ( when/if applicable ) –>
    <input name=”on0″ value=”” type=”hidden”><input name=”os0″ value=”” type=”hidden”>
    <!– Identifies The Customer’s IP Address For Tracking –>
    <input name=”on1″ value=”” type=”hidden”>
    <input name=”os1″ value=”” type=”hidden”>
    <!– Controls Modify Behavior At PayPal® Checkout –>
    <input name=”modify” value=”0″ type=”hidden”>
    <!– Customizes Prices, Payments & Billing Cycle –>
    <input name=”src” value=”1″ type=”hidden”><input name=”srt” value=”” type=”hidden”>
    <input name=”sra” value=”1″ type=”hidden”><input name=”a1″ value=”59″ type=”hidden”>
    <input name=”p1″ value=”3″ type=”hidden”><input name=”t1″ value=”M” type=”hidden”>
    <input name=”a3″ value=”10″ type=”hidden”><input name=”p3″ value=”1″ type=”hidden”>
    <input name=”t3″ value=”M” type=”hidden”>
    <!– Displays The PayPal® Image Button –>
    <p>
    <input src=”http://scrapbookcampus.com/Images/Button-I-want-to-500.jpg&#8221; style=”border: 0pt none ; width: auto; height: auto;” alt=”Buy Now” type=”image”>
    </p></center>

    in reply to: One purchase cancels a recurring payment #551
    Carole Asselin
    Participant

    Sure, this is the code:

    [s2Member-Pro-PayPal-Form level="1" ccaps="wjan2016" desc="Patchwork Scrapping" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="scrapbookcampus.com" ra="9.99" rp="1" rt="L" rr="BN" accept="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]

    I used a level = “1” so i would not require people to register first, and log in to get the form to show up. I only use two levels: Free (0) and paid (1).

    As i said, i had two other customers, use the same form, minutes before and minutes after who also had a recurring membership and didn’t experience this, so i can’t see the code being the culprit.

    in reply to: %%item_name%% not populated #461
    Carole Asselin
    Participant

    Another thing you could try is removing the part up to originally and showing only the following part.

    I am not understanding what you mean

    I don’t see the original name anywhere in the variables available to the hack.

    I am a bit surprised that if i use a button, the item name would be what appears in the description, while in a pro-form, it will also include the price and discount instead of JUST the description/name.

    in reply to: %%item_name%% not populated #457
    Carole Asselin
    Participant

    Great! It does seem to work fine now.
    What caused that issue in the first place?

    And now, is there a way to only include the actual item name and NOT the “Discount info” as part of the name? It looks pretty odd to say “you purchased the Discount…”

    in reply to: %%item_name%% not populated #446
    Carole Asselin
    Participant

    Email sent yesterday, with access to a temporary admin account and ftp.

    in reply to: %%item_name%% not populated #444
    Carole Asselin
    Participant

    Sent you the whole confirmation email i got with the variables.

    OK, i used your code and made a purchase (the same as usual) and i still didn’t get a confirmation email.

    I do not have an email log, but i tried another time with the previous file, and i get a confirmation email immediately.

    So i am just as stumped as you are.

    in reply to: %%item_name%% not populated #437
    Carole Asselin
    Participant

    Sent by email, so i could send everything (including other hacks that have nothing to do with this one).

    in reply to: %%item_name%% not populated #430
    Carole Asselin
    Participant

    I used the code there (and i am not sure what quote has to change if at all), and now, i am not getting any email for confirmation at all.

    The first name in the array was “correct” as it was the test account name. For the cv1, that was referring to the initial request you pointed to, 4 years ago, where i WAS giving out bonuses. So, i’ll have to find a way to possibly use a conditional and send to a bonus IF they are getting a course that includes a bonus and skip that part otherwise, but that is for another time.

    in reply to: %%item_name%% not populated #428
    Carole Asselin
    Participant

    I’ll send it by email to you.

    As i was testing a few things, i tried to see if the variable was actually retrieved. I am not 100% sure i did it right, but i tried this:

        {
            $a = $vars["first_name"];
            $b = $vars["item_name"];
            return "Thank you ". $a . $vars["first_name"] . "\n\nYou have successfully complete your purchase" . $b . $vars["item_name"] . "\n\nIf you have not already done so, the next step is to Register a Username for the Campus.\n\nPlease complete your registration here:" . wp_login_url () . "\n\nIf you have any trouble, please feel free to contact us.";   
        }
    

    I tried more test purchases after, but notice that the $a and the $b variables NEVER appeared in the thank you email.
    In the mean time, in order to avoid sending odd looking emails to customers, i reworded the text so that the missing first_name and item_name won’t be noticeable.

    Would that help?

    in reply to: %%item_name%% not populated #426
    Carole Asselin
    Participant

    OK i did it. I now have a looooooooong list of variables.
    I found this:
    ‘item_name’ => ‘Discount: 100% off. (Now: $0.00) ~ ORIGINALLY: 12 Cards for Christmas’,

    So, why isn’t it displaying in the email??

    in reply to: %%item_name%% not populated #425
    Carole Asselin
    Participant

    I am not really good with php coding, and i see some punctuation being different. I see some quotation marks in your code and i am not sure if it should be there. Is it?

    in reply to: %%item_name%% not populated #422
    Carole Asselin
    Participant

    I am reading further in that thread you linked to (didn’t realize it was 3 pages long). I still have the hack that i had used in the past (at least it is still in the file)

    
    add_filter ('ws_plugin__s2member_modification_email_sbj', 'my_s2_modification_sbj', 10, 2);
    function my_s2_modification_sbj ($s2member_default_sbj, $vars = array ())
        {        
            return 'Thank you for purchasing '. $vars["item_name"];
        }
    add_filter ('ws_plugin__s2member_modification_email_msg', 'my_s2_modification_msg', 10, 2);
    function my_s2_modification_msg ($s2member_default_msg, $vars = array ())
        {        
            return "Thank you ". $vars["first_name"] . "\n\nYou have successfully purchased the " . $vars["item_name"] . "\n\nIf you have not already done so, the next step is to Register a Username for the Campus.\n\n Please complete your registration here:" . wp_login_url () . "\n\n
            If you have any trouble, please feel free to contact us.\n\nOnce your registation is completed, you can login and access your bonuses here: http://scrapbookcampus.com/".$vars["cv"][1];    
        }
    

    But i have no idea if it is supposed to send the correct message or not.

    in reply to: %%item_name%% not populated #421
    Carole Asselin
    Participant

    No, it is not the same thing at all. Previously, it was about getting them the bonus that was associated with a particular product, but not this time.

    I wonder if it has something to do with the use of a 100% off coupon since it does not have to go through a payment gateway?

    It seems to just go the wrong route for a “purchase”.

    in reply to: %%item_name%% not populated #417
    Carole Asselin
    Participant

    I just did. I used a test account. I logged in, purchased the product, and here is what i got in the confirmation email:

    Thank you

    You have successfully purchased the

    If you have not already done so, the next step is to Register a Username for the Campus.

    Please complete your registration here:http://scrapbookcampus.com/wp-login.php

    If you have any trouble, please feel free to contact us.

    Once your registation is completed, you can login and access your bonuses here: http://scrapbookcampus.com/

    ****************************
    Maybe it has to do with the 100% coupon code that is used since i am going through these steps:
    1- i log in
    2- i enter the coupon code and the form is all filled
    3- i click on the paypal button
    4- i get a notice, on top of the form, that “your account has been updated” (the level is set to “1” and not “*”)
    5- now, it was not obvious, but i had to click the SUBMIT button that appeared at the BOTTOM of the form
    6- after submitting the form, i got back to the same page, which is what i wanted, so the user can download all the goodies

    But then, why do i get this email? with no item mentioned? And why does it use the signup confirmation email (which is giving the wrong message altogether since the user would not need to register a username)?

    in reply to: %%item_name%% not populated #414
    Carole Asselin
    Participant

    Here are all the ss i can get:

    http://scrapbookcampus.com/Images/Post-page-pro-form.jpg
    http://scrapbookcampus.com/Images/Post-Page-standard.jpg
    http://scrapbookcampus.com/Images/capability-confirmation.jpg
    http://scrapbookcampus.com/Images/modification-confirmation.jpg
    http://scrapbookcampus.com/Images/sign-up-pro-form.jpg
    http://scrapbookcampus.com/Images/sign-up-standard.jpg

    (sorry, the don’t want to display and i don’t want to waste too much time figuring out why)

    I am a little confused too. The member was already a member so it was not a new signup. Now, i can`t remember if i use “1” or “*” as a level since i struggled to figure out things afterward. I might have changed, or thought of changing it.

    in reply to: API not sticking #393
    Carole Asselin
    Participant

    Well, since i have a workaround, i am not looking for anything else, but *IF* it could have an identifiable trigger, it could be something that could either be addressed in s2M or include a warning of some kind to the s2M users so they can avoid issues since the “fix” is so simple.

    in reply to: API not sticking #391
    Carole Asselin
    Participant

    Although this might be somewhat explaining why it happens in Chrome and not in other browsers, it does not explain why it only happened when a level is skipped, while it will stick when all the levels are “used”.

    in reply to: Redirect if user does not have the correct ccap #387
    Carole Asselin
    Participant

    Great! It works exactly as i was hoping. Now, if it can be integrated as a native feature, everyone will be able to use it easily. 🙂

    in reply to: API not sticking #383
    Carole Asselin
    Participant

    The other question too is why it would display one thing in my Chrome browser and not in others. In that case, which one was the actual setting that was enforced?

    in reply to: API not sticking #382
    Carole Asselin
    Participant

    Interestingly, that IS working. On both problematic sites.
    Strange that it never did that before. So there might still be a need to investigate to know why it happened in the first place.

    in reply to: Redirect if user does not have the correct ccap #381
    Carole Asselin
    Participant

    Here is the code i am using

    <?php
    if (!empty($_REQUEST['_s2member_vars']))
       @list($restriction_type, $requirement_type, $requirement_type_value, $seeking_type, $seeking_type_value, $seeking_uri)
            = explode("..", stripslashes((string)$_REQUEST["_s2member_vars"]));
    
    if (!empty($seeking_value) && $seeking_value == 'element' ) {
       header('Location: http://scrapbookcampus.com/creative-scrap/creative-scrap-register/');
       exit;
    }
    

    Here is one page that you need the ‘element’ ccap to access:
    http://scrapbookcampus.com/element-creation-index/folded-edge/

    and the sale page is obviously this one:
    http://scrapbookcampus.com/creative-scrap/creative-scrap-register/

    in reply to: Redirect if user does not have the correct ccap #378
    Carole Asselin
    Participant

    I am not good enough in php syntax but as it, it is not working. Shouldn’t there be a closing tag or something at the end?

    in reply to: Redirect if user does not have the correct ccap #377
    Carole Asselin
    Participant

    That might work. I`ll try and report back.

    But if it is not a native function of s2M, i think it would be a great feature to add, directly in the dashboard. Don’t you think?

    in reply to: API not sticking #376
    Carole Asselin
    Participant

    Yes, i have the same s2Member version on all of them.

    As far as Chrome extensions, i have Pinterest, LastPass, Share as image and Facebook Pixel Helper. Only those 4.

    The last extension installed was at least a couple of weeks ago and it was the FB pixel helper. So, in case it was the culprit, i removed it from my Chrome browser and tried again. No luck. It still won’t SHOW the correct API.

    As you said, it is possible to check in a different browser, and now, i know it, but then, how many things might not be displaying correctly? And why does it change? And why one site and not the other?

    in reply to: API not sticking #372
    Carole Asselin
    Participant

    I ran more tests. I had another admin log in, to see if the admin username and password would change to his. It didn’t. Even weirder, he said the API and level 4 list, looked NORMAL.

    Conclusion: maybe it was my cache. I deleted my cache, and the saved passwords on my Chrome browser: no change: still reverted to the odd info.

    Tried Firefox and IE, and interestingly, they both showed normal API and level 4.

    It looks like it might be a Chrome issue, BUT why does it only affect 2 out of 3 sites?
    Although i see the API and lever 4 list id as wrong, maybe it is right all that time? But how can i know?

    in reply to: API not sticking #370
    Carole Asselin
    Participant

    I logged out of LastPass and tried saving the API again and it is not working any better. I checked the site where the API is now correct (i fixed it last week) and it is still correct.

    On one site that had fewer plugins, i deactivated all of them except for s2M, and it would not help at all. It still does not stick.

    I made another test and put something as a Level3 list ID on a site where i don’t have any; when i saved, it DID save it correctly. So, i am wondering if the API key and the Level4 list ID are using variables that are shared with something else in WP. I thought it might have been the WP version as that one site was not running the latest one, but it still didn’t change anything.

    Let me know if there is anything else i can try to help pinpoint. Right now, i am really stuck as members are not automatically added to my MC list for now.

    in reply to: API not sticking #368
    Carole Asselin
    Participant

    I thought of that, but i am using LastPass all the time, while this behavior happens on 2 sites but not on the other. And also, i have been using LastPass for months, yet that behavior only happened recently.

Viewing 97 posts - 1 through 97 (of 97 total)