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)

RidinHighSpeeds 11-19-2006 11:48 PM

Quote:

Originally Posted by transitbus (Post 1121135)
I think what he is asking is like the insert link:

Attachment 56240

Yes. Insert URL of the link. Then after that, another window saying "please insert the title of the link"

Viper007Bond 11-20-2006 12:56 AM

Quote:

Originally Posted by ubblite (Post 1121039)
A CMPS module would be a great addition for this mod.

Also, if you could have your own player instead of using Google's and YouTube's, it would be a real nice option.

Sorry, I don't use vBadvanced and wouldn't know where to start.

As for your own player, I'm not sure if YouTube & Google Video would appreciate that or not. I think they want you to use their Flash player.

Quote:

Originally Posted by xtrass (Post 1121046)
Viper, great mod. I also run a SMF forum, version 1.1 RC3,

any chance you can port this over for 1.1RC3?

They only have a similar mod for 1.1RC2 and all the suggested hacks to get it to work on RC3 fails. Plus you need to install 2 mods to get what your VB mod does!

I know your mod would be greatly appreciated for SMF :)

Any chance it happening?

Nope, no chance, of me making a version that is. I hate SMF and will never install it, sorry.

Quote:

Originally Posted by RidinHighSpeeds (Post 1121079)
When you click the YouTube icon for example, it brings up a window where you enter in the URL of the video.

Now if I submit my reply without entering in a title within the tags, it does not display the video. I would recommend another pop-up window asking the user to enter in a description or title.

I was unaware such a thing happened. I only use Firefox and when you click the button for a custom BBCode, it just inserts the BBCode into the write box.

Either way, my plugin doesn't add the button, vB does, so there's not much I can do about it AFAIK.

Quote:

Originally Posted by redlabour (Post 1121102)
Attention :

If you have used something like [gv] before this Update and want to change now all old Codes to [gvideo] operate this SQL Querie.

Code:

UPDATE vb3_post SET pagetext = REPLACE(pagetext, '[gv]', '[gvideo]');
UPDATE vb3_post SET pagetext = REPLACE(pagetext, '[/gv]', '[/gvideo]');
UPDATE vb3_post SET pagetext = REPLACE(pagetext, '[GV]', '[gvideo]');
UPDATE vb3_post SET pagetext = REPLACE(pagetext, '[/GV]', '[/gvideo]');
UPDATE vb3_post SET pagetext = REPLACE(pagetext, '[Gv]', '[gvideo]');
UPDATE vb3_post SET pagetext = REPLACE(pagetext, '[/Gv]', '[/gvideo]');

Same for old [anymedia] or [yt] Codes. ;)

Attention - maybe you have to change Tableprefix.

@Viper007Bond - include this to Installinstructions please or use it for coding a AdminCP Option. ;)

Yeah, when I have a chance to release an update, I'll allow you to easily change the BBCode. :)

Kwak 11-20-2006 04:30 AM

Thank you for the great mod, clicked Install.

webspider 11-22-2006 10:52 AM

I'm doing the update but what about the old bbcode code that was manually put in is it updated or should it be deleted?

Viper007Bond 11-23-2006 09:06 AM

Quote:

Originally Posted by webspider (Post 1122869)
I'm doing the update but what about the old bbcode code that was manually put in is it updated or should it be deleted?

You can leave it. :)

trichnosis 11-24-2006 04:04 PM

it's a great product. i have installed;)

da_judge 11-24-2006 06:16 PM

Top bloody draw... nice plugin m8

Installed clicked

Been Told 11-24-2006 08:20 PM

A very fine hack, thanks man! :D My forum needed something just like this :)

Viper007Bond 11-28-2006 08:37 AM

v2.0.1 has been released. It fixes a minor issue in the invalid BBCode reseter. It wasn't replacing the temporary placeholders in the post cache.

Nothing critical, but worth a upgrade if you have a chance.

smoknz28 11-28-2006 12:20 PM

Updated....to your latest version.

Thanks ;)

Canis Firebrand 11-28-2006 12:56 PM

I'm interested in this and had a question.

Is there a way to automatically pull in the title of the video to display at the top of the window if the user doesn't specifically put one in?

