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!!
#21141
Re:Video enbeding!! 1 Year, 2 Months ago  
I'm sure it's just a typo in the code. In the meantime it is a SIMPLE thing to type it out.
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.  
#21328
Re:Video enbeding!! 1 Year, 2 Months ago  
Yea, its simple for us as Admin/Mods because we know how to use the code.

But for members of a site.. thats not so simple! The key is: Keep It Simple Stupid!

The code should be quite simple to modify as you should just do the same as previously, minus adding the mambot support as it is already integrated.

I will see if I can't do it real quick.

James
clanspot (User)
Fireboard 2.0
Senior Boarder
Posts: 197
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
 
The administrator has disabled public write access.  
#21337
Re:Video enbeding!! 1 Year, 2 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 diffrent.

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 te 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
clanspot (User)
Fireboard 2.0
Senior Boarder
Posts: 197
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
 
Last Edit: 2007/09/09 01:03 By clanspot.
 
The administrator has disabled public write access.  
#24649
Re:Video enbeding!! 1 Year, 1 Month ago  
hi my fireboard version 1.0.3 but i cant find "smile.class.php"
where is it?
babyfface (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#24653
Re:Video enbeding!! 1 Year, 1 Month ago  
In your FB default template folder.
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.  
#24656
Re:Video enbeding!! 1 Year, 1 Month ago  
Question, is this the fix from the older version to 1.0.3?
even though i started this topic i never uded the mod in fact i just upgraded from JB to FB1.0.3
so what are the steps for me?

and thanks to everyone. now if i can get fb to award a point to every post and keep track of it,
i'll be able to promote the site even better by let's say send the user a T-Shirt at 3000 points.
any takers on that?
Jay.
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.  
#24661
Re:Video enbeding!! 1 Year, 1 Month ago  
input type = "button" class = "button" accesskey = "y" name = "addbbcode26" value = "Youtube" style = "text-decoration: underline; " onclick = "bbstyle(22)" onmouseover = "helpline('y'"

i added the code to smile.class.php but it is not work.

the error: undefined
babyfface (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#24731
Re:Video enbeding!! 1 Year, 1 Month ago  
you have to play a little with the bbcode numbers... 20 or 22 or 24 and so on

€: for the buttons you also have to edit the fb_bb.js.php file in the sources directory

i have it up and running, everythings working fine with 1.0.3 just the hide code does not work, but i dont mind...

demo: www.majors-welt.net/index.php?option=com...=22&id=2629#2629
major_tom (User)
this seems to be a personal text :P
Senior Boarder
Posts: 468
graphgraph
User Offline Click here to see the profile of this user
ICQ#: 470999846 Gender: Male Location: Vienna - Austria Birthdate: 1980-12-12
Logged Logged
 
Last Edit: 2007/09/26 19:42 By major_tom.
 
take a look
www.majors-welt.net/downloads/fireboard_...s/view_category.html - major_toms Fireboard Templates
 
The administrator has disabled public write access.  
#24769
Re:Video enbeding!! 1 Year, 1 Month ago  
how can i do it ??
babyfface (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#25022
Re:Video enbeding!! 1 Year, 1 Month ago  
i made a manual for the changes wich are needed to embed video without mambot support and with bbcode and bbcode buttons...
File Attachment:
File Name: anleitung_youtube_bbcode.rar
File Size: 1672
major_tom (User)
this seems to be a personal text :P
Senior Boarder
Posts: 468
graphgraph
User Offline Click here to see the profile of this user
ICQ#: 470999846 Gender: Male Location: Vienna - Austria Birthdate: 1980-12-12
Logged Logged
 
Last Edit: 2007/09/28 11:55 By major_tom.
 
take a look
www.majors-welt.net/downloads/fireboard_...s/view_category.html - major_toms Fireboard Templates
 
The administrator has disabled public write access.  
Go to top