Simon
16/02/2009, 15h43
Ce hack ajoute un intégration basique de Twitter à vBulletin. Une fois les identifiants Twitter indiqués (Tableau de bord->Modifier vos options), les membres ont la possibilités de tweeter une discussion ou un message.
Le lien tweeter apparaît alors sur la page Twitter du membre.
Remerciements
Ce Hack a été traduit en français pour vBulletin-Ressources avec l'autorisation explicite de son auteur. / This Hack was translated into French for vBulletin-Ressources with the explicit authorization of its author.
vBulletin-Ressources et son équipe offrira du support vis-à-vis des hacks traduits, bien sûr, dans la mesure du possible de chacun, autant en terme de temps que de connaissances/ vBulletin-Ressources and its team will offer support for the translated hacks, of course, as far as possible for everyone, as much in term of time that knowledge.
vBulletin-Ressources remercie l'auteur du hack pour avoir fourni son autorisation. / vBulletin-Ressources thanks the author for the hack to have provided its authorization.
Conception
Auteur du Hack / Author Of Hack : King Kovifor (http://www.vbulletin.org/forum/member.php?u=70023)
Source / Link of Thread : vBTwitter (http://www.vbulletin.org/forum/showthread.php?t=204694)
Version du hack :: 1.0.1
Version vBulletin Requise / Version vBulletin Required : vB 3.8
Testé / Tested : Oui (vB 3.8.0)
Navigateurs Testés / browser Tested : Firefox 3.0.6
Traducteur / Translator : sd2310
Copyright © 2006-2009 vBulletin-Ressources.com - Tous droits réservés Uniquement pour nos traductions / Copyright © 2006-2009 vBulletin-Ressources.com - All Rights Reserved Only for ours translations
Installation
Transférer les fichiers contenus dans l'archive dans les différents répertoires (racines et includes/)
Installer le produit via le gestionnaire de produit
Dans l'éditeur de template, ouvrer postbit et rechercher:
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>Et ajouter au-dessus:
<if condition="$post['twitter_username']"><a href="tweet.php?do=post&id=$post[postid]&c=$post[postid]">Tweet this post!</a></if>Répéter l'opération avec le template postbit_legacy
Ouvrer maintenant le template SHOWTHREAD et rechercher:
<if condition="$show['addpoll']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></td>
</tr>
</if>Ajouter après:
<if condition="$vbulletin->userinfo['twitter_username']">
<tr>
<td class="vbmenu_option">
<a href="tweet.php?do=thread&id=$threadinfo[threadid]">Tweet This Thread!</a>
</td>
</tr>
</if>Rechercher:
<if condition="!$show['search_engine']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" vspace="1" /> <a href="printthread.php?$session[sessionurl]t=$threadid" rel="nofollow">$vbphrase[show_printable_version]</a></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" vspace="1" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></div>
</if>et ajouter après:
<if condition="$vbulletin->userinfo['twitter_username']"><a href="tweet.php?do=thread&id=$threadinfo[threadid]">Tweet This Thread!</a></if>
Parler-en à vos membres
C'est fini !
Screenshots et Archive
Le lien tweeter apparaît alors sur la page Twitter du membre.
Remerciements
Ce Hack a été traduit en français pour vBulletin-Ressources avec l'autorisation explicite de son auteur. / This Hack was translated into French for vBulletin-Ressources with the explicit authorization of its author.
vBulletin-Ressources et son équipe offrira du support vis-à-vis des hacks traduits, bien sûr, dans la mesure du possible de chacun, autant en terme de temps que de connaissances/ vBulletin-Ressources and its team will offer support for the translated hacks, of course, as far as possible for everyone, as much in term of time that knowledge.
vBulletin-Ressources remercie l'auteur du hack pour avoir fourni son autorisation. / vBulletin-Ressources thanks the author for the hack to have provided its authorization.
Conception
Auteur du Hack / Author Of Hack : King Kovifor (http://www.vbulletin.org/forum/member.php?u=70023)
Source / Link of Thread : vBTwitter (http://www.vbulletin.org/forum/showthread.php?t=204694)
Version du hack :: 1.0.1
Version vBulletin Requise / Version vBulletin Required : vB 3.8
Testé / Tested : Oui (vB 3.8.0)
Navigateurs Testés / browser Tested : Firefox 3.0.6
Traducteur / Translator : sd2310
Copyright © 2006-2009 vBulletin-Ressources.com - Tous droits réservés Uniquement pour nos traductions / Copyright © 2006-2009 vBulletin-Ressources.com - All Rights Reserved Only for ours translations
Installation
Transférer les fichiers contenus dans l'archive dans les différents répertoires (racines et includes/)
Installer le produit via le gestionnaire de produit
Dans l'éditeur de template, ouvrer postbit et rechercher:
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>Et ajouter au-dessus:
<if condition="$post['twitter_username']"><a href="tweet.php?do=post&id=$post[postid]&c=$post[postid]">Tweet this post!</a></if>Répéter l'opération avec le template postbit_legacy
Ouvrer maintenant le template SHOWTHREAD et rechercher:
<if condition="$show['addpoll']">
<tr>
<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" /> <a href="poll.php?$session[sessionurl]do=newpoll&t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></td>
</tr>
</if>Ajouter après:
<if condition="$vbulletin->userinfo['twitter_username']">
<tr>
<td class="vbmenu_option">
<a href="tweet.php?do=thread&id=$threadinfo[threadid]">Tweet This Thread!</a>
</td>
</tr>
</if>Rechercher:
<if condition="!$show['search_engine']">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" vspace="1" /> <a href="printthread.php?$session[sessionurl]t=$threadid" rel="nofollow">$vbphrase[show_printable_version]</a></div>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" vspace="1" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></div>
</if>et ajouter après:
<if condition="$vbulletin->userinfo['twitter_username']"><a href="tweet.php?do=thread&id=$threadinfo[threadid]">Tweet This Thread!</a></if>
Parler-en à vos membres
C'est fini !
Screenshots et Archive