Advertisement:

Author Topic: [Deprecated, use Aeva] YouTube BBCode v2.6  (Read 260867 times)

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,630
  • Gender: Male
    • Lifeproof
Re: YouTube BBCode v1.4
« Reply #60 on: October 31, 2007, 04:21:56 PM »
open Modifications.english.php

Move ?> to the very bottom
Move <?php to the very top

(make sure there are no spaces or new lines before or after those bits)

Offline Lutious

  • Semi-Newbie
  • *
  • Posts: 12
  • Gender: Male
Re: YouTube BBCode v1.4
« Reply #61 on: October 31, 2007, 04:33:16 PM »
Perfect!  Thank you very much for your help!  This was the number one request on my forums.

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,630
  • Gender: Male
    • Lifeproof
Re: YouTube BBCode v1.4
« Reply #62 on: October 31, 2007, 04:49:47 PM »
Thanks.

Good luck with the mod.

If you want to use other video clip sites aswell. checkout my Auto Embed Video Clips mod.

Offline Lord Belial

  • Newbie
  • *
  • Posts: 1
Re: YouTube BBCode v1.4
« Reply #63 on: November 07, 2007, 10:59:19 AM »
Please help. I'm new to smf and i still dont know how to work this:

Quote
Installation
Simply install the package to install this modification on the Default theme.

This version is for compatible with SMF 1.1.x
and with SMF 2.0 Beta 1 (which is currently available to Charter Members).

i did all the manual instalation, but how do i run the install.xml? where do i install it? i have search all the forums but no luck. this is my first mod I would me installing  :'( like i said, I did the manual installment "youtube.gif" and the add before codes ect ect. I just need to get it working  :([/b]

Offline Dragooon

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,738
  • Gender: Male
  • I'm batman
    • ShitizGarg on Facebook
    • Dragooon on GitHub
    • dragooon on LinkedIn
    • SMF-Media
Re: YouTube BBCode v1.4
« Reply #64 on: November 07, 2007, 11:03:36 AM »
It can be installed like any other mod, See http://docs.simplemachines.org/index.php?board=49.0;sort=subject if you don't know how to install mods.
And KarlBenson is away due to technical problems with his Computer/Internet.

Offline edi67

  • SMF Hero
  • ******
  • Posts: 1,532
  • Gender: Male
  • Italian Supporter
    • CrazyZone
Re: YouTube BBCode v1.4
« Reply #65 on: November 08, 2007, 10:07:25 AM »
nice one
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Offline Harvester

  • Sr. Member
  • ****
  • Posts: 700
  • Gender: Male
Re: YouTube BBCode v1.4
« Reply #66 on: November 09, 2007, 10:46:46 AM »
I have the code installed and working well it seems BUT if I make a post and just put the youtube link:
Code: [Select]
[youtube]http://www.youtube.com/watch?v=kg4bcaIXKHU [/youtube]
I get told: "The message body was left empty." and i cant make the post without adding something more to the message.
Why is it doing this and how can it be made not to do this?
Please help

Offline nick09

  • Full Member
  • ***
  • Posts: 429
Re: YouTube BBCode v1.4
« Reply #67 on: November 09, 2007, 04:02:31 PM »
karl made a fix for it of what i know.

he answered it in the mod forum.
« Last Edit: November 17, 2007, 06:12:48 PM by nick09 »

Offline photoshop

  • Semi-Newbie
  • *
  • Posts: 15
Re: YouTube BBCode v1.4
« Reply #68 on: November 14, 2007, 09:13:14 AM »
Nice mod..I have instaled today...now I have in admin panel errors:  :o

8: Undefined index: youtube
File: /home/------/public_html/---------/Themes/default/languages/Post.croatian.php (eval?)
Line: 778

