BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 13,521 through 13,530 (of 15,332 total)
  • Author
    Posts
  • in reply to: Social Network #264873
    Steven Zahm
    Keymaster

    @ Henryk

    Categories are hierarchical, so you can do that. When creating a new descendant category, just select its parent category from the drop down. Does that help?

    in reply to: Social Buttons #264870
    Steven Zahm
    Keymaster

    @ Shanan

    You have to add the social network to the class.options.php file. Just search for one of the existing one. What you need to add should make sense when you see the others.

    You would then need to find an icon that you would like to use and create various sizes of it and place them in the ../wp-content/plugins/connections/images/icons/**sizes**/ folders. The important bit here, is the icon file will have to be named exactly as the lowercase key name you used in the class.options.php file with a .png file extension.

    Hope that helps.

    in reply to: sql query to get all members in a category #264869
    Steven Zahm
    Keymaster

    This is the shortcode equivalent of what you want to do:

    [connections list_type='organization' category='3' template='names']

    in reply to: rename category #264867
    Steven Zahm
    Keymaster

    @ Floris

    Good deal, here’s what you need to do.

    Open the template.php file found here:
    ../wp-content/plugins/connections/templates/card/

    Goto line 46, which should be this

    
    <span style="display: block; margin-bottom: 8px;"><?php $entry->getCategoryBlock( array( 'separator' => ', ', 'before' => '<span>', 'after' => '</span>' ) ); ?></span>

    Change it to this:

    
    <span style="display: block; margin-bottom: 8px;"><?php $entry->getCategoryBlock( array( 'label' => 'Will ship to', 'separator' => ', ', 'before' => '<span>', 'after' => '</span>' ) ); ?></span>

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

    in reply to: Adding a Map to Slim Plus #264866
    Steven Zahm
    Keymaster

    @ Steven

    I think we cross posted, look here.

    in reply to: sql query to get all members in a category #264860
    Steven Zahm
    Keymaster

    @ sean

    First a question … is there a specific reason you writing you’re own query rather that using the shortcode?

    This shortcode should do the trick:
    [connections list_type='organization' category='3']

    If you need the more low level access, you can do this within PHP like so:`global $connections;

    $atts = array(
    'list_type' => 'organization',
    'category' => 3
    );

    $results = $connections->retrieve->entries( $atts );`

    The you iterate thru the $results array.

    If you want to take a look at the actual query being built so you can tweak a custom one to suit, open up the class.retrieve.php and uncomment line 768 which should be print_r($sql); die;

    Hope that helps.

    in reply to: Adding a Map to Slim Plus #264848
    Steven Zahm
    Keymaster

    @ Steven

    The activate/inactive status in the plugin editor does not matter when editing one of the asset files for a plugin. It only means anything when editing the main plugin file, the one with the plugin header text which will be loaded by default when selecting a plugin to edit.

    I do have to apologize, when I gave my instructions I was not thinking about all the necessary javascript the needs to be written to init and draw the map using the Google Maps API. The command I gave just outputs the empty container for the Google Maps API to populate, nothing else. Sorry.

    You might be way better off using one of the many plugins out there that can display a map using a shortcode. Both the bio and notes fields do support shortcodes. I should have suggested that initially, sorry. One disclaimer, I’ve never tested using another plugin’s shortcode that outputs a map in the notes or bio field… in theory should work fine.

    in reply to: Adding a Map to Slim Plus #264825
    Steven Zahm
    Keymaster

    @ Steven

    You could open the card.php that belongs to Slim Plus and add the following to it where you want the map to be displayed:

    $entry->getMapBlock();

    This function takes many options which are documented in the class.output.php in the Connections plugin folder.

    Hope that helps point you in the right direction.

    in reply to: An e-blast add on? CSV export add on? #264824
    Steven Zahm
    Keymaster

    @ Elaine

    So, I do not currently have a newsletter type add-on. There is no official CSV Export add-on either. However, another user contributed the script found here. Hoe that helps you out.

    in reply to: Form submission email #264823
    Steven Zahm
    Keymaster

    @ Johnny

    If you’re testing while logged in and you’re a user that can add new entries, you will not get sent a notice. Could that be the issue?

Viewing 10 posts - 13,521 through 13,530 (of 15,332 total)