| How To Add YouTube Button 4 Years, 8 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 [url=http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,812/Itemid,35/]Joomla Extensions Directory[/url] 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://fireboard.bestofjoomla.com/images/fbfiles/files/Fireboard1-e2b9ce25bbcc8bc260f66ec66b6dcc0b.rar[/file]
|
|
|
| How To Add YouTube Button 4 Years, 8 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 [url=http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,812/Itemid,35/]Joomla Extensions Directory[/url] 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://fireboard.bestofjoomla.com/images/fbfiles/files/Fireboard1-e2b9ce25bbcc8bc260f66ec66b6dcc0b.rar[/file]
|
|
|
| Re:How To Add YouTube Button 4 Years, 8 Months ago |
|
Works perfect. Thank you!
|
|
|
| Re:How To Add YouTube Button 4 Years, 8 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
|
|
|
| Re:How To Add YouTube Button 4 Years, 8 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
|
|
|
| Re:How To Add YouTube Button 4 Years, 8 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!
|
|
|
| Re:How To Add YouTube Button 4 Years, 8 Months ago |
|
nevermind! found it!
/com_fireboard/sources/
for some reason i read \'source\'
|
|
|
| Re:How To Add YouTube Button 4 Years, 8 Months ago |
|
Sorry, I got this message late! Glad you found the problem.
If you need help let me know.
James
|
|
|
| Re:How To Add YouTube Button 4 Years, 8 Months ago |
|
[b]clanspot wrote:[/b]
[quote]Sorry, I got this message late! Glad you found the problem.
If you need help let me know.
James[/quote]
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. [img size=490]http://fireboard.bestofjoomla.com/images/fbfiles/images/ss_english.gif[/img]
|
|
|
| Re:How To Add YouTube Button 4 Years, 8 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?
|
|
|
| Re:How To Add YouTube Button 4 Years, 8 Months ago |
|
info sent in pm.
thanks!
|
|
|
|