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)
-   -   Miscellaneous Hacks - passiveVid - (YouTube, Myspace, Google...) Not BBCODE :D (https://vborg.vbsupport.ru/showthread.php?t=150761)

weedheaven 11-21-2007 06:31 PM

Quote:

Originally Posted by Coders Shack (Post 1386932)
sorry about that, seems that i forgot to add the optional www for vidmax, you can remove the WWW. in the url and it should work.

removing it in the .xml file or?

=edit=

tryd now the url without the www. and it indeed works. But this will confuse ppl maybe. When posting the url. Can this be fixed in the update or what can i edit in the .xml file?

and maybe http://www.dumpert.nl ?

bigraph 11-21-2007 09:03 PM

how bout http://brightcove.tv and http://youporn.com ??

Coders Shack 11-21-2007 09:29 PM

Quote:

Originally Posted by weedheaven (Post 1387087)
removing it in the .xml file or?

=edit=

tryd now the url without the www. and it indeed works. But this will confuse ppl maybe. When posting the url. Can this be fixed in the update or what can i edit in the .xml file?

and maybe http://www.dumpert.nl ?

ill be fixing this later.
Quote:

Originally Posted by bigraph (Post 1387153)

youporn cant work.. but brightcove will be added to the next release.

lonelime 11-22-2007 06:08 AM

thanks for great scripts ..

can you add livevideo.com as well

many thanks

dodgechargerfan 11-22-2007 01:47 PM

Love this idea! I could never get a lot of users to remember to use the BBCODES with other hacks. This takes that out of the equation.

I do seem to be having one problem though:
It seems to be turning everything after the url into a hyperlink.
What I mean is that when I post a new video link, any and all text after the url turns into a hyperlink - not linked to the video - but something else.
http://ca.%3cobject%20width=/

Hmm. I just realized that the link is from Youtube Canada, which has urls that start with ca.youtube.com...

Any quick fix for this?

zmmmzz 11-22-2007 02:11 PM

love your hacks! theyre the best

jaks 11-22-2007 04:13 PM

Quote:

Originally Posted by Coders Shack (Post 1374203)
i may add support for vBAdvanced, depends if its going to be easy or hard.

I would love this too if the videos worked in VBAdvanced
:D

Coders Shack 11-24-2007 12:50 AM

Released 1.0.7, cleaned my code up a bit and am using a different method now. Should make complicated things easier for me. Also fixed a fix issues people had before.
  1. BrightCove v1.0.7
  2. YouKu v1.0.7
Install the product with overwrite set to yes, and place the bitfild file in your includes/xml folder and overwrite it if your upgrading.

freshwater 11-24-2007 01:09 AM

Upgraded, works great.

any plan style or table/title for your mod? like AME or viperbond's hack.

thanks.

jaks 11-24-2007 01:34 AM

Not sure what you did but google videos work on my site now as of this update. :)
Thanks bud for all the work
Jon

Any word on getting this working with VBAdvanced yet?

Coders Shack 11-24-2007 02:31 AM

Quote:

Originally Posted by freshwater (Post 1388389)
Upgraded, works great.

any plan style or table/title for your mod? like AME or viperbond's hack.

thanks.

if more than one person wants it then i could add support for it.

would be something like video wrapper:

wrapper_head
wrapper_foot

lonelime 11-24-2007 04:45 AM

Quote:

Originally Posted by Coders Shack (Post 1388385)
Released 1.0.7, cleaned my code up a bit and am using a different method now. Should make complicated things easier for me. Also fixed a fix issues people had before.
  1. BrightCove v1.0.7
  2. YouKu v1.0.7
Install the product with overwrite set to yes, and place the bitfild file in your includes/xml folder and overwrite it if your upgrading.


hello there,

thanks for the upgraded ....

can you add livevideo.com as well ..

because i need that bad ....

Thanks

vitrag24 11-24-2007 07:27 AM

what to do to update from 1.0.5/1.0.4?
just importing plugin and copying xml or anything else?

Coders Shack 11-24-2007 08:35 AM

Quote:

Originally Posted by vitrag24 (Post 1388493)
what to do to update from 1.0.5/1.0.4?
just importing plugin and copying xml or anything else?

thats all you gotta do :D, sounds too easy doesn't it.

TTG 11-24-2007 10:42 AM

After installing the latest update and then reading a PM, I have this error :-

Code:

Warning: Invalid argument supplied for foreach() in /includes/class_postbit.php(296) : eval()'d code on line 482
Disable the product and error disappears !

dutchbb 11-24-2007 11:50 AM

Yep same error here, hopefully it can be fixed, it's a superb hack :)

dodgechargerfan 11-24-2007 12:17 PM

Same here..

edit: except my error references "eval()'d code on line 14"

ujai 11-24-2007 02:56 PM

so far so good.. no error here.. thanks..

Coders Shack 11-24-2007 03:50 PM

Quote:

Originally Posted by dodgechargerfan (Post 1388587)
Same here..

edit: except my error references "eval()'d code on line 14"

what page are you viewing
Quote:

Originally Posted by TTG (Post 1388548)
After installing the latest update and then reading a PM, I have this error :-

Code:

Warning: Invalid argument supplied for foreach() in /includes/class_postbit.php(296) : eval()'d code on line 482
Disable the product and error disappears !

what page are you viewing
Quote:

Originally Posted by dutchbb (Post 1388575)
Yep same error here, hopefully it can be fixed, it's a superb hack :)

what page are you viewing

vitrag24 11-24-2007 03:59 PM

