php forum
php mysql forum
php mysql smarty
 
Topic Options
#316714 - 02/15/08 07:12 AM [7.3+] Gizmo's Embedding BBCode (Compatibility)
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5287
Loc: Portland, OR, USA
Well, as I promised all of my past users of my Pre-7.3 BBCode, one day after Beta4 is released... Here is your compatibility custom's! That's right, you can use the same BBCode your users have gotten used to in 7.3 with the custom code import provided below.

I have a NEW posting on 7.3 BBCodes, this one is simply for compatibility with the old ones (pre7.3) so please bring any addition requests to the other thread.

To add these tags to your forum, simply take what is provided, take out those which you don't want, insert into a new text document "CustomTags.txt" and then import them to your forum (CP -> Tools & Info (Category) -> Content Rebuilder (Option) -> Custom Tag Editor (Top Tab) -> Import New Tags (Bottom Tab)).

The Code (CustomTags.txt) is as follows (please see the old thread for compatibility information):
Code:
<?php
$export_tags = array (
  0 => 
  array (
    'tag' => 'break',
    'descrip' => 'Break.com Video',
    'prompt' => 'Enter the Break.com Video id only (and not the entire URL)',
    'regex' => '([a-zA-Z0-9-_]+)',
    'markup' => '<object width=\\"425\\" height=\\"350\\"><param name=\\"movie\\" value=\\"http://embed.break.com/\\\\1\\"></param><embed src=\\"http://embed.break.com/\\\\1\\" type=\\"application/x-shockwave-flash\\" width=\\"425\\" height=\\"350\\"></embed></object>',
  ),
  1 => 
  array (
    'tag' => 'googlevideo',
    'descrip' => 'Google Video',
    'prompt' => 'Enter the Google Video id only (and not the entire URL), including the - (if it has one)',
    'regex' => '([a-zA-Z0-9-_]+)',
    'markup' => '<embed 
 style=\\"width:425px; 
 height:350px;\\" 
 id=\\"VideoPlayback\\" 
 type=\\"application/x-shockwave-flash\\" 
 src=\\"http://video.google.com/googleplayer.swf?docId=\\\\1&hl=en\\" 
 flashvars=\\"\\"> 
</embed>',
  ),
  2 => 
  array (
    'tag' => 'liveleak',
    'descrip' => 'LiveLeak Video',
    'prompt' => 'Enter the LiveLeak Video id only (and not the entire URL)',
    'regex' => '([a-zA-Z0-9-_]+)',
    'markup' => '<object type=\\"application/x-shockwave-flash\\" width=\\"425\\" height=\\"350\\" wmode=\\"transparent\\" data=\\"http://www.liveleak.com/player.swf?autostart=false&token=\\\\1\\"><param name=\\"movie\\" value=\\"http://www.liveleak.com/player.swf?autostart=false&token=\\\\1\\"><param name=\\"wmode\\" value=\\"transparent\\"><param name=\\"quality\\" value=\\"high\\"></object>',
  ),
  3 => 
  array (
    'tag' => 'myspacevideo',
    'descrip' => 'MySpace Video',
    'prompt' => 'Enter the MySpace Video id only (and not the entire URL)',
    'regex' => '([a-zA-Z0-9-_]+)',
    'markup' => '<embed src=\\"http://lads.myspace.com/videos/vplayer.swf\\" flashvars=\\"m=\\\\1&v=2&type=video\\" type=\\"application/x-shockwave-flash\\" width=\\"425\\" height=\\"350\\"></embed>',
  ),
  4 => 
  array (
    'tag' => 'revver',
    'descrip' => 'Revver Video',
    'prompt' => 'Enter the Revver Video id only (and not the entire URL)',
    'regex' => '([a-zA-Z0-9-_]+)',
    'markup' => '<embed type=\\"application/x-shockwave-flash\\" src=\\"http://flash.revver.com/player/1.0/player.swf\\" pluginspage=\\"http://www.macromedia.com/go/getflashplayer\\" scale=\\"noScale\\" salign=\\"TL\\" bgcolor=\\"#ffffff\\" flashvars=\\"mediaId=\\\\1&affiliateId=64082\\" wmode=\\"transparent\\" height=\\"350\\" width=\\"425\\"></embed>',
  ),
  5 => 
  array (
    'tag' => 'sdeluxe',
    'descrip' => 'SuperDeluxe Video',
    'prompt' => 'Enter the SuperDeluxe Video id only (and not the entire URL)',
    'regex' => '([a-zA-Z0-9-_]+)',
    'markup' => '<object width=\\"425\\" height=\\"350\\"><param name=\\"allowFullScreen\\" value=\\"true\\" /><param name=\\"movie\\" value=\\"http://www.superdeluxe.com/static/swf/share_vidplayer.swf\\" /><param name=\\"FlashVars\\" value=\\"id=\\\\1\\" /><embed src=\\"http://www.superdeluxe.com/static/swf/share_vidplayer.swf\\" FlashVars=\\"id=\\\\1\\" type=\\"application/x-shockwave-flash\\" width=\\"425\\" height=\\"350\\" allowFullScreen=\\"true\\" ></embed></object>',
  ),
  6 => 
  array (
    'tag' => 'yahoovideo',
    'descrip' => 'Yahoo Video',
    'prompt' => 'Enter the Yahoo Video id only (and not the entire URL)',
    'regex' => '([a-zA-Z0-9-_]+)',
    'markup' => '<embed
 src=\\\'http://us.i1.yimg.com/cosmos.bcst.yahoo.com/player/media/swf/FLVVideoSolo.swf\\\'
 flashvars=\\\'id=\\\\1\\\'
 type=\\\'application/x-shockwave-flash\\\'
 width=\\\'425\\\'
 height=\\\'350\\\'>
</embed>',
  ),
  7 => 
  array (
    'tag' => 'youtube',
    'descrip' => 'YouTube Video',
    'prompt' => 'Enter the YouTube Video id only (and not the entire URL)',
    'regex' => '([a-zA-Z0-9-_]+)',
    'markup' => '<object width=\\\'425\\\' height=\\"350\\">
 <param name=\\"movie\\" value=\\"http://www.youtube.com/v/\\\\1\\"></param>
 <param name=\\"wmode\\" value=\\"transparent\\"></param>
 <embed src=\\"http://www.youtube.com/v/\\\\1\\"
  type=\\"application/x-shockwave-flash\\" wmode=\\"transparent\\"
  width=\\"425\\" height=\\"350\\">
 </embed>
</object>',
  ),
  8 => 
  array (
    'tag' => 'wiki',
    'descrip' => 'Wikipedia',
    'prompt' => 'Please enter the term to have listed through Wikipedia.',
    'regex' => '([a-zA-Z0-9-_ ]+)',
    'markup' => '<a href=\\"http://en.wikipedia.org/wiki/\\\\1\\">\\\\1</a>',
  ),
  9 => 
  array (
    'tag' => 'google',
    'descrip' => 'Google Search',
    'prompt' => 'Please enter the term to have searched through Google.',
    'regex' => '([a-zA-Z0-9-_ ]+)',
    'markup' => '<a href=\\"http://www.google.com/search?q=\\\\1\\">\\\\1</a>',
  ),
  10 => 
  array (
    'tag' => 'googleimages',
    'descrip' => 'Google Image Search',
    'prompt' => 'Please enter the term to have searched through Google.',
    'regex' => '([a-zA-Z0-9-_ ]+)',
    'markup' => '<a href=\\"http://www.google.com/images?q=\\\\1\\">\\\\1</a>',
  ),
  11 => 
  array (
    'tag' => 'froogle',
    'descrip' => 'Froogle Search',
    'prompt' => 'Please enter the term to have searched through Google.',
    'regex' => '([a-zA-Z0-9-_ ]+)',
    'markup' => '<a href=\\"http://www.google.com/products?q=\\\\1\\">\\\\1</a>',
  ),
  12 => 
  array (
    'tag' => 'description',
    'descrip' => 'Description',
    'prompt' => 'Please enter the text to be defined as a description.',
    'regex' => '(.+?)',
    'markup' => '<strong>Description</strong>: \\\\1',
  ),
  13 => 
  array (
    'tag' => 'desc',
    'descrip' => 'Description',
    'prompt' => 'Please enter the text to be defined as a description.',
    'regex' => '(.+?)',
    'markup' => '<strong>Description</strong>: \\\\1',
  ),
  14 => 
  array (
    'tag' => 'flash',
    'descrip' => 'Flash Embed',
    'prompt' => 'Please enter the Height, Width, and URL for the flash video.',
    'regex' => '([0-9]+), ([0-9]+), ([a-zA-Z0-9-_.&:/]+)',
    'markup' => '<object width="\\\\2" height="\\\\1"><param name="movie" value="\\\\3"></param><embed src="\\\\3" type="application/x-shockwave-flash" width="\\\\2" height="\\\\1"></embed></object>',
  ),
  15 => 
  array (
    'tag' => 'flash',
    'descrip' => 'Flash Embed',
    'prompt' => 'Please enter the URL for the flash video.',
    'regex' => '([a-zA-Z0-9-_.&:/]+)',
    'markup' => '<object width="425" height="350"><param name="movie" value="\\\\1"></param><embed src="\\\\1" type="application/x-shockwave-flash" width="425" height="350"></embed></object>',
  ),
  16 => 
  array (
    'tag' => 'pricegrabber',
    'descrip' => 'PriceGrabber',
    'prompt' => 'Please enter the string to search at PriceGrabber.',
    'regex' => '([a-zA-Z0-9-_ ]+)',
    'markup' => '<a href="http://www.pricegrabber.com/search_getoffers.php?keyword=\\\\1" target="_new">\\\\1</a>',
  ),
  17 => 
  array (
    'tag' => 'myspace',
    'descrip' => 'View MySpace Profile',
    'prompt' => 'Please enter the name of the user to lookup on MySpace.',
    'regex' => '([a-zA-Z0-9-_ ]+)',
    'markup' => '<a href="http://www.myspace.com/\\\\1" target="_new">\\\\1</a>',
  ),
  18 => 
  array (
    'tag' => 'loowa',
    'descrip' => 'View Loowa Profile',
    'prompt' => 'Please enter the name of the user to lookup on Loowa.',
    'regex' => '([a-zA-Z0-9@.]+)',
    'markup' => '<a href="http://www.loowa.com/profile.php?email=\\\\1" target="_new">\\\\1</a>',
  ),
  19 => 
  array (
    'tag' => 'loowavideo',
    'descrip' => 'Loowa Video',
    'prompt' => 'Please enter the ID of the video to embed from Loowa.',
    'regex' => '([a-zA-Z0-9-_]+)',
    'markup' => '<embed src="http://update.videoegg.com/flash/player8.swf?jsver=1.3" FlashVars="file=http%3A//selfserve1.download.videoegg.com/gid353/cid1208/CZ/PW/1169094106KzyWvMT0WVB7S74rN6a2&amp;bgColor=000000&amp;autoPlay=false&amp;showAd=false&amp;adVars=&amp;pageURL=http%3A//www.loowa.com/video/\\\\1&amp;allowFlash9Fullscreen=true" quality="high" allowFullScreen="true" allowScriptAccess="always" bgcolor="#000000" scale="noscale" wmode="window" width="425" height="350" name="VE_Player" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>',
  ),
  20 => 
  array (
    'tag' => 'photobucket',
    'descrip' => 'Photobucket Widget',
    'prompt' => 'Please enter the ID of your photobucket widget.',
    'regex' => '([a-zA-Z0-9-_/:.]+)',
    'markup' => '<object width="425" height="350"><embed type="application/x-shockwave-flash" wmode="transparent" src="http://w33.photobucket.com/pbwidget.swf?pbwurl=\\\\1" height="350" width="425"></embed></object>',
  ),
  21 => 
  array (
    'tag' => 'pbucket',
    'descrip' => 'Photobucket Widget',
    'prompt' => 'Please enter the ID of your photobucket widget.',
    'regex' => '([a-zA-Z0-9-_/:.]+)',
    'markup' => '<object width="425" height="350"><embed type="application/x-shockwave-flash" wmode="transparent" src="http://w33.photobucket.com/pbwidget.swf?pbwurl=\\\\1" height="350" width="425"></embed></object>',
  ),
  22 => 
  array (
    'tag' => 'podcast',
    'descrip' => 'Podcast',
    'prompt' => 'Please enter the URL of the podcast stream (audio file).',
    'regex' => '([a-zA-Z0-9-_.&:/]+)',
    'markup' => '<embed src="http://www.yoursite.tld/your/mp3player.swf" width="425" height="42" bgcolor="#000000" quality="low" menu="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="file=\\\\1&amp;autostart=false&amp;backcolor=0x000000&amp;frontcolor=0xFFFFFF&amp;lightcolor=0xFFFFFF" /></center>',
  ),
  23 => 
  array (
    'tag' => 'webcam',
    'descrip' => 'Stickam WebCam Stream',
    'prompt' => 'Please enter your Stickam ID.',
    'regex' => '([a-zA-Z0-9-_]+)',
    'markup' => '<embed src="http://player.stickam.com/stickamPlayer/\\\\1" type="application/x-shockwave-flash" width="480" height="210" allowScriptAccess="always"></embed>',
  ),
  24 => 
  array (
    'tag' => 'skype',
    'descrip' => 'Skype Status Indicator',
    'prompt' => 'Please enter your Skype ID.',
    'regex' => '([a-zA-Z0-9-_]+)',
    'markup' => '<a href="skype:\\\\1?call"><img src="http://mystatus.skype.com/bigclassic/\\\\1" style="border: none;" width="182" height="44" alt="My status" /></a>',
  ),
);
?>
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#316730 - 02/19/08 02:30 PM Re: [7.3+] Gizmo's Embedding BBCode (Compatibility) [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
wow this is sweeeeeeeeet.

