BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 8,891 through 8,900 (of 15,332 total)
  • Author
    Posts
  • in reply to: Form and extension of Phone fields #322119
    Steven Zahm
    Keymaster

    @ William

    Understood…

    The best way to handle this which will require a bit more up front work but will be update safe is to add your own metabox for phone numbers à la the “Education Levels” extension and then unregister the core phone numbers metabox so you only have one with your modifications. And most of the work is simply copy/pasting.

    I would copy the entire code for the phone numbers metabox:
    https://github.com/Connections-Business-

    • Directory/Connections/blob/8.2.1/includes/class.metabox-entry.php#L1739

    Make your changes and register it using the same array attributes:
    https://github.com/Connections-Business-

    • Directory/Connections/blob/8.2.1/includes/class.metabox-entry.php#L144

    Use this method to do the actual metabox registration:

    To unregister the core phone number field, this should work:

    cnMetaboxAPI::remove( 'metabox-phone' );
    

    You can hook into the cn_metabox hook to make this happen:

    add_action( 'cn_metabox', array( 'cnEntryMetabox', 'init' ), 10 );
    

    Step by step:

    1. Hook a new function to the cn_metabox hook.
    2. The function should unregister the metabox-phone metabox.
    3. Set up an array with the exact same attributes.
    4. Register your custom phone metabox.

    Hope that helps.

    Steven Zahm
    Keymaster

    @ Nick S

    Best guess this is being caused by the theme loading Safari specific CSS for textareas. You’ll need to share the link to the page with me inn order for me to offer a solution.

    in reply to: Hide some options under Links #322117
    Steven Zahm
    Keymaster
    in reply to: Ugly css and no info #322116
    Steven Zahm
    Keymaster

    @ Anna

    re: But the fonts from my theme? Is that possible?
    I think my answer in your other support forum thread answers this question:
    http://connections-pro.com/support/topic/my-themes-css-in-slim/#post-322114

    If it does not, please let me know in what ways it does not.

    re: And no birthday and other nonsens that have nothing to do with business
    Blank fields are not displayed… Example, no birthday entered, no birthday is displayed.

    in reply to: Hide a lot of fields #322110
    Steven Zahm
    Keymaster

    @ Anna

    re: Hide “I am individual/organisation” (unnecessary text because I only want organisations)
    Go to the Connections : Settings admin page and click the Form tab. Disable the Permit the user to select the entry type to be submitted. option and set the default entry type to “Organization”.

    re: In Addresses hide “Address type”
    use the following CSS:

    #cn-form span.adddress-type {
      display: none;
    }
    

    re: Hide “State” and “zipcode” (In Sweden we don’t use that). And hide “Country”
    Use the following CSS;

    #cn-form .address-state,
    #cn-form .address-zipcode,
    #cn-form .address-country {
      display: none;
    }
    

    re: In social network I want only Facebook, Instagram, LinkedIn and Youtube to be seen.
    Sorry, not possible.

    Hope that helps!

    in reply to: Logos will not display after update #322109
    Steven Zahm
    Keymaster

    @ Joe

    re: FULLTEXT notices
    The FULLTEXT notices are nothing to be concerned about. You are seeing these because the table engine does not support FULLTEXT search queries. In instances like this Connections will fallback to a more simple, though less accurate, search method.

    More can be read about this in this forum thread:
    http://connections-pro.com/support/topic/8-2-1-database-upgrade-error/

    re: No editor could be selected. **
    You are receiving this error from WordPress because it seems the **GD image processing
    library is not installed and is required. Older versions of Connections utilized third party image libraries rather than the core functions provided by more recent versions of WordPress so there was not a way to report this before.

    The solution is to request that your host install this very common (nearly always installed by default) image processing library.

    WordPress will function without this library… sort of. It will not be able to scale and crop images in order to create the thumbnails of images and such. Instead what it does is use the full size image and force it to use browser scaling which is bad for your page load time, bandwidth usage and image SEO.

    I hope that helps!

    in reply to: Multiple Warnings after upgrade #322108
    Steven Zahm
    Keymaster

    @ Chris

    The Pie Register plugin is calling a core WordPress action, wp_login on login which Link hooks into but it is not passing both of the required parameters so when other plugin such as Link hook into it, it will fail with errors. That is a bug with Pie register.

    More can be found out about this bug here:
    http://connections-pro.com/faqs/pie-register/

    Hope that helps!

    in reply to: Help Tooltips #322105
    Steven Zahm
    Keymaster

    @ Nick S

    In short, yes it would be possible… but not as simple as adding a few lines of code

    You can try using the Better Admin Pointers plugin. Contrary to its name, you can add pointers to frontend pages. I have never used it but I see no reason why it would not work.

    Alternatively you can add the following CSS to the theme’s custom CSS are to hide them:

    #cn-form div.link-assignment,
    #cn-form span.target,
    #cn-form span.follow {
      display: none;
    }
    

    Hope that helps!

    in reply to: Lost Custom Template #322104
    Steven Zahm
    Keymaster

    @ Susan

    It appears that you duplicated the cMap template to create your own derivative rather than creating the template override files. Nothing wrong with that method really…

    Looking that the page source, your version of cMap seems to be in this folder:
    ../wp-content/plugins/cmap-directory/

    While the original cMap template is in this folder:
    ../wp-content/plugins/connections-cmap/

    Hope that helps!

    in reply to: Possible to show Cmap in two columns? #322102
    Steven Zahm
    Keymaster

    @ Dani

    re: Do you have a columnar template other than the circles and headshots, meaning one that is columnar and still displays the basic info?
    I assume you mean Circled and Gridder, yes?

    re: If so, could I “return” the cmap somehow and get that one?
    There’s the Tile Plus template. Which yes, could be exchanged.

    You can browse the demo of each template:
    http://connections-pro.com/demo/template/circled/

    Also on each template product page, there are links to actual live site using the template.

    Hope that helps.

Viewing 10 posts - 8,891 through 8,900 (of 15,332 total)