Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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&bgColor=000000&autoPlay=false&showAd=false&adVars=&pageURL=http%3A//www.loowa.com/video/\\\\1&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&autostart=false&backcolor=0x000000&frontcolor=0xFFFFFF&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 - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links
Entire Thread
Subject Posted By Posted
[7.3+] Gizmo's Embedding BBCode (Compatibility) Gizmo 02/15/2008 3:12 PM
Re: [7.3+] Gizmo's Embedding BBCode (Compatibility) Mark_S 02/19/2008 10:30 PM
Re: [7.3+] Gizmo's Embedding BBCode (Compatibility) Gizmo 02/20/2008 1:56 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)