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: David Roberts

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


Topics I'm Subscribed To

Viewing 4 topics - 1 through 4 (of 4 total)
Topic Count Last Reply
Custom Capability question

By:  David Roberts in: Community Forum

voices: 2
replies: 22

3 years ago  David Roberts

conditional tag

By:  David Roberts in: Community Forum

voices: 3
replies: 5

3 years, 5 months ago  Cristián Lávaque

Problem with Capabilities

By:  David Roberts in: Community Forum

voices: 2
replies: 1

3 years, 9 months ago  Cristián Lávaque

Viewing 4 topics - 1 through 4 (of 4 total)

Topics I've Started


My Latest Replies (From Various Topics)

Viewing 20 replies - 1 through 20 (of 20 total)
Author Replies
Author Replies
Posted: Saturday Dec 21st, 2013 at 12:55 pm #62077
David Roberts
Username: inbama

Excellent. I’ll give that a try and s2member will help make it look sweet. Thanks for your help!

Posted: Saturday Dec 21st, 2013 at 12:20 pm #62075
David Roberts
Username: inbama

Thanks… i think I’ve gotta rethnk what I am doing… I’ve got

[s2If !is_user_logged_in()]link to login or Paypal Pro Free subscriber form for free registration to site[/s2If]
[s2If is_user_logged_in() AND !current_user_can(access_s2member_ccap_eventfeb2014)]Paypal Pro form for purchasing ccap[/ s2If]
[s2If current_user_can(access_s2member_ccap_eventfeb2014)]information purchased with ccap[/s2If]

I only see two alternatives: replace the ccap purchase with a paypal button, or create two pages and use a link (with conditionals) to direct them to the appropriate page. Is there another alternative that can be done? I sure with the Paypal Pro subsriber form could also sale a ccap. Is there any way this could be done?

Posted: Friday Dec 20th, 2013 at 3:32 pm #62063
David Roberts
Username: inbama

By the way, there are two forms on the page protected with conditionals. Any chance it’s causing a conflict there?

Posted: Friday Dec 20th, 2013 at 3:31 pm #62062
David Roberts
Username: inbama

Just changed to http:

[s2Member-Pro-PayPal-Form register="1" level="0" ccaps="" desc="Register for this site now!" custom="http://yourquantumlife.com" tp="0" tt="D" captcha="clean" success="http://yourquantumlife.com/wp-login.php"/]

I read early on, that it was important to remain consistent on the site with http or www. I am not aware of anywhere on the site using www. I took over this site several months ago with a backup and upload to a new server. Where might I look to see if there are traces of www somewhere? Also, it’s on a secure page. Am I supposed to use https?

Posted: Friday Dec 20th, 2013 at 12:33 pm #62060
David Roberts
Username: inbama

Any ideas on why I receive this error in Internet Explorer: Invalid form configuration. Invalid “custom” attribute. When provided, must start with your domain name.

Everything seems to work fine with Firefox. The form attempting to load is this:

[s2Member-Pro-PayPal-Form register="1" level="0" ccaps="" desc="Register for this site now!" custom="yourquantumlife.com" tp="0" tt="D" captcha="clean" success="http://yourquantumlife.com/wp-login.php"/]

Anyone else care to see if they see this error? the site is http://yourquantumlife.com/fhfgathering

Posted: Tuesday Dec 17th, 2013 at 12:12 pm #62002
David Roberts
Username: inbama

Thank you. When I add the extra conditional I receive a fatal error:
Fatal error: s2If, malformed conditional [ is_user_logged_in()AND ] in /home1/fhf/public_html/wp-content/plugins/s2member/includes/classes/sc-if-conds-in.inc.php on line 170
Nothing looks obviously wrong to me. I’ll read more on it but meanwhile, do you see what may be amiss?

Posted: Tuesday Dec 17th, 2013 at 9:03 am #61999
David Roberts
Username: inbama

Wandering if someone might help me understand conditionals just a little bit more?

I’ve got the following on my registration page…

[s2If !is_user_logged_in()]

Login widget in left column / Open Registration for website form on right column

[/s2If]

[s2If is_user_logged_in()]

Paypal pro form with CCap to purchase event 

[/s2If]
[s2If current_user_can(access_s2member_ccap_eventfeb2013)]Brief Synopsis of Schedule

[/s2If]

As you can see, there are three conditionals. The middle one is for someone logged in, to be able to register for the event. Is there a way to express hide from those already registered, who have already purchased the ccap ‘eventfeb2013’, yet still show to others who ARE logged in?

Posted: Friday Dec 13th, 2013 at 12:21 am #61901
David Roberts
Username: inbama

Thank you so much!! Great help. As it turns out, there was an upgrade I missed. Thanks again! You’re an awesome help. Now I’ve still gotta figure out how to gather the attendants names/information.

Posted: Thursday Dec 12th, 2013 at 11:34 pm #61898
David Roberts
Username: inbama

Not sure I’ve ever seen it there. I’ve never seen it in general options. Which area?

Posted: Thursday Dec 12th, 2013 at 11:20 pm #61896
David Roberts
Username: inbama

Oh yes, we have the latest pro version. As for changing the setting from yes to no, etc, where would that be done?

Posted: Thursday Dec 12th, 2013 at 10:48 pm #61894
David Roberts
Username: inbama

Thanks for the help. Maybe someone will share a way to gather extra info during the sale of a custom capability.

As for wrapping shortcodes, I think I may have spoke a little too. With the following shortcodes (generated by s2member) the form is spread all over the page.

[s2Member-Pro-PayPal-Form]

[s2Member-Pro-PayPal-Form level="*" ccaps="eventfeb2013" desc="FHF GATHERING- Feb 19, 20, and 21, 2014" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="yourquantumlife.com" ra="150.00" rp="1" rt="L" rr="BN" accept="paypal,visa,mastercard,amex,discover,maestro,solo" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]

[s2Member-Pro-PayPal-Form level="*" ccaps="eventfeb2013" desc="Couple- FHF GATHERING- Feb 19, 20, and 21, 2014" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="yourquantumlife.com" ra="250.00" rp="1" rt="L" rr="BN" accept="paypal,visa,mastercard,amex,discover,maestro,solo" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]

[/s2Member-Pro-PayPal-Form]

The page is here: http://yourquantumlife.com/fhfmeeting-feb-2014/

Any ideas on what’s wrong or the other problem listed above?

Posted: Thursday Dec 12th, 2013 at 12:45 pm #61878
David Roberts
Username: inbama

I think I see how to ‘Wrap’ multiple shortcodes as checkout options, as being the way to go. For instance, the cost of one guest is $150/$250 for couple, for the three day event.
Now, I’m wandering how to included a line for them to leave comments/tell us the name or their guest/spouse. How do we know who is coming using the above method. We know who’s name is on the card, but often it may not be the same.

Posted: Thursday Dec 12th, 2013 at 12:12 pm #61876
David Roberts
Username: inbama

The workflow sounds like it would meet our need perfectly. The only part I’m not sure about is how to handle a member bringing their wife, or guest. The charge for the first person is $xxx. The charge for the second (third, etc.) is also $xxx. Suggestions on how to handle???

BTW: thank you so much for your reply!

Posted: Thursday Jul 11th, 2013 at 9:24 pm #53326
David Roberts
Username: inbama

That is not what I’m saying… I’m not referring to the wordpress comment box. The code not functioning ‘is’ a comment box, one we’re adding to the sidebar.

This new comment box we are introducing works perfectly when it is “not” wrapped in an s2member conditional. All I need to know is why won’t it work when I add the conditional I’m using. Could I be using the wrong one? Is there another wrap I can put the same code, or are there some things that won’t work in conditionals?

The code I’m using works perfectly on our site when added anywhere on the site. And also, s2member conditionals work perfectly on our site. The problem comes in when I add this code within the conditional I originally shared, Once I put the code inside that conditional, ‘Nothing’. I don’t understand why it isn’t working.

I’m getting the code from here: https://developers.facebook.com/docs/reference/plugins/comments/

Posted: Tuesday Jul 9th, 2013 at 9:47 am #53180
David Roberts
Username: inbama

I’m not sure I understand. I may not have asked the question properly… I love using the shortcodes for conditionals provided, and the’re such a time-saver. We’re using them without issue over and over; but this time, I wanted to add html code, to show a comment box (used to chat with other logged in users). Does the php you shared address the ability to add html, in order to use the conditional in that way?

To clarify, we are using a custom sidebar where non-members see an invitation to register, etc, and logged-in users to see the comment box. The conditionals we are adding work fine, except when I add an html code within the conditional. The html code simply doesn’t show the comment box when inserted within the conditional.

Thank you for your time!

Posted: Thursday Mar 28th, 2013 at 10:21 pm #46016
David Roberts
Username: inbama

Okay, thanks.

Posted: Thursday Mar 28th, 2013 at 1:34 pm #45987
David Roberts
Username: inbama

Still need help with this. Thanks.

Posted: Wednesday Mar 27th, 2013 at 1:13 pm #45880
David Roberts
Username: inbama

After studying it more, it appears I could substitute some variables and make it ‘get’ what I want. What would it look like to be able to ‘get’ their ‘user name’, and links to the sites they have created? Oops, I only thought it I was able to see a list without hyperlinks. No matter which user I log in as, it shows the whole list of child sites. Help please.

Posted: Wednesday Mar 27th, 2013 at 12:50 pm #45877
David Roberts
Username: inbama

I have the plugin to run php. And I pasted the example code onto my Login Welcome Page:

<?php
$user_id = 1;
$user_blogs = get_blogs_of_user( $user_id );
echo 'User '.$user_id.'\'s blogs:<ul>';
foreach ($user_blogs AS $user_blog) {
   echo '<li>'.$user_blog->blogname.'</li>';
}
echo '</ul>';
?> 

This may be over my head.
I am able to get it to show a bullet list, but not hyperlinks for someone to access what they subscribed to through s2member. It seems there would be a simple way for them to access the sites they have registered (maybe a shortcode) What you sent is probably on target but I’m not sure what to do with the information. It does look like it would do what I want, but I’m not sure how to integrate it into my site. Any help would be greatly appreciated. http://onevoicefamily.com

Posted: Tuesday Mar 26th, 2013 at 1:44 pm #45804
David Roberts
Username: inbama

Sorry I didn’t follow up right away. We actually took the site down and installed it in our primary domain. I do have another question I will post on the forum. Thanks! It’s okay to close this…

Viewing 20 replies - 1 through 20 (of 20 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.