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)

cosy 12-05-2007 07:34 PM

got a problem
i put test
youtube link
text

after edit
and put again
text
youtube link
text

some of the text "get invisible" (visible on edit) or get linked on youtube url

Fungsten 12-05-2007 07:55 PM

Quote:

Originally Posted by Our House (Post 1395270)
Ditto.

CS,

Adding a closing </a> after the video link solves it.

Where do you put that in the code? I'm still having problems with it even after the update.

Coders Shack 12-05-2007 08:05 PM

links to a live issue will help... i have nothing to work with.

Adjani 12-05-2007 08:25 PM

The post looks like this from the embedded youtube video

Quote:

<object width="425" height="355"><param name="movie" value="<A href="http://www.youtube.com/v/11ESZksyeUg&rel=1"></param><param">http://www.youtube.com/v/11ESZksyeUg&rel=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/11ESZksyeUg&rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>

mr clean 12-05-2007 08:34 PM

I receive the following error when viewing usernotes..

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

The error goes away once I disable this mod. Not sure what to do about it.

Coders Shack 12-05-2007 09:30 PM

Quote:

Originally Posted by mr clean (Post 1395717)
I receive the following error when viewing usernotes..

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

The error goes away once I disable this mod. Not sure what to do about it.

ok, not sure what page the usernotes is on. but you can go into the Global Array plugin and read the first line and you will understand why that error is appearing. You need to add that page to the in_array function

Coders Shack 12-05-2007 09:33 PM

Quote:

Originally Posted by Adjani (Post 1395711)
The post looks like this from the embedded youtube video

you have a conflicting mod.

EZD 12-05-2007 09:36 PM

Great hack!

Question for you.

Is there a way for this hack to work on the calendar. When someone post an event they add a video?

Adjani 12-05-2007 10:03 PM

Quote:

Quote:
Originally Posted by Adjani
The post looks like this from the embedded youtube video

you have a conflicting mod.
Only other mod installed is VBArcade, and that was installed after the passiveVid mod, which i havn`t been able to get working at all (even before VBArcade)

Thx for the response though Coders, would like to get this working :confused:

mr clean 12-05-2007 11:33 PM

Quote:

Originally Posted by Coders Shack (Post 1395749)
ok, not sure what page the usernotes is on. but you can go into the Global Array plugin and read the first line and you will understand why that error is appearing. You need to add that page to the in_array function

I don't know how I missed that when I was trying to fix it, but I did. Right there in front of my face. :D

Excellent work!

turbo.:R 12-05-2007 11:42 PM

working good so far...

Coders Shack 12-06-2007 12:08 AM

Quote:

Originally Posted by mr clean (Post 1395812)
I don't know how I missed that when I was trying to fix it, but I did. Right there in front of my face. :D

Excellent work!

the biggest issues are always something thats stupid and right in your face. :D

also you were probably distracted from the giant array of complex statements.
Quote:

Originally Posted by Adjani (Post 1395773)
Only other mod installed is VBArcade, and that was installed after the passiveVid mod, which i havn`t been able to get working at all (even before VBArcade)

Thx for the response though Coders, would like to get this working :confused:

I don't have much to work with then. I know that it works on about 100 other boards with youtube, not sure why on yours its trying to parse the url twice. Unless you somehow have two instances of passiveVid installed, or duplicated the plugin. I have no idea whats wrong with yours.
Quote:

Originally Posted by turbo.:R (Post 1395818)
working good so far...

good to know, thanks for the update.

BENSTER 12-06-2007 12:42 AM

I'm not sure if anyone noticed this, but apparently Google videos is embedding Yahoo videos on their site, and they don't post very well on my own message board. I recall reading something about the URL appearing above a blank video window, but I don't recall the solution.

Example: Post this video to your Forum, and it will not work: http://video.google.com/videoplay?do...arch&plindex=1

The video really is this one:

http://www.youtube.com/watch?v=5rEg_9mQQmo

noonespecial 12-06-2007 01:34 AM

The only problem I've found with this mod is that I can't figure out how to get it to work on other portions of the site that are not standard VB.

For example: VbJournal, Photopost VB Gallery, VBLinks.

Is there any tips you could give me on what code needs to be added where in order to activate this for posting in these other portions of my website?

noonespecial 12-06-2007 02:21 AM

Also - is Virb possible?

http://www.virb.com/

Ronya 12-06-2007 03:20 AM

add plz
www.rutube.ru