please help me..Is this ok...what to do!? :-[

« Last Edit: November 14, 2007, 09:18:34 AM by photoshop »

Offline DarthNuno

  • Semi-Newbie
  • *
  • Posts: 15
  • Gender: Male
  • ArcadeLifeStyle4Ever
    • Dragon's Lair Fans - Arcade LifeStyle
Re: YouTube BBCode v1.4
« Reply #69 on: November 14, 2007, 04:09:15 PM »
I've just install the mod, but it doesn't work  :(
There's no utube icon when I'm doing a new post and the tag ( ex : [youtube]meYx9RuCAQY[/youtube] )  doesn't work too ...

I'm running 1.1.4 & my packages :

Browse Packages
Modification Packages
 Mod Name Version 
1. Auto Embed Video Clips 1.3   [ Uninstall ] [ List Files ] [ Delete ] 
2. YouTube BBCode 1.4   [ Uninstall ] [ List Files ] [ Delete ] 

Any idea ? Tx
[nofollow]

Offline photoshop

  • Semi-Newbie
  • *
  • Posts: 15
Re: YouTube BBCode v1.4
« Reply #70 on: November 14, 2007, 04:44:26 PM »

icon in my forum look like this!
 :o

but it works..whith erors in admin panel!
 :-\

Offline hobox

  • Jr. Member
  • **
  • Posts: 144
  • Gender: Male
Re: YouTube BBCode v1.4
« Reply #71 on: November 16, 2007, 11:59:32 AM »
Nice mod..I have instaled today...now I have in admin panel errors:  :o

8: Undefined index: youtube
File: /home/------/public_html/---------/Themes/default/languages/Post.croatian.php (eval?)
Line: 778

please help me..Is this ok...what to do!? :-[



You should read the first post more carefully

If your using a language different than the ones supported this mod (listed below), then you will need to add the following to the Modifications.{language}.php for each theme (The language folder can be found eg Themes/{themename}/languages/)

FIND
Code: [Select]
?>ADD BEFORE (and translate as necessary the language strings)
Code: [Select]
$txt['youtube'] = 'YouTube';
$txt['youtube_invalid'] = '#Invalid YouTube Link#';

Offline VeNoM27

  • Semi-Newbie
  • *
  • Posts: 29
Re: YouTube BBCode v1.4
« Reply #72 on: November 17, 2007, 05:20:48 PM »
I'm using default theme and smf 1.1.4.
I install the mod but when I try to use it I get in the message: "[youtube]link[/youtube] and it doesn't work.

How do I fix this?

Offline photoshop

  • Semi-Newbie
  • *
  • Posts: 15
Re: YouTube BBCode v1.4
« Reply #73 on: November 18, 2007, 09:09:12 AM »
Nice mod..I have instaled today...now I have in admin panel errors:  :o

8: Undefined index: youtube
File: /home/------/public_html/---------/Themes/default/languages/Post.croatian.php (eval?)
Line: 778

please help me..Is this ok...what to do!? :-[



You should read the first post more carefully

If your using a language different than the ones supported this mod (listed below), then you will need to add the following to the Modifications.{language}.php for each theme (The language folder can be found eg Themes/{themename}/languages/)

FIND
Code: [Select]
?>ADD BEFORE (and translate as necessary the language strings)
Code: [Select]
$txt['youtube'] = 'YouTube';
$txt['youtube_invalid'] = '#Invalid YouTube Link#';

Thx


there is another one too:
http://custom.simplemachines.org/mods/index.php?mod=977

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,630
  • Gender: Male
    • Lifeproof
Re: YouTube BBCode v1.4
« Reply #74 on: November 18, 2007, 12:51:04 PM »
Hey Photoshop.

This mod doesnt contain Croatian language strings.
You will need to add the language strings to Modifications.croatian.php AND possibly Modifications.croatian-utf8.php if your using utf8. and convert as necessary.

My Auto Embed clips mod does NOT contain any language strings whatsoever.

I've added many of the common questions/issues with this mod to a mini-troubleshoot post
http://www.simplemachines.org/community/index.php?topic=197280.msg1257211#msg1257211

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,630
  • Gender: Male
    • Lifeproof
Re: YouTube BBCode v1.4
« Reply #75 on: November 21, 2007, 09:49:09 PM »
@VeNoM27
Do you still have the issue?
If so
whats your forum url?
What is the youtube that you are tryign to add?

Offline DarthNuno

  • Semi-Newbie
  • *
  • Posts: 15
  • Gender: Male
  • ArcadeLifeStyle4Ever
    • Dragon's Lair Fans - Arcade LifeStyle
Re: YouTube BBCode v1.4
« Reply #76 on: November 22, 2007, 02:20:12 PM »
I've just install the mod, but it doesn't work  :(
There's no utube icon when I'm doing a new post and the tag ( ex : [youtube]meYx9RuCAQY[/youtube] )  doesn't work too ...

I'm running 1.1.4 & my packages :

Browse Packages
Modification Packages
 Mod Name Version 
1. Auto Embed Video Clips 1.3   [ Uninstall ] [ List Files ] [ Delete ] 
2. YouTube BBCode 1.4   [ Uninstall ] [ List Files ] [ Delete ] 

Any idea ? Tx


I'm still not able to uninstall this package :-(

Here's the error message :


!!Error in Package Installation

At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Uninstall Actions
Uninstall Actions "YouTube BBCode":
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Sources/Subs.php Test failed
2. Execute Modification ./Themes/default/Post.template.php Test failed
3. Execute Modification ./Themes/default/languages/Modifications.english.php Test failed
4. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
5. Execute Modification ./Themes/default/languages/Modifications.english_british.php Skipping file
6. Execute Modification ./Themes/default/languages/Modifications.english_british-utf8.php Skipping file
7. Execute Modification ./Themes/default/languages/Modifications.brazilian.php Skipping file
8. Execute Modification ./Themes/default/languages/Modifications.brazilian-utf8.php Skipping file
9. Execute Modification ./Themes/default/languages/Modifications.portuguese.php Skipping file
10. Execute Modification ./Themes/default/languages/Modifications.portuguese-utf8.php Skipping file
11. Execute Modification ./Themes/default/languages/Modifications.spanish.php Skipping file
12. Execute Modification ./Themes/default/languages/Modifications.spanish-utf8.php Skipping file
13. Execute Modification ./Themes/default/languages/Modifications.spanish_es.php Skipping file
14. Execute Modification ./Themes/default/languages/Modifications.spanish_es-utf8.php Skipping file
15. Execute Modification ./Themes/default/languages/Modifications.spanish_es-utf8.php Skipping file
16. Execute Modification ./Themes/default/languages/Modifications.turkish.php Skipping file
17. Execute Modification ./Themes/default/languages/Modifications.turkish-utf8.php Skipping file
18. Execute Modification ./Themes/default/languages/Modifications.swedish.php Skipping file
19. Execute Modification ./Themes/default/languages/Modifications.swedish-utf8.php Skipping file
20. Delete File ./Themes/default/images/bbc/youtube.gif 
 


PLease help :-/
[nofollow]

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,630
  • Gender: Male
    • Lifeproof
Re: YouTube BBCode v1.4
« Reply #77 on: November 28, 2007, 07:25:59 PM »
DarthNuno.

Was the youtube mod the last mod which you installed?
If not, the code to undo might not be the same.

You may have to manually uninstall the mod.

If you don't feel comfortable or don't know how to yourself, I would recommended placing a [free] or [paid] request in the Help Wanted forum for someone to sort it out for you.
« Last Edit: November 28, 2007, 07:29:54 PM by karlbenson »

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,630
  • Gender: Male
    • Lifeproof
Re: YouTube BBCode v1.5
« Reply #78 on: November 28, 2007, 07:30:02 PM »
1.5 - 29th November 2007
o Added support for Deutsche YouTube localised version (de.youtube.com)

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,630
  • Gender: Male
    • Lifeproof
Odp: YouTube BBCode v1.6
« Reply #79 on: December 04, 2007, 04:00:26 PM »
1.6 - 4th December 2007
o Added support for Youtube new-style rss links
o Increased efficiency of regex/preg_match