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.

Angela Zou


My Latest Replies (From Various Topics)

Viewing 25 replies - 1 through 25 (of 32 total)
Author Replies
Author Replies
Posted: Wednesday Mar 13th, 2013 at 9:17 am #44484
Angela Zou
Username: angelaz

Hey Cristian,

I thought there should be a much better solution for this, I mean posts in the category changes, and I can’t expect a user who has already paid for the category content to pay for it again. As for the solution on how to automatically create category restriction, can you be a little more specific please?

Cheers,
Angela

Posted: Monday Feb 25th, 2013 at 10:32 am #43164
Angela Zou
Username: angelaz

I already sent them on Friday. It should point to a http://demo.themobu.com/wordpress/. I’ll send it again if you didn’t get them

Posted: Saturday Feb 23rd, 2013 at 7:55 am #43005
Angela Zou
Username: angelaz

Yes, I am able to access those content without logging in.

Posted: Friday Feb 22nd, 2013 at 10:11 am #42821
Angela Zou
Username: angelaz

Never mind, found the solution. It worked like this

global $current_user;
get_currentuserinfo();
if(count($current_user->caps) != 0) {
	foreach($current_user->caps as $key => $value) {
		preg_match("/[0-9]{1,}$/", $key, $course_post_id); //You should match for the string after access_s2member_ccap_*
		//Do stuff with the capability names
	}
}
Posted: Tuesday Feb 19th, 2013 at 3:49 am #42450
Angela Zou
Username: angelaz

Thanks for the super fast reply :)

Posted: Thursday Aug 16th, 2012 at 9:38 pm #22293
Angela Zou
Username: angelaz

Hi Raam,

I do have the Pro-Form available, but I’m just not sure how I need everything. In this project, I simply need people to be able to use Paypal and Alipay as payment gateway and redirect users away from the backend admin.

Angela

Posted: Monday Apr 9th, 2012 at 6:55 am #10356
Angela Zou
Username: angelaz

never mind, I found it. It’s stored as access_s2member_ccap_CAPNAME => 1 in the wp_capabilities field of the usermeta table. No wonder I couldn’t find it in custom fields…

Posted: Saturday Apr 7th, 2012 at 11:34 pm #10306
Angela Zou
Username: angelaz

I was meant to ask what “index” should I save it under. For example, normal custom field provide a field where you enter the label, say comp_name and all entries would be comp_name => apex inc, comp_name => runaway home, etc. What is the label for custom capability in the array?

Posted: Friday Apr 6th, 2012 at 11:54 pm #10267
Angela Zou
Username: angelaz

but you still haven’t mentioned what is the name of the index I should use (for example, if I create a custom field, I can find the array element using the label which becomes the index key of the array). You guys really should write some documentation on this. It’s extremely vague what you are doing with the data and how you are storing it.

Posted: Friday Apr 6th, 2012 at 8:43 am #10233
Angela Zou
Username: angelaz

I forgot to ask, how can I set up a custom capability for the user via script? I know I should either update a meta_value field in the usermeta table, but I’m not sure how to insert a new element into the already serialized array. Also, I wasn’t able to find the custom capability data that I entered, is this even stored somewhere?

Posted: Friday Apr 6th, 2012 at 1:15 am #10228
Angela Zou
Username: angelaz

Well, you mentioned that it’s gonna be send to S2member, right? So then, all I need is a filter/hook to grab a copy of the information and update the custom field.

Posted: Thursday Apr 5th, 2012 at 7:20 am #10139
Angela Zou
Username: angelaz

but every time the user finishes the payment, they would return to the website. (I’m only concerned about the Alipay gateway.) Doesn’t the URL keep some information (like how much they’ve charged) so I can use the appropriate hook/filter to update that information to the custom field value?

Posted: Thursday Apr 5th, 2012 at 3:15 am #10126
Angela Zou
Username: angelaz

but every time the user finishes the payment, they would return to the website. (I’m only concerned about the Alipay gateway.) Doesn’t the URL keep some information (like how much they’ve charged) so I can use the appropriate hook/filter to update that information to the custom field value?

Posted: Wednesday Apr 4th, 2012 at 4:44 am #10020
Angela Zou
Username: angelaz

As for the account balance, if it’s not going to be available anytime soon, can you suggest some workarounds or hacks? Thanks

