Mod FluxBB/PunBB ImageFacile
Aperçu du mod :
L'aperçu du mod n'est pas disponible, si quelqu'un souhaite en faire un, aucun soucis...
Installation via notre partenaire officiel :
-
Via FluxBB.fr / PunBB.fr : http://www.punbb.fr/mods/mod.php?id=170
Installation manuelle via ImageFacile :
3 Fichiers concernés : post.php / edit.php / viewtopic.php (pensez à faire un backup)
A noter : Ce mod n'est pas supporté officiellement par FluxBB (ou anciennement PunBB),
c'est à dire que si FluxBB modifie les deux fichiers dans une grosse mise à jour vous devrez réinstaller le mod.
#
#---------[ 1. Editer ]-----------------------------
#
post.php
#
#---------[ 2. Trouver ]----------------------------
#
<div class="inform">
<fieldset>
<legend><?php echo $lang_common['Options'] ?></legend>
<div class="infldset">
<div class="rbox">
<?php echo implode('<br /></label>'."\n\t\t\t\t", $checkboxes).'<br /></label>'."\n" ?>
</div>
</div>
</fieldset>
#
#---------[ 3. Avant, ajouter ]----------------------
#
<!-- MOD ImageFacile -->
<div class="inform">
<iframe src="http://www.imagefacile.com/fluxbb.php" width="640" height="100" frameborder="0" scrolling="no" allowtransparency="true" ></iframe>
</div>
<!-- MOD ImageFacile -->
#
#---------[ 4. Editer ]----------------------
#
edit.php
#
#---------[ 5. Trouver ]----------------------
#
<div class="inform">
<fieldset>
<legend><?php echo $lang_common['Options'] ?></legend>
<div class="infldset">
<div class="rbox">
<?php echo implode('</label>'."\n\t\t\t\t\t\t\t", $checkboxes).'</label>'."\n" ?>
</div>
</div>
#
#---------[ 6. Avant, Ajouter ]----------------------
#
<!-- MOD ImageFacile -->
<div class="inform">
<iframe src="http://www.imagefacile.com/fluxbb.php" width="640" height="100" frameborder="0" scrolling="no" allowtransparency="true" ></iframe>
</div>
<!-- MOD ImageFacile -->
#
#---------[ 7. Editer - Ceci permet d'ajouter ImageFacile à la réponse rapide si elle est activée ]----------------------
#
viewtopic.php
#
#---------[ 8. Trouver ]----------------------
#
<div class="blockform">
<h2><span><?php echo $lang_topic['Quick post'] ?></span></h2>
<div class="box">
<form method="post" action="post.php?tid=<?php echo $id ?>" onsubmit="this.submit.disabled=true;if(process_form(this)){return true;}else{this.submit.disabled=false;return false;}">
<div class="inform">
<fieldset>
<legend><?php echo $lang_common['Write message legend'] ?></legend>
<div class="infldset txtarea">
<input type="hidden" name="form_sent" value="1" />
<input type="hidden" name="form_user" value="<?php echo (!$pun_user['is_guest']) ? pun_htmlspecialchars($pun_user['username']) : 'Guest'; ?>" />
<label><textarea name="req_message" rows="7" cols="75" tabindex="1"></textarea></label>
<ul class="bblinks">
<li><a href="help.php#bbcode" onclick="window.open(this.href); return false;"><?php echo $lang_common['BBCode'] ?></a>: <?php echo ($pun_config['p_message_bbcode'] == '1') ? $lang_common['on'] : $lang_common['off']; ?></li>
<li><a href="help.php#img" onclick="window.open(this.href); return false;"><?php echo $lang_common['img tag'] ?></a>: <?php echo ($pun_config['p_message_img_tag'] == '1') ? $lang_common['on'] : $lang_common['off']; ?></li>
<li><a href="help.php#smilies" onclick="window.open(this.href); return false;"><?php echo $lang_common['Smilies'] ?></a>: <?php echo ($pun_config['o_smilies'] == '1') ? $lang_common['on'] : $lang_common['off']; ?></li>
</ul>
</div>
</fieldset>
</div>
#
#---------[ 9. Apres, Ajouter ]----------------------
#
<!-- MOD ImageFacile -->
<div class="inform">
<iframe src="http://www.imagefacile.com/fluxbb.php" width="640" height="100" frameborder="0" scrolling="no" allowtransparency="true" ></iframe>
</div>
<!-- MOD ImageFacile -->
#
#---------[ 10. Uploadez vos fichiers modifiés ! ]----------------------
#