BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 9,671 through 9,680 (of 15,332 total)
  • Author
    Posts
  • in reply to: Show anniversary for date of employment #309736
    Steven Zahm
    Keymaster

    @ Benjamin

    Sorry, no it is not. I am working on a complete overhaul of the Widget Pack, I’ll see if this can be included.

    in reply to: Problem showing cMap shortcodes #309734
    Steven Zahm
    Keymaster

    Yes, I just have process the request for the refund. The support license key is also revoked (part of refunding).

    Thanks for your interest in Connections.

    in reply to: Select Category to Search #309729
    Steven Zahm
    Keymaster

    @ Steve

    Sorry about that. I fixed the link for Code Snippets.

    in reply to: Select Category to Search #309692
    Steven Zahm
    Keymaster

    @ Steve

    Maybe this will work for you.

    Install the Code Snippets plugin.

    Add a new snippet with the following code:

    function cn_state_select() {
        global $wpdb;
    
        $sql = 'SELECT state FROM ' . CN_ENTRY_ADDRESS_TABLE . ' GROUP BY state';
    
        $result = $wpdb->get_col( $sql );
    
        $keys = array_map( 'urlencode', $result );
    
        $values = array_map( 'esc_attr', $result );
    
        $states = array_combine( $keys, $values );
    
        cnHTML::select( array( 'id' => 'region', 'name' => 'cn-region', 'options' => $states, 'enhanced' => TRUE, 'default' => array( 'Select a State' ) ) );
    
    }
    add_action( 'cn_action_list_before-slim-plus', 'cn_state_select', 98 );
    
    function cn_add_submit_button( $atts, $results ) {
    
        cnTemplatePart::submit( array( 'return' => FALSE ) );
    }
    
    add_action( 'cn_action_list_before-slim-plus', 'cn_add_submit_button', 99, 2 );
    
    function cn_disable_category_select( $atts ) {
    
        $atts['enable_category_select'] = FALSE;
    
        return $atts;
    }
    add_filter( 'cn_list_atts-slim-plus', 'cn_disable_category_select', 9 );
    

    Save and activate the snippet.

    • This reply was modified 11 years, 10 months ago by Steven Zahm. Reason: Fix link for Code Snippets
    in reply to: cMap radius and near_addr shortcodes not working #309668
    Steven Zahm
    Keymaster

    @ Ed

    I see … what you want is the near address search which is not fully implemented. Right now the lat/lng and radius just limit the results in the directory it doesn’t check to see if if a supplied zip is within those results.

    in reply to: pricing, multiple site support license key #309667
    Steven Zahm
    Keymaster

    I think I may have just answered an email with the same questions … I’ll post my reply here too for completeness.

    I presently do not have multi site support licenses as an offering primarily to there not being any demand for it. Presently those that need more than one support license key buy them as they need them.

    If I do add the option in the future I would definitely come up with a way to upgrade.

    in reply to: cMaps with logo on right #309664
    Steven Zahm
    Keymaster

    @ Olivier

    Follow the instructions for creating a custom CSS override file. Add the folowing CSS to it:

    #cn-cmap .cn-left {
      float: right;
      max-width: 100%;
      width: auto;
    }
    
    #cn-cmap .cn-right {
      text-align: left;
    }
    

    That’ll do the swap for you.

    Hope that helps!

    in reply to: partial loading #309663
    Steven Zahm
    Keymaster

    @ gerald

    Ok, I think I understand. Deleting that specific folder is safe. And it will then allow WP to install the plugin.

    in reply to: Unable to import csv data with no error messages #309662
    Steven Zahm
    Keymaster

    @ Mika

    What I mean by n-number is n is some unknown number, to me. It really depends on what is being imported. From what you listed above. It looks like you’re importing twelve fields. So that n-number will be twelve plus hidden fields per entry. In you case, my guess is about 25 fields per entry are being used which equates to about 1000 total fields used when importing 38 entries.

    The solution is to update the CSV Import you’re using to the current version which is not limited to PHP form field input limitation.

    Does that better help explain it?

    in reply to: LINK – Required Filed #309660
    Steven Zahm
    Keymaster

    @ Christoph

    Oh, on the link admin page. I just looked into that. I’ll have to issue an update to make this possible.

    If you can give me a temp admin account, I’ll loh in and make the tweaks really quick. It’ll only take me a minute or two.

    The login details can be sent using the contact link at the bottom of the page. Please paste a link to this forum thread in the email so I can relate the two. Thanks!

Viewing 10 posts - 9,671 through 9,680 (of 15,332 total)