so many reports of error?
i think i should keep 1.0.5 until major updates..

bigraph 11-24-2007 04:12 PM

ill wait till you fix the errors before i upgrade :p

Our House 11-24-2007 04:39 PM

CodersShack,

I'm having the same problem that many others are having with Photobucket. It's not parsing the links at all. The bitfield xml is working and I have all video types checked off.

Thanks,
OH

malc1959 11-24-2007 05:12 PM

same problem when going into Pm's
Code:

Warning: Invalid argument supplied for foreach() in /includes/class_postbit.php(296) : eval()'d code on line 175

Coders Shack 11-24-2007 08:32 PM

Quote:

Originally Posted by malc1959 (Post 1388736)
same problem when going into Pm's
Code:

Warning: Invalid argument supplied for foreach() in /includes/class_postbit.php(296) : eval()'d code on line 175

thanks malc for providing where its happening. I updated the product, all you need to do is overwrite when installing.

Coders Shack 11-24-2007 08:33 PM

Quote:

Originally Posted by Our House (Post 1388717)
CodersShack,

I'm having the same problem that many others are having with Photobucket. It's not parsing the links at all. The bitfield xml is working and I have all video types checked off.

Thanks,
OH

please provide the photobucket link your trying to use.

TTG 11-24-2007 09:06 PM

Latest update removed error when viewing PM's .. thanks Coders Shack

Our House 11-24-2007 09:20 PM

Quote:

Originally Posted by Coders Shack (Post 1388829)
please provide the photobucket link your trying to use.

http://s68.photobucket.com/albums/i2...t=95582277.flv

...and a bunch of others. Even if I remove the "?action=xxx&current=" part, it still doesn't parse.

malc1959 11-24-2007 09:21 PM

Working great now, thanks

Coders Shack 11-24-2007 10:05 PM

album videos never worked... I can add them later in 1.0.8. The following is for my reference:

Code:

(http\://)?s(\d+).photobucket.com/albums/([A-Za-z0-9\-\_\/]+)\?action=view&current=([A-Za-z0-9\-\_]+).flv
'<embed width="448" height="361" type="application/x-shockwave-flash" wmode="transparent" src="http://i'.$matches[2].'.photobucket.com/player.swf?file=http://vid'.$matches[2].'.photobucket.com'.$matches[3].'albums/'.$matches[4].'.flv"></embed>'


Our House 11-24-2007 10:20 PM

Thanks CS!

Please post when it's integrated so I can let my users know.

*clicks installed*

EZD 11-24-2007 10:32 PM

I am very new to all this and need a little help.

I added this product, have it active and check off all the video I want to work but I can only get Youtube to work.

What might I doing wrong? Did I mis something?

metacafe - works
Google works.

Myspace does not.

turbo.:R 11-24-2007 11:24 PM

best addition ever..... thanx

Coders Shack 11-24-2007 11:45 PM

Quote:

Originally Posted by EZD (Post 1388874)
I am very new to all this and need a little help.

I added this product, have it active and check off all the video I want to work but I can only get Youtube to work.

What might I doing wrong? Did I mis something?

metacafe - works
Google works.

Myspace does not.

need the myspace URL you are using to test it on.

EZD 11-24-2007 11:51 PM

<a href="http://myspacetv.com/index.cfm?fuseaction=vids.individual&videoid=51462 17" target="_blank">http://myspacetv.com/index.cfm?fusea...ideoid=5146217</a>

I can click on them and they work.

sgrisole 11-24-2007 11:59 PM

Quote:

Originally Posted by Coders Shack (Post 1382224)
Will add it to the list for 1.0.7

+ vidmax (www not working)
+ youtube (additional link = shit)

I installed the new version today and there's still a problem with it.youtube.com videos. All the text after the video link becomes a link to http://it.%3cobject%20width=/
Is there any way to fix it? It's a big problem for me 'cause most of the videos in my forum have it.youtube.com in their URL.

lonelime 11-25-2007 12:52 AM

can i add this code to your scripts ... it's livevideo.com

<http://www\.livevideo\.com/video/[\w_\-%]+/([\w]{32})[\w-/_\-%.?=&amp;]*]]>
<embed src="http://www.livevideo.com/flvplayer/embed/$p1" type="application/x-shockwave-flash" quality="high" WIDTH="445" HEIGHT="369" wmode="transparent"></embed>

fulleffect 11-25-2007 07:50 AM

You should add www.boysfood.com to the list, (its a free adult video site) they now have a flash player that you can plug into your site, might be worth adding this one too.

zephy 11-25-2007 08:55 AM

Quote:

Originally Posted by zephy (Post 1386140)
Hi there! Great mod, have it installed at www.loonyasylum.net - Videos won't appear in vbAdvanced CMPS though, can you add this, is it something simple to add myself?

Any chance of making this work CS?

agitated 11-25-2007 10:47 AM

Great hack Coders Shack

Would it be possible to add this at some point ?
http://www.boreme.com/

dodgechargerfan 11-25-2007 11:55 AM

Quote:

Originally Posted by sgrisole (Post 1388903)
I installed the new version today and there's still a problem with it.youtube.com videos. All the text after the video link becomes a link to http://it.%3cobject%20width=/
Is there any way to fix it? It's a big problem for me 'cause most of the videos in my forum have it.youtube.com in their URL.


The same still happens with ca.youtube.com links as well.

I tried to figure out how the urls get parsed and try a couple of changes, but it's over my head.


All times are GMT. The time now is 08:05 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.02893 seconds
  • Memory Usage 1,829KB
  • 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
  • (17)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
  • (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