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!!
#1274
Re:Video enbeding!! 1 Year, 7 Months ago  
Maria wrote:
Mambot idea is good stuff noted down
See that post, we already had it enabled in Joomlaboard, will be easy to port to Fireboard. Nice and clean, I think.

(Credit for the code does not go to me, though.)
hypnotoad (User)
Senior Boarder
Posts: 111
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#1297
Re:Video enbeding!! 1 Year, 7 Months ago  
Hm. It's exactly (for each word) the same method.
To enable it for FB, i simply changed $sb_message_txt for $fb_message_txt.

No need to be a coder to adapt good work as JB/FB !!

Thanks so much to the whole team united now !
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.  
#1314
Re:Video enbeding!! 1 Year, 7 Months ago  
Yup, we are thinking of embeding mambots as native for JB, with our own calls, like beforePost, signatureSave,... so you can have a total control on the content generated and saved.

I'm at the moment planing how to do it
danialt (Admin)
BoJ Team
Simplicity
Administrator
Posts: 957
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Birthdate: 1978-05-25
Logged Logged
 
Best Of Joomla Team
FireBoard Project Manager
 
The administrator has disabled public write access.  
#1364
Re:Video enbeding!! 1 Year, 7 Months ago  
The next release of Fireboard will be awesome, i hope you guys can implement the mambot idea, i dont like the harcoded things hahaha.
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.  
#1517
Re:Video enbeding!! 1 Year, 7 Months ago  
florut wrote:
Hm. It's exactly (for each word) the same method.
To enable it for FB, i simply changed $sb_message_txt for $fb_message_txt.

No need to be a coder to adapt good work as JB/FB !!

Thanks so much to the whole team united now !

Oh, you already posted the method here, sorry, for replicating it - I did not read further than page 1 of this thread before replying.

Thanks again for that mambot code florut, both for Joomlaboard and Fireboard! It really enhanced the board at my page!
hypnotoad (User)
Senior Boarder
Posts: 111
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#3624
Re:Video enbeding!! 1 Year, 7 Months ago  
I guess it all depends on what template you're using. In the newer templates there is no view.php in any folder. Actually there are a LOT of files "missing" from the newer templates (how do they work without those files ?).
Not that it matters. I tried modifying the default template's view.php with no results after following the all the above posts to the letter. I think I'll wait until the next release. If I wanted to hack files I'd be using PHPBB. I prefer Fireboard.
grumblemarc (User)
Platinum Boarder
Posts: 3559
graph
User Offline Click here to see the profile of this user
Gender: Male
Logged Logged
 
The administrator has disabled public write access.  
#4106
Re:Video enbeding!! 1 Year, 6 Months ago  
I decided to add video support to my fireboard by adding some code (as mentioned earlier) to the smile.class.php


find this line

[code:1] // italic


$fb_message_txt = preg_replace("/([i])(.*?)([/i])/si","\2",$fb_message_txt);[/code:1]


and add the following code


[code:1] //youtube

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


// Myvideo

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

// Google Video

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

// Clipfish

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


Use:

[ youtube]Video-ID[ /youtube]
[ myvideo]Video-ID[ /myvideo]
[ google]Video-ID[ /google]
[ clipfish]Video-ID[ /clipfish]

Post edited by: c0caine, at: 2007/04/30 17:24
c0caine (User)
Junior Boarder
Posts: 46
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#4222
Re:Video enbeding!! 1 Year, 6 Months ago  
c0caine wrote:
[quote]I decided to add video support to my fireboard by adding some code (as mentioned earlier) to the smile.class.php


find this line

[code:1] // italic


$fb_message_txt = preg_replace("/([i])(.*?)([/i])/si","\2",$fb_message_txt);[/code:1]


and add the following code


[code:1] //youtube

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


// Myvideo

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

// Google Video

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

// Clipfish

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


Use:

[ youtube]Video-ID[ /youtube]
[ myvideo]Video-ID[ /myvideo]
[ google]Video-ID[ /google]
[ clipfish]Video-ID[ /clipfish]

Post edited by: c0caine, at: 2007/04/30 17:24[/quote]

That is how I have seen other boards implement embeded video and that's how I am going to do it as well for the time being. Thanks for sharing the code.

I'll still ad my vote for Mambot/Plugin support in Fireboard though. That would still be good core functionality, but I would like to see it restricted to user classes (moderators, admins).
Goanna (User)
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#4229
Re:Video enbeding!! 1 Year, 6 Months ago  
It works, as long as there aren't any weird spaces. When I copied the code, for some reason, the lines broke several times, resulting in raw code being displayed on the forum. Going through and bringing lines together fixed it though.
Eli (User)
Junior Boarder
Posts: 56
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#4367
Re:Video enbeding!! 1 Year, 6 Months ago  
Maria wrote:
Mambot idea is good stuff noted down

This is would make the Forum powerful... As we could use all the mambots right here so it would be like having a great list of Plugins already created...

cant wait to see this integrated..

regards
rick
subfighter (User)
Jiu Jitsu Techniques Online
Junior Boarder
Posts: 70
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Subfighter estrada_rick@hotmail.com Location: Oceanside, California Birthdate: 1971-05-13
Logged Logged
 
Database Version: 5.0.51a-community
Database Collation: utf8_general_ci
PHP Version: 5.2.5
Web Server: Apache/2.0.63 (Unix)
Joomla! Version: Joomla! 1.5.7
 
The administrator has disabled public write access.  
Go to top