Comments on: What Happened? https://technology.amis.nl/2009/12/30/what-happened/ Friends of Oracle and Java Thu, 21 May 2015 20:49:51 +0000 hourly 1 http://wordpress.org/?v=4.2.2 By: Marcus https://technology.amis.nl/2009/12/30/what-happened/#comment-6082 Mon, 25 Jan 2010 11:00:06 +0000 http://technology.amis.nl/blog/?p=6767#comment-6082 It works now, Thanks

]]>
By: Chris Gralike https://technology.amis.nl/2009/12/30/what-happened/#comment-6081 Wed, 20 Jan 2010 11:35:49 +0000 http://technology.amis.nl/blog/?p=6767#comment-6081 Hi Marcus,

First thanks for your comment and detailed description!

To solve this problem I wrote a word counter..
[code language=”php” htmlscript=”true”]
/* Function by AMIS to limit words */
 function AMIS_Wordlimit($text,$limit="10"){
        $exp = explode(‘ ‘,$text);
        if(count($exp) <= $limit){
                if(count($exp) == "1" && empty($exp[0])){
                        return "No bio was found for this author yet…";
                }else{
                        return $text;
                }
        }else{
                for($i=0;$i<$limit;$i++){
                        $string .= $exp[$i].’ ‘;
                }
                return $string.’…';
        }
 }
[/code]

This should limit the words displayed in the bio, and should stop it from being messed up in low res.

Regards,
Chris.

]]>
By: Marcus https://technology.amis.nl/2009/12/30/what-happened/#comment-6080 Mon, 18 Jan 2010 06:02:37 +0000 http://technology.amis.nl/blog/?p=6767#comment-6080 The new layout is broken when viewed with Firefox 3.5.  The area “About the author” is hidden partially on the right side when not viewed with full screen width, e.g. with a bookmark sidebar opened or not maximized window. It overflows into the area beyond when it contains to much text and it flows over the text “more by <author>”
 
Regards
Marcus

]]>
By: Chris Gralike https://technology.amis.nl/2009/12/30/what-happened/#comment-6079 Wed, 13 Jan 2010 12:11:31 +0000 http://technology.amis.nl/blog/?p=6767#comment-6079 Updated the single.php with a custom author spotlight. The WordPress plugins dont seem to work correctly before the article loop.

Added this code for our Author spotlight
[code language=”php” htmlscript=”true”]
  <div class="AMIS_Authors">
<div class="AMIS_title">About the author : <a class="websnapr" href="<?php the_author_meta(‘user_url’);?>"><?php the_author_meta(‘display_name’) ?></a></div>
<div class="AMIS_main">
<div class="left">
<div class="image"><?php userphoto_the_author_photo() ?></div>
</div>
<div class="right block title" valign="top">
<div class="bio"><?php the_author_meta(‘description’) ?></div>
<div class="links">More by <?php the_author_posts_link(); ?></div>
</div>
</div>
</div>
[/code]

And for the time being the following CSS.
[code language=”CSS”]
.AMIS_Authors {
position : relative;
border : 1px solid #AAA;
background-color : #EEE;
}

.AMIS_main {
width : 100%;
height : 134px;
position : relative;
}

.AMIS_main .left{
padding : 2px 2px 2px 2px;
border-right : 1px solid #AAA;
left:0px;
top:0px;
width : 130px;
height : 130px;
position : absolute;
z-index : 1;
}

.AMIS_main .right{
left : 135px;
top : 0px;
width : 85%;
position : absolute;
z-index : 2;
}

.AMIS_main .right .bio{
height : 70px;
max-height:80px;
font-size : 14px;
padding : 10px 0px 10px 10px;
}

.AMIS_main .right .links{
padding : 10px 0px 10px 10px;
}

.AMIS_title{
padding : 2px 0px 2px 5px;
font-weight : bold;
color : #FFF;
font-size : 17px;
background-color : #D11;
width : 100%;
}

.AMIS_title a:link{
color : #FFF;
text-decoration:none;
}
.AMIS_title a:visited{
color : #FFF;
text-decoration:none;
}
.AMIS_title a:hover{
color : #FFF;
text-decoration:none;
}
[/code]
Hope you guys like it :)

]]>
By: site admin https://technology.amis.nl/2009/12/30/what-happened/#comment-6078 Mon, 11 Jan 2010 09:52:36 +0000 http://technology.amis.nl/blog/?p=6767#comment-6078 A recovery was performed to restore all the related tags. Somewhere in the update process we have lost them.

Everything should be working now :)

]]>
By: Niall Litchfield https://technology.amis.nl/2009/12/30/what-happened/#comment-6077 Wed, 30 Dec 2009 15:35:56 +0000 http://technology.amis.nl/blog/?p=6767#comment-6077 deja vue all over again?

]]>
By: Lucas Jellema https://technology.amis.nl/2009/12/30/what-happened/#comment-6076 Wed, 30 Dec 2009 11:49:33 +0000 http://technology.amis.nl/blog/?p=6767#comment-6076 Would it be nice to allow the community of blog visitors to help tag (apply tags to) articles? That way we will all be able to find articles more quickly!

]]>