|oR|Greg 11-28-2006 07:16 PM

Viper, you were the inspiration behind this.

https://vborg.vbsupport.ru/showthread.php?t=132702

rish123 11-28-2006 09:34 PM

thanks alot works 100%

Viper007Bond 11-28-2006 11:11 PM

Quote:

Originally Posted by Canis Firebrand (Post 1127239)
I'm interested in this and had a question.

Is there a way to automatically pull in the title of the video to display at the top of the window if the user doesn't specifically put one in?

Yes, but it won't be happening in my product. I want to keep mine relatively simple.

There are however other plugins that have started as a result of this product which do that. A small search here will help you find them. ;)

Viper007Bond 11-28-2006 11:12 PM

Quote:

Originally Posted by |oR|Greg (Post 1127492)
Viper, you were the inspiration behind this.

https://vborg.vbsupport.ru/showthread.php?t=132702

Cool!

redlabour 11-29-2006 05:30 PM

Sorry, but the Bug within vBadvanced is still happening.

At Threaddisplay the Video plays at Portal it is only grey.

You have still forgotten the $GLOBALS[YOURDISPLAYCOMMAND] in the Code. Please fix this. :)

Every other YouTube and/or GV Plugin on vbulletin.org hasn?t this Problem. Can you please take a look ? But without this Error yours is the best.

Viper007Bond 11-29-2006 07:24 PM

Quote:

Originally Posted by redlabour (Post 1128183)
You have still forgotten the $GLOBALS[YOURDISPLAYCOMMAND] in the Code. Please fix this. :)

That's because I still don't have any clue what you're talking about. As I've said, I've never used vBAdvanced and I'm relatively new to vB, so you'll have to explain it to me. :(

redlabour 11-29-2006 08:18 PM

vBadvanced is the best known free Portalsoftware as you can see here :

http://www.vbadvanced.com/

At Portal the Videos are only grey (s. Screenshot 1)

At Forum the work (s. Screenshot 2)

This is espacially important for every Newsboard with a Portal. Please install vBadvanced at your Developmentboard (only takes a few Minutes). ;)

The Problem is that you have coded your Code only to appear at Postings. With a Variable like i posted above it is shown whereever the Users want.

Just take a look at the Sourcecode from AnyMedia 3.5 to understand - may help. ;)

Viper007Bond 11-29-2006 08:48 PM

Quote:

Originally Posted by redlabour (Post 1128283)
The Problem is that you have coded your Code only to appear at Postings.

No I didn't. ;)

I take it you're using the full YouTube URL? Try using just the ID rather than the URL. It looks like vBAdvanced is somehow skipping the hook I'm using (bbcode_parse_start), so my plugin isn't running that replaces full URLs with just the ID so the built in BBCode parser can make valid HTML.

redlabour 11-29-2006 09:17 PM

Quote:

Originally Posted by Viper007Bond (Post 1128297)
No I didn't. ;)

I take it you're using the full YouTube URL? Try using just the ID rather than the URL. It looks like vBAdvanced is somehow skipping the hook I'm using (bbcode_parse_start), so my plugin isn't running that replaces full URLs with just the ID so the built in BBCode parser can make valid HTML.

Great now it works. Please integrate this into the Instructions. ;)

ninjamaster 11-30-2006 06:31 AM

thanks for this :)

DevilYellow 11-30-2006 11:54 AM

It would be cool if the tag was switched to just "video" and could be a link from googe, youtube, break.com, streetfire.net, fquick.com, ebaumsworld .....

Viper007Bond 12-01-2006 03:25 AM

Quote:

Originally Posted by DevilYellow (Post 1128676)
It would be cool if the tag was switched to just "video" and could be a link from googe, youtube, break.com, streetfire.net, fquick.com, ebaumsworld .....

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?).

DevilYellow 12-01-2006 08:14 PM

I was just saying entire urls ... Not sure how many people picked up on the ability for it to embed with just the ID.

I just liked the idea of embedding it because it keeps users on my site. Keeps them looking at my ads, keeps my traffic up. At least to a small extent.

MrPHD 12-02-2006 09:56 AM

