There isn't a way to set a default value for profile edit. Only profile registration IF the field is set to display on registration. To workaround this you'll need CB Auto Actions to establish defaults when a new user registers. The below should work fine for this.I'm not sure about this. If I go in my profile, on notifications tab, I see a list of options that I can set yes or no. I'd like them to be, bay default, on YES (but user can still set them on NO). If I go on the cb_notif_pm field, I see it's HTML type. Should I change that in textbox? Or should I look somewhere else?
How many notifications they have in total or notifications they haven't seen yet? You can display the CB Activity notification icon and popover anywhere you like using the CB Activity Module.I'm trying to make a badge showing how many notification a user has. So I was wondering if there is a notification counter per user somewhere.
There isn't a way to limit a plan to a number of active subscribers out of the box. I think the best way to do that is probably a condition under the Workflows tab against a Query field that counts the number of subscribers. This would be a neat feature though and have added a feature ticket for it.To Free users we want to offer a community of maximum 150 members. How can this be achieved?
This is easy enough by just having the free plan have a duration of 1 year.We also want to auto-expire free memberships, so that after 1 year of inactivity the membership is inactivated
This is a bit more tricky. Automating user deletion is risky. 1 mistake in the configuration and you've wiped your userbase. So while it is doable I don't recommend doing it and instead just deleting inactive accounts once a year in CB > User Management. If you still want to do this you can do so using CB Auto Actions with the below instructions.and after 18 months the membership is deleted along with the data.
Triggers: OnAfterUserConfirmation
Type: Code
User Automatic
Acccess: Everybody
Action: (the following)
PHP method...
if (!isset($_COOKIE)) {
$user = '[cookiename]';
setcookie(
'cookiename',
$user,
time() + (86400 * 120), // Expiration time: 120 days
'/', // Path
'.domain.com', // Domain
true, // Secure (HTTPS)
true // HTTPOnly
);
}
Triggers: OnAfterUserConfirmation
Type: Code
User Automatic
Acccess: Everybody
Action: (the following)
PHP method...
if (isset($_COOKIE)) {
$cookieValue = $_COOKIE;
$user = "[username]";
$to = "myname@domain.com";
$subject = "User $cookieValue registered again as $user";
$txt = "Text to be sent in the body of the email";
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type: text/plain; charset=UTF-8" . "\r\n";
$headers .= "From: info@xstream.gr";
if ($user !== $cookieValue) {
mail($to, '=?UTF-8?B?'.base64_encode($subject).'?=', $txt, $headers);
}
}
There's no functionality built in for that. Gateways only have basic access permissions, which would be checked against their account. I'm not sure how you would limit that to a specific device, sorry. Offline payments require manual confirmation so I suppose it doesn't really matter. When you're doing your book keeping to confirm the payments just reject anyone that didn't pay. Maybe only make the offline payment gateway available while an event is actively going on? Should be as simple as enable/disabling it.It would be nice if the "pay offline" button only appeared on our approved tablets
Document in what way? If registration asks for email address or phone number then they can probably just provide that and write it down. I don't see how else you could possibly document in person unless you offered printers to print out the offline payment slip as a form of confirmation.After a user is made this way, instead of verbally asking for the new username and writing it down, is there an easier way to document the new user, in-person?
It might be possible using the below in CB Auto Actions.The payment slip screen adds extra clicks. Is it possible to just redirect to the registration page with a fresh slate?
Where do i have to add it? Somewhere inside the above Code Auto Action? Where is the Auto Action URL?Simply add &format=jsonapi to the auto action URL
You should be able to just edit them in CB > User Management and give them a subscription to your free plan.1. How do I get them into the free plan manually (There are only 3 or 4 of them where this is applied)
If you want to move them to a different active subscription when they expire then yes you'd need CB Auto Actions for that. You can use the below to execute behavior on a plans subscription state change where you could use a CB Paid Subscriptions auto action to change their subscription.2. How do make sure when members expire the subscription plans also change to the free version? Would this require an Auto Action?