BBPress Kenneth Ho : Replies Created

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: Understanding getPhoneNumbers function #440624
    Kenneth Ho
    Participant

    Thanks Steven. I’ll try it out, I just wanted to store an entry into another database after it gets updated on WordPress.

    in reply to: Understanding getPhoneNumbers function #440557
    Kenneth Ho
    Participant

    Thanks, Steve. What I want to do is get the phone numbers after an update action on an entry. I tried the following:

    do_action( 'cn_updated-entry',$this);
    
    function update_info( $this ) {
    
        $data = array();
    
        $entry = new cnEntry($this);
    
        $IdIn = $entry->getId();
    
        $data['phone_numbers'] = array(
    
            'raw' => $entry->getPhoneNumbers( 'raw'),
    
            'rendered' => $entry->getPhoneNumbers(),
    
        );
    
    }
    
    add_action('cn_updated_entry', 'update_info');
    

    Whenever I examine $data[‘phone_numbers’] the array with the keys ‘raw’ and ‘rendered” seem to show empty values for both keys. Can you tell me what’s wrong?

    • This reply was modified 8 years, 9 months ago by Steven Zahm. Reason: Cleanup up code formatting to make it easier to read
    in reply to: Exporting Entry ID #426385
    Kenneth Ho
    Participant

    Maybe my source of confusion is the entry ID is not the same as the number that I assigned when using the custom entry order plugin? I was expecting the entry ID to reflect the number I assigned when using the custom entry order after exporting the entries to a csv file but I guess that’s not true? Also if I want to update an entry I should use the the entry ID and not the number I for custom entry order?

    in reply to: Searching Through Directory #426129
    Kenneth Ho
    Participant

    Thanks for the help. I would like to try the beta regardless. I bought the power pak recently. Do you need my email or do you have a record of it already. Thanks

    in reply to: Searching Through Directory #425873
    Kenneth Ho
    Participant

    Would something like your example at https://sscit.org/ help? If so, can I get the beta to try?

    in reply to: Bulk delete of users doesn't eliminate them #425451
    Kenneth Ho
    Participant

    @steven

    Sorry, my mistake, I think I was looking at the wrong category. There are some extra users in another category that accounts for the 15.

    • This reply was modified 9 years, 2 months ago by Kenneth Ho.
    Kenneth Ho
    Participant

    @Steven

    Could you tell me the exact format for the entries in the option column of the primary table?

    Kenneth Ho
    Participant

    Thanks Steven. It’s helpful, When is the next update of connections?

Viewing 8 posts - 1 through 8 (of 8 total)