BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 5,931 through 5,940 (of 15,332 total)
  • Author
    Posts
  • in reply to: Displaying Checkbox Content #373342
    Steven Zahm
    Keymaster

    @ Matt

    The fields you set up are a individual checkboxes. These are not saved in the db as an array, they are saved as individual unique rows in the db. A checkbox group, would be saved as a single unique row as a json encoded array in the db.

    I think the confusion is that the fields are setup and registered using arrays which has no bearing on the date is saved and retrieved (well, in a way it does, based that is based on the field type).

    re: How do I get it grab all the keys for each region_id_# (1-8)? Do I need to copy and paste the array 7 more times and customize each of them?

    Yes, take the code I gave and change the key value to the registered field ID.

    re: I thought arrays had the ability to grab all the info and store it, so I can pull out what I need?

    You can if you use a checkbox group

    Hope that helps.

    in reply to: Search and Select category not working #373341
    Steven Zahm
    Keymaster

    @ Alfonso

    That is indicative of a web host issue with sending email and this error that is being reported by WordPress. Try the Postman plugin to setup mail to be sent thru a service other than the webhost.

    in reply to: Changing defaults in 'Manage' and 'Add Entry' #373339
    Steven Zahm
    Keymaster

    @ David

    re: When adding a new entry there are some sections which won’t be needed (either image or logo, Messenger IDs)

    To hide fieldsets use the Screen Options.

    re: all entries will be ‘Organisations’

    Install the Code Snippets plugin and add a new snippet with the following code.

    function cn_default_entry_type( $atts ) {
    
        $atts['default']['type'] = 'organization';
    
        return $atts;
    }
    
    add_filter( 'cn_metabox_publish_atts', 'cn_default_entry_type', 11 );
    

    Save and Activate the snippet.

    re: all details would be ‘work’ rather than home or something else.

    Add a new Code Snippet with the following code:

    function cn_change_address_types_order( $options ) {
    
        $options = array ( 'work' => $options['work'] ) + $options;
    
        return $options;
    }
    
    add_filter( 'cn_address_options', 'cn_change_address_types_order' );
    
    function cn_change_phone_types_order( $options ) {
    
        $options = array ( 'workphone' => $options['workphone'] ) + $options;
    
        return $options;
    }
    
    add_filter( 'cn_phone_options', 'cn_change_phone_types_order' );
    
    function cn_change_email_types_order( $options ) {
    
        $options = array ( 'work' => $options['work'] ) + $options;
    
        return $options;
    }
    
    add_filter( 'cn_email_options', 'cn_change_email_types_order' );
    

    re: Lastly, I looked at the option to ‘customise’ a template … it just takes me to the WP customisation of the Home Page

    Make sure the directory home page is correctly set. Make sure the [connections] shortcode is the only page contents on the page set as the directory home page.

    Hope that helps!

    in reply to: Internal Error with Add New Entry #373338
    Steven Zahm
    Keymaster

    @ Sherri

    The first thing to try. Are you adding entries with images? If you are, try adding an entry without an image. What is the result?

    in reply to: Fatal error prevents return to plugins page etc. #373337
    Steven Zahm
    Keymaster

    @ David

    Great to hear that 8.5.14 worked for you! Seems my work arounds have worked!

    in reply to: CSV Import? #373335
    Steven Zahm
    Keymaster

    @ Savanna

    There is a CSV Import extension available.

    Hope that helps!

    in reply to: c map bio #373334
    Steven Zahm
    Keymaster

    @ gail

    I just checked the site again and it seems to be working fine now. Please try force refreshing your browser. You’re likely viewing a locally cached version of the page.

    in reply to: Multi-level sorting broken #373333
    Steven Zahm
    Keymaster

    @ Lisa

    From what I can see on the page, there appears to be an error in the form that submits the values to return. Maybe. It really depends on the code behind it. I can help and fix whatever is broken but there’ll be a fee. If you’re interested contact me using the contact link at the very bottom of the page.

    in reply to: SSL errors on images in Notes sections #373332
    Steven Zahm
    Keymaster

    @ Leland

    This is not a bug with Connections…

    When you inserted the image in the notes field you did it setting the URL to start with http. It should be https. Notice the trailing s. Edit the entries which you inserted an image and correct the URL and the mixed content errors will go away.

    Hope that helps!

    in reply to: Show Notes and Show Bio links not working #373331
    Steven Zahm
    Keymaster

    @ Saffron Quantrell

    Great to hear it is resolved!

Viewing 10 posts - 5,931 through 5,940 (of 15,332 total)