BBPress Steven Zahm : Replies Created

Forum Replies Created

Viewing 10 posts - 12,571 through 12,580 (of 15,332 total)
  • Author
    Posts
  • in reply to: Creating a custom link #273260
    Steven Zahm
    Keymaster

    @ trmash

    Passing <img src="..." /><h2>Title</h2> to the 'text' option should work. I fairly certain I do not have any filters on the text option that would cause passing the HTML to be an issue.

    in reply to: Thumbnail/ Images size #273259
    Steven Zahm
    Keymaster

    @ trmash

    You need to use this in the the card-single.php file:

    $entry->getImage( array(
    	'image'    => 'photo',
    	'height'   => 400,
    	'width'    => 500,
    	'fallback' => array(
    		'type'     => 'block',
    		'string'   => 'No Photo Available'
    		)
    	)
    );

    Hope that helps!

    in reply to: Cannot disable "Add to Address Book" link #273246
    Steven Zahm
    Keymaster

    @ Philip

    Ok, it seems when I merged my dev version with production it didn’t remove some old files. This is causing the old style template to be loaded rather than the new.

    Log in to your site using FTP and delete the template.php file and meta.php file found here:
    ../wp-content/plugins/connections/templates/card/

    I’ll remove those files from the production files and update the WP install zip sometime this weekend.

    in reply to: out of memory database error #273242
    Steven Zahm
    Keymaster

    @ Sowmya

    See this excellent blog post for ways to increase the memory allocated to PHP. Which method will work for you is dependant on your webhost. I suggest starting at the top and making your way down. A setting of 128M should be more than sufficient.

    in reply to: Cannot disable "Add to Address Book" link #273241
    Steven Zahm
    Keymaster

    @ Philip

    Please update Connections to resolve the issue. Version 0.7.9 released in mid September contained the fix.

    in reply to: Categories display in WordPress #273239
    Steven Zahm
    Keymaster

    @ Steve

    There’s only one reason that would happen. The theme or another plugin is not limiting its CSS to is own admin pages and that CSS must contain a declaration to float right inputs which is overriding the core WordPress styles. Without access to the admin I couldn’t tell you which plugin or if it’s the theme that is causing this.

    Best suggestion I can give is deactivate plugins one at a time checking after each deactivation to see it it resolved.

    in reply to: switching postcal code and city #273152
    Steven Zahm
    Keymaster

    @ Joost

    In that case it can only be changed via a filter. Drop the following in the theme’s functions.php file:

    add_filter( 'cn_output_default_atts_address', 'joost_change_address_format' );
    
    function joost_change_address_format( $atts ) {
    
    	$atts['format'] = '%label% %line1% %line2% %line3% %zipcode% %city% %state% %country%';
    
    	return $atts;
    }
    • This reply was modified 12 years, 10 months ago by Steven Zahm.
    in reply to: Video on Excerpt plus in lightbox #273151
    Steven Zahm
    Keymaster

    @ Karelle

    The only way to do that is to edit the template.

    You need to edit the card.php file found here:
    ../wp-content/plugins/excerpt-plus/

    Look for this line”
    echo '<div class="cn-excerpt" id="cn-excerpt-' , $uuid , '">';

    Change it to this:
    echo '<div class="cn-hide" id="cn-excerpt-' , $uuid , '">';

    Look for this line:
    echo '<div class="cn-detail cn-hide" id="cn-detail-' , $uuid , '">';

    Change it to this:
    echo '<div class="cn-detail" id="cn-detail-' , $uuid , '">';

    If I read my own code correctly, that should do it.

    in reply to: Creating a custom link #273150
    Steven Zahm
    Keymaster

    @ trmash

    Try this:

    cnURL::permalink( array(
            'type'       => 'name',
            'slug'       => $entry->getSlug(),
            'title'      => $entry->getName(),
            'text'       => 'CUSTOM TEXT HERE!',
            'return'     => TRUE, // TRUE to return; FALSE to echo.
    )

    Hope that helps!

    in reply to: Category_In producing every entry #273132
    Steven Zahm
    Keymaster

    @ Stephanie

    That’s a bug that was fixed in version 0.7.6.5 released back in April, you’ll need to update.

    If you you do update, you will also need to update cMap since you are using it on the same page multiple times. The reason is the template API has been extensively overhauled. I did maintain nearly 100% backward compatibility with the older version of cMap, but using it on the same page multiple times did break.

    The update to cMap is free and can be downloaded from you Purchase History. Please follow the update/installation instructions carefully as the method used to install templates has changed.

    You can use CSS to hide the no results message.

    I hope that helps!

Viewing 10 posts - 12,571 through 12,580 (of 15,332 total)