BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 9,921 through 9,930 (of 15,332 total)
  • Author
    Posts
  • in reply to: Google Map not working #306429
    Steven Zahm
    Keymaster

    @ gat

    I just visited in Chrome and it looks like it is working fine.

    in reply to: Showing text in the Category drop-down #306428
    Steven Zahm
    Keymaster

    @ gat

    I just visited in Chrome and it looks exactly like it should.

    in reply to: Changing the overlay panel background opacity #306427
    Steven Zahm
    Keymaster

    @ Brian

    I’m not exactly certain I follow. You can change the image opacity and change the panel and overlay color, see the doc page but the panel and overaly itself are not set to any opacity.

    … or …

    Do you mean how the active panel will be a lighter tint than the selected color? If that is what you mean, that is handled in the gridder.js file on line 210. If you make a change keep in mind the gridder.min.js is the file being served.

    Does that helps!

    in reply to: Get only EMail-Address Value #306425
    Steven Zahm
    Keymaster

    @ Fabrice

    You can already do this with the getEMailAddressBlock() function like so when called from within a template.

    $entry->getEMailAddressBlock( array( 'format' => '%address%' ) );

    in reply to: Private categories? #306405
    Steven Zahm
    Keymaster

    @ Mark

    Oh, I see. You want to use a category but not have it displayed to the user. Got it. Unfortunately, I cannot think of a way to do this because their are no filters in place that would allow me/you to hook into to remove categories.

    in reply to: GetCategory if parent #306402
    Steven Zahm
    Keymaster

    @ Fabrice

    Oh, you’re modifying the class.entry-output.php. I thought you were using this within a template. I do not really recommend editing the core file like that because you’ll lose those changes in a plugin update.

    If you’re goal is to display this on the frontend then it should really go in a template instead.

    Any way to get it to with in the file you’re editing you need to use this:

    // Grab an instance of the Connections object.
    $instance = Connections_Directory();
    
    $terms_r = $instance->term->getTermRelationships( $this->getId() );
    
    $terms = cnTerm::get( 'category', array( 'child_of' => 73 ) );
    
    foreach ( $terms as $term ) {
        if ( ! in_array( $term->term_id, $terms_r ) ) continue;
    
        echo $term->name;
    }
    
    in reply to: GetCategory if parent #306400
    Steven Zahm
    Keymaster

    @ Fabrice

    Hmmm, funny, sort of I was testing with the exact code and didn’t get an error (I should have). use this:

    // Grab an instance of the Connections object.
    $instance = Connections_Directory();
    
    $terms_r = $instance->term->getTermRelationships( $entry->getId() );
    
    $terms = cnTerm::get( 'category', array( 'child_of' => 73 ) );
    
    foreach ( $terms as $term ) {
        if ( ! in_array( $term->term_id, $terms_r ) ) continue;
    
        echo $term->name;
    }
    

    If I have not asked and you have a moment, I would truly appreciate a review as they really do make a difference. Many thanks in advance!
    http://wordpress.org/support/view/plugin-reviews/connections

    in reply to: GetCategory if parent #306398
    Steven Zahm
    Keymaster

    @ Fabrice

    When you say user, do you mean the categories assigned to an entry?

    This would work:

    // Grab an instance of the Connections object.
    $instance = Connections_Directory();
    
    $terms_r = $instance->term->getTermRelationships( $entry->getID() );
    
    $terms = cnTerm::get( 'category', array( 'child_of' => 73 ) );
    
    foreach ( $terms as $term ) {
        if ( ! in_array( $term->term_id, $terms_r ) ) continue;
    
        echo $term->name;
    }
    
    in reply to: Page 11 of staff directory does not display #306388
    Steven Zahm
    Keymaster

    @ pgebhardt

    The first thing to do is update your version of Tile Plus. The version you’re using is about two and a half years old. It is a free download to you which can be download from your [purchase history](http://connections-pro.com/my-account/purchase-history/). Make sure to carefully following the [installation/upgrade instructions](http://connections-pro.com/documentation/install/templates/). I do not think it solve whatever the problem is, but it is a good first step to make sure everything is up to date just in case.

    in reply to: Use existing WP images in cMap listings #306381
    Steven Zahm
    Keymaster

    @ smrtsu

    So no not possible at this time sorry. Maybe in the future. Many users like it the way it is because it does not clog up their WP media with a bunch of images which will only be used in the directory.

Viewing 10 posts - 9,921 through 9,930 (of 15,332 total)