Posted: Thursday Mar 29th, 2012 at 2:56 am #9429
Angela Zou
Username: angelaz

In addition, I also have a thought for Alipay gateway. Since it doesn’t support recurring payments, I was wondering if I can use S2member to create an account balance feature? This way, users can charge up their S2member account with X RMB, and let it deduct every month rather than ask the user to pay every month. (Returning the amount is currently not a very important feature, I can set up a form for user to fill and return the money manually.)

Posted: Thursday Mar 29th, 2012 at 2:51 am #9427
Angela Zou
Username: angelaz

thanks for the reply, but I also want to know how can I include the avatar in the profile and give an option to modify it?

Posted: Friday Mar 9th, 2012 at 2:40 am #7693
Angela Zou
Username: angelaz

I currently have 2 types of registration:
– Open registration for personal users. They will use the WordPress default method to register. Emails are successfully received.
– Pro API to create trial users for premium levels. These emails are not received (or send I believe), and are not seen on the email logs.

I have no problem receiving other types of emails from this WordPress installation (like notification emails from other plugins, testing email from WP Mail SMTP, as well as logging emails from S2member itself).
I’m not sure if providing the S2member logs will be of any help since there is no transaction.

Posted: Thursday Mar 8th, 2012 at 5:57 am #7611
Angela Zou
Username: angelaz

I thought I had the problem solved.

I’ve removed the Sinoshare plugin I mentioned (that seems faulty), but all of my users are still complaining of this problem. I tested it again today, and it came back.

I don’t know what to do now. I will disable more plugins, but I’m not optimistic. In addition, I can’t see my S2member badge.

Posted: Tuesday Feb 28th, 2012 at 9:22 pm #6701
Angela Zou
Username: angelaz

I’m not sure why, but it seems like one of my recent plugin is causing the problem (even though the problem started a couple of months ago). Anyway, got it to work for now. Thanks for all your helpful inputs.

Posted: Monday Feb 27th, 2012 at 9:05 pm #6617
Angela Zou
Username: angelaz

I just tried that WP default with no chinese. I only got the form submission email (not even the admin notification email about a new user). So what should I test next?

Posted: Sunday Feb 26th, 2012 at 10:21 pm #6492
Angela Zou
Username: angelaz

Here is a screenshot of my email configuration on the General Options page (see here http://www.flickr.com/photos/74373680@N04/6787727040/sizes/l/in/photostream/)

Posted: Saturday Feb 25th, 2012 at 5:33 am #6402
Angela Zou
Username: angelaz

Sorry about the late reply. I think I should clear things up a little. The ONLY emails that I (and everyone else) can\’t receive is the username/password email. I can receive the purchase confirmation email (specific page/post or membership purchase) and the notification email for debugging Notification API (despite having Chinese characters in there).

I really don\’t understand. I installed the plugins suggested, but there was NOT a single trace of the email. I think the problem occurred before the email is triggered. I really really need help on this. The site is officially going live in less than 2 weeks, and how will I keep my users if they can\’t even receive sign up emails! Please help. I\’d pay for this if necessary, but I really need to get this going!!!

Posted: Sunday Feb 19th, 2012 at 11:31 pm #5672
Angela Zou
Username: angelaz

Thanks for the update, I thought I might never to be able to update to new version of S2member. I moved my site to a new server with Apache 2.2 (although there is still one site on Apache 1.x), and there are still a little problems here and there. At least I made a backup.

Please let me know when support for Apache 1.x will be removed, so I can prep the migration.

Posted: Saturday Feb 18th, 2012 at 10:18 pm #5628
Angela Zou
Username: angelaz

Jason, You said S2member is not compatible with Apache 1.x, but I didn’t have any trouble running it on version 111223 or below (except that email issue). I can definitely turn off debug mode, but the plugins are still broken and nothing can be fixed by turning off the debug mode.

Eduan, I will definitely try the suggestions you have offered, but I’m not sure this will resolve the problems.

Posted: Saturday Feb 18th, 2012 at 5:03 am #5573
Angela Zou
Username: angelaz

Anyone can explain why my custom functions file are partially GONE? I know I’m the one to blame to not make backup, but just as I’m patching up the things that S2member broke, it breaks/steals/deletes the code again? You gotta me kidding me. What is going on here?

  • This reply was modified 4 years, 10 months ago by  Angela Zou.
Viewing 25 replies - 1 through 25 (of 32 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.