php forum
php mysql forum
php mysql smarty
 
Topic Options
#316713 - 02/15/08 07:04 AM [7.3+] Gizmo's CustomTags
Gizmo Administrator Online   shocked
Wizard

Registered: 01/10/00
Posts: 5133
Loc: Portland, OR, USA
Well, I promised new tags did I not? Well, this thread will cover ALL of my new tags... The first post will be a killer as I won't be using attachments.

If you are looking for the Pre7.3 Embedding BBCode compatibility posting, you can find it here.

For boatloads of information of all of these tags and more, please see the 7.x posting of the Embedding BBCode

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)).

What are the new options you ask? Well, I have a ton of them for you all... Some of them just didn't make the cut for 7.3 (such as embedding Videos from the ID or popularity concerns) and some of them I made mainly for myself and clients; but none the less, they're all here for you to use!

The New Tags ARE:
Video Tags
Code:
[video:break]VideoID[/video] - Embeds a video from Break.com based on the VideoID
[video:google]VideoID[/video] - Embeds a video from Google Videos based on the VideoID
[video:liveleak]VideoID[/video] - Embeds a video from LiveLeak based on the Video ID
[video:myspace]VideoID[/video] - Embeds a video from MySpace based on the videoID
[video:revver]VideoID[/video] - Embeds a video from Revver based on the VideoID
[video:sdeluxe]VideoID[/video] - Embeds a video from SuperDeluxe (Cartoon Network) based on the VideoID
[video:yahoo]VideoID[/video] - Embeds a video from Yahoo Videos based on the VideoID
[video:youtube]VideoID[/video] - Embeds a video from YouTube based on the VideoID
[video:loowa]VideoID[/video] - Embeds a video from Loowa based on the VideoID


Lookup Tags
Code:
[lookup:dictionary]Criteria[/lookup] - Allows a user to lookup a word in the dictionary (dictionary.com)
[lookup:encyclopedia]Criteria[/lookup] - Allows a user to lookup a word in the Encyclopedia (dictionary.com)
[lookup:thesaurus]Criteria[/lookup] - Allows a user to lookup a word in the Thesaurus (dictionary.com)
[lookup:urban]Criteria[/lookup] - Allows a user to lookup a word or phraise from the Urban Dictionary database
[lookup:wiki]Criteria[/lookup] - Allows a user to lookup a word or phraise from Wikipedia
[lookup:myspace]Criteria[/lookup] - Allows a user to link to a user on MySpace
[lookup:loowa]Criteria[/lookup] - Allows a user to link to a user on Loowa
[lookup:xbl]Criteria[/lookup] - Allows a user to link to a user on XBox Live
[lookup:halo]Criteria[/lookup] - Allows a user to link to a user on Bungie.net


Search Tags
Code:
[search:google]Search Criteria[/search] - Allows a user to search Google
[search:googleimages]Search Criteria[/search] - Allows a user to search Google Images
[search:froogle]Search Criteria[/search] - Allows a user to search Froogle
[search:yahoo]Search Criteria[/search] - Allows a user to search Yahoo
[search:ask]Search Criteria[/search] - Allows a user to search Ask.com
[search:pricegrabber]Search Criteria[/search] - Allows a user to search PriceGrabber


Embed Tags
Code:
[embed:fyrebug]ID[/embed] - Allows a user to embed a Fyrebug game
[embed:fyrebug]URL[/embed] - Allows a user to embed a Fyrebug game
[embed:flash]Height, Width, URL[/embed] - Allows a user to embed a flash applet, including dimentions
[embed:flash]URL[/embed] - Allows a user to embed a flash applet
[embed:photobucket]ID[/embed] - Allows a user to embed a PhotoBucket Widget
[embed:pbucket]ID[/embed] - Allows a user to embed a PhotoBucket Widget
[embed:podcast]URL[/embed] - Allows a user to embed a Podcast (see below for additional information)
[embed:webcam]ID[/embed] - Allows a user to embed a Stickam webcam feed
[embed:skype]ID[/embed] - Allows a user to display the Skype Status Widget


