Advertisement:

Author Topic: YouTube BBC Tag (XHTML Compliant)  (Read 210621 times)

Offline mormam

  • Newbie
  • *
  • Posts: 1
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #400 on: August 03, 2007, 08:58:06 AM »
Thanks Marlon for this mod  :D

I modified the original to read Veoh Videos (in attachment), if you want you could merge the code and create one with the two options.
« Last Edit: August 03, 2007, 10:35:26 AM by mormam »

Offline dark angel dk

  • Newbie
  • *
  • Posts: 3
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #401 on: August 03, 2007, 02:00:48 PM »
I have a lil prob. with it! I have the 1.1.3. and it wont even say that it has installed it!

Offline tondelo

  • Semi-Newbie
  • *
  • Posts: 31
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #402 on: August 03, 2007, 03:00:29 PM »
When I upgraded to 1.1.3 my settings were  all gone and it didn't show it was installed. I re-installed it and then modified my Subs.php and I was good to go.

I have a lil prob. with it! I have the 1.1.3. and it wont even say that it has installed it!
I have a lil prob. with it! I have the 1.1.3. and it wont even say that it has installed it!

Offline dark angel dk

  • Newbie
  • *
  • Posts: 3
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #403 on: August 03, 2007, 03:41:03 PM »
Cannot find those files to change too...! I need someone to help me!!!!

Offline tondelo

  • Semi-Newbie
  • *
  • Posts: 31
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #404 on: August 03, 2007, 03:47:40 PM »
subs.php was in my <forumroot>/Sources/

Cannot find those files to change too...! I need someone to help me!!!!

Offline dark angel dk

  • Newbie
  • *
  • Posts: 3
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #405 on: August 03, 2007, 04:10:27 PM »
think i will just give up on it. Have found the sub. but cannot find the files in it that i have to change. And same with in the post.template. Unless someone can help me with install and change the files for me

Offline Tick

  • Full Member
  • ***
  • Posts: 466
  • Tiny Portal Support Team
    • Tiny Portal Hosting
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #406 on: August 08, 2007, 10:58:32 AM »
Is there a way to make the video so when  you embed it in the post it sends  a thumbnail to the subject line on the message index.  THanks Tick.

Offline Carver

  • Semi-Newbie
  • *
  • Posts: 20
  • Gender: Male
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #407 on: August 09, 2007, 06:03:44 PM »
Nice Job on the mod Works Great !

Almost too great.. I have to keep policing the files.. is there anyway to lock this mod down so only admins can use it ?
That way the guys could PM the URL for the vids they want posted and I can make sure I will not be ashamed or jailed for it's being on the site....

Thanks...

Offline Chantal Matar

  • Semi-Newbie
  • *
  • Posts: 63
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #408 on: August 10, 2007, 09:53:10 AM »
Hi guys, I have installed this on 1.1.3 - all good so far.  Have posted a video which shows up but doesn't play!  ???

Any idea why this is happening?  It has done with every other video I've tried.

http://ps3smalltalk.com/index.php?topic=1052.0

Thanks.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,629
  • Gender: Male
    • Kindred-999 on GitHub
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #409 on: August 10, 2007, 11:15:17 AM »
1- we apparently can not view that site without registering.
2- did you use the correct code to post the video?
3- is the video allowed to be called externally? Some youtube users turn off external access
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Chantal Matar

  • Semi-Newbie
  • *
  • Posts: 63
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #410 on: August 10, 2007, 11:41:51 AM »
Hi Kindred, thanks for you reply. 

I was coming back on here to post something I just found out:

If you use Firefox (which I do) and you haven't upgraded to the new Firefox 2, the mod won't work for you. I just upgraded and it works perfectly.

Just go to www.Firefox.com for the link.


I don't know what it's like on IE.  I'm just going to check.... It's works well.  I have the IE7 which is the lastest one.


I hope this information helps some of you!

Offline webbhawk

  • Newbie
  • *
  • Posts: 7
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #411 on: August 17, 2007, 05:45:29 PM »
I installed the mod using the package manager and the tag works fine if you type it in but I don't have a button and $txt['youtube'] = 'YouTube'; is in the top left corner of all my pages. I know this probably has something to do with modifications.english.php but i don't have that file. i have settings.english.php

any help?

Offline HighCast

  • Newbie
  • *
  • Posts: 9
  • Gender: Male
    • Aaveratsastajat WoW horde guild@ EU-Dunemaul
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #412 on: August 18, 2007, 05:56:58 AM »
So here we go. I'm running SMF 1.13 with a bit modified..it speaks another language and uses wowdk theme. After installing this mod, I keep getting the following errors to error log and the mod does not work. I've modified the files as shown in description and the youtube button is there..but the modification to SHOW the videos is not working:

hxxp:URL/index.php?action=packages;sa=install2;package=yt_bbc_xhtml_1.0.zip [nonactive]

512: package_flush_cache(): some files are still not writable
File: /usr/home/tla/public_html/ar/Sources/Subs-Package.php
Line: 1905
   
hxxp:URL/index.php?action=packages;sa=install2;package=yt_bbc_xhtml_1.0.zip [nonactive]

2: fopen(Themes/default/images/bbc/youtube.gif) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory
File: /usr/home/tla/public_html/ar/Sources/Subs-Package.php
Line: 1901
   
hxxp:URL/index.php?action=packages;sa=install2;package=yt_bbc_xhtml_1.0.zip [nonactive]
2: copy(Themes/default/images/bbc/youtube.gif) [<a href='function.copy'>function.copy</a>]: failed to open stream: Permission denied
File: /usr/home/tla/public_html/ar/Sources/Subs-Package.php
Line: 1025
   
hxxp:URL/index.php?action=packages;sa=install;package=yt_bbc_xhtml_1.0.zip [nonactive]

2: fclose(): supplied argument is not a valid stream resource
File: /usr/home/tla/public_html/ar/Sources/Subs-Package.php
Line: 1908
   
hxxp:URL/index.php?action=packages;sa=install;package=yt_bbc_xhtml_1.0.zip [nonactive]
2: fopen(/usr/home/tla/public_html/ar/Themes/default/languages/Modifications.english.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
File: /usr/home/tla/public_html/ar/Sources/Subs-Package.php
Line: 1901

Offline Daniel Marquard

  • Jr. Member
  • **
  • Posts: 356
  • Gender: Male
    • Tristition
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #413 on: August 18, 2007, 11:15:08 AM »
So here we go. I'm running SMF 1.13 with a bit modified..it speaks another language and uses wowdk theme. After installing this mod, I keep getting the following errors to error log and the mod does not work. I've modified the files as shown in description and the youtube button is there..but the modification to SHOW the videos is not working:

http://URL/index.php?action=packages;sa=install2;package=yt_bbc_xhtml_1.0.zip

512: package_flush_cache(): some files are still not writable
File: /usr/home/tla/public_html/ar/Sources/Subs-Package.php
Line: 1905
   
http://URL/index.php?action=packages;sa=install2;package=yt_bbc_xhtml_1.0.zip

2: fopen(Themes/default/images/bbc/youtube.gif) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory
File: /usr/home/tla/public_html/ar/Sources/Subs-Package.php
Line: 1901
   
http://URL/index.php?action=packages;sa=install2;package=yt_bbc_xhtml_1.0.zip
2: copy(Themes/default/images/bbc/youtube.gif) [<a href='function.copy'>function.copy</a>]: failed to open stream: Permission denied
File: /usr/home/tla/public_html/ar/Sources/Subs-Package.php
Line: 1025
   
http://URL/index.php?action=packages;sa=install;package=yt_bbc_xhtml_1.0.zip

2: fclose(): supplied argument is not a valid stream resource
File: /usr/home/tla/public_html/ar/Sources/Subs-Package.php
Line: 1908
   
http://URL/index.php?action=packages;sa=install;package=yt_bbc_xhtml_1.0.zip
2: fopen(/usr/home/tla/public_html/ar/Themes/default/languages/Modifications.english.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
File: /usr/home/tla/public_html/ar/Sources/Subs-Package.php
Line: 1901

Some other mods are interfering with the functionality of my mod.  My mod is fine; however, one or more of your other mods aren't.

Offline webbhawk

  • Newbie
  • *
  • Posts: 7
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #414 on: August 18, 2007, 03:47:43 PM »
Any help on my problem??

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,629
  • Gender: Male
    • Kindred-999 on GitHub
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #415 on: August 19, 2007, 08:46:12 AM »
I installed the mod using the package manager and the tag works fine if you type it in but I don't have a button and $txt['youtube'] = 'YouTube'; is in the top left corner of all my pages. I know this probably has something to do with modifications.english.php but i don't have that file. i have settings.english.php

any help?

in modifications.english.php, move the ?> in that file to the end of the file...

as for the youtube button not showing up, are you uysing the default theme?  If not, you will have to manually apply the mod to your theme's post.template.php
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline webbhawk

  • Newbie
  • *
  • Posts: 7
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #416 on: August 20, 2007, 03:02:38 AM »
I installed the mod using the package manager and the tag works fine if you type it in but I don't have a button and $txt['youtube'] = 'YouTube'; is in the top left corner of all my pages. I know this probably has something to do with modifications.english.php but i don't have that file. i have settings.english.php

any help?

in modifications.english.php, move the ?> in that file to the end of the file...

as for the youtube button not showing up, are you uysing the default theme?  If not, you will have to manually apply the mod to your theme's post.template.php
I don't have a modifications.english.php. I'm using the template back in black by crip. There is a settings.english.php
Is there somewhere I can get that file and add it to the directory?


Where else would that code be showing up since i don't have the above metioned file?

Offline tatore

  • Sophist Member
  • *****
  • Posts: 1,259
  • Gender: Male
    • salvo.franchina on Facebook
    • @tatore on Twitter
    • SalvoFranchina.it
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #417 on: August 20, 2007, 03:10:48 AM »
Give a look into themes >>default >>languages >>Modifications.(yourlanguage).php
You have it for sure (Modifications.english.php is always there).
As Kindred said, before "?>"(end of file), put:
Code: [Select]
$txt['youtube'] = 'YouTube';It doesn't matter about your actual used theme..the added strings are "recalled" from default theme folder.
« Last Edit: August 20, 2007, 03:12:52 AM by tatore »
*Salvo*




Quote from: Rumbaar
I wont jump to conclusion, but you might be hacked?

Offline webbhawk

  • Newbie
  • *
  • Posts: 7
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #418 on: August 20, 2007, 07:40:46 PM »
 :-[

I'm soooo stupid.

I was looking in my back-in-black directory. I never even thought to look in the default folder.

Thanks guys!

Offline tatore

  • Sophist Member
  • *****
  • Posts: 1,259
  • Gender: Male
    • salvo.franchina on Facebook
    • @tatore on Twitter
    • SalvoFranchina.it
Re: YouTube BBC Tag (XHTML Compliant)
« Reply #419 on: August 20, 2007, 07:53:12 PM »
 :D does it works now?
*Salvo*




Quote from: Rumbaar
I wont jump to conclusion, but you might be hacked?