BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 4,761 through 4,770 (of 15,332 total)
  • Author
    Posts
  • in reply to: Remove "name" from the url structure #395797
    Steven Zahm
    Keymaster

    @ Andrew

    Sorry, no, it is not possible to remove because WordPress require a key/value pair in the permalink in order for it to “know” what display. In this case, the key “name” is a directory entry and the value is which one from the directory to display. The only real exception to this rule are WordPress pages/posts and categories. So, if you remove the “key” WordPress will think you will want a page/post/category and you end up getting a 404 error when it does not exist. Hope that make sense!?!

    You can change the “name” slug to be almost anything you want on the Connections : Settings admin page under the Advanced tab. Just be careful what you change it to because if it conflicts with something else, then you get odd/undesirable results.

    in reply to: Display Twitter Profile Image #395796
    Steven Zahm
    Keymaster

    @ Jade Le Maitre

    re: display the twitter account of an entry

    Sorry, no, it is not.

    re: display a screenshot of the website as image

    Yes, you want the SiteShot extension.

    re: I was wondering wether it was possible to display as an entry image / logo the twitter profile picture ? Or linkedin profile picture ?

    You can display the entry logo or image, but, sorry, it is not possible to display the Twitter or LinkedIn profile images.

    in reply to: Image Grid / Category Dropdown #395794
    Steven Zahm
    Keymaster

    @ ssnoomann

    re: One of the things they do is Yoga. Their business name and other searchable fields do not contain the word ‘yoga’. So, when I search for yoga their business does not show up in the results. They are categorized under ‘Yoga & Meditation’ but the search function does not search categories. Is there a way around this?

    Install the Code Snippets plugin create a new snippet with the following code.

    function cn_search_category_description($scored, $terms) {
        global $wpdb;
    
        $select = array();
        $from = array();
        $joun = array();
        $where = array();
    
        $select[] = 'entry_id';
        $from[] = CN_TERM_RELATIONSHIP_TABLE . ' tr';
        $join[] = CN_TERM_TAXONOMY_TABLE . ' tt ON tr.term_taxonomy_id = tt.term_taxonomy_id ';
        $where[] = $wpdb->prepare('MATCH (description) AGAINST (%s IN BOOLEAN MODE)', $terms);
    
        $sql = "SELECT " . implode( ',', $select ) . " FROM " . implode( ',', $from ) . " JOIN " . implode( ',', $join ) . " WHERE " . implode( ' AND ', $where );
        $ids = $wpdb->get_results( $sql, ARRAY_A );
        if ( ! empty( $ids ) ) $scored = array_merge( $scored, $ids );        
        return $scored;
    }
    add_action('cn_search_scored_results', 'cn_search_category_description', 1, 2);
    

    Save and Activate the snippet. Now searches will include the category field description.

    re: Can the search function not reset itself to the root URL rather than just searching from however many levels down you may already be in the directory?

    Hmmm… that is a bug. The search should be from the permalink root and not the category tree. I’ll look into and ensure that is addressed in the next update.

    in reply to: premium member designation #395793
    Steven Zahm
    Keymaster

    @ Scott

    The only thing I can think off the top of my head is to add a “Paid” category. This will add the “paid” class to the entry. You could then use this to add CSS to put a yellow star on that entry. Hope that helps!

    in reply to: Import Plugin is not working #395792
    Steven Zahm
    Keymaster

    @ Jade Le Maitre

    The issue is that your CSV file does not meet the requirements. Specifically

    • The CSV text file must have fields for the first name and last name OR organization name and must be mapped to the corresponding fields within Connections, otherwise that row will be skipped when the CSV is being imported.

    You are defining the entries as individual but not supplying a last name. You name field has both the first and last in the same field. They need to be separated.

    Your also have extended characters, you need to make sure your file is UTF8 encoded. This can cause that row containing the characters not to be imported.

    • If the CSV file being imported is using extended characters such as ä, è, ö and ü the file must be UTF8 encoded.

    After you correct these issues, the file should import just fine. Hope that helps!

    in reply to: Profiles Not Opening Since Upgrade #395733
    Steven Zahm
    Keymaster

    @ Greg

    Great to hear! I’m sure you can use Autoptimize, you’ll just have to play with its settings.

    in reply to: Import Plugin Not Working #395732
    Steven Zahm
    Keymaster

    @ Douglas

    Great to hear that did the trick!

    in reply to: Can categories appear on profiles? #395731
    Steven Zahm
    Keymaster

    @ Dan

    @ Rolf

    It is possible, but you would have to edit the template in order to show the categories assigned to the entry.

    You can add the categories to the card.php and/or the card-single.php file by adding this where you want them to be displayed:

    $entry->getCategoryBlock( array( 'separator' => ', ', 'before' => '<span>', 'after' => '</span>' ) );
    

    The card.php and the card-single.php file can be found in this folder:

    ../wp-content/plugins/connections-circled/

    I recommend following the method in this QuickTip so you can add it in an update safe way.

    Hope that helps!

    in reply to: Visual tab disappearing again #395730
    Steven Zahm
    Keymaster

    @ bebe

    The version of Form you have installed is very old, version 1.0.2 was released about 3 1/2 years ago and has not been compatible with WordPress for a couple years due a change they made to the Visual Editor included with WordPress. The current version is 2.4.3.

    The version installed does not support in admin updates so you’ll have manually update. To do this

    After your update, the visual tab should work again.

    Hope that helps, let me know.

    ps. Make sure to activate your support license key so it can be updated right in admin like other plugins.

    in reply to: Import Plugin Not Working #395728
    Steven Zahm
    Keymaster

    @ Douglas

    When importing the export, unmap the Entry ID column. Here’s the link to the relevant FAQ which has more details.

    Hope that helps!

Viewing 10 posts - 4,761 through 4,770 (of 15,332 total)