florut wrote:
[quote]Well while waiting for a realease including mambot support you can just modify the "view.php" file founded in /components/com_fireboard/template/[name of your template] :
First find this at the beginning of the file :
[code:1]defined ('_VALID_MOS') or die('Direct Access to this location is not allowed.');
global $acl;[/code:1]
and paste right after that :
[code:1]//
class t{ var $text = ""; } // Déclarer une classe avec une variable "text"
//[/code:1]
Then find :
[code:1]$msg_text =str_replace("_CRLF_", "\n", stripslashes($fb_message_txt));[/code:1]
and paste right after :
[code:1]
//
/* Activer les bots de contenu sur le message */
global $_MAMBOTS; // variables globale des Mambots
$row = new t(); // Nouvelle instance de cette classe t
$row->text = $fb_message_txt; // définir la propritét text de cet objet (corp du msg)
$_MAMBOTS->loadBotGroup( 'content' ); // charger les bots de contenu
$params =& new mosParameters( '' ); // pas de paramètre
$results = $_MAMBOTS->trigger( 'onPrepareContent', array( &$row, &$params, 0 ), true ); // execute l'action des bots
$msg_text = $row->text; // remplace le corp du msg par le resultat des bots
/*Fin de l'activation des bots de contenu sur le message */
//
[/code:1]
I just adapted this method from a one for JB submitted [url=http://forum.joomlafacile.com/showthread.php?t=11628&highlight=mambots+joomlaboard]here[/url]. Some feedback already [url=http://www.tsmf.net/component/option,com_joomlaboard/Itemid,32/func,view/id,12147/catid,18/limit,6/limitstart,0/]here[/url].
PLEASE LET ME KNOW :
- If this works (for testers)
- If there is no security problems (for developers)
Thanks in advance.[/quote]
florut is this hack to get mambots to work in the posts right now??? If so i will try and if it is then all you guys just need apply the hack and the ALL VIDEOS PLUGIN 2.4 and you will be able to embed all the videos you want..