Code:


                <findcode><![CDATA[[http://]*[a-z]*?[\.]?rutube\.[a-z]*?/tracks/[a-z0-9]*\.html\?v=([a-z0-9]*)]]></findcode>
                <replacecode><![CDATA[<OBJECT width="400" height="353"><PARAM name="movie" value="http://video.rutube.ru/$p1" /><PARAM name="wmode" value="window" /><PARAM name="allowFullScreen" value="true"></PARAM><EMBED src="http://video.rutube.ru/$p1" type="application/x-shockwave-flash" wmode="window" width="400" height="353" allowFullScreen="true"/></OBJECT>]]></replacecode>


Coders Shack 12-06-2007 03:36 AM

those sites shall be added in the next update as well as the xtube fix.

Arbit3r 12-06-2007 11:02 AM

Amazing Thanks!!!!

nyunyu 12-06-2007 04:19 PM

installed and work great.. Thanks for the hack
*click install*

Joe1967 12-06-2007 09:50 PM

Very nice mod - THANK YOU! :cool::up:

Subah 12-06-2007 09:59 PM

Great hack, I hope you can add the abilty to open the .rm and .ram in real player :)

zikuta 12-06-2007 10:11 PM

I have been testing this add for a few days and it works great!!!

It justs need DAILYMOTION support!!!

Regards!

lonelime 12-07-2007 04:49 AM

just voted ... yay..

Robert Waanders 12-07-2007 07:15 AM

Great hack, installed it immediately!

Robert

Robert Waanders 12-07-2007 11:58 AM

I have a short question, this mod works great, butt some users on my board wants to place a link to a videoserver without actually playing the movie, They just want to paste the link. Is this possible?

Robert

superthang 12-07-2007 02:36 PM

xtube is no long working

xtube just impliment the - and _ at the end of video

Coders Shack 12-07-2007 03:50 PM

Quote:

Originally Posted by superthang (Post 1396856)
xtube is no long working

xtube just impliment the - and _ at the end of video

that fixes it? lol i'm not sure how i broke it, but for 1.0.8 i rewrote every regex to fit a uniform search.

Coders Shack 12-07-2007 03:52 PM

Quote:

Originally Posted by Robert Waanders (Post 1396758)
I have a short question, this mod works great, butt some users on my board wants to place a link to a videoserver without actually playing the movie, They just want to paste the link. Is this possible?

Robert

no this is not possible, if they really need to just post a link then they can use a site like http://tinyurl.com/ . The whole point of this mod is to parse every video link into an embed.

Coders Shack 12-07-2007 03:55 PM

Quote:

Originally Posted by BENSTER (Post 1395860)
I'm not sure if anyone noticed this, but apparently Google videos is embedding Yahoo videos on their site, and they don't post very well on my own message board. I recall reading something about the URL appearing above a blank video window, but I don't recall the solution.

Example: Post this video to your Forum, and it will not work: http://video.google.com/videoplay?do...arch&plindex=1

The video really is this one:

http://www.youtube.com/watch?v=5rEg_9mQQmo

this is something that would be hard to fix. there is no difference from a normal google video url and a youtube google video url. Which makes it impossible to detect which url is which. Easiest thing to do would be to disable google or tell your members why google links act up and make them actually put in the direct url.

OnTheSideDesign 12-07-2007 05:00 PM

Just installed it, it is awesome! Thanks.

www.diyprojectorkits.com

BENSTER 12-07-2007 11:23 PM

Quote:

Originally Posted by Coders Shack (Post 1396889)
this is something that would be hard to fix. there is no difference from a normal google video url and a youtube google video url. Which makes it impossible to detect which url is which. Easiest thing to do would be to disable google or tell your members why google links act up and make them actually put in the direct url.


Thanks! Just knowing what is going on helps out...I thought something had broke! :)

monsterkill 12-08-2007 02:03 AM

Hi there...ive been having issues with the latest version with regards to the break.com vid embedding. it doesnt seem to work. for example, when i place the following on my forum:

http://break.com/index/9th-grade-+++++-on-maury.html

it automatically converts into:

http://break.com/index/9th-grade-+++....html?matchid=

and there will be no embedding... any idea what might be going on? thanks!

Coders Shack 12-08-2007 04:28 AM

Quote:

Originally Posted by monsterkill (Post 1397161)
Hi there...ive been having issues with the latest version with regards to the break.com vid embedding. it doesnt seem to work. for example, when i place the following on my forum:

http://break.com/index/9th-grade-+++++-on-maury.html

it automatically converts into:

http://break.com/index/9th-grade-+++....html?matchid=

and there will be no embedding... any idea what might be going on? thanks!

first off thats a bad url. second the matchid is something i had to add to get break to work. try it with a real video url.

Animecraving 12-08-2007 06:50 AM

oh hey i found another error regarding the postbit..
and this happen in user notes when i viewing it
Code:

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

Robert Waanders 12-08-2007 10:29 AM

Quote:

Originally Posted by Coders Shack (Post 1396886)
no this is not possible, if they really need to just post a link then they can use a site like http://tinyurl.com/ . The whole point of this mod is to parse every video link into an embed.

Ok,

Thanks for the explanation.

Robert

monsterkill 12-08-2007 01:51 PM

Quote:

Originally Posted by Coders Shack (Post 1397210)
first off thats a bad url. second the matchid is something i had to add to get break to work. try it with a real video url.

unfortuntaely all video links do the same thing.

for example, if i link this on my forum
http://www.break.com/index/shrimp-ru...treadmill.html

i get this
http://www.break.com/index/shrimp-ru....html?matchid=

and the video doesnt embed

jklincoln 12-08-2007 02:08 PM

Hi, this is a great mod...I've "installed it" and I'm pleased. I noticed that someone commented earier about the title variable and it was mentioned that you need vBSEO for this to function, but then someone else mentioned placing </a> after the link and all was well.

I've tried this and it does not work. If someone could elaborate in case I'm missing something, that would be great, but otherwise I'm just getting the URL in the title bar.

Thanks again

jklincoln

cosy 12-08-2007 06:03 PM

youtube, metacafe, koreus get a common problem
if u have
Code:


       
Quote:

       
       
               
       
       

                       

                       
                                aaaaaaaaa <video link> bbbbb
                       
                       

               


bbbbb disepear


also any text after a koreus/ sapo link get "hided"

noonespecial 12-08-2007 10:53 PM

Any one have any suggestions to "port" this into other places people can post around my website? VbJournal, Vbalinks, etc? Certain plugins I can copy/paste into some place in the other code?

lonelime 12-09-2007 05:11 AM

hello...

this hack is working great inside the forum, but somehow it does not work with the vblog, i am talking the blogs from vbulletin.com.

and I am little bit confuse about the Custom Replacement , where do i place that code?

and how do i make the player inside the box and tittle like the one you posted in your forum ..????

Thanks for your help ..


All times are GMT. The time now is 11:55 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.02190 seconds
  • Memory Usage 1,839KB
  • 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
  • (3)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
  • (2)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