I love the way these tags are now added wink

As above.
Just make the text file and import it.
Then click on which one you want and enable it.
And even use the option to make it visible or not.

Strangely for me 7.3.b4 youtube one does not work.
But that's been reported.

I ran the Post Rebuild - and there was no need to.
It takes about 30mins to run on 100,000 posts.

I now have to run it again as ive now enabled the old 7.2 you tube. < doh >

This is a great new addon as in the import.
Still playing but looks great.

Good Work Gizmo smile

Top
#316738 - 02/19/08 05:56 PM Re: [7.3+] Gizmo's Embedding BBCode (Compatibility) [Re: Mark_S]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5287
Loc: Portland, OR, USA
'eh, all above codes use the "global" urls for services, and not region specific... i don't know who all uses region specific urls, and weather they're just a tld change, or the www replaced with a country code so it'd be difficult to port them all... however, they should work just as they did in 7.x with the other mod wink
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top


Moderator:  sirdude 
Who's Online
0 registered (), 28 Guests and 23 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Ubb - Buy It!
best forum software
Latest Posts
I want to create a Self Search mod [Question]
by lightningrod
03/10/10 09:04 PM
If I create a new script, can I just upload it?
by lightningrod
03/10/10 05:35 PM
Notepad Creates Errors when working with PHP
by lightningrod
03/10/10 05:01 PM
Question on Adding a New Script ?
by lightningrod
03/10/10 06:39 AM
Disable Watch List option
by Mike_Tabat
03/09/10 01:27 PM
[7.x] [Pre-7.3] [Final] pJIRC Addon v0.5
by Gizmo
02/27/10 05:07 PM
How to Be a Great Host
by pinku
02/19/10 02:47 AM
New Mods
Disable Watch List option
by Mike_Tabat
02/18/10 09:14 AM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
[7.x] [Pre-7.3] [Final] pJIRC Addon v0.5
by
07/30/06 10:42 PM
Newest Members
joshuasm02, Chosen, Vick, Bartman, Infinity Master
13496 Registered Users
Top Posters
AllenAyres 25554
JoshPet 11330
Rick 8373
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438
(Views)Popular Topics
Known public proxy servers 1028046
Finished-[6.5.2] Games Arcade Deluxe v1.9 327222
Integrated Index Page (IIP) 5.3.1 279924
Integrated Index Page (IIP) 5.1.1 279403
TLD Bv2.1 Released - Threads Links Directory 270427
[6.0x] Who's Online 4.0.0 [Finished] 230365
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 217518
[6.3.x] [beta] Hit Hack 2.0 179339
FlashChat & UBB.threads 161010
[7.x] Gizmo's Embedding BBCode (Pre UBB.T7.3) 154650
Forum Stats
13496 Members
59 Forums
37114 Topics
290378 Posts

Max Online: 686 @ 06/28/07 07:04 AM
Featured Member
Registered: 12/07/01
Posts: 13

 

 

 
fusionbb message board php hacks