Advertisement:

Author Topic: Ohara YouTube Embed  (Read 198047 times)

Offline J.G

  • Semi-Newbie
  • *
  • Posts: 14
Re: Ohara YouTube Embed
« Reply #20 on: January 27, 2012, 04:53:40 PM »
How very weird. Why could this be? During the install process, it all went well.  :o :o

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,514
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Ohara YouTube Embed
« Reply #21 on: January 27, 2012, 04:56:46 PM »
Are you using the latest version?

Maybe there is some kind of restriction for those videos from youtube or you have other mods that modifies urls before this mod and that is causing the regex to fail.


Other than that I'm afraid I have no idea.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

Offline J.G

  • Semi-Newbie
  • *
  • Posts: 14
Re: Ohara YouTube Embed
« Reply #22 on: January 27, 2012, 06:34:31 PM »
Indeed. I downloaded the latest version earlier today. I presume this to be the one currently available in the download page, right?

I know I downloaded and installed the earlier version some weeks ago, and before uploading the new version I did ensure to remove the old. Could this perhaps be the problem?

Offline J.G

  • Semi-Newbie
  • *
  • Posts: 14
Re: Ohara YouTube Embed
« Reply #23 on: January 27, 2012, 06:45:34 PM »
I installed it on the live forum and it works!  ;D ;D Thanks for your help. Great mod!!!

Offline discutemexico

  • Newbie
  • *
  • Posts: 2
Re: Ohara YouTube Embed
« Reply #24 on: February 06, 2012, 03:05:41 PM »
Hello. I am new to this and I have a big problem with your mod. I followed all the steps but videos are not shown in the messages. Instead, I see the bbc youtube tag as part of the message. Any help would be appreciated. Thanks a lot.

Offline discutemexico

  • Newbie
  • *
  • Posts: 2
Re: Ohara YouTube Embed
« Reply #25 on: February 06, 2012, 03:14:39 PM »
Maybe my message was not clear. I installed the mod, I activated the mod and then, when I use the tag in a message, I get this:

Thanks a lot!

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,514
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Ohara YouTube Embed
« Reply #26 on: February 07, 2012, 10:25:58 AM »
@discutemexico  url?  SMF version?

I cannot help if you don't provide enough info...
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

Offline Fed Drago

  • Semi-Newbie
  • *
  • Posts: 29
  • Gender: Male
  • To Be or Not TO Be !
    • Diabetic Truth
Re: Ohara YouTube Embed
« Reply #27 on: February 10, 2012, 03:31:11 AM »
Installed this Mode and it works like a charm thank you for your hard work on it...

Cheers

Fed

Offline projectmyst

  • Semi-Newbie
  • *
  • Posts: 42
Re: Ohara YouTube Embed
« Reply #28 on: February 14, 2012, 03:59:59 PM »
Hi

I have a little problem, when i install this mod i get a gap at the top of the forum, see pic attached. Any one know how i can remove it?

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,514
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Ohara YouTube Embed
« Reply #29 on: February 14, 2012, 04:36:03 PM »
url to your forum or url to a topic using this mod?

that image doesn't say much.

Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

Offline projectmyst

  • Semi-Newbie
  • *
  • Posts: 42
Re: Ohara YouTube Embed
« Reply #30 on: February 14, 2012, 04:37:47 PM »
It only happens when i go in to a pasting, any posting.

http://ogforum.co.uk/index.php?topic=2842.0

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,514
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Ohara YouTube Embed
« Reply #31 on: February 14, 2012, 04:39:32 PM »
pasting?


I see no youtube video on that topic.


Can you please be as specific as you can.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

Offline projectmyst

  • Semi-Newbie
  • *
  • Posts: 42
Re: Ohara YouTube Embed
« Reply #32 on: February 14, 2012, 04:51:59 PM »
OK. that's my bad, misspelling, the post before was meant to say "It only happens when i go in to a posting, any posting."

When i install the mod it doesn't matter if there is a youtube video on the posting or not it just adds a gap right at the top of the forum on any posting, if i go out of the posting for the home page then the gap disappears.

http://ogforum.co.uk - Home page (No Gap)
http://ogforum.co.uk/index.php?board=1.0 - Random Topic  (No Gap)
http://ogforum.co.uk/index.php?topic=2842.0  - Random posting (Gap at the top of the forum)
http://ogforum.co.uk/index.php?topic=2547.msg34671#msg34671 - Posting with youtube on it (Gap at the top of the forum)

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,514
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Ohara YouTube Embed
« Reply #33 on: February 14, 2012, 04:56:22 PM »
I see no gap and this mod shouldn't interfere with your theme since this mod doesn't edit any template, all is made via hooks and the only edits this mod does have nothing to do with any template.


does it happens on the default theme?
does it happens to all users?
does it happens with all browsers?
any errors on your error log?
Does it happens if you uninstall the mod?


Can I have a regular user account to test this further.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

Offline projectmyst

  • Semi-Newbie
  • *
  • Posts: 42
Re: Ohara YouTube Embed
« Reply #34 on: February 14, 2012, 05:02:54 PM »
It happens with all the users, and the default theme. If i uninstall the mod then the gap disappears. I have tried with firebox and safari and i get the same thing.

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,514
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Ohara YouTube Embed
« Reply #35 on: February 14, 2012, 05:04:36 PM »

Can I have a regular user account to test this further.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

Offline projectmyst

  • Semi-Newbie
  • *
  • Posts: 42
Re: Ohara YouTube Embed
« Reply #36 on: February 14, 2012, 05:08:51 PM »
Yep use user: OGBot password: Og12345678

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,514
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Ohara YouTube Embed
« Reply #37 on: February 14, 2012, 05:46:33 PM »
It's a weird error indeed, the browser adds the space at the top, causing the whole wrapper div to be misplaced by 15 ~ 20 px,  I believe it has to do with the encoding in OharaYTEmbed.php file but I'm not sure about it since if that was the case, the space would appear in every page.

Attach your Sources/OharaYTEmbed.php file here.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

Offline projectmyst

  • Semi-Newbie
  • *
  • Posts: 42
Re: Ohara YouTube Embed
« Reply #38 on: February 14, 2012, 05:51:55 PM »
OK here it is

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,514
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Ohara YouTube Embed
« Reply #39 on: February 14, 2012, 05:58:30 PM »
mmm, ok, that file is normal, but some other file is on UTF8 and it's causing that space, what language are you using?

Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.