Mod vBulletin ImageFacile
Aperçu du mod :
ATTENTION :
- Si la longueur et hauteur de l'iframe ne vous plaît pas (tout dépend surtout de vos skins -thèmes-), elle est modifiable, width="XXX" - height="XXX", les XXX sont à modifier par ce que vous désirez.
- LES SKINS SOUS PHPBB3 SONT SOUS FORME DE DEUX CATEGORIES, C'EST POUR CELA QUE VOUS AVEZ 2 VERSIONS DIFFERENTES (en espérant que les autres skins non officiels respectent ces 2 versions)
INSTALLATION :
Rendez-vous dans votre "Panel d'administration", puis cliquez sur "Styles", cherchez "Composants des styles" et cliquez sur "Templates", choisissez le bonne template et cliquez sur "Modifier".
Sélectionnez "posting_body.html"
#
#-----[ Trouvez dans le template : ]------------------------------------------
<!-- IF S_INLINE_ATTACHMENT_OPTIONS -->
<tr>
<td class="row1"><b class="genmed">{L_ATTACHMENTS}:</b></td>
<td class="row2"><select name="attachments">{S_INLINE_ATTACHMENT_OPTIONS}</select>
<input type="button" class="btnbbcode" accesskey="a" value="{L_PLACE_INLINE}" name="attachinline" onclick="attach_form = document.forms[form_name].elements['attachments'];
attach_inline(attach_form.value, attach_form.options[attach_form.selectedIndex].text);" onmouseover="helpline('a')" onmouseout="helpline('tip')" />
</td>
</tr>
<!-- ENDIF -->
#
#-----[ Ajoutez en dessous : ]------------------------------------------
<!-- Mod ImageFacile PhpBB v1 -->
<tr>
<td class="row1"><b class="genmed">Upload d'images avec <a href="http://www.imagefacile.com/" target="_blank" style="text-decoration: none;">ImageFacile</a></b></td>
<td class="row2"><iframe src="http://www.imagefacile.com/phpbbv1.php" width="500" height="50" frameborder="0" scrolling="no" allowtransparency="true" /></iframe></td>
</tr>
<!-- Mod ImageFacile PhpBB v1 -->
#
#-----[ Si ce n'est pas le cas, ne paniquez pas, vous devriez trouver que ceci : ]------------------------------------------
<!-- IF S_PRIVMSGS -->
<!-- INCLUDE posting_pm_layout.html -->
<!-- ELSE -->
<!-- INCLUDE posting_layout.html -->
<!-- ENDIF -->
#
#-----[ Il faudra donc sélectionner le template : "posting_editor.html", et trouver ceci : ]------------------------------------------
<!-- IF BBCODE_STATUS -->
<!-- IF .smiley --><hr /><!-- ENDIF -->
{BBCODE_STATUS}<br />
<!-- IF S_BBCODE_ALLOWED -->
{IMG_STATUS}<br />
{FLASH_STATUS}<br />
{URL_STATUS}<br />
{SMILIES_STATUS}
<!-- ENDIF -->
<!-- ENDIF -->
#
#-----[ Ajoutez au DESSUS : ]------------------------------------------
<!-- Mod ImageFacile PhpBB v2 -->
<hr />
<div><strong>Upload d'images avec <a href="http://www.imagefacile.com/" target="_blank" style="text-decoration: none;">ImageFacile</a></strong><br />
<iframe src="http://www.imagefacile.com/phpbbv2.php" width="200" height="25" frameborder="0" scrolling="no" allowtransparency="true" /></iframe></div>
<!-- Mod ImageFacile PhpBB v2 -->
Et voila c'est terminé, vos utilisateurs peuvent désormais utiliser ImageFacile facilement.
