Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter C1pr1an

    (@c1pr1an)

    I just resolve that problem by replacing the code from:

    if($descriptions == "yes"){
    	$mctagmap_description = '<span class="tagDescription">' . $tag->description . '</span>';
    }

    with:

    if($descriptions == "yes"){
    	if(strpos($tag->description, '<!--more-->')){
    		$mctagmap_description = '<span class="tagDescription">' . substr($tag->description, 0, strpos($tag->description, '<!--more-->')) . '</span>';
    	} else {
    		$mctagmap_description = '<span class="tagDescription">' . $tag->description . '</span>';
    } }

    Replace from “user-photo.php” line 112:
    $img = userphoto__get_userphoto($userid, (abs($full_dimension - $size) < abs($small_dimension - $size)) ? USERPHOTO_FULL_SIZE : USERPHOTO_THUMBNAIL_SIZE, '', '', array(), '');
    with:
    $img = userphoto__get_userphoto($userid, (abs($full_dimension - $size) < abs($small_dimension - $size)) ? USERPHOTO_FULL_SIZE : USERPHOTO_THUMBNAIL_SIZE, '', '', array(width => $size, height => '100%'), '');

    that will rezolve all problem with size.
    For autor: pls. consider that on next update!

Viewing 2 replies - 1 through 2 (of 2 total)