BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 13,551 through 13,560 (of 15,332 total)
  • Author
    Posts
  • in reply to: How to add pdf documents to an organization entry #264685
    Steven Zahm
    Keymaster

    @ Daniela

    Connections doesn’t have anything built in to handle this, however, since the bio and notes fields support shortcodes, you could use another plugin that can manage files that uses shortcodes.

    Does that helps?

    in reply to: API description #264682
    Steven Zahm
    Keymaster

    @ Patrick

    If you made it a plugin, it would be in the ../wp-content/plugins folder. If you decided to follow the legacy template format, the folder test folder and files should go in the ../wp-content/connections_templates/ folder.

    in reply to: Sort order #264680
    Steven Zahm
    Keymaster

    @ Richard

    I’ve taking a look at the various pages, all do seem to be sorting correctly.

    The UK page, the first 21 pages do not have have a postal code or locality to sort by leaving the final sort of organization which would be alphabetical. Since the postal code and locality are empty those entries will come before those on the 22nd page which do have a postal code and locality.

    Hope that helps.

    in reply to: API description #264679
    Steven Zahm
    Keymaster

    @ Patrick

    Just being in the folder does not make it readable, unlike the legacy templates. I’ll be ripping out legay template support in a year or so which is why I recommend following the new way.

    Making it a plugin as suggested will make it read by WP and adding the action at the end of the file will register it for use.

    in reply to: API description #264677
    Steven Zahm
    Keymaster

    @ Patrick

    Looks good, at a glance. Couple questions…

    Is the test direct in this folder?
    ../wp-content/plugins/connections/templates/

    If yes, that’ll be alright just for testing, but you’ll lose the template during a plugin upgrade since WP will delete the Connections folder.

    So my suggestion would be to move the test folder to the plugins folder.
    Add the plugin header text to the top of the test.php file so WP will recognize it as a valid plugin.
    Then add the following to the end of the test.php file:

    
    add_action( 'plugins_loaded', array( 'cnTest', 'init' ), 11 );

    Now, when you activate your template under the Plugins admin page, it should show up on the Connections :: Templates admin page.

    in reply to: Images Not Showing #264657
    Steven Zahm
    Keymaster

    @ michaela

    Ok, It’s working now. I had o change the timthumb-config.php file to this:

    <?php
    define ('ALLOW_EXTERNAL', TRUE);
    define ('FILE_CACHE_DIRECTORY', '../../cache');
    define ('MAX_WIDTH', 1500);	
    define ('MAX_HEIGHT', 1500);
    define ('FILE_CACHE_MAX_FILE_AGE', 604800);
    define ('MEMORY_LIMIT', '128M');
    //define ('DEBUG_ON', true);
    
    $ALLOWED_SITES = array (
    	'stateofwellness.org'
    );

    Keep this code handy, because after upgrading Connections, you need to paste this back into the file to get it working again.

    in reply to: Map title #264656
    Steven Zahm
    Keymaster

    @ kroussel

    Ok, I going to assume you have cMap version 3.0.x installed with the following instructions.

    Open the card.php file found here:
    ../wp-content/plugins/cmap/

    Look for the following on line 102:

    
    $mapDiv = '<div class="cn-gmap" id="map-container-' . $entry->getRuid() . '" style="display: none;">' . $gMap . '</div>';
    

    You’ll need to add you title like so:

    
    $mapDiv = '<div class="cn-gmap" id="map-container-' . $entry->getRuid() . '" style="display: none;"><h4>My Map Title</h4>' . $gMap . '</div>';
    

    That should do it. Now, save and upload the modified file overwriting the original. Of course you should backup first.

    Hope that helps.

    in reply to: Order of contacts #264655
    Steven Zahm
    Keymaster

    @ Jennifer

    Yes there is, there is the order_by shortcode option. This option is available in all templates, even the free ones included with Connections.

    Hope that helps.

    in reply to: Zoho (CRM) #264620
    Steven Zahm
    Keymaster

    @ Luisa

    Sorry, no it does not.

    in reply to: CONNECTIONS DO NOT DISPLAY CORRECTLY ON MY PHONE #264619
    Steven Zahm
    Keymaster

    @ Mica

    I was able to get to the site now, but it seems Connections is deactivated. Could you activate it with the cMap template also being active and in use. Thanks.

Viewing 10 posts - 13,551 through 13,560 (of 15,332 total)