BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 2,761 through 2,770 (of 15,332 total)
  • Author
    Posts
  • in reply to: Create 'hidden' custom fields #438302
    Steven Zahm
    Keymaster

    @ Randy

    So, you need the field in the form, but hidden, correct? Untested but you should be able to this…

    Change the field type from text to hidden in your existing code.

    Add the code to the snippet:

    add_action( 'cn_meta_field-hidden', 'cn_register_custom_hidden_field', 10, 3 );
    
    function cn_register_custom_hidden_field( $field, $value, $entry ) {
        cnHTML::input(
            array(
                'type'    => 'hidden',
                'prefix'  => '',
                'class'   => '',
                'id'      => $field['id'],
                'name'    => $field['id'],
                'readonly' => isset( $field['readonly'] ) && TRUE === $field['readonly'] ? TRUE : FALSE,
                'before'  => '',
                'after'   => '',
            ),
            $value
        );
    }
    

    Hope that helps, let me know.

    in reply to: All data on home directory page #438283
    Steven Zahm
    Keymaster

    @ Brendan

    With the Circled template? Sorry, no. Circled is specially designed to be info lite on the listings page to provide high density of listing on the page for reduced user scrolling while providing a pleasant visual style.

    If you want all info on the page, I suggest use the Default template.

    Hope that helps, let me know.

    in reply to: review ;rating #438282
    Steven Zahm
    Keymaster

    @ nnvdaccess

    Sorry, no there is not an addon available for Connections for rating/reviews. I do get asked about it a few times a year. Just not sure there is enough demand.

    in reply to: Activate Top Menu #438222
    Steven Zahm
    Keymaster

    @ Brendan Pijuan

    Are you referring to the keyword search and category filter? If you are, then you need one of the premium templates to enable those features.

    Hope this helps, let me know.

    in reply to: Hyperlinks and adding options #438221
    Steven Zahm
    Keymaster

    @ Allan

    Edit the card.php file found here:

    ../wp-content/plugins/connections-circled/

    Look for this line:

    <h3><?php $entry->getNameBlock( array( 'format' => $atts['name_format'], 'link' => FALSE ) ); ?></h3>

    Change it to:

    <h3><?php $entry->getNameBlock( array( 'format' => $atts['name_format'], 'link' => TRUE ) ); ?></h3>

    To make this tweak update safe (more or less :) ), see this tutorial on custom template override files.

    Hope this helps!

    in reply to: review ;rating #438215
    Steven Zahm
    Keymaster

    @ nnvdaccess

    Sorry, no, I know of none

    in reply to: Post type,(not Category) #438207
    Steven Zahm
    Keymaster

    @ Mobarak ali

    Here’s a link to the quick start tutorial:

    Here’s a link on how to add categories, like- Wholesale, Retail, Offer

    Here’s a link on how to add entries (listings)

    These tutorial should be a great help to get you started.

    in reply to: Circle view profile no longer working for most #438206
    Steven Zahm
    Keymaster

    @ Kimberly

    Great to hear!

    in reply to: Hyperlinks and adding options #438205
    Steven Zahm
    Keymaster

    @ Allan

    RE: I would like the title of an entry in the directory to be a hyper link to that entry, however it doesn’t seem to work even when I have the option selected in the advanced settings

    This is the design of Circled, it has the “View Profile” link to view the entry. The only way to change this would be to edit the core PHP template file for the template.

    RE: I would like to add an option to links, at the moment the options are either blog or website, how would I add a third option for a link?

    Install the Code Snippets plugin, copy paste the following example code, tweaking the type as desired. Save and Activate the snippet.

    function cn_my_new_link_types( $options ) {
    
        $options['billing'] = 'Billing Website';
        $options['claims']  = 'Claims Website';
    
        return $options;
    }
    
    add_filter( 'cn_link_options', 'cn_my_new_link_types' );
    

    You can add as many new link options as you wish.

    Hope this helps!

    in reply to: Circle view profile no longer working for most #438092
    Steven Zahm
    Keymaster

    @ Kimberly

    The issue is the configuration you are using. Two (or more) [connections] shortcodes on the same page with each limited by category (assumption based on one list being officers and the other members).

    When you view a profile, only the first shortcode will be used to render the entry but is being limited by category which the entry may or may not exist in.

    You can do what you need but you need to create a second page. Name it “Person” (name can be anything really it does not matter). In the page content use only the [connections] shortcode with no options. Save the page. Note the page ID that WP assigns it. You can find it in the browser’s address bar.

    Now edit your existing directory page. Add the home_id shortcode option to every instance of the shortcode on the page.

    After you do this, it’ll work the way you need.

    Hope this helps, let me know.

Viewing 10 posts - 2,761 through 2,770 (of 15,332 total)