vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - MySpace/YouTube/Google Video Addon (best yet) (https://vborg.vbsupport.ru/showthread.php?t=133235)

Mr_Eslam 01-22-2007 10:10 AM

this hack i great

thank you for it

Fr4gZ 01-22-2007 01:44 PM

Just added it and it works a treat after some tweaking. Are you planning on adding some others for us greedy people such as:

- Metacafe
- Putfile
- Kontraband
- Break.com
- ebaumsworld

I have no coding skillz so I wouldn't know where to start and I appreciate the time element as you are doing US a favour. I'm sure I speak about 99% of us who are genuinely grateful for your efforts. If you can do any of these i'm sure they'd be put to good use! <3

*edit*

Here's the link for metacafe embedded player:

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

Here's the link for break embedded player:

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

pcxmedia 01-22-2007 06:56 PM

I figured out streetfire so I could post them on my car forum Driven2Modify.com

Add you VB tags..
name streetfire
tag streetfire
HTML Code:

<embed src="http://videos.streetfire.net/vidiac.swf" FlashVars="video={param}" quality="high" bgcolor="#ffffff" width="428" height="352" name="ePlayer" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"></embed>
Then add this into your "Insert Video Link" after the googlevideo one.
Code:

                else if (my_colors.match("videos.streetfire.net/"))
                {
                    var col_array=my_colors.split("video/");
                    var part_num=1;
                                        final = col_array[part_num].split(".")
                    var part_num=0;
                    return this.insert_text("[streetfire]" + final[part_num] + "[/streetfire]");
                }

That should be it!

dutchbb 01-22-2007 07:15 PM

Quote:

Originally Posted by Fr4gZ (Post 1164999)
Just added it and it works a treat after some tweaking. Are you planning on adding some others for us greedy people such as:

- Metacafe
- Putfile
- Kontraband
- Break.com
- ebaumsworld

I have no coding skillz so I wouldn't know where to start and I appreciate the time element as you are doing US a favour. I'm sure I speak about 99% of us who are genuinely grateful for your efforts. If you can do any of these i'm sure they'd be put to good use! <3

*edit*

Here's the link for metacafe embedded player:

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

Here's the link for break embedded player:

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

Tried that code with break.com but it doesnt work with this hack. Hopefully Mr Chad knows how it can be implemented.

Fr4gZ 01-22-2007 08:04 PM

I tried it too but there seemed to be a piece of code I didnt have that was different for youtube, google and myspace so it will probably be different for this too.... Pls Mr Chad. It would seriously help our sites! ;)

<3

Mr Chad 01-22-2007 08:22 PM

Quote:

Originally Posted by Fr4gZ (Post 1165257)
I tried it too but there seemed to be a piece of code I didnt have that was different for youtube, google and myspace so it will probably be different for this too.... Pls Mr Chad. It would seriously help our sites! ;)

<3

i was adding other sites but it became an issue... So i decided just to stick with the top 3

Fr4gZ 01-22-2007 08:44 PM

Is that a definate no then regarding adding any more Mr Chad?

Mr Chad 01-22-2007 09:54 PM

Quote:

Originally Posted by Fr4gZ (Post 1165289)
Is that a definate no then regarding adding any more Mr Chad?

Ok ill do it you you paste the code the sites give you to embed the video on another page. But I'm not going to go out of my way to go to these sites.

Fr4gZ 01-22-2007 10:26 PM

You're a star i'm sure everyone will be grateful... i'll keep adding them to my initial post. ;)

Mr Chad 01-23-2007 12:57 AM

ok well the other sites you posted cant really be done with just JavaScript but i did the ones i could.

MetaCafe and Ebaumsworld

Find This in the javascript file:
Code:

                    return this.insert_text("[googlevideo]" + col_array[part_num] + "[/googlevideo]");
                }

under it add:
Code:

                else if (my_colors.match("ebaumsworld.com"))
                {
                    var my_colors = my_colors.replace(".html","");
                    var col_array = my_colors.split("ebaumsworld.com/");
                    return this.insert_text("[ebaumsvideo]" + col_array[1] + "[/ebaumsvideo]");
                }
                else if (my_colors.match("metacafe.com"))
                {
                    var my_colors = my_colors.replace(new RegExp(/\/$/),"");
                    var col_array = my_colors.split(new RegExp(/\/watch\//g));
                    return this.insert_text("[metacafe]" + col_array[1] + "[/metacafe]");
                }


BB Codes

Title: ebaumsvideo
Tag: ebaumsvideo
Replacement:
Code:

<embed src="http://ebaumsworld.com/ml_player2.swf" FlashVars="sharelink=http%3A%2F%2Ftaf.ebaumsworld.com%2Fform.php%3Frid%3D195%26ref%3D/{param}.html&stream=http%3A%2F%2Fwww.ebaumsworld.com/{param}.flv" loop="false" menu="false" quality="high" bgcolor="#ffffff" width="480" height="400" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
Title: metacafe
Tag: metacafe
Replacement:
Code:

<embed src="http://www.metacafe.com/fplayer/{param}.swf" width="400" height="345" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>

these are untested give me results after you try it.


All times are GMT. The time now is 09:28 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.01344 seconds
  • Memory Usage 1,756KB
  • 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
  • (1)bbcode_html_printable
  • (3)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
  • (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