BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 3,791 through 3,800 (of 15,332 total)
  • Author
    Posts
  • in reply to: Can I hide organization H2 title? #416203
    Steven Zahm
    Keymaster

    @ Stacy

    re: I tried show_title=’FALSE’ and show_org=’FALSE’ but neither changed the display.

    These shortcode options only affect the “individual” entry type which have these fields set.

    re: Can I hide organization H2 title?

    Yes, by using CSS. Add the following to the theme’s CSS area.

    #cn-circled .cn-entry-single h2 span.fn {
        display: none;
    }
    

    Hope this helps!

    in reply to: Make "Department" private #416201
    Steven Zahm
    Keymaster

    @ Vijay

    re: “allow_public_override=’true’” is set in the page

    In nearly all cases I highly recommend not using the allow_public_override shortcode option. It is virtually never needed.

    re: How can I make the “Department” field private

    This fields can not be made private. The only thing that can be done is that the template can be be edited to the field is only rendered for logged in users.

    Hope this helps!

    in reply to: Uploading Images #416200
    Steven Zahm
    Keymaster

    @ Shannon

    re: Everything is going well until I try and upload an image or logo. I have formatted the images to the correct sizes and it still isn’t allowing me to use them. Suggestions?

    Are you seeing any error message or anything? Please describe what happens when you try to add an image.

    in reply to: Use link variable for connections shortcode #416199
    Steven Zahm
    Keymaster

    @ Florian Misiak

    Oh, alternatively, simple use cn-cat-slug as your query var instead of CONCAT.

    in reply to: Use link variable for connections shortcode #416198
    Steven Zahm
    Keymaster

    @ Florian Misiak

    This can not be with the shortcode. You will have to hook into the cn_list_atts filter. This filter provide an associative array. Set the category_slug key to the value of your CONCAT query variable and return the array.

    Hope this helps!

    in reply to: Displaying Children of 2 Categories on Cards #416197
    Steven Zahm
    Keymaster

    @ Jennifer

    The child_of option will only work with a single category ID. You only option is to add the line twice, like this:

    Like this:

    if ( 'individual' !== $entry->getEntryType() ) {
                    $entry->getCategoryBlock( array( 'separator' => ', ', 'before' => '', 'after' => '', 'child_of' => 24 ) );
                }
    
    if ( 'individual' !== $entry->getEntryType() ) {
                    $entry->getCategoryBlock( array( 'separator' => ', ', 'before' => '', 'after' => '', 'child_of' => 21 ) );
                }
    

    Hope this helps!

    in reply to: Show single contact on click #416196
    Steven Zahm
    Keymaster

    @ Rene

    This is correct, if you put the shortcode on the page more than once, it will render the directory more than once (in some cases). The content you are seeing is the additional page content you added to the page, ie. the sub-headers. Connections at one time did “clear” the page when viewing a single entry, the problem was that visual page builder plugins became popular. In these cases the page can not be cleared because they use shortcodes “under the hood” to do the page layout. If you “clear” the page, you remove the page layout.

    Now, that said, you can do what you wish, you need a slightly more complex setup. Here’s how…

    1. Create a new WordPress page, name it “Person”. Publish the page. Take note of the page ID that WordPress assigns the page. YOu will find this in the browser’s address bar right after you click the publish button.
    2. On this new “Person” page add the [connections] shortcode only once with no options set.
    3. Navigate to the Connections : Settings admin page and click the General tab.
    4. Change the Directory home page to the new “Person” home page and save the settings.
    5. Navigate to the existing directory page and add the `home_id shortcode option to each of the shortcodes set with the page ID of the “Person” page and save the page.
    6. Now all the entry link on the existing page will resolve to the new “Person” page where the shortcode exists only once displaying only a single entry when a a link is clicked from the existing directory page.

    Hope this helps!

    in reply to: Connections Shortcode causing 500 error #416062
    Steven Zahm
    Keymaster

    @ Alice

    I think you need to check the memory allocated to PHP… according to the PHP error message only 0.262144 MB is allocated to PHP. WordPress itself tries to default to 40MB (which is fine without plugins and why I recommend at least 128MB).

    in reply to: Re-organize phone numbers and addresses #416057
    Steven Zahm
    Keymaster

    @ Michael

    re: I went in and made a couple changes to the card-single file.

    That’s another way of doing… you could have use the Template Customize to do the same for the single entry profile view too.

    On the Connections : Settings admin page under the Display tab, there is a section for Content block to be displayed on the single entry view, just like the list view.

    While in the Template Customizer you can click an entry name (any entry) and adjust the settings to hide the address and phone info just like you did for the results list view.

    Hope this helps!

    in reply to: How Can i add a plugin shortcode into a Connection #416056
    Steven Zahm
    Keymaster

    @ Bogdan

    re: I was wondering how can i add this shortcode [yasr_visitor_votes] into every connection ?It displays rating stars.
    I created a custom field but if i put it there it wont even remain there after saving.

    I can not tell you why it is not saving. I’d have see your code. But I can tell you that, depending on your code, the shortcode would not work and would only show as text. Unless of course you took that into consideration when writing your code.

    re: Also if i type it in Notes field or Biographical Info its the same ,it wont display anything on the site.Not even the shortcode itself.

    I installed the Yasr plugin and it did render in the bio and notes field just fine on my test site. My guess there is another plugin causing a some type of conflict.

    What I can tell you after some brief testing, this plugin will not work. Putting this in the bio or notes, a user is voting on the WordPress page, not the Connections entry. Since Connections Entries are always rendered on the same WordPress page the user rating will remain the same across all Connections entries since the rating is applied to the WordPress page.

Viewing 10 posts - 3,791 through 3,800 (of 15,332 total)