BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 5,531 through 5,540 (of 15,332 total)
  • Author
    Posts
  • in reply to: User Registration with Gravity Forms #380315
    Steven Zahm
    Keymaster

    @ ottomek

    re: With the AAPPN site (Gravity Form Member Form) you are helping me with do I use the Gravity Forms User Registration add-on or will I be using the Connections add-on for Gravity Forms?

    Both. You would create a single form and set up both the Connections Connector and the User Registration add-on feeds.

    re: Assuming we want the user to create their own username. Is it an option if we have users submit Gravity Form and it creates their Directory Profile but we as admin person creates their WordPress username manually and email this to them?

    As far as user names go, you’ll be limited to whatever options that are available in the Gravity Forms User Registration add-on. Looking at the Gravity Forms User Registration add-on settings it seems you need to add a field to allow a user to choose their user name.

    Hope that answers your questions!

    in reply to: Add custom field not editable by Members #380314
    Steven Zahm
    Keymaster

    @ ottomek

    re: What would the snippet be to create this text field that only the WP admin could change but it would be read-only/displayed with each Members Profile Directory area.

    The following snippet should do the trick.

    // Register the metabox and field.
    add_action( 'cn_metabox', 'cn_register_custom_metabox_and_date_field' );
    
    function cn_register_custom_metabox_and_date_field() {
    
        $atts = array(
            'title'    => 'Expiration Date',         // Change this to a name which applies to your project.
            'id'       => 'expiration_date_metabox', // Change this so it is unique to you project.
            'context'  => 'normal',
            'priority' => 'core',
            'fields'   => array(
                array(
                    'name'       => 'Date',            // Change this field name to something which applies to you project.
                    'show_label' => TRUE,              // Whether or not to display the 'name'. Changing it to false will suppress the name.
                    'id'         => 'expiration_date', // Change this so it is unique to you project. Each field id MUST be unique.
                    'type'       => 'datepicker',      // This is the field type being added.
                ),
            ),
        );
    
        if ( is_admin() && current_user_can( 'manage_options' ) ) cnMetaboxAPI::add( $atts );
    }
    

    Hope that helps!

    in reply to: display after search #380313
    Steven Zahm
    Keymaster

    @ Alireza

    If you give me a temp admin login, I’ll take a look. The details can be posted here as a private reply.

    in reply to: have not heard from you #380129
    Steven Zahm
    Keymaster

    @ Jess

    Ok, I found and just sent it again, please let me know if you do not receive it.

    in reply to: have not heard from you #380128
    Steven Zahm
    Keymaster

    @ Jess

    Hmmm… I did reply. I’ll resend my initial reply.

    Steven Zahm
    Keymaster

    @ Carolin

    re; So if I want to take out multiple options and add multiple ones, do I just duplicate the lines incl. the semi-colon at the end?

    Yep, that is correct.

    in reply to: Excerpt Plus v. cMap #380099
    Steven Zahm
    Keymaster

    @ Carolin

    Regardless of them template you choose, you’ll have to edit its PHP files in order to accomplish the requirements. The easiest path seems it would be to edit the cMap template to add the except. Here’s how…

    Edit the card.php file found in this folder:
    ../wp-content/plugins/cmap/

    Add $entry->getExcerpt(); where you want the excerpt to be displayed. I highly recommend reading this tutorial on how to make this change update safe.

    Hope that helps!

    in reply to: Display custom fields shortcode? #380098
    Steven Zahm
    Keymaster

    @ Ed

    re: I could’ve sworn there was a shortcode I used to display custom fields before.

    Maybe it was custom???

    re: I appreciate the great support and great plugin!

    No problem, glad to helps!

    If you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!

    https://wordpress.org/plugins/connections/

    Steven Zahm
    Keymaster

    @ Carolin

    I highly recommend the Code Snippets plugin. Add a new snippet, copy/paste the example I gave and then save and activate the snippet.

    Hope that helps!

    Steven Zahm
    Keymaster

    @ Carolin

    You can use the cn_education_level_options filter to change the options.

    Here’s an example:

    add_filter( 'cn_education_level_options', 'cn_change_edu_lvl' ) );
    
    function cn_change_edu_lvl( $options ) {
    
        unset( $options['1'] ); // Remove 1st - 4th Grade
    
        $options['50'] = 'CPA Qualification'; // Add an education option.
    
        return $options;
    }
    

    Here’s the list of the existing options:

    '-1' => __( 'Choose...', 'connections_education_levels'),
    '1'  => __( '1st - 4th Grade', 'connections_education_levels'),
    '5'  => __( '5th - 6th Grade', 'connections_education_levels'),
    '7'  => __( '7th - 8th Grade', 'connections_education_levels'),
    '9'  => __( '9th Grade', 'connections_education_levels'),
    '10' => __( '10th Grade', 'connections_education_levels'),
    '11' => __( '11th Grade', 'connections_education_levels'),
    '12' => __( '12th Grade No Diploma', 'connections_education_levels'),
    '13' => __( 'High School Graduate', 'connections_education_levels'),
    '15' => __( 'Some College No Degree', 'connections_education_levels'),
    '20' => __( 'Associate\'s Degree, occupational', 'connections_education_levels'),
    '25' => __( 'Associate\'s Degree, academic', 'connections_education_levels'),
    '30' => __( 'Bachelor\'s Degree', 'connections_education_levels'),
    '35' => __( 'Master\'s Degree', 'connections_education_levels'),
    '40' => __( 'Professional Degree', 'connections_education_levels'),
    '45' => __( 'Doctoral Degree', 'connections_education_levels'),
    

    You can unset any of the numbers and when adding a new item, you can use any number which is not being used. Infact you are not limited to numbers, you could make them unique strings.

    Hope that helps!

Viewing 10 posts - 5,531 through 5,540 (of 15,332 total)