BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 10,511 through 10,520 (of 15,332 total)
  • Author
    Posts
  • in reply to: Order of city and ZIP code in Bio Entry Card #299876
    Steven Zahm
    Keymaster

    @ Marco

    I would use a filter snippet instead of change the code directly. Here’s how…

    First install the Code Snippets plugin.

    Add a new snippet with the following code:

    add_filter( 'cn_output_default_atts_address', 'cn_set_default_address_format' );
    
    function cn_set_default_address_format( $atts ) {
    	
    	$atts['format'] = '%label% %line1% %line2% %line3% %zipcode% %city% %state% %country%';
    	
    	return $atts;
    }

    Save and active the snippet.

    If you’ve used the addr_format shortcode option, remove it.

    in reply to: "Submit new entry" #299875
    Steven Zahm
    Keymaster

    @ Axel

    I see … Form 2.x introduced a new settings page, look on the Connections : Settings admin page under the Form tab. All the shortcode options are now settings which affect both the /submit/ and the shortcode. Actually, I do not even have documentation for the shortcode up anymore (I removed it) because I’m deprecating its usage.

    in reply to: "Submit new entry" #299784
    Steven Zahm
    Keymaster

    @ Axel

    Yes, it does clarify it. My first thought was … good idea. But … what customization/parameters are you setting that after Form? Form, submit link, already has a fixed URL.

    in reply to: Slim-Plus: Unfold logo-entries by default? #299719
    Steven Zahm
    Keymaster

    @ Roy

    No, see this FAQ. This feature is already built into the template. By adding the Show category and adding it to an entry, that entry will display open by default, rather than closed.

    re: And instead of changing card.php, can’t I just upload a 1×1 pixel *.jpg as image along with the logo to the entries with logos?
    I don’t understand, do you or do you not want to show the logo?

    in reply to: "Submit new entry" #299676
    Steven Zahm
    Keymaster

    @ Axel

    Sorry, not sure I understand.

    in reply to: Forward Contact Information #299636
    Steven Zahm
    Keymaster

    @ Cori

    Yes, you can attach the downloaded vCard file via email to anyone who you wish. How you attach the vCard to an email is really depends on which email app/webmail you use. The process would be no different from attaching any other file. Alternatively, you could email a link to the entry or share the link on your social media network of choice.

    Hope that helps!

    in reply to: "Submit new entry" #299635
    Steven Zahm
    Keymaster

    @ Axel

    How could it be enhanced to be more useful?

    in reply to: Images #299634
    Steven Zahm
    Keymaster

    @ Nial

    Apologies for not answering the other two questions … I do better than that, typically.

    The only way to add a logo will be to edit the card.php file. Add the following to it where you want to the logo to show:

    $entry->getImage( array(
    	'image'    => 'logo',
    	'height'   => 120,
    	'width'    => 100,
    	'zc'       => 2,
    	)
    );

    If you decide to edit the template, I suggest using this method so the change is update safe.

    Changing the cell phone label can be done with a shortcode option. Use this shortcode:
    [connections str_cell_phone='Mobile']

    Hope that helps!

    If you have a moment, I would truely 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: Slim-Plus: Unfold logo-entries by default? #299633
    Steven Zahm
    Keymaster

    @ Roy

    To change the image from the photo to the logo you would use:
    [connections image='logo']

    Thinking about this a little more, the default for Slim Plus will be to crop and resize proportionally to best fit the specified dimensions, maintaining the aspect ratio. This is generally fine for photos, not good for logos because they will get cut off.

    Probably the best thing to do is edit the card.php file. Change these lines:

    $entry->getImage( array(
    	'image'    => $atts['image'],
    	'height'   => 120,
    	'width'    => 100,
    	'fallback' => array(
    		'type'     => $atts['image_fallback'],
    		'string'   => $atts['str_image']
    		)
    	)
    );

    to this:

    $entry->getImage( array(
    	'image'    => $atts['image'],
    	'height'   => 120,
    	'width'    => 100,
    	'fallback' => array(
    		'type'     => $atts['image_fallback'],
    		'string'   => $atts['str_image']
    		),
    	'zc'       => 2,
    	)
    );

    Now, the logos will be resized proportionally to fit entire image into the specified dimensions and add margins if required.

    That should do the trick nicely. Hope that helps!

    in reply to: child being included in the parent catagory #299502
    Steven Zahm
    Keymaster

    @ brent

    Sorry, I must have missed your reply … I do not think I am properly being notified of private replies…

    I just took a look. When I added a private entry to just the Chiropractor category and not the parent category and that entry showed up in the results like it should. So it seems to be working unless I misunderstand the problem. I made sure to delete the test entry.

Viewing 10 posts - 10,511 through 10,520 (of 15,332 total)