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.

"Custom Value" is removed after Demoted eot,

Home Forums Community Forum "Custom Value" is removed after Demoted eot,

This topic contains 13 replies, has 2 voices. Last updated by  Cristián Lávaque 3 years, 5 months ago.

Topic Author Topic
Posted: Tuesday Jul 16th, 2013 at 11:53 am #53517

“Custom Value” is removed after Demoted eot, because?

I need the field “Custom Value” continue being after dometed.

field use “Custom Value” to control different web users.

Thanks

List Of Topic Replies

Viewing 13 replies - 1 through 13 (of 13 total)
Author Replies
Author Replies
Posted: Wednesday Jul 17th, 2013 at 7:26 am #53569

What custom value? One added to the [hilite mono]custom[/hilite] attribute in the payment shortcode? or do you mean a custom profile field value? [hilite path]Dashboard -› s2Member® -› General Options -› Registration/Profile Fields[/hilite]

Posted: Wednesday Jul 17th, 2013 at 9:43 am #53576

I mean the custom attribute in the shortcode payment.

and I have the box s2member / paypaloptions / Membership Also EOTS Remove all Custom Capabilities – I have it in not Remove.

Posted: Thursday Jul 18th, 2013 at 7:24 am #53608

The custom value is not the same as a custom capability. You’ll notice the user’s custom capabilities field two rows below the custom value one you highlighted.

If you meant demo_2013 to be a custom capability, then make sure it’s in the [hilite mono]ccaps[/hilite] attribute of your button/pro-form shortcode. [hilite path]Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes -> ccaps[/hilite]

For existing users, you can edit those fields in their profiles.

To do it in bulk you can export them, edit the CSV and then update them reimporting. See:
[hilite path]Dashboard -› s2Member® -› Import/Export -› User[/hilite]
Knowledge Base » Import (or Mass Update) Users

I hope that helps. :)

Posted: Thursday Jul 18th, 2013 at 7:30 am #53610

the problem is that this field is deleted when the user is EOT, and need to be maintained.

Posted: Thursday Jul 18th, 2013 at 7:51 am #53615

Are you sure it’s not custom capabilities what you’re trying to use? Custom capabilities won’t be removed if you have that EOT setting set to not remove them. The custom field is something else. What are you using the custom field for?

Posted: Thursday Jul 18th, 2013 at 8:20 am #53622

I know that is not the same the Ccaps to custom capabilities.

I am using the custom field “ccaps” to customize the web SECTIONS depending on this value.
but is removed automatically when the user is EOT.
is there any option for this not to happen?

Posted: Thursday Jul 18th, 2013 at 12:27 pm #53642

When I generate the mail from New User Email Message using the cv1, cv2, to customize your mail.

this option I can not perform with %Ccaps%

This is the reason to use the custom field.

Posted: Saturday Jul 20th, 2013 at 6:10 am #53704

I am using the custom field “ccaps” to customize the web SECTIONS depending on this value.
but is removed automatically when the user is EOT.
is there any option for this not to happen?

The EOT setting to leave Custom Capabilities instead of removing them is the way to not have ccaps removed on EOT, then one you showed in your second screenshot. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior -> Custom Capabilities[/hilite]

Did you have a user lose his ccaps on EOT? If you send me your site’s info and a step-by-step to reproduce what you’re saying, I can test this on your site to see what’s happening. s2Member® » Private Contact Form

When I generate the mail from New User Email Message using the cv1, cv2, to customize your mail.
this option I can not perform with %Ccaps%
This is the reason to use the custom field.

That’s a good use of the custom values, but you only send the New User email on registration, which won’t happen again, so it doesn’t matter to lose it on EOT. What else do you need that value for after EOT?

Posted: Monday Jul 22nd, 2013 at 2:39 am #53798

Okay, I will duplicate custom field information to Ccaps fields.
and modifies the programming to look Ccaps field.

so keep the mail personalized with cv1, cv2. and when the user is EOT, I will not have any problem.

But because reason will be deleted fields “custom fields” when a user is EOT?

Posted: Monday Jul 22nd, 2013 at 6:46 am #53808

so keep the mail personalized with cv1, cv2. and when the user is EOT, I will not have any problem.

Sounds like a good solution. :)

But because reason will be deleted fields “custom fields” when a user is EOT?

I don’t know, but will ask Jason about it.

Posted: Wednesday Jul 24th, 2013 at 6:37 am #53983

Jason replied with a hack you can use, that’ll help you keep the custom value for the user when demoted.

Create this dir/file: /wp-content/mu-plugins/s2-hacks.php
See Knowledge Base » Hacking s2Member® Via Hooks/Filters

[hilite pre_code]

Posted: Wednesday Jul 24th, 2013 at 7:44 am #53985

Works perfectly ¡¡¡
Thank you very much

bcnvial.com

Posted: Thursday Jul 25th, 2013 at 7:13 am #54015

Great! Thanks for the update. :)

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

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

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.