BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 2,661 through 2,670 (of 15,332 total)
  • Author
    Posts
  • in reply to: Import Logos all from one folder with ID #440718
    Steven Zahm
    Keymaster

    @ Randy

    Great to hear!

    Steven Zahm
    Keymaster

    @ carolin

    RE: it threw up this error message when I tried to install it

    Try as I might, I was not able to replicate, on you site or mine :(

    RE: well, unless you did, it does appear that the User Switching plugin is installed

    Nope, I did not install. The error must have occurred after User Switching was already activated. Which would make sense because that part of the Connections code only runs when doing plugin update checks on the Plugins admin page.

    RE: would you suggest that i should export all the connections data in a csv file and then delete completely the connections plugin — and then after deleting the connections plugin, reload it fresh and import the csv file of data?

    No, definitely not. I did log back in this morning and switched accounts between all admins and I was not able to replicate the issue. I was always able to filter by all categories.

    Try visiting the page with your account with a private browser window. Does that fix it?

    Steven Zahm
    Keymaster

    @ carolin

    What odd here is Connections should not really care about the user login for an admin. If you install the User Switching plugin, I can log back in and switch to your account so I can see and perhaps correct the issue.

    in reply to: displaying partial address #440643
    Steven Zahm
    Keymaster

    @ Andrey

    Add this to the existing shortcode on your directory page:

    addr_format='%city%, %state%'

    Hope that helps, let me know.

    Steven Zahm
    Keymaster

    @ carolin

    Did you correct the issue? I’ve logged in and have no trouble viewing all categories. Try logging into the account you made for me if you are still experiencing the issue. Maybe it is somehow just your account?

    in reply to: All places in one map #440625
    Steven Zahm
    Keymaster

    @ David

    Sorry, no, this is not yet a feature in Connections.

    Steven Zahm
    Keymaster

    @ carolin

    Hard to say. Which version did you upgrade from? All the recent releases have been somewhat minor in nature. If you can give me an admin login, I can take a look. Details can be posted here as a private reply.

    in reply to: Understanding getPhoneNumbers function #440622
    Steven Zahm
    Keymaster

    @ Kenneth

    I do not really understand what you are trying to do… but here’s the correct code which will get the results you expect:

    function update_info( $entry ) {
    
        $data = array();
        $IdIn = $entry->getId();
        $html = new cnOutput();
    
        $html->set( $IdIn );
    
        $data['phone_numbers'] = array(
            'raw'      => $entry->getPhoneNumbers(),
            'rendered' => $html->getPhoneNumberBlock( array( 'return' => true ) ),
        );
    
        var_dump( $data ); die();
    }
    
    add_action( 'cn_updated-entry', 'update_info' );
    

    Hope that helps!

    in reply to: GRIDDER square photos #440551
    Steven Zahm
    Keymaster

    @ Lynan

    The issue is that the theme is overriding a Gridder style. Add the following to the theme’s custom CSS area:

    #cn-gridder span.title {
        height: auto;
    }
    

    Hope this helps, let me know!

    in reply to: Understanding getPhoneNumbers function #440550
    Steven Zahm
    Keymaster

    @ Kenneth

    I do not recommend changing the defaults of cached and saving when using the function. They’re for internal use.

    The cache is the data stored in the main table which represents the data in the dependent table. For example. The entry’s phone numbers are saved in the phone number table and as a serialized representation of the phone number table data in the primary entry table in the phone column. This allows the phone data to be displayed without having to do extra data queries. The is much more performant. The only time the actual phone number table data is used is when you edit the entry and when searches are done. Performing a search on a table is far faster that trying to search serialized strings.

    Hoe that helps!

Viewing 10 posts - 2,661 through 2,670 (of 15,332 total)