Hi!
I don’t know if this is the best channel for a bug report, but here it goes. After upgrading to v1.8.2, I started getting the following error in my debug log file (base http path redacted for brevity):
Cannot redeclare pmprorh_sanitize() (previously declared in public_html/wp-content/plugins/paid-memberships-pro/includes/deprecated.php:133) in public_html/wp-content/plugins/pmpro-register-helper/pmpro-register-helper.php on line 662
When I rolled back to v1.8.1 the error message stopped appearing. It seems pmpro and pmprorh are conflicting with each other. The main symptom of this problem in my interface was that registry form labels vanished from the generated HTML.
Thanks!
]]>I cannot add any new user field group or field in the settings dashboard. I just click the add button and nothing happens. Even if I change the text of an existing group (there is only one group made so far) it does not allow me to save changes, the save changes button is greyed out. Any idea how or why this might be happening and how to resolve it? I am up-to-date with all plugins and WP.
Essentially, nothing works on the user fields settings page of the plugin. Frustrating. I have tried multiple browsers too and it’s the same issue on Chrome, FFox etc
Please advise!
Thank you
Since updating to PHP 8.0, I’m getting the following error:
PHP message: PHP Fatal error: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, non-static method PMProRH_Field::saveFile() cannot be called statically in /www/austa_486/public/wp-content/plugins/pmpro-register-helper/pmpro-register-helper.php:937
I’ve taken a look at pmpro-register-helper.php line 937, which contains the following:
if(!empty($field->save_function))
call_user_func($field->save_function, $user_id, $field->name, $_POST[$field->name]);
And then at class.field.php:
elseif($this->type == "file")
{
//use the file save function
$this->save_function = array("PMProRH_Field", "saveFile");
}
Any thoughts?
]]>Dear all, have a great day.
With today’s scenario, we have received a lot of data from our users and we always need to process it after receiving it. But capturing this same data through Register Helper or searching the meta data is complex.
One possibility would be to connect the Webhook through Zapier, forwarding all information to Active Campaign or some other type of control. I need to connect PMPro with Zapier through Webhook, only this way we can get some kind of solution for sending data.
I checked the procedure so that all the fields were filled in, and even though they were filled in, they do not correspond to the expectation, and do not provide a solution to the problem.
Could anyone help us?
]]>Hi, this plugin gives me a fatal error and I can’t activate the plugin:
Fatal error: Cannot redeclare pmprorh_add_registration_field() (previously declared in public_html/wp-content/plugins/paid-memberships-pro/includes/deprecated.php:71) in public_html/wp-content/plugins/pmpro-register-helper/pmpro-register-helper.php on line 116
I tried to delete and reinstall the plugin and same error.
Plugin version: 1.7
PMP version: 2.9
WP version: 6.0.1
I have my additional registration fields all setup, but would like to change the “More Information” text to “Company Information”. I do not see “More Information” in the code example. How do I go about changing that? And perhaps adding more headers to break up a form?
]]>I am using this plugin to add a what are you interested in field, I would like a directory that lists only the people interested in A, is this possible?
]]>Hi there,
I’ve given a try to this plug-in which sounds great, and the snippet provided here do work, but only on paid membership levels.
Isn’t it possible to add field for free membership level ?
]]>Is it possible to add a field type for Phone and format it with (123) 456-7890?
Using a text field allows them to enter text and a number field has the up/down arrows.
Thanks!
]]>For time to time, usually about a week, courses disappear from memberships. the courses that disappear differ, but when a course disappears, it disappears from every membership it is in. I only find out when users message me saying they can not access a course.
Any help would be appreciated.
]]>I’ve added custom fields successfully with Register Helper, but would like to show some of these values on a member’s page using shortcodes – is this possible?
One of my custom text input fields is ‘managername’ but when I try
[pmpro_member custom_fields=”managername”] it just prints ‘Array’ – have I got the syntax wrong?
Thanks
]]>Hello.
I am working with PMP and have utilised PMPro Register Helper Add On and code snippets but these fields are not being saved to the member’s database.
When i export, only the standard fields are available.
Please advise asap as the site is going live in the next couple of days.
Thank you.
Hi, so far I have been able to view samples of date picker field, however nothing on a date range selection field. Is it possible at all?
Thanks
]]>Hi,
I’m going to allow one group of my users to upload some files via their profile in PMPRO. I would then like to display those uploaded files on their post where they are post author.
I checked the guide, but can’t seem to find anything.
I’m not using the Member Profiles.
Any advice?
Thanks
]]>Hi there listen to me please i have to make custom field on checkout page https://unguruyourlife.com/membership-account/membership-checkout/?level=7
named Upload photo ID or either Drivers License or Passport but when i upload and checkout then it image file is not going into the user’s profile when i checked from wp admin by going to users can you please tell me why this is happening and one more thing i want that any one who subscribe will need admin approval before become member in the site or membership
]]>I need to restrict membership to users with email addresses from a specific domain.
For example, for automatic discount codes on Woocommerce, it allows me to create a rule with a wildcard like this:
*@companyurl.com
This applies the rule to all email addresses from @companyurl.com.
With Register Helper Add On this doesn’t work and it looks like you have to specify each individual address, which is not feasible for us.
Will you please confirm if there is a way to manage this?
Thank you
]]>Hi,
I read how to add new custom fields, I actually just want to add labels and descriptors to the standard fields that are there already. On the membership checkout page, the username, email, confirm email, password and confirm password field labels are not there. Please can anyone assist
Hello!
Not sure if this is a issue for the “Register Helper” addOn or for the “State Dropdown” addOn…
Im using this code, but I cannot update the country/state on profile user page. When I change the country/state and click save, I get the message “profile changed”, but when I refresh the page, the changes are not saved.
This happens on the WP-admin page and frontend page too.
Thanks for your help!!!!
function add_billing_fields_to_profile()
{
global $bcountry;
global $bstate;
//check for register helper
if(!function_exists("pmprorh_add_registration_field"))
return;
//define the fields
$fields = array();
$fields[] = new PMProRH_Field(
"bcountry",
"select",
array('label'=>'Pais:',
"options"=>array
(
$bcountry
),
"profile"=>true, "required"=>true,
)
);
$fields[] = new PMProRH_Field(
"bstate",
"select",
array('label'=>'Provincia:',
"options"=>array
(
$bstate
),
"profile"=>true, "required"=>true,
)
);
//add the fields into a new checkout_boxes are of the checkout page
foreach($fields as $field)
pmprorh_add_registration_field("profile", $field);
}
add_action("init", "add_billing_fields_to_profile");
]]>
I have fields that I only want to show up on the profile page. I know I can just just_profile for this, but where in the code am I specifying just_profile? None of your support articles touch on how to use the “8 locations”. They just say you can use them.
]]>Hi,
First of all, thanks for an amazing and flexible plugin.
Some context, for members who choose to renew by check, we would like them to submit a picture of their check and a few other receipt details before checkout.
Thus, this field data does not need to be saved in the database and made available to the user as it will cause confusion the second time the user renews their membership (as the image of the previous check will appear).
I have attempted to use the ‘save_function’, with the (trimmed) code below:
function my_pmprorh_init() {
if ( ! function_exists( 'pmprorh_add_registration_field' ) ) {
return false;
}
$fields = array();
$fields[] = new PMProRH_Field(
'receipt_bank',
'text',
array(
'label' => 'Name of Bank',
'size' => 15,
'required' => true,
'profile' => 'admin',
'save_function' => 'pmpro_delete_info',
)
);
add_action( 'init', 'my_pmprorh_init' );
function pmpro_delete_info ($user_id, $field_name, $field_value ) {
delete_user_meta ($user_id, $field_name, $field_value);
}
However, by using this save_function, the data from the field is not delivered to the ‘Membership Checkout’ email notification, with only !!receipt_bank!! being sent.
I am not sure if this is me barking at the wrong tree by (mis)using the save_function, or it is just due to my terrible coding skills.
I’ll really appreciate if someone can point me to the right direction. Thanks!
]]>I’ve added a select filed dropdown, which is a require field on the checkout page but it dose not work.
on submit i keep getting a message that this field is required even tho you have select an option from the dropdown???
another issue is where do i see what users have selected from the backend (admin) after taken the required off on submit i can not see anything from the dropdown ??
]]>Hi
I am using “Paid Memberships Pro – Register Helper Add On” plugin and added code in functions.php file to create a custom checkbox. checkbox is added and showing in “Account Information” section on checkout page.
screenshot: https://prntscr.com/vl7orw
Now I want to charge one time extra fee from user. If checkbox is checked, $5 should be added in the billing amount.
I tried the below link, but now seem working, fields were not showing on checkout page
https://gist.github.com/andrewlimaza/7a0dcf8478afafb0ce7126ac70cdb667
Please guide me how this can be done.
waiting for your quick response.
Thanks
]]>Hello
When a new user signs up, there is an auto-email triggered with info about the new user but along with the extra fields are also added in the email… we need to remove only that from this email how can we do that?
As I have added those extra fields to show in profile only (edit profile) so always the extra fields are dumped in the email body with questions and all relevant empty data whenever a new member joins…
Is there any file that needs to be edited and comment out those lines to stop this?
Please help @andrewza thanks in advance…
]]>How do we add profile pic to upload and show this it on my account page and to edit on your profile page too…
]]>Hello
Can we have a better-looking calendar like normally we see of a popup/open calendar when we click on the calendar icon…I am using the “date” field… this looks a bit crude screenshot: https://snipboard.io/jzckU5.jpg
thanks
]]>Hi
https://snipboard.io/FoDvdw.jpg
As per the above screenshot the required = true parameter is already there but it is not working. even if the field is empty the profile gets updated there is no error shown…
What am I missing here?
thanks
I’m currently using RH 1.6.1 with PMPro (free) 2.4.4. There is an update to RH 1.7 available, but when I try to update, I get the following error message:
Update failed: You must enter a valid PMPro Plus License Key under Settings > PMPro License to update this add on.
Does RH now require a PMPro license key? It did not when I installed it. If not, how do I update it?
Harry Z
]]>PMPro looks to be an excellent plugin, but I just can’t understand why the ability to add extra fields has to be done in such a difficult way. Most users will have different field requirements for their organisation, so why not provide this functionality within the core plugin? A lot of people aren’t coders, me included, and this just puts me off completely which is a major shame.
Can you not just include this in the core or create a simple add-on that enables extra fields to be added in the WP admin UI?
]]>I am using the paid membership pro, I needed to add more fields to the membership checkout fields.
I have added more fields using the Register Helper Add On plugin, but it is not showing during membership checkout even though i have added it to page and chosen “checkout page” for location.
The sad thing is the documentation for this Add on is very very very old. It looks nothing like what the current plugin is. So I don’t know what I am doing wrong.
Is there a latest video or documentation for the “Register Helper Add On plugin”
]]>Hello,
Is it possible to set some validation to registration fields?
I mean
1. USERNAME field: I want to set minimum/maximum lenght (ideally in relation to membership levels; for example: FREE level – minimum username lenght: 5 characters, PAID level – minimum username lenght: 3 characters)
2. Email address field: allowed email addresses only from specific domains – for example: *@abc.com (everyone who will try to provide email address from other domains will receive an error message)
Thanks in advance for any help
Best regards
]]>