BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 4,571 through 4,580 (of 15,332 total)
  • Author
    Posts
  • in reply to: 2 category dropdown menu #399945
    Steven Zahm
    Keymaster

    @ Danielle

    This is possible. I do have another custom addon which I sell. You can see it here on this live third party site:

    https://sscit.org/

    It the “Find A Therapist“. The top three options are separate parent categories.

    If you are interested in this solution, please contact me using the Contact link at the very bottom of the page. I can provide you with a quote which will include installation and configuration.

    Hope this helps!

    in reply to: Translate assistance, Icelandic – transifex.com #399944
    Steven Zahm
    Keymaster

    @ Marianna

    re: I have translated plugins before, but as I recall usually a translation is only in one place, here you have to find it everywhere :)

    Everywhere“… Actually not everywhere, each addon for Connections is its own plugin which requires its own translation files. Unfortunately this is how it works. This is not limited to Connections. Take for example WooCommerce, a very, very, popular plugin with many, many addons. Each addon requires it own translation.

    Any way back to your issue…

    The file naming looks correct so the translation should work just fine. Could you attach your PO file file so I can take a look? To attach the you will have to rename .po to .txt.

    in reply to: simple search field #399943
    Steven Zahm
    Keymaster

    @ Colin

    For search, you’ll need one of the premium templates. All support search and a category filter. Some have it disabled by default because the design focus is small teams and such but it can be turned on if needed.

    Hope that answers your question thoroughly!

    in reply to: Delete old entries and start fresh #399942
    Steven Zahm
    Keymaster

    @ James

    re: Using the form nd link extension, can I make a page where residents can add their profile on a mobile device? I have inserted the link but it only showed up on my desktop. Just to clarify, the goal is to let people edit their profiles or create a new one, on a mobile device.

    Well, Connections does not distinguish between desktop/mobile … meaning, the same content, links included, are server just the same. So, if you are not seeing it on the mobile device, there is another issue. Are you doing anything “special” for mobile or are you simply using a responsive theme? If you are simply using a responsive theme, then it still could be caching … perhaps the “old” version of the page is still being served.

    If that is not it, what shortcode are you using, specifically? Are you viewing the page as a regular user vs the admin? If you are viewing as the user, have the Connections : Roles capabilities been setup so the user can add/edit entries?

    re: I would like to create a more distinct button or icon for them to click, rather than the blue link, if that’s possible, thanks

    You can likely use CSS to change the link into a button.

    in reply to: External Link from Name Selection #399828
    Steven Zahm
    Keymaster

    @ Linda

    The name link is reserved for linking directly to the profile page, as you know. Changing this will require editing the card.php file found in this folder for cMap:

    ../wp-content/plugins/connections-cmap/

    You need to look for this line.

    <h3><?php $entry->getNameBlock( array( 'format' => $atts['name_format'], 'link' => $atts['link'] ) ); ?></h3>

    The first change you need to make is this:

    <h3><?php $entry->getNameBlock( array( 'format' => $atts['name_format'], 'link' => FALSE ) ); ?></h3>

    After this, it gets hard (depending on your skill with PHP). YOu need to decide if you want to save this link as a Link field type (a standard field in Connections) or a custom field.

    I think I would suggest a custom field. Here’s a link to a tutorial on how to add a text field custom field.

    Instead of displaying the custom field you would save the value (the URL) into a variable to be used has the href attribute in the link. Something like this:

    $url = $entry->getMeta(
            array(
                'key'    => 'field_id', // This should match exactly the field id used when registering the custom field.
                'single' => TRUE        // Do not change this.
            )
        );
    

    Then you would change the name block to something like this:

    <h3><a href="<?php echo esc_url( $url ); ?>"><?php $entry->getNameBlock( array( 'format' => $atts['name_format'], 'link' => FALSE ) ); ?></a></h3>
    

    This is all untested but it should get you started along the right path.

    Hope this helps!

    ps. If you are going to alter the template file, you should review this tutorial on custom template override files.

    in reply to: Translate assistance, Icelandic – transifex.com #399826
    Steven Zahm
    Keymaster

    @ Marianna

    re: produced .po and .mo files for both link and forum, but that didn’t work.

    They should. Those two extension already have translations for other languages which are known to work. Double check your naming of the MO file to ensure it is correct.

    Steven Zahm
    Keymaster

    @ Tim

    Just following up since I have not heard back… is this resolved? If not, let me know. The login details can be posted here as a private reply.

    Steven Zahm
    Keymaster

    @ Linda

    re: If I don’t use the initial_results=’False’ then the enable_category_by_root_parent works, but when I added initial_results the root parent restriction doesn’t work until after I’ve selected from the drop-down.

    The code snippet needs to be updated in order to support the enable_category_by_root_parent shortcode option.

    Find this line in the snippet:

    $category = cnTemplatePart::category( $atts );

    Add this line so it comes before it:

    if ( $atts['enable_category_by_root_parent'] ) $atts['parent_id'] = $atts['category'];

    Save and update the snippet.

    I did not test, but, that should do it.

    re: with initial_results added, the search box appears (below the category drop-down box) even though I disabled the search controls in the template customization.

    Search for this line in the snippet:

    $search = cnTemplatePart::search( $atts );

    Change it to this:

    $search = '';

    Now the keyword search will not be displayed.

    re: Any ideas where the initial_results could be conflicting with these other options?

    It not really a conflict. Basically what the snippet does is display the category/search controls if a search is not being done. This is hard coded in the snippet. The template is only loaded when a search is being done, so, none of the templates functions/features/option are applied.

    Hope that helps!

    in reply to: Delete old entries and start fresh #399812
    Steven Zahm
    Keymaster

    @ James

    Sounds like you are running a either page cache plugin or server side cache. Try clearing the cache.

    Let me know if that helps.

    in reply to: Simple Fix for All In One SEO and Page Titles #399811
    Steven Zahm
    Keymaster

    @ Martin

    A quick look at their code, that seems that is the only solution. From what I can tell they remove filters applied by other plugins before applying their changes to the title.

Viewing 10 posts - 4,571 through 4,580 (of 15,332 total)