Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard Spread FireBoard!
Video embedding!! (1 viewing) (1) Guest
Go to bottom Favoured: 8
TOPIC: Video embedding!!
#881
Re:Video enbeding!! 1 Year, 7 Months ago  
To add youtube video in joomlaboard i edit the smile.class.phph file and put this

[code:1]//video

$sb_message_txt = preg_replace("/[video](.*?)[/video]/si"," bgcolor="#ffffff" width="425" height="350" align="middle" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/
getflashplayer" />
",$sb_message_txt);
[/code:1]

It works with joomlaboard, i dont know if this works with Fireboard too.
kuato (User)
OpEn YoUr MiNd
Moderator
Posts: 309
graphgraph
User Offline Click here to see the profile of this user
Gender: Male kuato@puntaltenses.com.ar Location: Argentina Birthdate: 1978-07-24
Logged Logged
 
OpEn YoUr MiNd ---> Correct my english please! i wish to learn.
 
The administrator has disabled public write access.  
#929
Re:Video enbeding!! 1 Year, 7 Months ago  
sounds good, will the users need to put the embed code the url or the video id only before highlighting and hiting this new feature?
thanks
J.
paperboy (User)
Junior Boarder
Posts: 43
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
The administrator has disabled public write access.  
#1088
Re:Video enbeding!! 1 Year, 7 Months ago  
Hey guys,

Is this option available anywhere else? Still trying to figure out how to allow embedded youtube videos on my site

thanks!
ahchv (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#1106
Re:Video enbeding!! 1 Year, 7 Months ago  
The code that i use in Joomlaboard works great, the users just need to ad a tag like [code:1][video]4h34ju34j[/video][/code:1]
I dont know how to implement it on Fireboard.
kuato (User)
OpEn YoUr MiNd
Moderator
Posts: 309
graphgraph
User Offline Click here to see the profile of this user
Gender: Male kuato@puntaltenses.com.ar Location: Argentina Birthdate: 1978-07-24
Logged Logged
 
OpEn YoUr MiNd ---> Correct my english please! i wish to learn.
 
The administrator has disabled public write access.  
#1111
Re:Video enbeding!! 1 Year, 7 Months ago  
Do you know how to activate HTML tags by any chance? That would solve the problem too...
ahchv (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#1140
Re:Video enbeding!! 1 Year, 7 Months ago  
Would be great if the video could be added trough a BBcode-button or a pull-downlist with all video providers listed. So you don't have to type the tags.
PGLion (User)
FireBoards Rulez!
Junior Boarder
Posts: 66
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: The Netherlands Birthdate: 1970-08-04
Logged Logged
 
The administrator has disabled public write access.  
#1169
Re:Video enbeding!! 1 Year, 7 Months ago  
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.
florut (User)
FB Translation Team
Senior Boarder
Posts: 195
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#1240
Re:Video enbeding!! 1 Year, 7 Months ago  
on the uploads tab!!!!!!!
Specify here which file types are allowed for upload. Use comma separated lowercase lists without spaces.
Example: zip,txt,exe,htm,html
Kingspawn (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#1251
Re:Video enbeding!! 1 Year, 7 Months ago  
Wow , nice one florut!.
kuato (User)
OpEn YoUr MiNd
Moderator
Posts: 309
graphgraph
User Offline Click here to see the profile of this user
Gender: Male kuato@puntaltenses.com.ar Location: Argentina Birthdate: 1978-07-24
Logged Logged
 
OpEn YoUr MiNd ---> Correct my english please! i wish to learn.
 
The administrator has disabled public write access.  
#1260
Re:Video enbeding!! 1 Year, 7 Months ago  
Well done!
Maria (User)
BoJ Team
Moderator
Posts: 58
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Best of Joomla Team
 
The administrator has disabled public write access.  
Go to top