Twitter plugin version 0.3
Une nouvelle version (beta) du plugin twitter vient de sortir. Elle permet de tweeter sans quitter son geeklog et de suivre sa tribue. Une autre fonction, et c'est l'objet du test de ce post, permet de publier un extrait d'un nouvel article ou d'un message du forum sur son compte twitter.
J'ai déjà identifié un bug et l'auteur du plugin proposera certainement une version corrigée d'ici peu. En attendant vous pouvez télécharger cette version mais il vous faudra remplacer la ligne 56 du fichier admin/plugins/twitter/index.php par :
$tw = new Twitter_Statuses($_TWTR_CONF['account'], $_TWTR_CONF['password']);







commentaires (2)
Il faut peut être attendre un peu avant de quitter la version 0.2.2 qui me paraît plus stable.
/* ========================================================
* Twitter left/right block ($position = block)
* ========================================================
*/
.tw_block {
width: 180px;
}
.tw_tweet {
margin: 0px 0px 0px -25px !important;
padding: 5px !important;
border-bottom: dashed 1px #ccccff;
list-style-type: none;
}
.tw_tweet:first-child {
border-top: dashed 1px #ccccff;
}
.tw_odd {
}
.tw_even {
}
.tw_image {
margin: 0px;
padding: 0px;
width: 48px;
}
.tw_header {
}
.tw_text {
}
/**
* Twitter user name
*/
a.tw_username,
a.tw_username:focus,
a.tw_username:visited {
font-weight: bold;
text-decoration: none;
}
a.tw_username:hover {
font-weight: bold;
text-decoration: underline;
}
/**
* Twitter timestamp
*/
.tw_timestamp {
font-size: 0.96em;
}
/**
* Twitter source (from web, Tweetie, etc.)
*/
.tw_source,
.tw_source a,
.tw_source a:focus,
.tw_source a:visited {
font-size: 0.95em;
text-decoration: none;
}
.tw_source a:hover {
font-size: 0.95em;
text-decoration: underline;
}
/**
* Twitter text
*/
.tw_text {
}
/**
* Twitter Uris
*/
a.tw_uri,
a.tw_uri:focus,
a.tw_uri:visited {
text-decoration: none;
}
a.tw_uri:hover {
text-decoration: underline;
}
/**
* Form to submit a tweet
*/
#tw_prompt_block {
float: left;
}
#tw_counter_block {
float: right;
}
#tw_textarea_block {
width: 90%;
}
#tw_textarea_block:focus {
}
#tw_submit_block {
float: right;
}
/* ========================================================
* Twitter center block ($position = center)
* ========================================================
*/
.tw_center {
width: 99%;
}
.tw_center ul li.tw_tweet {
padding: 1px;
width: 99%;
height: 87px;
}
.tw_image {
float: left;
width: 48px;
height: 48px;
margin: 2px;
paddingx: 0px;
}
.tw_main {
height: 50px;
float: left;
width: 448px;
margin: 1px 1px 1px 5px;
}
/**
* Form to submit a tweet
*/
#tw_prompt_center {
float: left;
}
#tw_counter_center {
float: right;
}
#tw_textarea_center {
width: 90%;
}
#tw_textarea_center:focus {
}
#tw_submit_center {
float: right;
}
[/code]