BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 9,801 through 9,810 (of 15,332 total)
  • Author
    Posts
  • in reply to: I need the "Show Details" tab back, Steve #308098
    Steven Zahm
    Keymaster

    @ Joel

    I’m assuming you mean the bio content tray that automatically will show if there is text entered in the bio field for the entry, yes?

    Well, that link shows automatically. It will only not show if the enable_bio shortcode option for cMap was set to false. Sooo…

    Edit the page where the [connections] shortcode exists and remove the enable_bio="false" shortcode option.

    That will do the trick.

    Hope that helps!

    in reply to: Most Locations pointing to the same wrong location #308097
    Steven Zahm
    Keymaster

    @ Xavier

    Well, this is a new one. If it is fine in the DB and when you edit the entry, I honestly have no clue where the localization conversion is occurring. If it was the DB doing the conversion as the data is read, then when you edit the entry those fields would show the comma instead of the period… and that would have been my guess as to what’s going on.

    In order to track this down, I will need access, temporarily, to the WP admin as an admin, FTP access and access to phpMyAdmin.

    in reply to: Using cMap – Can't access old account #308096
    Steven Zahm
    Keymaster

    @ Leo

    All purchases have been change to reflect your current email address and will show up in your purchase history.

    Hope that helps!

    in reply to: Import Organisation or Individuals #308095
    Steven Zahm
    Keymaster

    @ Olivier

    To summarize my reply here

    Sounds like you are using an old version of the import. The entry type can be forced to an org, but first and last names will be discarded because and org can not have a first and last name … they have a contact name.

    I hope my other reply helps you in the future!

    in reply to: Cannot modify header information #308094
    Steven Zahm
    Keymaster

    @ Bob

    Yes, it is harmless. It is simply a notice for devs. The warning is only being shown because the notices are being shown.

    in reply to: Entry Type Organization, but not set #308093
    Steven Zahm
    Keymaster

    @ Olivier

    re: because an organization entry can not have a first and last name… Why not?
    I’ve never seen an organization (business) that had a first and last name with the possible exception sole proprietorship, even then many operate under a org (business) name. So, Joe Smith and Bros Plumbing would still be an org name even though Joe Smith is within the org (business) name. Joe Smith would be its contact name, not the org name. So, with that said, an org can not have a first and last name and it will not be saved.

    re: If you want to force importing Organization that would override the automatic selection based on “Last Name”. I just tested it and it’s unfortunately not working.
    Sounds like you’re using an old version of the CSV Import.

    re: The best would be to have a relational database with 1 Org. to n Ind.
    Sure, if there were enough of a demand for such a structure. From my experience in supporting Connections that’s a level of complexity that would be lost on most and not really even needed to meet their needs.

    @re: Connexion\Plugins\connections-csv\submenu\csv.php I modified line 253
    Looks like you’re using CSV Import 0.8. That’s pretty old. The current version is 1.2. You should really update. You can download it from your purchase history.

    Updating will not change the entry type logic, if anything it is a bit more explicit:

    /*
     * Attempt to determine the entry type by the data supplied in the CSV
     * If the type is not supplied, it must be either these values:
     *
     *      * individual
     *      * organization
     *
     * If it can not be determined by the supplied data, unset the row.
     */
    
    // Valid entry types.
    $entryTypes = array( 'individual', 'organization' );
    $entryType  = isset( $row->entry_type ) && ! empty( $row->entry_type ) ? strtolower( $row->entry_type ) : NULL;
    
    // Set the entry type if it was supplied in the CSV file.
    // If the entry type was not supplied, attempt to guess it from the supplied data.
    if ( 'individual' == $entryType &&
         ( ( isset( $row->first_name ) && ! empty( $row->first_name ) ) && ( isset( $row->last_name ) && ! empty( $row->last_name ) ) ) ) {
    
        $entry->setEntryType( 'individual' );
    
    } elseif ( 'organization' == $entryType && ( isset( $row->organization ) && ! empty( $row->organization ) ) ) {
    
        $entry->setEntryType( 'organization' );
    
    } elseif ( ( isset( $row->first_name ) && ! empty( $row->first_name ) ) && ( isset( $row->last_name ) && ! empty( $row->last_name ) ) ) {
    
        $entry->setEntryType( 'individual' );
    
    } elseif ( isset( $row->organization ) && ! empty( $row->organization ) ) {
    
        $entry->setEntryType( 'organization' );
    
    }
    

    re: unfortunately I lost all the last names
    You can force entries to be imported to a specific type, as explained, but an org entry can not have a first and last name, the data will not be saved.

    To me, and I’m making assumptions here, it sounds like you’re really importing individuals that are part of an org/dept, not the other way around.

    Import your csv file as individuals with first and last names, do not make them contact names because that is completely different. Make sure each individual has their org and dept fields set.

    Now, go to the Connections : Settings admin page and click the advanced tab. Enable the link options for org and dept.

    You’ll still be presented with a list of individuals but their org and dept names under their names will be links. When a user clicks on those links the results will be filtered by the org or dept the user clicked.

    I hope it helps get you closer to what you’re trying to achieve.

    in reply to: Entry Type Organization, but not set #308092
    Steven Zahm
    Keymaster

    @ Paul

    re: But now, there is only one entry per organization and the organization appears multiple times… Is there anything that can be done about this?
    In short, no, maybe, Connections does not create relationships between entries. It sounds to me like you’re trying to import individuals that are within a org/dept and not a list of organizations. Import your list as individuals with first and last names, do not make them contact names because that is completely different. Make sure each individual has their org and dept fields set too.

    Now, go to the Connections : Settings admin page and click the advanced tab. Enable the link options for org and dept.

    You’ll still be presented with a list of individuals but their org and dept names under their names will be links. When a user clicks on those links the results will be filtered by the org or dept the user clicked.

    There’s a lot of assumptions I’m making … but, I hope it helps get you closer to what you’re trying to achieve.

    in reply to: Cannot modify header information #308090
    Steven Zahm
    Keymaster

    @ Bob

    Seems you or web host has the server setup to show PHP notices. This is not a good practice for production servers. Errors and notices should be logged to a file outside of the public_html directory so it is not publically browsable.

    In this instance it is showing a harmless notice for devs so they know a function has been deprecated so they can plan on removing its use at a later date.

    This WordPress doc page explains more about PHP warning and notices:
    http://codex.wordpress.org/Debugging_in_WordPress#PHP_Errors.2C_Warnings_and_Notices

    What you need to do is add the following to the wp-config.php file:

    define('WP_DEBUG', false);
    define('WP_DEBUG_LOG', false);
    define('WP_DEBUG_DISPLAY', false);
    

    That should fix it up.

    in reply to: Link to add/edit entry not showing #308058
    Steven Zahm
    Keymaster

    @ Carl

    The only support forum thread I could find for is here:
    http://connections-pro.com/support/topic/adding-pagination-from-premium-to-another-template/

    There were a couple email back and forths, each to which was replied to. Do you have the link to the forum thread you started? I’d like to see why the forum plugin did not notify me…

    re: I am NOT receiving notification of a new entry even though I have the checkmark ticked under the Form tab.
    I suspect you’re testing while logged in. You will not be notified of entries you submit using Form if you’re logged in … after all, you would know that you submitted the entry :)

    If that is not the case, then let me know. The issue is more than likely the host, not Connections. You can test that by using a email testing plugin such as WP-Mail-SMTP. You do not need to use it to setup SMTP, it has some pretty good feedback when sending a test email.

    re: the link to add/edit entry is NOT showing up at the top of the directory. It was but no longer is since updating Connections.
    You or someone else may have accidentally turned it off. See the last few steps in the installation instructions.

    Hope that helps!

    in reply to: Changing menu titles in CMap #308052
    Steven Zahm
    Keymaster

    @ Paul

    You can use either the str_***** shortcode options or the Say What? plugin. Both options work great. Which should you depends on the scope of the change you want to make.

    Use the Say What? plugin to change the text throughout all of Connections. Use the str_***** shortcode options to change them only in that specific instance of the shortcode.

    This give you pretty good amount of flexibility because you can use Say What? to globally change the label and then still use the str_***** shortcode option to override the override label in that one shortcode instance. Pretty neat!

    To use Say What, make sure you’re using the exact label otherwise it will not work. For Work Phone the original text you should enter in Say What? should be exactly Work Phone and Cell Phone the exact text would be Cell Phone. When you enter the text domain, it must be connections, not Connections. Capitalization is extremely important.

    The most common reason the shortcode option do not work is because they were copy/pasted from the web page in to the WordPress Visual editor. When this is done, the HTML is also pasted which breaks WordPress’s ability to properly parse the options.

    To fix this, edit the page, switch the post editor to the Text tab and remove any HTML tags from within and around the shortcode and it options.

    Hope that helps!

Viewing 10 posts - 9,801 through 9,810 (of 15,332 total)