Nice and Installed. Thanhks

deeoo 12-02-2006 10:09 AM

Great mod, but shouldn't it be able to extract the title of a youtube video?

Viper007Bond 12-02-2006 10:20 AM

Quote:

Originally Posted by deeoo (Post 1129927)
Great mod, but shouldn't it be able to extract the title of a youtube video?

Define "shouldn't it be able".

Is it possible? Of course, assuming you have a server that allows fsockopen(). Will I add the feature to my plugin? Nope, there are other plugins out there if you want that. Mine's simple on purpose. ;)

deeoo 12-02-2006 10:26 AM

Quote:

Originally Posted by Viper007Bond (Post 1129930)
Define "shouldn't it be able".

Is it possible? Of course, assuming you have a server that allows fsockopen(). Will I add the feature to my plugin? Nope, there are other plugins out there if you want that. Mine's simple on purpose. ;)

Thanks for the quick answer. Great mod none-theless.

HUMMERh3 12-02-2006 01:51 PM

Does this hack work for http://www.break.com/ and http://www.liveleak.com/?ogr=1 ?? If so what would be the BBC code?

Viper007Bond 12-03-2006 12:13 AM

Quote:

Originally Posted by HUMMERh3 (Post 1130014)
Does this hack work for http://www.break.com/ and http://www.liveleak.com/?ogr=1 ?? If so what would be the BBC code?

Nope, only YouTube and Google Video currently. I plan on adding IFILM and Metacafe at some point though.

Break.com won't work because their embed code has nothing in common with the URL in your address bar. I mean, it could work, but it'd be too hard for the average use to be worth it. Better off linking to Break.com.

Never heard of http://www.liveleak.com/, but I'll look into it.

smoknz28 12-03-2006 08:31 PM

Quote:

Originally Posted by HUMMERh3 (Post 1130014)
Does this hack work for http://www.break.com/ and http://www.liveleak.com/?ogr=1 ?? If so what would be the BBC code?

Here's for LiveLeak ---> https://vborg.vbsupport.ru/showthrea...light=liveleak

tobybird 12-04-2006 04:52 AM

Sweet! Thanks! Clicked Install :)

eta: Would anyone be able to tell me how I could add the YouTube and Google Video options to my quick reply? Thanks!

redlabour 12-05-2006 10:58 AM

Quote:

Originally Posted by Viper007Bond (Post 1132329)
Can you not be an ass and stop advertising in my thread please? :rolleyes:

The most people using your Hack are waiting for this. Its just a Info and as you allways written you wont include more Filetypes and Services - so what ?

ericgtr 12-05-2006 04:40 PM

Quote:

Originally Posted by redlabour (Post 1132335)
The most people using your Hack are waiting for this. Its just a Info and as you allways written you wont include more Filetypes and Services - so what ?

Please stop advertising other mods in this thread, it's not the place for it. If you have any further questions about it feel free to drop me a PM but any more soliciting posts will be deleted.

StuntFactoryX 12-07-2006 12:36 AM

i know you looking to keep this simple but myspace videos are getting exreamly popular on my site... would it be hard to add that in?

Viper007Bond 12-07-2006 06:38 AM

Not that hard. I added it into my similar plugin for WordPress.

I'll add some more site into this one when I have a chance (busy lately).

netcommander 12-07-2006 05:24 PM

how can I disable using in signature
Regards

Viper007Bond 12-08-2006 07:07 AM

Quote:

Originally Posted by netcommander (Post 1133974)
how can I disable using in signature
Regards

I don't believe you currently can as it uses in the built-in BBCode parser.

I'll look into coming up with a solution though.

BigJimTheLug 12-08-2006 05:28 PM

can you add myspace and metacafe to the video list?

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

netcommander 12-08-2006 07:09 PM

Quote:

Originally Posted by Viper007Bond (Post 1134368)
I don't believe you currently can as it uses in the built-in BBCode parser.

I'll look into coming up with a solution though.

Hmm ok thanks I will wait new version
kind regards


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.01575 seconds
  • Memory Usage 1,834KB
  • 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
  • (1)bbcode_code_printable
  • (20)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