BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 3,041 through 3,050 (of 15,332 total)
  • Author
    Posts
  • in reply to: Custom Fields #430919
    Steven Zahm
    Keymaster

    @ Campbell

    Here’s a shortcode which should filter the list based on the checkbox. Maybe this will work for you?

    [connections meta_query='{"meta_query":{"0":{"key":"checkbox_id","value":"","compare":"!="}}}']

    Change the checkbox_id in the shortcode to be the custom field ID you used when registering the checkbox field.

    in reply to: conflict with Advanced Ads #430915
    Steven Zahm
    Keymaster

    @ shanna

    RE: I’m going to bring your solution to the attention of Thomas at Advanced Ads.

    I’ve already been in touch. They’re reviewing my proposed change so it may make it a in future update to their plugin.

    Thanks for your patients in sorting this issue out!

    in reply to: Illegal string offset & Invalid argument supplied #430914
    Steven Zahm
    Keymaster

    @ James

    I was able to locate and correct the bug! It is now fixed on your site and you no longer receive the error. The fix will be included in the next update as well. Thanks for your help!

    Steven Zahm
    Keymaster

    @ Bertha

    I just release an update to the CSV Import extension which includes the beta support of importing of the photo and logo from a supplied URL. Activate your license for the CSV Import on your site, and you’ll be able to install the update.

    Hope this helps, let me know.

    in reply to: Link to details ends in 404 #430903
    Steven Zahm
    Keymaster

    @ Rene

    Navigate to the WP Permalinks Settings admin page and remove index.php from your permalink structure. This will make it compatible with Connections and result in more SEO friendly permalinks.

    Hope this helps, let me know.

    in reply to: directory in multiple pages not working #430902
    Steven Zahm
    Keymaster

    @ Katia

    On those pages, switch the WP post editor to the text tabs. What are the exact shortcodes used on those two pages?

    in reply to: Tweaking Core Templates #430631
    Steven Zahm
    Keymaster

    @ Patrick

    Copy the card folder, do not move it then the error will not occur. I’ll be releasing an update today that will include a fix so the include_once warning does not occur when the folder is moved.

    Apologies for the trouble.

    in reply to: What template file to add another dropdpwn? #430630
    Steven Zahm
    Keymaster

    @ Adam

    You do not really add it to a template file, sort of… so it is somewhat difficult to explain…

    I see you’ve purchased cMap sooo… you could add the code to the cmap.php file. I recommend using the Code Snippets plugin to add the drop down. This way adding the drop down is update safe.

    You would hook into the cn_action_list_before-cmap action to render the drop down. Example:

    add_action( 'cn_action_list_before-cmap', 'cn_add_gender_dropdown', 5 );
    
    function cn_add_gender_dropdown() {
        //echo you code for the drop drown
    }
    

    To make it functional you will also need to hook into the cn_list_retrieve_atts-cmap filter like so:

    add_filter( 'cn_list_retrieve_atts-cmap', 'cn_gender_meta_query' );
    
    function cn_gender_meta_query( $atts ) {
        // NOTE: only set the meta query if the user has selected a gender
        $atts['meta_query'] = array( 'meta_key'=> '{custom-field-id}', 'meta_value' => '{gender}');
        return $atts;
    }
    
    in reply to: What template file to add another dropdpwn? #430531
    Steven Zahm
    Keymaster

    @ Adam

    How are you setting the gender?

    in reply to: Custom Fields #430530
    Steven Zahm
    Keymaster

    @ Campbell

    Sorry, but there is not presently a way to search on the value of a checkbox. There is a shortcode option you could use to filter the results based on it though, actually maybe … is it a single checkbox or a checkbox group?

Viewing 10 posts - 3,041 through 3,050 (of 15,332 total)