Best of joomla gives you news, joomla templates, extensions, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Dear FireBoard users,
In order to further develope the need of Joomla for a robust forum, FireBoard component has been moved to its own new home and new name. You can find more information regarding the Kunena, the successor of FireBoard, at kunena.com. The current forum here will stay for some time more for referencing needs. You can find the FireBoard files under joomlacode.org.
Upgrading to Kunena is highly recommended!

Kunena! - To Speak!

A revolution is coming... Kunena - Swahili for: To Speak! THE Next generation of native Joomla based Forum ultra component. Forget what you know about Joomla based forums...
Amazingly Simple Lean and Clean Easier Customization
Kunena is about to redefine the world of Joomla! with the most simplistic ultra component out there. For ultimate performance based on state of the art development techniques, Kunena! is about to bring you... With an integrated plugin system that will allow you to extend Kunena beyond your wildest imaginations...
Welcome, Guest
Please Login or Register.    Lost Password?
How To Add YouTube Button (1 viewing) (1) Guest
TOPIC: How To Add YouTube Button
#21343
How To Add YouTube Button 1 Year, 9 Months ago  
Ok, I modified the original to work with Fireboard 1.0.3 if anyone is interested.

What I have done is attached the files and will attempt to explain the changes I made.

Ok here we go!

Notes:
1.)Before I begin, make sure you have in the configuration of Fireboard set it to use Mambots and if you haven't already please visit Joomla Extensions Directory and download the AllVideos Plugin and make sure it is installed and enabled in your Mambots.

2.)Another thing to remember when/if adding other buttons besides YouTube you have to use "{" instead of "[". Why? Because that is how the AllVideos Mambot process the information.

3.)All credit of this goes to the original Author as I meirly used 95% of his code and made a couple modifications. Thanks c0caine, Original Post: [url=http://www.bestofjoomla.com/component/option,com_fireboard/Itemid,38/func,view/id,21328/catid,3/limit,10/limitstart,40/]Original Post[/url]


You will preform the same steps in mine as c0caine has done except in the Smile.Class.php file we do it a little different.

Search for Code:
[code:1]input type = "button" class = "button" accesskey = "h" name = "addbbcode24" value = "Hide" style = "text-decoration: underline; " onclick = "bbstyle(20)" onmouseover = "helpline('h')"[/code:1]

After that code insert:
[code:1]input type = "button" class = "button" accesskey = "y" name = "addbbcode26" value = "Youtube" style = "text-decoration: underline; " onclick = "bbstyle(22)" onmouseover = "helpline('y')"[/code:1]

If you have done the other steps as per his original post, altering the other two files it should work for you.

If you should choose to add more than one button duplicate all of the steps but for each new line in the Smile.Class.php increase the addbbcode by "2" and the bbstyle by "2".

This should work, if anyone sees a flaw please let me know. I will continue testing.

Thanks,
James [file name=Fireboard1-e2b9ce25bbcc8bc260f66ec66b6dcc0b.rar size=38147]http://www.bestofjoomla.com/images/fbfiles/files/Fireboard1-e2b9ce25bbcc8bc260f66ec66b6dcc0b.rar[/file]
clanspot (User)
Fireboard 2.0
Senior Boarder
Posts: 209
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Underground_computing@yahoo.com Location: Houston, Texas Birthdate: 1982-06-22
Logged Logged
 
 
#21377
Re:How To Add YouTube Button 1 Year, 9 Months ago  
Works perfect. Thank you!
crisscross (User)
Junior Boarder
Posts: 36
graphgraph
User Offline Click here to see the profile of this user
Gender: Male husvagnsforum crizcroz@gmail.com Location: Umeå, Sweden Birthdate: 1969-10-22
Logged Logged
 
 
#21522
Re:How To Add YouTube Button 1 Year, 9 Months ago  
No problem, thanks for the FYI.

Hopefully the developers will implement some features such as this in the next update.

The goal would be a drop down list for a user to select. I can do it, just have not had time.

Thanks again,
James
clanspot (User)
Fireboard 2.0
Senior Boarder
Posts: 209
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Underground_computing@yahoo.com Location: Houston, Texas Birthdate: 1982-06-22
Logged Logged
 
 
#21523
Re:How To Add YouTube Button 1 Year, 9 Months ago  
No problem, thanks for the FYI.

Hopefully the developers will implement some features such as this in the next update.

The goal would be a drop down list for a user to select. I can do it, just have not had time.

Thanks again,
James
clanspot (User)
Fireboard 2.0
Senior Boarder
Posts: 209
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Underground_computing@yahoo.com Location: Houston, Texas Birthdate: 1982-06-22
Logged Logged
 
 
#23641
Re:How To Add YouTube Button 1 Year, 9 Months ago  
i just recently installed joomla and fireboard 1.0.3. i've installed the allvideos plugin but i can't find a /source directory, fb_bb.js.php, or smil.class.php.

thanks for your assistance!
effy (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#23643
Re:How To Add YouTube Button 1 Year, 9 Months ago  
nevermind! found it!

/com_fireboard/sources/

for some reason i read 'source'
effy (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#23653
Re:How To Add YouTube Button 1 Year, 9 Months ago  
Sorry, I got this message late! Glad you found the problem.

If you need help let me know.

James
clanspot (User)
Fireboard 2.0
Senior Boarder
Posts: 209
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Underground_computing@yahoo.com Location: Houston, Texas Birthdate: 1982-06-22
Logged Logged
 
 
#23656
Re:How To Add YouTube Button 1 Year, 9 Months ago  
clanspot wrote:
Sorry, I got this message late! Glad you found the problem.

If you need help let me know.

James


no worries. the boardcode button is working which is what i was most concerned about.

but just as an fyi i did have an issue with english.php from the package you put together. when i use that file a bunch of the variables are not being evaluated it looks like. i reverted to my original and everything seems to be in order without it.
effy (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2007/09/20 00:01 By effy. Reason: attached img
 
 
#23660
Re:How To Add YouTube Button 1 Year, 9 Months ago  
You are using Fireboard 1.0.3 correct? Is this a clean installation or an upgrade?

Do you have a URL and a test account for me to login and view this issue?
clanspot (User)
Fireboard 2.0
Senior Boarder
Posts: 209
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Underground_computing@yahoo.com Location: Houston, Texas Birthdate: 1982-06-22
Logged Logged
 
 
#23666
Re:How To Add YouTube Button 1 Year, 9 Months ago  
info sent in pm.

thanks!
effy (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
Go to top