Misc Tags
Code:
[description]Description Text[/description] - Allows a user to define a description (such as on videos)
[description]Description Text[/description] - Allows a user to define a description (such as on videos)
[anchor]name[/anchor] - Allows a user to define a bookmark on the page to link to that section in the URL



And the coding for them (for your CustomTags.txt):
Code:
<?php
$export_tags = array (
  0 => 
  array (
    'tag' => 'video: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' => 'video:google',
    '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' => 'video: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' => 'video:myspace',
    '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' => 'video: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' => 'video: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' => 'video:yahoo',
    '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' => 'video: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' => 'video:loowa',
    '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>',
  ),
  9 => 
  array (
    'tag' => 'description',
    'descrip' => 'Description',
    'prompt' => 'Please enter the text to be defined as a description.',
    'regex' => '(.+?)',
    'markup' => '<strong>Description</strong>: \\\\1',
  ),
  10 => 
  array (
    'tag' => 'desc',
    'descrip' => 'Description',
    'prompt' => 'Please enter the text to be defined as a description.',
    'regex' => '(.+?)',
    'markup' => '<strong>Description</strong>: \\\\1',
  ),
  11 => 
  array (
    'tag' => 'lookup:dictionary',
    'descrip' => 'Dictionary',
    'prompt' => 'Please enter the term to have listed through Reference.com.',
    'regex' => '([a-zA-Z0-9-_ ]+)',
    'markup' => '<a href=\\"http://dictionary.reference.com/browse/\\\\1\\">\\\\1</a>',
  ),
  12 => 
  array (
    'tag' => 'lookup:encyclopedia',
    'descrip' => 'Encyclopedia',
    'prompt' => 'Please enter the term to have listed through Reference.com.',
    'regex' => '([a-zA-Z0-9-_ ]+)',
    'markup' => '<a href=\\"http://www.reference.com/search?q=\\\\1\\">\\\\1</a>',
  ),
  13 => 
  array (
    'tag' => 'lookup:thesaurus',
    'descrip' => 'Thesaurus',
    'prompt' => 'Please enter the term to have listed through Reference.com.',
    'regex' => '([a-zA-Z0-9-_ ]+)',
    'markup' => '<a href=\\"http://thesaurus.reference.com/browse/\\\\1\\">\\\\1</a>',
  ),
  14 => 
  array (
    'tag' => 'lookup:urban',
    'descrip' => 'Urban Dictionary',
    'prompt' => 'Please enter the term to have listed through the Urban Dictionary.',
    'regex' => '([a-zA-Z0-9-_ ]+)',
    'markup' => '<a href=\\"http://www.urbandictionary.com/define.php?term=\\\\1\\">\\\\1</a>',
  ),
  15 => 
  array (
    'tag' => 'lookup: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>',
  ),
  16 => 
  array (
    'tag' => 'lookup: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>',
  ),
  17 => 
  array (
    'tag' => 'lookup: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>',
  ),
  18 => 
  array (
    'tag' => 'lookup:xbl',
    'descrip' => 'XBL Gamer Tag',
    'prompt' => 'Please enter the XBL Gamer Tag.',
    'regex' => '([a-zA-Z0-9-_ ]+)',
    'markup' => '<a href=\\"http://live.xbox.com/en-US/profile/profile.aspx?pp=0&GamerTag=\\\\1\\">\\\\1</a>',
  ),
  19 => 
  array (
    'tag' => 'lookup:halo',
    'descrip' => 'Bungie.net Profile',
    'prompt' => 'Please enter the XBL Gamer Tag.',
    'regex' => '([a-zA-Z0-9-_ ]+)',
    'markup' => '<a href=\\"http://www.bungie.net/Stats/Halo3/RankHistory.aspx?player=\\\\1\\">\\\\1</a>',
  ),
  20 => 
  array (
    'tag' => 'search: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>',
  ),
  21 => 
  array (
    'tag' => 'search: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>',
  ),
  22 => 
  array (
    'tag' => 'search: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>',
  ),
  23 => 
  array (
    'tag' => 'search:yahoo',
    'descrip' => 'Yahoo Search',
    'prompt' => 'Please enter the term to have searched through Yahoo.',
    'regex' => '([a-zA-Z0-9-_ ]+)',
    'markup' => '<a href=\\"http://search.yahoo.com/search?p=\\\\1\\">\\\\1</a>',
  ),
  24 => 
  array (
    'tag' => 'search:ask',
    'descrip' => 'Ask.com Search',
    'prompt' => 'Please enter the term to have searched through Ask.com.',
    'regex' => '([a-zA-Z0-9-_ ]+)',
    'markup' => '<a href=\\"http://www.ask.com/web?q=\\\\1\\">\\\\1</a>',
  ),
  25 => 
  array (
    'tag' => 'search: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>',
  ),
  26 => 
  array (
    'tag' => 'embed:fyrebug',
    'descrip' => 'Fyrebug Game',
    'prompt' => 'Please enter the ID of the game you wish to embed.',
    'regex' => '([a-zA-Z0-9-_ ]+)',
    'markup' => '<object width=\\"425\\" height=\\"350\\"><param name=movie value=http://www.fyrebug.com/embed.php?gameid=\\\\\\\\1></param><param name=\\"wmode\\" value=\\"window\\"></param><param name=\\"allowFullScreen\\" value=\\"true\\"></param><embed src=\\"http://www.fyrebug.com/embed.php?gameid=\\\\\\\\1\\" type=\\"application/x-shockwave-flash\\" wmode=\\"window\\" allowFullScreen=\\"true\\" width=\\"425\\" height=\\"350\\"></embed></object>',
  ),
  27 => 
  array (
    'tag' => 'embed:fyrebug',
    'descrip' => 'Fyrebug Game (via URL)',
    'prompt' => 'Please enter the URL of the game you wish to embed.',
    'regex' => 'http://www\\\\.fyrebug\\\\.com/displaygame\\\\.php\\\\?gameid=(.+?)',
    'markup' => '<object width=\\"425\\" height=\\"350\\"><param name=movie value=http://www.fyrebug.com/embed.php?gameid=\\\\\\\\1></param><param name=\\"wmode\\" value=\\"window\\"></param><param name=\\"allowFullScreen\\" value=\\"true\\"></param><embed src=\\"http://www.fyrebug.com/embed.php?gameid=\\\\\\\\1\\" type=\\"application/x-shockwave-flash\\" wmode=\\"window\\" allowFullScreen=\\"true\\" width=\\"425\\" height=\\"350\\"></embed></object>',
  ),
  28 => 
  array (
    'tag' => 'embed: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>',
  ),
  29 => 
  array (
    'tag' => 'embed: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>',
  ),
  30 => 
  array (
    'tag' => 'embed: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>',
  ),
  31 => 
  array (
    'tag' => 'embed: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>',
  ),
  32 => 
  array (
    'tag' => 'embed: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>',
  ),
  33 => 
  array (
    'tag' => 'embed: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>',
  ),
  34 => 
  array (
    'tag' => 'embed: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>',
  ),
  35 => 
  array (
    'tag' => 'anchor',
    'descrip' => 'Anchor',
    'prompt' => 'Please enter the name for your anchor.',
    'regex' => '([a-zA-Z0-9-_]+)',
    'markup' => '<a name="\\\\1"></a>',
  ),
);
?>
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#316735 - 02/19/08 02:45 PM Re: [7.3+] Gizmo's CustomTags [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 85
Loc: UK
What's with the look up and search tags
do they work?

Just never seen them before ?

Top
#316739 - 02/19/08 06:02 PM Re: [7.3+] Gizmo's CustomTags [Re: Mark_S]
Gizmo Administrator Online   shocked
Wizard

Registered: 01/10/00
Posts: 5133
Loc: Portland, OR, USA
Basically they turn:
Code:
[lookup:dictionary]gizmo[/lookup]


Into a link to said repository on that subject, which would look like:
gizmo
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top


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

Latest Posts
How to hide sub forums from summary page
by Ruben Rocha
Today at 02:58 PM
Spell Check [beta]
by Bill B
Yesterday at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Yesterday at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Yesterday at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Yesterday at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks