Page 1 of 1
Youtube mod not working.

Posted:
Wed Sep 12, 2007 9:08 am
Author: shamroc
Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: Yes
Your knowledge: Basic Knowledge
Board URL: [url]http://[/url]
PHP Version:
MySQL Version:
What was done before the problem appeared?
youtube mod downloaded
What was done to try to solve the problem?
reread file editing. All seems fine.
De.scription and Message
Can [you] help?
I dowloaded the mod to add youtube to my site. edited the files and uploaded the youtube gif images to my site.
I click on my new youtube button when posting and it asks for my youtube URL, I put that in, save post and I get a white box with the word "link" underneath. If I click on the word "link" it takes me to the Youtube video.
Can anyone help?
Thanks.

Posted:
Wed Sep 12, 2007 11:29 am
Author: Goucho
I just get the youtube embed code and post that instead of using the button m8.
When i tried first it only showed a couple of words instead but thats fixed by adding them to the html allow line in general admin

Re: Youtube mod not working.

Posted:
Wed Sep 12, 2007 11:34 am
Author: CaNNon
If you have firefox grab the firebug add-on, it will show you the error as you click it.
If your not sure post a forum link please and I'll have a look and see if I can catch it.
Re: Youtube mod not working.

Posted:
Wed Sep 12, 2007 2:27 pm
Author: shamroc
THank you guys.
CaNNon my forum link is
http://www.shamrocs.com [url=http]shamrocs[/url]
Hope you can help.
REgards
Shamroc
Re: Youtube mod not working.

Posted:
Thu Sep 13, 2007 1:38 am
Author: shamroc
CaNNon.
Thanks for your help and posted solutions on My board. It seems you did not make use of the youtube mod at all.
However, I don't understand how you got the web code you used to play the youtube video in a post and automatically.
I understand the you used the "Insert web page" button when posting but where did you get the code?
The example you used on was;
- Code: Select all
[web height=350]http://www.youtube.com/SrCoUqWns6ghttp://www.youtube.com/v/OdT9z-JjtJk&autoplay=1[/web:37ogdtax]
However, the only codes youtube gives me for that video are
[color=red]http] or the embed code, neither are what you used.
I have registered with youtube and the codes available are no different to those I see when I am not registered.
THanks.
Re: Youtube mod not working.

Posted:
Thu Sep 13, 2007 2:43 am
Author: sanji
Not sure for the button itself, but you can very easily add youtube video on an Integramod forum...
Let's say you want to see the following video
http://www.youtube.com/watch?v=8kg8TzGDdf0 (for those interested, it is a Japanese video on a silk mill factory established in 1972) - this is the link displayed in your navigator...
Just insert the following code :
- Code: Select all
[video width=400 height=350]http://www.youtube.com/v/8kg8TzGDdf0[/video:2n3c88h7]
And the result is :
[video width=400 height=350:2n3c88h7]http://www.youtube.com/v/8kg8TzGDdf0[/video:2n3c88h7]
sanji
Re: Youtube mod not working.

Posted:
Thu Sep 13, 2007 3:55 am
Author: shamroc
Looks like there are a number of solutions. I don't understand how CaNNon gets his to work and hope he can expain for me.
Sanji.
I tried your solution, however it did not recognise the video codes. So, I edited bbcodes.js and added [video]and[/video:336gdn22] in line after the youtube codes and the code you suggest does not link let alone play.
Thanks anyway, still trying to get a soloution.
Re: Youtube mod not working.

Posted:
Thu Sep 13, 2007 4:06 am
Author: CaNNon
I didn't use buttons shamroc, I was inserting the code's as sanji says.
and just playing with it, to see what could work.
I think you want all your members to be able to use the button to share videos?
and thats the problem, sanji I can make it work a bunch of ways but it's going beyond what the forum's users will be able.
EDIT:
I cheated shamroc... <img>
Re: Youtube mod not working.

Posted:
Thu Sep 13, 2007 6:08 am
Author: CaNNon
It also needs "multi_bbcode mod" to be installed first or it won't work and I don't see it in my forums hacks list. Did you install it first?
## Author Notes:
## You must have Multiple BBCode MOD installed for this to work.
## Get it here:
http://www.phpbb.com/phpBB/viewtopic.php?t=74705##
## example:
## [youtube]YouTube URL[/youtube]
##
## YouTube URL is the "Video URL (Permalink)" or the URL of the page the video
## is on, NOT the "Embeddable Player" code they have on their video pages.
###############################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
####################################################
As he claims it's "EasyMOD compatiable" and thats the only one he lists backup!
Re: Youtube mod not working.

Posted:
Thu Sep 13, 2007 7:55 am
Author: Helter
while checking the find/replace code for this mod, I found all the code installed here except for the templates code, which I finnished and it appears to work fine.
- Code: Select all
[youtube]http://www.youtube.com/watch?v=I7woY3Dikek[/youtube:1jg5lld5]
the code above is displayed below
[youtube:1jg5lld5]http://www.youtube.com/watch?v=I7woY3Dikek[/youtube:1jg5lld5]
Re: Youtube mod not working.

Posted:
Thu Sep 13, 2007 8:26 am
Author: CaNNon
while checking the find/replace code for this mod, I found all the code installed here except for the templates code, which I finnished and it appears to work fine.
I just finished installing Multiple BBCode MOD on mine and had to do all the edit's same result though it seems to be working fine. this is the one you checked first?
or you went right to the youtube mod?
Re: Youtube mod not working.

Posted:
Thu Sep 13, 2007 9:41 am
Author: Helter
if your running 141, you should not need to install anything but the youtube mod
Re: Youtube mod not working.

Posted:
Thu Sep 13, 2007 10:56 am
Author: CaNNon
Er.. this was missing from "includes/bbcode.php" on my 141
"$EMBB_widths" and also "$EMBB_values"
how did you deal with it? the multi-bbc mod installs them and it's the first edits.
[youtube:9mrk8c4q]http://www.youtube.com/watch?v=hTpVbs4JsTA[/youtube:9mrk8c4q]
Re: Youtube mod not working.

Posted:
Thu Sep 13, 2007 11:58 pm
Author: Helter
this code is not installed on this forum, but as you can see, the you tube bbcode works fine
- Code: Select all
"$EMBB_widths" and also "$EMBB_values"
Re: Youtube mod not working.

Posted:
Sat Sep 15, 2007 8:14 am
Author: .QUACK.Major.Pain
I have added the youtube mod and it works fine.
If you wanted, you could also add the html tags in your acp>general config>config and just use the embed coding. I think you need to add the following: object,param,embed
Re: Youtube mod not working.

Posted:
Sat Sep 15, 2007 1:46 pm
Author: Goucho
".=QUACK=.Major.Pain";p="28429" wrote:I have added the youtube mod and it works fine.
If you wanted, you could also add the html tags in your acp>general config>config and just use the embed coding. I think you need to add the following: object,param,embed
Thats near what i said as u helped me m8 <img>
Re: Youtube mod not working.

Posted:
Sat Dec 29, 2007 11:49 pm
Author: spaniel
Could anyone please tell me how you added a YouTube Icon to the BBCode box in IM141? I have the youtube mod installed and would like the icon also.
Much appreciated.
Re: Youtube mod not working.

Posted:
Sun Dec 30, 2007 8:57 am
Author: .QUACK.Major.Pain
It is in the package. There is a youtube image.
If you do everything by the instructions, it will appear when your finished.

Posted:
Sun Dec 30, 2007 12:02 pm
Author: spaniel
Oh i must hav installed a different version. The one i installed came with only a .txt file.
Does anybody have a link to the version that comes with the icon?
Many thanks.
Re: Youtube mod not working.

Posted:
Sun Dec 30, 2007 12:06 pm
Author: CaNNon
[url=http]http://www.integramod.com/forum/dload.php?action=file&file_id=139[/url]
Use that one. <img>

Posted:
Sun Dec 30, 2007 1:27 pm
Author: spaniel
Wow! That is awesome!! My members are like that's the best thing since sliced bread!
Can it be used for other video sites or just YouTube?
A very big thank you - IM141 has far exceeded my expectations <img>
Re: Youtube mod not working.

Posted:
Sun Dec 30, 2007 2:20 pm
Author: Helter
this mod is proprietary for the us youtube

Posted:
Wed Feb 06, 2008 5:55 am
Author: fldodger
Thanks the mod was a success.
Re: Youtube mod not working.

Posted:
Sun Feb 24, 2008 10:14 pm
Author: Sligo
I've added the youtube mod to my 141 but when I try to use the feature it results in displaying the bbcode and not the video:
- Code: Select all
[youtube]http]
I've double-checked all the the files to make sure I performed all the changes properly. Everything looks correct. I could resort to enabling HTML but I really want to keep everything using bbcode.
Any ideas?
Re: Youtube mod not working.

Posted:
Sun Feb 24, 2008 11:10 pm
Author: CaNNon
I had the same trouble, it came down to a couple of little errors I'd made.
Took me quite while to find though. <img>
Re: Youtube mod not working.

Posted:
Mon Feb 25, 2008 3:44 am
Author: XHIBIT
Will that video width/height bbc code also work for google ?
A lot of times embedding is disabled and I was wondering if those codes work for google., They tend to play full length and are not broken up like youtube.
Re: Youtube mod not working.

Posted:
Mon Feb 25, 2008 4:05 am
Author: XHIBIT
Hmmm interesting, I dont have the Youtube mod on this site, however DID have it on my my free online movie site. But the funny part is when I use the manually video width/height code, I get a flash prompt. When I click the button to search for the flash app I need, its none available for my firefox.
Ive never had a problem using embed, and sometimes to hide the links if there is no embed I just use the link button and add the url manually.
But it seems Ive uncovered a new wronkle with me not being able to use the video bbc code.
Re: Youtube mod not working.

Posted:
Mon Feb 25, 2008 8:36 am
Author: Sligo
I had the same trouble, it came down to a couple of little errors I'd made.
Thanks CaNNon, do you happen to remember what those errors were? I suspect I'm in the same boat <img>
Re: Youtube mod not working.

Posted:
Mon Feb 25, 2008 12:51 pm
Author: CaNNon
In not completely sure, I think I had added some spaces or something like that when editing the files. I just kept going over it, one time I went back to have another go at it and the damned thing was working. <img>
Re: Youtube mod not working.

Posted:
Mon Feb 25, 2008 1:21 pm
Author: Sligo
I just reinstalled this mod two more times from scratch and I'm still getting the same problem. There are seven files that I have changed per the instructions:
bbcode_box.js
bbcode_box_a.js
bbcode.php
lang_main.php
bbcode.tpl
posting_body.tpl
bbcode.js
(plus the gifs and thumbs.db)
Attached are all the files as I have installed them (w/file structure), could somebody take a look and point out where I'm going wrong?
Re: Youtube mod not working.

Posted:
Mon Feb 25, 2008 3:26 pm
Author: Helter
go to acp/eXtreme Styles/Styles Management/Manage Cache
delete the caches for all your active styles and see if it works
Re: Youtube mod not working.

Posted:
Mon Feb 25, 2008 4:20 pm
Author: Sligo
go to acp/eXtreme Styles/Styles Management/Manage Cache
delete the caches for all your active styles and see if it works
Nope, no luck <img>
Re: Youtube mod not working.

Posted:
Mon Feb 25, 2008 8:37 pm
Author: Helter
[youtube:2yhlut77]http://www.youtube.com/watch?v=JIFEceopAUI[/youtube:2yhlut77]
- Code: Select all
[youtube]http] should be[youtube]http://www.youtube.com/watch?v=JIFEceopAU[/youtube]
under the video on youtube.com is a "Share" button. Click this and it will give the correct code
Re: Youtube mod not working.

Posted:
Tue Feb 26, 2008 1:02 am
Author: CaNNon
What do you edit your files with sligo?
I checked bbcode.php Instead of proper indention it's like word processing spaces.
winmerge is showing them as not matching even though the look the same.
So when I opened it in scite I could see some of the indentation didn't line up.
Showes Like 2 hits of the space bar instead indention in places.
Re: Youtube mod not working.

Posted:
Tue Feb 26, 2008 8:52 am
Author: Sligo
Thanks for the help guys! It turned out to be a combination of clearing the cache and using the 'share' link. Everything appears to be working as it should.
Cheers!
Re: Youtube mod not working.

Posted:
Tue Feb 26, 2008 10:31 am
Author: DjPorkchop
Sorry Shamroc that I didnt get into this sooner. I have never used the youtube mod at all. All I ever did was place embed bbcode in a forum post and the videos just worked.
I figured it was best for me to stay out of it and let the pros who know answer the questions. I would have really hated to give out incorrect advise. <img>