Bonjour, je suis occupé de develloper le FsCodes SWF car il n'en existe pas.
Voila ma progression :
#
# [] ---------- Ouvrir -----------------------------------------------
#
poster.php
#
# [] ---------- Chercher ----------------------------------------------
#
$fscode_bouttons = array('b', 'i', 'u', 'url', 'mail', 'img', 'quote', 'code', 'list');
#
# [] ---------- Remplacer par --------------------------------
#
$fscode_bouttons = array('b', 'i', 'u', 'url', 'mail', 'img', 'quote', 'code', 'list', 'swf');
#
# [] ---------- Ouvrir -----------------------------------------------
#
includes/fonctions/fonctions_message.php
#
# [] ---------- Chercher ----------------------------------------------
#
// Image :: [img]http://forums.fire-soft-board.com/images/logo_fsb.jpg[/img]
$texte = preg_replace('`\[img\](http://){1}(.*?)(gif|jpg|jpeg|png)\[/img\]`si', '<img src="\\1\\2\\3" border="0">', $texte);
#
# [] ---------- Après, ajouter ---------------------------------------
#
// Image :: [swf]http://forums.fire-soft-board.com/images/logo_fsb.jpg[/swf]
$texte = preg_replace('`\[swf\](http://){1}(.*?)(.swf)\[/swf\]`si', '<embed src="http://\\1" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>', $texte);
Voila, pour le moment l'animation ne s'affiche pas, je suis occupé de chercher pourquoi
A+++