vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   BB Code Enhancements - Embed XHTML valid YouTube and Google Video into your posts (https://vborg.vbsupport.ru/showthread.php?t=130868)

Viper007Bond 12-09-2006 12:40 AM

Quote:

Originally Posted by MARKETPROFITS (Post 1134693)
can you add myspace and metacafe to the video list?


Please do so...it would be so cool, thanks!

Yeah, when I have a chance. :)

StuntFactoryX 12-09-2006 11:01 PM

clicked installed for the notifacation of update on myspace. my members will be happy campers.

thanks

edge23 12-10-2006 10:56 PM

Thanx m8 works great!!!! vB 3.6.4

kellogs 12-11-2006 03:14 PM

Thank you for the great mod but it does not display the youtube inline video instead it is showing the link with youtube tag.

This is the link

http://www.fishingouting.com/forums/...html#post12258

Any idea?

TIA
-K

jyajay 12-12-2006 06:00 PM

After installing this mod the "custom bbcode edit" page does not load anymore, sorry i can't use this modification.

Viper007Bond 12-12-2006 07:28 PM

Quote:

Originally Posted by kellogs (Post 1136396)
Thank you for the great mod but it does not display the youtube inline video instead it is showing the link with youtube tag.

Quote:

Status: Not Installed
Sorry, but I only offer support to those who have marked it as installed. ;)

MiskaTorn 12-14-2006 11:39 AM

Quote:

Originally Posted by Viper007Bond (Post 1129176)
Then how would it tell them apart if only the ID was entered?

As for the other sites, Break.com's embed code has nothing in common with the URL you view the video at, so it's out. Streetfire is doable. fquick.com wouldn't be used by many people, so it's not worth my time. ebaumsworld is also nearly there (is it really that hard to link to the video rather than embed it?).

Don't put your money on that one ;)

RidinHighSpeeds 12-16-2006 12:08 AM

Looks like it does not work in Preview mode..

Lots of members told me it was not working and I tried my best to tell them how to do it. They then told me it was because they though they were doing it wrong since it wasn't playing in the preview post.

Just thought i'd let you know.

Viper007Bond 12-16-2006 10:02 AM

Quote:

Originally Posted by RidinHighSpeeds (Post 1139501)
Looks like it does not work in Preview mode..

Lots of members told me it was not working and I tried my best to tell them how to do it. They then told me it was because they though they were doing it wrong since it wasn't playing in the preview post.

Just thought i'd let you know.

Yeah, I'm aware of the issue. It's because of some cheating I had to do in order for it to work right with the WYSIWYG editor.

When I have a chance to tweak this plugin again in the next few days hopefully, this is one of the things I'll address. :)

Viper007Bond 12-16-2006 10:03 AM

Quote:

Originally Posted by MiskaTorn (Post 1138413)
Don't put your money on that one ;)

Alright, well I'll consider it then. :)

Neal-UK 12-16-2006 10:57 AM

Can't get this to work. I enter the full url or just the video number and then wrap the youtube code around it and it just shows:

[youtube]
h6KBiuVxOOY
[/youtube]

Quantnet 12-16-2006 05:42 PM

click Installed. Works great on 3.6.4
thanks

Neal-UK 12-16-2006 06:19 PM

Quote:

Originally Posted by Quantnet.org (Post 1139851)
click Installed. Works great on 3.6.4
thanks

Boo hoo, how you get it to work?

florino1 12-16-2006 07:18 PM

Quote:

Originally Posted by Neal-UK (Post 1139667)
Can't get this to work. I enter the full url or just the video number and then wrap the youtube code around it and it just shows:

[youtube]
h6KBiuVxOOY
[/youtube]

Same thing here ! :(

rossco_2005 12-16-2006 07:47 PM

I like this, it's nice that users can put the id or full URL as it saves me having to explain how to get the url a hundred times to members. :P

Just noticed one bug and not sure if it was posted.
I was trying to make a quick explanation to users by writing the code [youtube]URL[/youtube] inside of [noparse] tags but your code still removes the full url and changes it to just an id which is a bit confusing to members (they don't know where the id came from :P).

Not a big deal but you should make your hack detect if the tag is inside of [noparse] tags or not. ;)

Quantnet 12-16-2006 10:52 PM

Quote:

Originally Posted by Neal-UK (Post 1139864)
Boo hoo, how you get it to work?

I use full url, haven't tried ID yet..works great with youtube and googlevideo. Just download the xml, and wrap around it using the tag.

Here is an example of youtube
http://www.quantnet.org/forums/showthread.php?t=1506

Here is an example of googlevideo
http://www.quantnet.org/forums/showthread.php?t=1229

Viper007Bond 12-17-2006 03:12 AM

Quote:

Originally Posted by Neal-UK (Post 1139667)
Can't get this to work. I enter the full url or just the video number and then wrap the youtube code around it and it just shows:

[youtube]
h6KBiuVxOOY
[/youtube]

It needs to be all on one line. ;)

Code:

[youtube]h6KBiuVxOOY[/youtube]

Viper007Bond 12-17-2006 03:15 AM

[QUOTE=rossco_2005;1139905]I like this, it's nice that users can put the id or full URL as it saves me having to explain how to get the url a hundred times to members. :P

Just noticed one bug and not sure if it was posted.
I was trying to make a quick explanation to users by writing the code [youtube]URL[/youtube] inside of [noparse] tags but your code still removes the full url and changes it to just an id which is a bit confusing to members (they don't know where the id came from :P).

Not a big deal but you should make your hack detect if the tag is inside of [noparse] tags or not. ;)[/QUOTE]

I didn't know about that tag (I'm kinda new to vB). :surprised:

I do this to show users:

[you[b][/b]tube]blah[/youtube]

It's kinda ugly, but it gets the job done.

Oh, and I'll work on making it not do anything inside [noparse] tags. My plugin transforms the URL -> ID so that the internal BBCode parser can parse it, but I didn't code it to look for [noparse]. :(

Neal-UK 12-17-2006 08:15 AM

Quote:

Originally Posted by Viper007Bond (Post 1140103)
It needs to be all on one line. ;)

Code:

[youtube]h6KBiuVxOOY[/youtube]

Ha har, working now. Brilliant thankyou.

kellogs 12-17-2006 12:44 PM

Quote:

Originally Posted by Viper007Bond (Post 1137280)
Sorry, but I only offer support to those who have marked it as installed. ;)

Sorry mate, i have clicked installed :)

Please share some ideas

Thank you
-K

Murty 12-17-2006 10:15 PM

Is there someway that this can be used for like User Profiles? so they just need to insert the link and a profile field and it would show up in their profile?

Protonus 12-18-2006 12:42 AM

Quote:

Originally Posted by Viper007Bond (Post 1129176)
Then how would it tell them apart if only the ID was entered?

As for the other sites, Break.com's embed code has nothing in common with the URL you view the video at, so it's out. Streetfire is doable. fquick.com wouldn't be used by many people, so it's not worth my time. ebaumsworld is also nearly there (is it really that hard to link to the video rather than embed it?).

I'm awaiting streetfire support before I install this one.. half of the streaming video posted on my site is from streetfire... the rest is likely youtube.

AS for a common tag, thats what Anymedia does, unfortantly it's still beta. I'd rather lose the ability to have it just play based on ID, to gain the ability to type one tag and have to enter the full URL.

Viper007Bond 12-18-2006 10:05 AM

Quote:

Originally Posted by kellogs (Post 1136396)
Thank you for the great mod but it does not display the youtube inline video instead it is showing the link with youtube tag.

This is the link

http://www.fishingouting.com/forums/...html#post12258

Any idea?

TIA
-K

Quote:

Originally Posted by kellogs (Post 1140313)
Sorry mate, i have clicked installed :)

Please share some ideas

Thank you
-K

You have color BBCode inside your [youtube] tags. As a result, the plugin aborts the replacement as it'd otherwise break the HTML.

Remove it and it should work fine. ;)

Code:

[YOUTUBE]http://www.youtube.com/watch?v=90M39W9FIKA[/YOUTUBE]

Viper007Bond 12-18-2006 10:12 AM

Quote:

Originally Posted by Murty (Post 1140600)
Is there someway that this can be used for like User Profiles? so they just need to insert the link and a profile field and it would show up in their profile?

No, that'd be totally separate. A custom profile field where they enter the ID and then a profile template edit would probably get the job done.

Something like this:

Code:

<if condition="$post['field9']"><object width="425" height="340" type="application/x-shockwave-flash" data="http://www.youtube.com/v/$post['field9']"><param name="movie" value="http://www.youtube.com/v/$post['field9']" /><param name="wmode" value="transparent" /></object></if>

Viper007Bond 12-18-2006 10:15 AM

Quote:

Originally Posted by Protonus (Post 1140688)
I'm awaiting streetfire support before I install this one.. half of the streaming video posted on my site is from streetfire... the rest is likely youtube.

AS for a common tag, thats what Anymedia does, unfortantly it's still beta. I'd rather lose the ability to have it just play based on ID, to gain the ability to type one tag and have to enter the full URL.

One tag for all full URLs is possible, but frankly it's a pain in the ass and I don't see the huge advantage of it. I mean it's not that hard for a user to use a different tag per and it ensures that some unsupported site isn't tried.

I will make sure to add Streetfire in the recode that I'm currently working on. :)

RaceJunkie 12-21-2006 11:15 PM

Quote:

Using vBAdvanced? It lacks the hook this plugin uses apparently, so if you wish to use this plugin with it, you need to use only the video ID and NOT the full URL for it to display correctly. Nothing I can do about it, it's vBAdvanced's fault.
this is the code I used in my post.

Code:

[YOUTUBE]frRx1CD-gts[/YOUTUBE]

If you look at my homepage you can see that the Video does not show up.

Did I miss something?
Late Model Rollover Crash (VIDEO)
www.localracechat.com

Viper007Bond 12-22-2006 09:53 AM

All my plugin does is transform the full URL into just the ID so the built in BBCode parser can use the custom BBCode this plugin adds to it can replace it with some working HTML.

So, since you're directly entering the ID and you're using vBAdvanced which doesn't even make use of my plugin, all you're left with is the custom BBCode that's been added to the list in the admin area by my plugin.

So, did you modify the BBCode at all there or something? I ask 'cause this is the HTML that should be displayed:

HTML Code:

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="400" style="margin:10px 0">
<thead>
        <tr>
                <td class="tcat" colspan="2" style="text-align:center">
                        <a href="http://www.youtube.com/watch?v=hl2UUunlI2Q" title="View this video at YouTube in a new window or tab" target="_blank">YouTube Video</a>
                </td>
        </tr>
</thead>
<tbody>
        <tr>

                <td class="panelsurround" align="center">
                        <object width="425" height="340" type="application/x-shockwave-flash" data="http://www.youtube.com/v/frRx1CD-gts">
                                <param name="movie" value="http://www.youtube.com/v/frRx1CD-gts" />
                                <param name="wmode" value="transparent" />
                                <em><strong>ERROR:</strong> If you can see this, then <a href="http://www.youtube.com/">YouTube</a> is down or you don't have Flash installed.</em>
                        </object>

                </td>
        </tr>
</tbody>
</table>

Instead, this is what you get (ignore the lack of line breaks, that doesn't matter):

HTML Code:

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="400" style="margin:10px 0"> <thead> <tr> <td class="tcat" colspan="2" style="text-align:center"> <a
Yeah, it just stops there...

RaceJunkie 12-22-2006 03:37 PM

No I installed it per the instructions.. Uploded the plugin then the images. I made no changes to the custom bb codes at all.

SonicGT 12-22-2006 07:37 PM

I added the mod, seems to work only if I do not use the full url, when I use the full url I am getting the box, but not video

Viper007Bond 12-23-2006 01:00 AM

Quote:

Originally Posted by RaceJunkie (Post 1143480)
No I installed it per the instructions.. Uploded the plugin then the images. I made no changes to the custom bb codes at all.

Weird. Does it work on your actual forum?

Viper007Bond 12-23-2006 01:01 AM

Quote:

Originally Posted by SonicGT (Post 1143631)
I added the mod, seems to work only if I do not use the full url, when I use the full url I am getting the box, but not video

Link me please.

RaceJunkie 12-23-2006 01:03 AM

Quote:

Originally Posted by Viper007Bond (Post 1143765)
Weird. Does it work on your actual forum?

Yes. See it here

Bill Bickley 12-27-2006 03:27 PM

Quote:

Save the two attached images and upload them to /images/editor/.
Where are these images? Can't seem to locate them...

TIA.

Bill

RaceJunkie 12-27-2006 04:51 PM

Quote:

Originally Posted by Bill Bickley (Post 1145858)
Where are these images? Can't seem to locate them...

TIA.

Bill

They are at the bottom of the OP.. In the screenshots box:confused:

TheWhite 12-28-2006 04:05 AM

cool

Viper007Bond 12-29-2006 11:54 PM

Quote:

Originally Posted by RaceJunkie (Post 1143769)
Yes. See it here

Very odd. I'm frankly clueless to why it's doing that.

I can only think that it's another plugin causing the problem.

Zowners 01-01-2007 10:43 PM

great hack viper!
thanks =)

I have one question though
Is there any way to add the quick icon function in the quick replies? because i only have the icon when you go to "advance reply"

anyway thanks!

kdemonte 01-02-2007 12:32 AM

Let me first give the disclaimer...I have NO idea what I am doing when it comes to adding hacks/plugins or any of it. Anyway, I tried to upload this and ever time I get this error "XML Error: Reserved XML Name at Line 1"
What I am I doing wrong?

RFViet 01-02-2007 05:34 PM

My question is : how to make it collapsable ??

raagaswaram 01-04-2007 05:16 AM

hey
im using rss feed to get youtube rss feed to post it in thread i put

{rss:description}

[youtube]{rss:link}[/youtube]

and in the thread it displays as this since there is no watch in the link is there anyway i can just get the id or is there any way you can modify the code so it works like this

[YOUTUBE]http://youtube.com/?v=LOGz0RK_w5Y[/YOUTUBE]

it is not showing as the player is just gives me the code

thanks


All times are GMT. The time now is 04:22 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01666 seconds
  • Memory Usage 1,853KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (2)bbcode_html_printable
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete