vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   BB Code Enhancements - RU All Media BB Code (https://vborg.vbsupport.ru/showthread.php?t=219139)

intp 07-21-2009 10:00 PM

RU All Media BB Code
 
1 Attachment(s)
Demo
RetroUprising.com
Please don't spam, just use preview post to see how it works. If you don't have any interest in joining use the BugMeNot account.

Supported sites
  1. Blip.TV
  2. Daily Motion
  3. FaceBook Videos *
  4. Flickr
  5. Google Videos
  6. Guba
  7. Harpers Bazaar
  8. Liveleak
  9. MegaPorn **
  10. MegaVideo
  11. MetaCafe
  12. MySpace Videos
  13. Nothing Toxic
  14. Own3d
  15. PhotoBucket Videos
  16. Redtube **
  17. Ryoni
  18. Street Fire
  19. Style
  20. Tangle
  21. The Fashion Spot
  22. Telegraph TV
  23. Veoh
  24. Video Fashion Daily
  25. Viddler
  26. Videojug
  27. Vimeo
  28. Yahoo Videos
  29. YouTube Videos
  30. Youtube Playlists
  31. Wipido
  32. Xtranormal
  33. Zshare Videos

* Facebook doesn't work for every video.
** Adult sites like Mega Porn and Red Tube are disabled by default. To enable edit the Product XML file in notepad. Change "$adult = false;" to "$adult = true;".

Install instructions:
  1. Import the attached product.
  2. Put media link inside an [m] tag like this
    Code:

    [m]http://www.youtube.com/watch?p=224C757AA9F9F0D7[/m]


Optional Instructions to add media button to the editor toolbar:
  1. Upload this image https://vborg.vbsupport.ru/external/2009/10/3.png to your style image folder. The default is /forum_root/images/editor/
  2. Edit the "editor_toolbar_on" template.
  3. Find
    Code:

    <if condition="$show['url_bbcode']">
  4. Before add
    Code:

    <td><div class="imagebutton" id="{$editorid}_cmd_wrap0_m"><img src="$stylevar[imgdir_editor]/media.png"  width="22" height="22" alt="Insert" /></div></td>
If anyone knows how to automatically add the button to the toolbar in the Product XML please let me know.


Upgrade Instructions:
  1. Import the product and set "Allow Overwrite" to Yes.

This is my first mod posted at VB.org. I hope someone finds it helpful. Please click install and Nominate for MOTM.

History
0.11 October 29, 2009
Fixed Nothing Toxic.
Added support for:
  1. Street Fire
0.10 October 04, 2009
Cleaned code. Fixed several bugs. Added an adult filter so porn sites are disabled by default. Edit the XML file before installing to enable. I recommend upgrading.
Added support for:
  1. Harpers Bazaar
  2. MegaPorn
  3. RedTube
  4. Style
  5. The Fashion Spot
  6. Telegraph TV
  7. Video Fashion Daily
  8. LiveLeaks
  9. Nothing Toxic
  10. Ryoni
  11. Flickr Videos
  12. VideoJug
  13. Tangle
  14. Xtranormal
0.6 September 17, 2009
Added additional Google Video URL support.
Reduced width and height to fit more styles.
Made links case insensitive.
Updated install instructions.
Added support for:
  1. MetaCafe
  2. MySpace
  3. PhotoBucket
  4. Wipido
  5. Own3d
0.5 September 13, 2009
Fixed preview/edit vanishing bug.
Added support for:
  1. Yahoo
  2. Daily Motion
  3. Veoh
  4. Viddler
  5. Zshare
  6. FaceBook
  7. Guba
  8. MegaVideo
  9. Vimeo
  10. Blip.TV
0.1, July 22, 2009
First release
Supports:
  1. YouTube Videos
  2. YouTube Playlists
  3. Google Videos

More will be added as they are requested. When making requests include links to example video pages and embedding code if available.

dvsDave 07-22-2009 02:18 PM

Vimeo.com, blip.tv, and facebook.com videos are the three others that I would most like to see!

intp 07-23-2009 06:11 AM

Added support for MegaVideo, Vimeo and Blip.TV.

FaceBook will take too much time/effort to add. Sorry.

intp 07-24-2009 06:09 PM

Add support for FaceBook.com and Guba.com today.

dvsDave 07-24-2009 06:20 PM

thanks for changing your mind on that! Much appreciated!

Skiller 07-24-2009 06:32 PM

Works perfect nice mod thanks.

pujabrang 07-28-2009 10:02 PM

can u please add zshare videos aswell

intp 07-31-2009 06:39 PM

Quote:

Originally Posted by pujabrang (Post 1857482)
can u please add zshare videos aswell

I don't think so but post an example link that you want and I will see if it can be easily added.

rigodiaz 08-08-2009 12:57 AM

Thank you.

nomoreturn 09-07-2009 04:12 AM

Quote:

Originally Posted by intp (Post 1859212)
I don't think so but post an example link that you want and I will see if it can be easily added.

Hello i'm also looking for zshare video here is the link for zshare video
http://www.zshare.net/video/62249438807e18c6/

and here is the embed code for the same video please includ zshare in this bbcode
Code:

<iframe src="http://www.zshare.net/videoplayer/player.php?SID=dl075&FID=62249438&FN=_VidGrounds.Tv_%20Mini%20Punjab%20_2009_%20DVDRip%20XviD%201CD%20MP3%20002.WMV.flv&iframewidth=648&iframeheight=415&width=640&height=370&H=62249438807e18c6" height="415" width="648"  border=0 frameborder=0 scrolling=no></iframe>


All times are GMT. The time now is 04:14 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.01154 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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