Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
inlineVideo - Youtube / Myspace / Google / Ebaums Details »»
inlineVideo - Youtube / Myspace / Google / Ebaums
Version: 2.02, by Coders Shack Coders Shack is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.7 Rating:
Released: 05-22-2007 Last Update: 05-25-2007 Installs: 132
Uses Plugins
Code Changes Additional Files  
No support by the author.

[hr]value[/hr]
. . . . . . . . Brought to you by

. . . http://www.Scriptasy.com
[hr]value[/hr]
I WOULD LIKE A MOD TO CLOSE THIS AND MOVE IT TO THE GRAVEYARD
it has been made obsolete by my other mod [here]


[/CENTER]
Installation Time: <2 mins
Products: 1
File Edit: 1
VB Version: 3.6.7
  • v2.02
    • removed the need for template edits.
Example:
[hr]value[/hr]
youtube-myspace-videos-posts/

Description:
[hr]value[/hr]
ok this mod is a little different than the other ones it adds a button to the tool bar and when you click it you just enter the URL of the video if its myspace then it creates the myspace video BB code if its youtube then it creates the youtube BB code. There is no need to enter the end of the video link you can just enter the whole URL in.

Installation:
[hr]value[/hr]
Open clientscript/vbulletin_textedit.js and Find:
Code:
    // =============================================================================
    // vB_Text_Editor methods

    /**
    * Editor initialization wrapper
    */
Add This above:
HTML Code:
    /**
    * Insert Video Link
    */
    this.createvideolink = function(e, url)
    {
        var my_colors=prompt("MySpace, YouTube, Google video, or eBaum's World video URL","");
        if ((my_colors=="") || (my_colors==null))
        {
              alert("Please Enter The Full URL!");
        }
        else
        {
            if (my_colors.match("youtube.com")) 
            {
                var col_array=my_colors.split("?v=");
                var part_num=1;
                return this.insert_text("[youtube]" + col_array[part_num] + "[/youtube]");
            }
            else if (my_colors.match("myspace.com"))
            {
                if (my_colors.match("videoID="))
                {
                    var col_array=my_colors.split("videoID=");
                }
                else
                {
                    var col_array=my_colors.split("videoid=");
                }
                var part_num=1;
                return this.insert_text("[myspace]" + col_array[part_num] + "[/myspace]");
            } 
            else if (my_colors.match("video.google.")) 
            {
                var col_array=my_colors.split("docid=");
                var part_num=1;
                return this.insert_text("[googlevideo]" + col_array[part_num] + "[/googlevideo]");
            }
            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]");
            }
            else
            {
                  alert("Please Enter The Full URL!");
            }
        }
    };
Ok, install the product xml. Then go to your BB Code Manager and click edit and resave all 5 of the BBCODES.

[hr]value[/hr]
If you like then [Mark As Installed]
[hr]value[/hr]

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #92  
Old 06-22-2007, 09:42 PM
Subah's Avatar
Subah Subah is offline
 
Join Date: Feb 2006
Location: KUWAIT
Posts: 393
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool hack wait to complet the collection
Reply With Quote
  #93  
Old 06-22-2007, 09:46 PM
GlitterKill GlitterKill is offline
 
Join Date: Jul 2002
Location: Nashville
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any idea how I can fix this uncached template?
uncached template: postbit_quickedit
Reply With Quote
  #94  
Old 06-22-2007, 09:56 PM
GlitterKill GlitterKill is offline
 
Join Date: Jul 2002
Location: Nashville
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NM I got it.
Reply With Quote
  #95  
Old 06-23-2007, 03:13 AM
da420 da420 is offline
 
Join Date: Nov 2005
Posts: 1,232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Guys, I would give it up. With your gimme something for nothing and then ask for more attitudes, I wouldn't really want to release stuff for free either. Sometimes you must learn to appreciate what you got, and bite your lip for the rest. Sorry, but that's also part of 'the real world.'
Reply With Quote
  #96  
Old 06-23-2007, 03:51 AM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

due to member attitude UNSUPPORTED, happy
Reply With Quote
  #97  
Old 06-23-2007, 04:00 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Geesh ! I was getting ready to install this !

Thanks Alot Guys !!!!

DM
Reply With Quote
  #98  
Old 06-23-2007, 04:15 AM
da420 da420 is offline
 
Join Date: Nov 2005
Posts: 1,232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why would you not install it? It's still a very good mod.
Reply With Quote
  #99  
Old 06-23-2007, 03:05 PM
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Location: Las Vegas, NV.
Posts: 1,433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by da420 View Post
Guys, I would give it up. With your gimme something for nothing and then ask for more attitudes, I wouldn't really want to release stuff for free either. Sometimes you must learn to appreciate what you got, and bite your lip for the rest. Sorry, but that's also part of 'the real world.'
First of all, I want to thank da420, cause he develop the rest of the code for this hack...

Quote:
Originally Posted by Coders Shack View Post
due to member attitude UNSUPPORTED, happy
Second da420, If I were you, I shouldn't be defending this case, I strongly believe that CoderShack is Chad in reality...
'Chad's Sig'
Quote:
If anyone wants any of my past modifications please PM me... I will provide you with a link to them. I have decided to remove all my modifications from VB.org because of a small incident...
Quote:
CoderShack's Registration date: 4/13/07
If not, then runs in the family, lol... [supposedly cousins]
If yes, they are the same guys who offered me and downloaded warez:
Warez[I apology to the Mods for posting this, I'm just building my case, after that I will quit this thread]

I'm Graphic Designer for a Studio in North Hollywood, and even us, don't have that software yet, and we don't have plans to acquire it in the near future...

www.arcadia.progvisual.com/elisha.jpg
www.arcadia.progvisual.com/natalia.jpg
www.arcadia.progvisual.com/ida.jpg
www.iogames.com/xxx/RhondaPack.jpg
www.iogames.com/xxx//Friends.jpg

So, we are stumbling with an old problem... I move on to rebuild the hack, and keep thriving in our projects... Votes?

p.s. A Dr Phil's Intervention could be useful too...
Reply With Quote
  #100  
Old 06-23-2007, 03:20 PM
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Location: Las Vegas, NV.
Posts: 1,433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here you can find and verify the status of my Corporations:

https://esos.state.nv.us/SOSServices...orpSearch.aspx

1. Freedom of Information Act, Inc.
2. IO Games, Inc.



ISN'T 'REAL LIFE' SOOO BEAUTIFUL??? Isn't??? [Kissy-Kissy]
Reply With Quote
  #101  
Old 06-23-2007, 04:39 PM
The Notorious's Avatar
The Notorious The Notorious is offline
 
Join Date: Jan 2006
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good hack installed.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06672 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete