Support only during business hours : Monday to friday, from 8:30 am – 5:30 pm CEST

Due to the decrease in our staff due to vacations, our response time may be longer.

Be sure we're doing our best to manage your topic as soon as possible.

problem plugin paid membership pro

This topic is resolved
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • ruiz
    Participant
    • 9 Topics
    • 60 Posts
    @ruiz

    hi, i don´t know if this title going here…sorry…
    i try to use the plugin paid membership pro to show diferent content by level,it´s ok, but i have a problem, i use the register system of paid membership pro, and I have followed the instructions in this code

    function my_pmprorh_init() {
    	// don't break if Register Helper is not loaded
    	if ( ! function_exists( 'pmprorh_add_registration_field' ) ) {
    		return false;
    	}
    	// define the fields
    	$fields = array();
    	/*
    	$fields[] = new PMProRH_Field(
    		'field_328',                      // input name, will also be used as meta key
    		'select',                         // type of field
    		array(
    			'buddypress' => 'field_328',       // XProfile Field Name <-- !!!
    			'label'     => 'Tipo Usuario',       // custom field label
    			//'size'      => 40,              // input size
    			'options'   =>array('option_value' => 'Opcion 1','Opcion 2'),
    			'class'     => 'company',       // custom class
    			'profile'   => true,            // show in user profile
    			'required'  => true,            // make this field required
    			'levels'        => array( 1, 2 ),   // only levels 1 and 2 should have the company field
    		)
    	);
    */
    		$fields[] = new PMProRH_Field(
    		'field_328',                      // input name, will also be used as meta key
    		'text',                         // type of field
    		array(
    			'buddypress' => 'field_328',       // XProfile Field Name <-- !!!
    			'label'     => 'Tipo Usuario Seleccionado',       // custom field label
    			//'size'      => 40,              // input size
    			'value'       =>'Profesional',
    			//'class'     => 'company',       // custom class
    			'profile'   => true,            // show in user profile
    			//'required'  => true,            // make this field required
    			'readonly'  =>true,
    			'levels'        => array( 1 ),   // only levels 1 and 2 should have the company field
    		)
    	);
    		$fields[] = new PMProRH_Field(
    		'field_328',                      // input name, will also be used as meta key
    		'text',                         // type of field
    		array(
    			'field_328' => 'field_328',       // XProfile Field Name <-- !!!
    			//'label'     => 'Tipo Usuario',       // custom field label
    			//'size'      => 40,              // input size
    			'value'       =>'Estudiante',
    			'class'     => 'company',       // custom class
    			'profile'   => true,            // show in user profile
    		//	'required'  => true,            // make this field required
    			'readonly'  =>true,			
    			'levels'        => array( 2 ),   // only levels 1 and 2 should have the company field
    		)
    	);	
    	// add the fields into a new checkout_boxes are of the checkout page
    	foreach ( $fields as $field ) {
    		pmprorh_add_registration_field(
    			//'checkout_boxes',               // location on checkout pageç
    			'after_email',
    			$field                          // PMProRH_Field object
    		);
    	}
    	// that's it. see the PMPro Register Helper readme for more information and examples.
    }
    add_action( 'init', 'my_pmprorh_init' );

    and that works, but it duplicate field_328 and not appears in the xprofile page, where the user can edit and show, only show in admin view, can you help me please?

    ruiz
    Participant
    • 9 Topics
    • 60 Posts
    @ruiz

    it seems that it doesn’t synchronize with the data

    Jason
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 430 Posts
    @themoceratops

    Hi @ruiz,

    Unfortunately, we have no clue. ?‍♂️

    Please note that this issue is related with the use of Paid Memberships Pro and BuddyPress, not with the use of your theme. It’s best if you try to reach the plugin authors as they will be more informed and better suited to help you.

    To go further, we invite you to post your request on their support forums:

    Support


    https://buddypress.org/support/

    We remain available for all support requests related with the use of your theme.

    Best,

    ruiz
    Participant
    • 9 Topics
    • 60 Posts
    @ruiz

    thanks, i resolved it

    Jason
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 430 Posts
    @themoceratops

    Glad you were able to work it out! 🙂

    Best regards,

Roboraptor 🦖
Themosaurus Topic Closer

Hi there,

This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!

Best regards,
The Themosaurus team.

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘problem plugin paid membership pro’ is closed to new replies.

Troubleshooting Demo Imports

You're trying to setup your theme but you're experiencing errors when importing the demo content? Or you've just followed the setup guide but your website doesn't look exactly like our demo? These are common issues for which you can find easy and quick fixes.

Happy With our Support So Far?

Feel free to review our theme on Themeforest! It helps us making our products more known to new potential customers, which allow us more time to improve the quality and develop new features. #SharingIsCaring ❤️

Discover MatchPress

Skip • Like • Super-Like

Add powerful matching features like Member likes, skips, super likes, conditional private messaging and much more.

Setup Your Cera or Gwangi powered Community Website and Turn it into an iOS and Android App

15% discount for Cera users

To unleash the full power of your Cera or Gwangi theme, we have partnered with the Zipline team. Your community website can now be fully setup and turned into your very own custom app for iOS and Android.

Whether you've newly acquired the theme or already got your site up and running, Zipline got you covered. And we got you an incredible discount.

Holiday, Weather & Festive effects
to pimp your WordPress Site