Simple Machines Community Forum

Customizing SMF => Building Your Community and other Forum Advice => Topic started by: cleftangels on July 09, 2010, 12:28:58 PM

Title: Some of my BBCodes
Post by: cleftangels on July 09, 2010, 12:28:58 PM
Greetings,

here are some of my BBCodes I use in my forum thought it would be great to share them. You will need the custom bbcode mod on this forum:

All of these can be viewed at MXit is great forum (http://www.mxitisgreat.info/index.php?topic=182.msg783#msg783)

Tag name cool

Description allows users to post their colliris album to your forum

How to use User must copy and paste the code from the URL begining with Z

The HTML used for the tag
<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.11NXC/bT*xJmx*PTEyNzg2ODg4NzYzNzImcHQ9MTI3ODY4ODg3OTU*MiZwPTkwMjA1MSZkPSZnPTEmb2Y9MA==.gif" /><object id="ci_69474_o" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="600" height="480"><param name="movie" value="http://apps.cooliris.com/embed/cooliris.swf"/><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><param name="bgColor" value="#121212" /><param name="flashvars" value="fv={content}" /><param name="wmode" value="opaque" /><embed id="ci_69474_e" type="application/x-shockwave-flash" src="http://apps.cooliris.com/embed/cooliris.swf" width="600" height="480" allowFullScreen="true" allowScriptAccess="always" bgColor="#121212" flashvars="fv={content}" wmode="opaque"></embed></object>

Tag name gamespot

Description embed gamespot video

How to use the user copies and pastes the id # of the video

The HTML used for the tag
<embed id="mymovie" width="600" height="500" flashvars="playerMode=embedded&movieAspect=4.3&flavor=EmbeddedPlayerVersion&skin=http://image.com.com/gamespot/images/cne_flash/production/media_player/proteus/one/skins/gamespot.png&paramsURI=http%3A%2F%2Fwww.gamespot.com%2Fpages%2Fvideo_player%2Fxml.php%3Fid%3D{content}%26mode%3Dembedded%26width%3D432%26height%3D362%2F" wmode="transparent" allowscriptaccess="always" quality="high" name="mymovie" style="" src="http://image.com.com/gamespot/images/cne_flash/production/media_player/proteus/one/proteus2.swf" type="application/x-shockwave-flash"/>

Tag name iframe

Description frames another website in the forum

how to use the user pastes the url

The HTML used for the tag
  <table width="100%" cellspacing="0" cellpadding="0" style="height:650px"><tr valign="top"><td> <IFRAME SRC="{content}" WIDTH=100% HEIGHT=600>&nbsp;</IFRAME></P></td></tr></table>

Tag name led

Description scrolling led message

How to use [led=colour] your text here[/led] (Do not use and punctuation as the system can not recognise it)

The HTML used for the tag
<div align=center>
<embed FlashVars="bt={content} &cl={option}" src="http://www.superpimper.com/generators/LED_Scroller/LED_Scroller.swf" quality="high" wmode="transparent" bgcolor="000000" width="380" height="50" name="blipsy-sign" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"><br />
</div>
<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEyMzMzMjE5NDU4NzUmcHQ9MTIzMzMyMTk1NjQ2OCZwPTE5NTAxJmQ9Jmc9MSZ*PSZvPTc3NDA*ODdmODJmNTRkOGVhN2NjZjQ1OWIxMzczZDlj.gif" />


Tag name mp3

Description links to mp3 music and allows it to be played from the post in a simple player

How to use firstly save this image: (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Flookpic.com%2Fd2%2Fi2%2F3300%2FGuu1kTrj.gif&hash=c9510c433e054dfbf36e52f61eb3fabc9ca5b2e5) to your root and call it podcast.gif this is for the download button. then to link to the music enter the bbcode with the url pasted

The HTML used for the tag
<p style="color: rgb(0, 0, 0); font-family: Arial,sans-serif; font-size: 11px; font-weight: normal; text-align: center; text-decoration: none;">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="dewplayer" height="20" width="200">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="http://www.estvideo.com/dew/media/dewplayer.swf?son={content}&amp;autostart=0&amp;bgcolor=FFFFFF" />
<param name="quality" value="high" />
<param name="bgcolor" value="FFFFFF" />
<embed src="http://www.estvideo.com/dew/media/dewplayer.swf?son={content}&amp;autostart=0&amp;bgcolor=FFFFFF" quality="high" bgcolor="FFFFFF" name="dewplayer" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="20" width="200" /></object> <a href="{content}"><img style="border: medium none ; text-decoration: none;" src="podcast.gif" title="Podcast" alt="Podcast" /></a></p>


Tag name popup

Description creates a popup which user must click OK to

how to use enter text between tags

The HTML used for the tag
<script type="text/javascript">
alert("{content}")
</script>


Tag name radio

Description places a really nice shoutcast radio on your forum

how to use: just place tag [radio]

The HTML used for the tag
<div id="Shoutcast"><script src="http://www.aolcdn.com/widgets/swftag_v1_6_1_minimal.js" type="text/javascript" language="javascript"></script><script language="javascript" type="text/javascript"> var dt = new Date(); var tm = dt.getTime(); var fileToLoad = "http://o.aolcdn.com/shoutcast/widget/radio/ShoutcastV1.swf" + "?random=" + tm; var frameSwf = new SWFTag("miniagmmodule.swf", fileToLoad , "300", "400", SWFTag.V9); frameSwf.setAllowScriptAccess(SWFTag.ALWAYS); frameSwf.setBgColor("#ffffff");frameSwf.write(document);</script>   </div>

Tag name spoiler

Description Creates a button the user must click to unhide text or pic

how to use place sploiler tag with text or url to image between

The HTML used for the tag
<div style="margin:20px; margin-top:5px"><div class="quotetitle"><b>Spoiler:</b> <input type="button" value="Show" style="width:45px;font-size:10px;margin:0px;padding:0px;" onclick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = '';        this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }" /></div><div class="quotecontent"><div style="display: none;">{content}</div></div></div>

Tag name spoiler 2

Description hides text which user msut highlight with mouse to read

use spoiler2 tag text spolier2 tag

The HTML used for the tag
<tag><strong>SPOILER:</strong><span style="background-color: #FFFFFF; color: #FFFFFF;">{content}</span></tag>

Tag name vlc

Description palys vlc video through your forum


use place url to video between tags

The HTML used for the tag
<object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab" width="600" height="480" id="vlc" events="True">
        <param name="Src" value="{URL}"></param>
        <param name="ShowDisplay" value="True" ></param>
        <param name="AutoLoop" value="no"></param>
        <param name="AutoPlay" value="yes"></param>
        <embed type="application/x-google-vlc-plugin" name="vlcfirefox" autoplay="yes" loop="no" width="600" height="480" target="{content}"></embed>
    </object>


Tag name warn

Description

The HTML used for the tag


Tag name warn

Description warn a user with a warning box

use place text between tags

The HTML used for the tag
<table style='margin:0;width:450px;min-height:100px;border:1px dashed #740000;'><tr><td align='middle' bgcolor='#ff6060' valign='center' width='1%'><br /><FONT color='#ffffff' size='+7'><b> ! </b></font><br /></td>
<td valign='top' cellpadding="5" style='background:#F2DDDD' >{content}</td>
</tr></table>


Tag name youtube

Description allows fullscreen, different colour choices

Use: Copy after ?v= onwards and paste between tags

The HTML used for the tag
<object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/{content};hl=en_US&amp;fs=1?rel=0&amp;color1=0x006699&amp;color2=0x54abd6"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/{content};hl=en_US&amp;fs=1?rel=0&amp;color1=0x006699&amp;color2=0x54abd6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>

Hope you like these I will post more as I make them