vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Automatic Embedded Video (youtube, plus many more) (https://vborg.vbsupport.ru/showthread.php?t=150472)

dizzy100 06-26-2007 10:28 AM

I just wanted to say that your doing an excellent job mfyvie and its extremely appreciated that you are not only releasing such an outstanding hack but also willing to listen, upgrade and give support. Nominated for MOTM

TrIn@dOr 06-26-2007 11:03 AM

Installed, thanks.

Perhaps u can add the feature to put (admin level) the background color of the objets.

mfyvie 06-26-2007 11:15 AM

Quote:

Originally Posted by InTeNsE-HuMoR (Post 1276812)
One problem: It seems that if you edit a post and change the url of the video, it doesn't embed but instead just displays the url to the video.

Feel free to use my BB Codes with your mod to add more compatible video services. Links are in my signature. I'm going to nominate this for mod of the month as it is very useful for my forum.

That's correct - it won't embed URLs which are done in the edit mode - only new posts. You can manually use the bbcodes in this case though (see description of mod at the top of the page, this is covered). I checked the link in your signature - I just see the bbcode for livevideo (which I was about to add anyway). Have you done any other ones for any other services? The tricky part isn't the bbcode, it's extracting the right details from the URL!

Quote:

Originally Posted by TrIn@dOr (Post 1276840)
Installed, thanks.

Perhaps u can add the feature to put (admin level) the background color of the objets.

I don't really want to clutter up the admin interface with options like this - it would also make life a bit more difficult, since these colours are all set differently in each BB Code depending on the embed code. Your best option be to edit the embed code in the BB Codes you wish to change. This way you can alter the background colours as you like.

mfyvie 06-26-2007 11:19 AM

Survey - I'm thinking of changing the direction of this mod slightly to improve the performance for people running large forums.

Up until now I have always tried to develop my mods as single .xml files, because these are ultra easy to install, and no file uploads are required.

However, in order to implement what I want to do there will need to be some file uploads also The Geek has written some code for me which I'm looking at including.

So this is just a quick survey - are you the type of person who only used this mod because there were no files to upload, or would you have tried it anyway, even if you had to upload some files?

Please note that I am not talking about file edits, or template edits or anything. Simply uploading files in addition to installing the .xml file.

Mark

dizzy100 06-26-2007 11:39 AM

I think for most of us we'll use the mod because of the added functionality. If that means uploading a few files, so be it, and i for one will be happy doing so.

You've made it super easy for us so far and a few file uploads won't change that :)

InTeNsE-HuMoR 06-26-2007 11:41 AM

Quote:

Originally Posted by mfyvie (Post 1276848)
I checked the link in your signature - I just see the bbcode for livevideo (which I was about to add anyway). Have you done any other ones for any other services? The tricky part isn't the bbcode, it's extracting the right details from the URL!

I'm guessing you missed these two then?

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

Feel free to add them to this mod. Any credit would be appreciated.

mfyvie 06-26-2007 11:46 AM

Sorry, I thought those were BBCodes for non-video stuff, but on closer inspection you are absolutely right and I wasn't aware of those two sites and I'll include them. I can give you some credit on thread, but I don't want to clutter up the main page mentioning credit for everyone who points me to some bbcode, especially if the bbcode is quite simple.

Now if you can do me some bbcode for some of the sites I've listed under "Impossible" on the front page, I'll be really happy! (mind you, I've double checked some of them and I believe they may be possible)

InTeNsE-HuMoR 06-26-2007 11:48 AM

Quote:

Originally Posted by mfyvie (Post 1276873)
Sorry, I thought those were BBCodes for non-video stuff, but on closer inspection you are absolutely right and I wasn't aware of those two sites and I'll include them. I can give you some credit on thread, but I don't want to clutter up the main page mentioning credit for everyone who points me to some bbcode, especially if the bbcode is quite simple.

Now if you can do me some bbcode for some of the sites I've listed under "Impossible" on the front page, I'll be really happy! (mind you, I've double checked some of them and I believe they may be possible)

Ok, glad I can contribute to this great mod. I'll take a look at the other and see what I can do.

mfyvie 06-26-2007 12:09 PM

Quote:

Originally Posted by InTeNsE-HuMoR (Post 1276874)
Ok, glad I can contribute to this great mod. I'll take a look at the other and see what I can do.

I've attached my list of sites I've recorded later for following up. It includes URLs and embed code, as long as comments on whether it looks easy or not. Many of these are 5 minute jobs, but I just haven't had all of these 5 minutes yet, and also I don't want to include any new bb code until the next release, so have shifted these tasks to a lower priority.

You may find the attached text file saves you a lot of work if you want to churn out some bb code!

InTeNsE-HuMoR 06-26-2007 12:33 PM

Finally got Photobucket to work!

Tag:

[pb]

Replacement:

Code:

<embed width="430" height="389" type="application/x-shockwave-flash" wmode="transparent" src="http://vid172.photobucket.com/remix/player.swf?videoURL={param}" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
Example:

[pb]http://s172.photobucket.com/albums/w11/77086dm/89fc6002.pbr[/pb]

However I have no idea of how you are going to get it to work with this mod. It was a tough one to get working. I'll work on the others.

Here is the video link: click here

Here is what I used:

http://s172.photobucket.com/albums/w...m/89fc6002.pbr

Basicly, the "share url" that is given by Photobucket but without this bit:

?action=view&current=


All times are GMT. The time now is 09:07 AM.

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.01197 seconds
  • Memory Usage 1,752KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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