BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 13,611 through 13,620 (of 15,332 total)
  • Author
    Posts
  • in reply to: Search filter not working #264309
    Steven Zahm
    Keymaster

    @ randy1123

    On the occasions I run across this it is because the theme or another plugin, usually the theme, is trying to be helpful and adds a HTML 5 “shim” javascript that adds support for the placeholder text in the search box. Unfortunately this is buggy, in my opinion. Go ahead and select a category and then look in the address bar of the browser, notice the there is cn-s=Search. The shim script is causing the placeholder text “Search” to be sent as if you were filtering by category and search for the word “Search” and it shouldn’t be. Obviously, this is not what you want to do.

    Unfortunately, other than changing themes, which I would never ask someone to do, the only solution is to make a small edit to Connections so it does no longer use the placeholder text.

    Edit the class.template-parts.php file found here:
    ../wp-content/plugins/connections/includes/

    Search for this line, should be on line 466:

    
    $out .= '<input type="text" id="cn-search-input" name="cn-s" value="' . esc_attr( $searchValue ) . '" placeholder="' . __('Search', 'connections') . '"/>';

    Replace it with this:

    
    $out .= '<input type="text" id="cn-search-input" name="cn-s" value="' . esc_attr( $searchValue ) . '"/>';

    Save and upload overwriting the original. Of course you should make a backup first.

    Now, because the placeholder text is no longer in place, the shim script from the theme will no longer affect the category filter.

    Hope that helps.

    in reply to: Thank you #264303
    Steven Zahm
    Keymaster

    @ Matteo

    This great! thanks. I just put your site in the Showcase.

    in reply to: Different directories on same webpage #264197
    Steven Zahm
    Keymaster

    @ Susan

    Which template and what version … oh, wait, custom template? what template and version did you base your custom template off of?

    Steven Zahm
    Keymaster

    @ Rich

    What path?

    Connections only writes two .htaccess files, both of which only it its custom/private folders.

    The first is here:
    ../wp-content/connections_templates/

    It adds a .htaccess to prevent browsing the templates directly.

    The second is here:
    ../wp-content/plugins/connections/includes/timthumb/

    There are a couple rules in place to help make sure the timthumb script can be run directly.

    in reply to: Social Media Icon Hover Over #264169
    Steven Zahm
    Keymaster

    Ahhh … I see, thanks for sharing!

    in reply to: Plugin conflict #264167
    Steven Zahm
    Keymaster

    @ Jason

    I looked at the demo page for the plugin … nothing stands out as wrong. My first suggestion is to try the jQuery fixer option on the Connections : Settings admin page under the Advanced tab.

    What would be helpful would be a link to the page with Form on it with the plugin active.

    Thanks.

    in reply to: Pre-Filtered Directories #264163
    Steven Zahm
    Keymaster

    @ Steve

    You can put the [connections] shortcode on as many pages as you wish. The directory home page, currently, is used only for the destination links for the widgets.

    in reply to: Social Media Icon Hover Over #264102
    Steven Zahm
    Keymaster

    @ Richard

    Well, you could rename them in the class.options.php file, but that will also change their names in the drop downs.

    Curious, could you give me an example of one that you would rename and what the new name would be?

    in reply to: Pre-Filtered Directories #264101
    Steven Zahm
    Keymaster

    @ Steve

    All templates except Market have been tested in Twenty Twelve at various screen sizes. The general feedback from others users are that they are quite happy with the result.

    I hope that helps.

    in reply to: Pre-Filtered Directories #264088
    Steven Zahm
    Keymaster

    @ Steve

    Sure, you can use the category shortcode option or any of the filter shortcode options.

    Hope that helps.

Viewing 10 posts - 13,611 through 13,620 (of 15,332 total)