Post Reply 
Custom BBCodes
Author Message
ZiNgA BuRgA
Smart Alternative

Posts: 17,022.2988
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
Offline
Post: #1
Custom BBCodes
Here's some codes which I couldn't be bothered adding to the editor's toolbar (I added YouTube and Google Video, cause they're useful XD):


Horizonal Line

Code:
[hr]

Result:




Aligned Images

Code:
[img=left]http://somesite.com/someimage.gif[/img]

You can use "left" or "right"


Media Objects

Code:
[media]http://somesite.com/somevideo.avi[/media]

Embeds a Windows Media Player object.


Anchor Links
Useful if you're making a guide and like to use a contents.

Code:
[anchor]S1[/anchor] [b]Section 1[/b]
blah blah blah
[anchor=S1]Goto section 1[/anchor]

Gives:
Section 1
blah blah blah
Goto section 1

Note, please don't rely on this feature - it's possible to trick it


Overline

Code:
[o]Overlined text[/o]

Result: Overlined text


Highlight

Code:
[bg=yellow]Highlighted text[/bg]

Result: Highlighted text


Background Images

Code:
[bgimg=http://endlessparadigm.com/forum/images/ffmodern/tcat_bg.gif]w00t[/bgimg]

Result: w00t


Subscript and Superscript

Code:
[sub]Subscript[/sub] [sup]Superscript[/sup]

Result: Subscript Superscript


Spacing

Code:
[spacing=-2pt]Cramped Text[/spacing]
[height=200%]Double
Spaced
Text[/height]

Result: Cramped Text
Double
Spaced
Text



Message Links

Code:
[msglink=Hehehe]Click me![/msglink]

Result: Click me!


Popup Links

Code:
[popup=http://zingaburga.co.nr/]My Homepage[/popup]

Result: My Homepage


Small Caps

Code:
[sc]Small Caps[/sc]

Result: Small Caps


Tooltips

Code:
[tooltip=This is a tooltip]Hover your mouse over me[/tooltip]

Result: Hover your mouse over me


Frames

Code:
[frame][legend][b]Title[/b][/legend]Frame Body[/frame]

Result:

TitleFrame Body


Unicode Character

Code:
:#0065::#x0042::#0067:

Result: :#0065::#x0042::#0067:


Tables
These can get a bit trickier (and I haven't exactly sorted these out Erk - for some reason, they leave a massive gap).
A basic example:

Code:
[table][tr=green][td]Header element 1[/td][td]Header element 2[/td][/tr]
[tr][td]Body element 1[/td][td=red]Body element with red background[/td][/tr]
[/table]

Gives:

Header element 1Header element 2
Body element 1Body element with red background


Forms
Not much purpose, but meh, it's there.  Here's an example:

Code:
[getform=http://google.com/search][forminput=hl]en[/forminput]Search: [textbox=q]Google!!![/textbox][forminput=btnG]Google+Search[/forminput][button]Google Search[/button]
[/getform]

Gives:

Search:
Use the [postform] tag for POST forms


Boxes

Code:
[box=inset blue]Test Box[/box]
[box=ridge 5pt;red]Red background box[/box]
[box=;http://endlessparadigm.com/forum/images/ffmodern/tcat_bg.gif]Background image box[/box]

Gives:

Test Box
Red background box
Background image box


ASCII Art

Code:
[art]------------[/art]

Result:

------------

See post below for a better example :P


Search Engine Links
May be handy, or may be just stupid.  Basically makes links to some searches:

Code:
[google]Search Google[/google]
[udict]Lookup Urban Dictionary[/udict]
[wiki]Check Wikipedia[/wiki]

Search Google
Lookup Urban Dictionary
Check Wikipedia


Hope you find these codes useful :)  If you think there should be any others, feel free to post here :P

(This post was last modified: 06/02/2007 02:00 AM by ZiNgA BuRgA.)
24/01/2007 05:21 AM
Visit this user's website Find all posts by this user Quote this message in a reply
dasme
eXemplar paraDigm

Posts: 818.1976
Threads: 147
Joined: 20th Jan 2007
Reputation: -5.71592
E-Pigs: 7.6993
Offline
Post: #2
RE: Custom BBCodes
Thanks Zinga :)

[Image: unicef320x41thumbnail.gif]

[Image: bizsparkstartup.jpg]
24/01/2007 09:03 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA
Smart Alternative

Posts: 17,022.2988
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
Offline
Post: #3
RE: Custom BBCodes
Added a code for ASCII Art :)
:,:::::::::::::::::::::,:::::::,:::::::,:,,..,:::i..:::::::::,::::::,:1EbACC7CC7CX7ttCXX7t8ZX7XXXXXXX7XX7CAzX77XX7XXCXXC2c::::::::::ii::::,::::::,,..:
:............................................ .......................70bti;vYSY;v;C6c;vvcnZS;vccvvvcvvcvvic82;;;vvvvccv;72i......................... ,
:.:::::::::::::,,:,::::::::::::::::::::::,::,,.,.,i.,:,ii:::::::::,,o@#UCUCXW67C71WoYX71EYAnYXXtCXCXCCCXX7cSMMocXCCCC777XIQc.,::::::::::,:::::::::i:.:
:.:::::::::::,.....::::::::::::::::::::::::::,,,..:,,:::,:::::::::.7$W8v00c9QYCCYbbvXX10;.WS7C7tCCX77CCCCXYc6M@7YCCC7zAX7XAQY,,,:::::::::::::::::::..,
:.::,,,,,::,,.iQ$7..,:::,:,,:,:,,:::,:::,,::,,,:,,:::,:,:,,::::::,;WB0Y1$CYBncXYU#XY77E7 .#1YXY777nnY77tC7Yvc#M6v7X77tWE77X8Qi.,::,::::::,:::,,.. .:
:.:,,,,,,..,inMM@MI..,,,::,,,,,,,,,:,,,,,:,,,:::::,,,,,,,,,::::,,,ABWnv06;2WY7Xt#0vY76o .@ncE0777n@8cYXC77c;UM#YYXX7ctW2c7707.,,::,,::,:,,,:.. .:vvi
:.:,,,,,,,IMMMM$E$M8,.,,,,,:::,......,,,::,:,:,,,,:,,,,,:,,::::,.YWEbvXW7;Ebc776A6Y7t9. .#nXZBoY7c#@S7X7Xo9YYMMzc1X7YczWt77AW..,,:::::,,,,,,,.iY7cc,.
:.:,:,,,.1M@@@0WEbWME ..,::::.iWC.,:.,,,,,,,,,,::::::,,:,,,,::,,bEWIiS$cY@zY7InYEc7bv Zb2Y;$1YcA7bo7XX1#0;@MEcY77777b6X71#v.:,::::,:,,::::,i::,...
:.,,,,,,.:##AW#6A8EW@I.i;cv;;Yv#MMbv::i,,,,,,,,,,:,,:,,,:,,,:::iI#S$SiI$;AMtYtE.,Wct6. . 7@Si cWYc6:iWX77c9$c0MWv7tC77Y2W7cYEU..:::::,:,,,:,:,..,.. .
,.,,,,,,. .$$9$$A98EBM1 .:;:..AMBWM9.,i,,:,:,,:,,,,::,,::::,,,..Qb7#S;0M79#S;A6 iMt67 .. 0Bc 0Qc96 nBX7C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M0X. nE;vQUc7YZ0;YQv..,,,,,,:::,,,,,,,,,,.,
,.,,,,,,,,,,,,,... o$EA99UW@9AZ9E$: .,,,,,,,,.,,,,,,,,,,,,,,..7b7cZE7nz.WMM; i. ....... ;: tMMMz 6AvX#@zc7QZ;t0,..,:::,,,,,::,,,,,,,,.,
,.,,,,,,,...,,,.... n@0Z969#bA89#9...,.,,,,,,,,,,,,,,,,,,,,,..vQXv2W7S2i@7 ........ .MMY .WU;z@@tctW1cA2 .,............,,,,,,:.,
,.,,,,,,,.,....... .b#WZ9UW@ZU0bii;,.,,,.,,,,,,,,,.,,,,,,,,..i$SvSQc2E .. .. .......... . .. ;E7c2@ZvYU0vcQv ...,:::,,. .,,,,,,,,
,.,,,,,,,,,.....,,..i:.i9#Q96@W8$. ;Y:.,,..,....,,,,,,,,,,,,,...EUvz#c6E...:i..,....................::. .. .i.bQccE#7vY0z;1W:.icvcc7c;;vvc:. .,,,:,.,
,.,,,,,,,,,......,.,:. vWWZZ8Q0 ,:,.,,.........,,,,,,,,,,,...CWcS#7Zv ...... ... ..,#Sc7@0vc1BCcES.;c;:........ic: .:,,:.,
....,..,,,.,,...,...... .1WbA0#i ...,,,.........,...,.....,,..:B7t$SZ. .....,I277;ii,....::::v7XoU7 ..... ;#CcU@YcYW0;t0:.v,..:ivccvv:,vc. .,,,,.,
.....,.................... b$Ub@9 .........,,...........,,,,....861B1E. ......MMMMMMMMMMMMMMMMMMMMMMi ..... SQccWAvcA@nvUU,:i..ivci.,:;v,.v;. .,,,,,
..:i:::,................... v@E8@@: .......................,,,...Y$ABYZC .... AMM@@MMMMMMMMMMM@@#@M@. .... .$o;IQYcSMWvYEc.;...,;v. .iv. ;Y, .,,,.,
..,::,,,,.................. .##0W@1.........................,,....EQ0YX01. .. 6M@Eb8bbE8ZEWWQQB@@E. ... 7@ct$tvC#Mt;nEi::..,,iv, :ccv,.;c,.,,,,.,
..:,,.,..................... 2Y .9:............................. oMEY7o@MI. .nAIv;v77;c71zA0Ui .. tM1cBAvCQM07vZZ.ii. .,ic: .,:::;v:..,,.,..
.....,...................... i: 1C............................. ;M0v7A#@MMQc. ,cCttzzt77;. iZMM#vbEvCWM$zccEY.;;. .icv. .ic:..,,..,.,
..,......................... ,U :b..............,:....,........ ,Mb;7ABQ$MMMMW7: .iA#MMMMtzWcCWMMB2ctE. iY;. .icYv;;vci..........
..............................E, E:.............,v. ,;; ....,.. .$I;C6QEWMWW@MMMM@E1c. .,;Ytz6MM@08#QoWX7QMM@#1vUI .iYc. .,::i;:......,,....
...............,,:,...........z7 Cn..............:. ,c, .,i:... .WzcnE0ZW#ZEQM@W#@MMMMM#7vv7tnSzC;..@M@E0B2017bMMW@0XvEn ...i77, ..,..,.....
............,i;ii;;;i,........cU .b.................... ,i:. ...:ECco0b8@#66bMMbEWBBW@MMi.:ii:...i1WMMMMME91C0@MEQ@bCcWv ....:Y7;:,,:ii....,........
............... .;c:.......:b Ii............:;;iiii::. ..,..cQYcIQ#$M@A99MMb98ZZWMMMt.::,.iS#MMM@##M#EC10@MQA#$EzXW........iccccvv;:...,........
..............:::. .c;.......o, Yo .........:vi. ...:i,......7Bc76$M@@#0UU#M0AZQ#@@@#6...cWMMMM@@##@@QttE#M$6BM$EA2B...................,.........
.....,.....,vviicc;. .c;...,ii0c :9........,ii. ..,,...;......oEvt8#@@bW@Z6Q@M@MMM@@M@. c@MMMM@@###@MQXS0#MMb6QMBEA2E.............................
....,..,...i;. .:7i. ic.. .,.o1 .8: .....,;, .;vi:.:i.,;.....6Ev7E@M@EQM@W#MMMM@#@@@MSZMMM@@@##@@@M@Y10QMMM@M@M@b2I8................,............
..,........;::v;..;;.. :c... :o X7 .....,i. .Yi ....v:.v.....0Ev1QMMW0ZIAz6$@MM@#@@@MMMM@@@@@##@@@@Ct0Q#MMM@@@MMWbI0.............................
......... :v.:c, iv,..i;..vY;:7W:.,.UQ..,:...i;..vi .c;iiii:.....bEvnBMBnn2II2zA#M@###@@MMM#@#@@###@@@2t0E#@@0A66zo6W@B$.............................
......... .c:.;;ii;i. .;, .Y9ZA97iviv7S@UcUY .i. ,;iii,,i,...... oZ;2#M0oA666A2SEM@##@@M@MM@##@@@@@@@Qv90##QWSS2z2IUA8#M; ......,....................
......... ,c:,ii,..,i;i:: :n. A, i0. .......... ..... A#;1@@U299999AzA@@@MMMMMM@MM@@###QW$toQ$MEB0o6Z68866QW##i ..........................
.......... .;i:ii;;i:. .vcE; Yi .8. ....... ....,. iMM7tM@zUAZ99Z9UIB##@@MMM@B$@@Q9UZE@#76WMMZ#EA6ZZ89b$B8E@@, .........,...............
........... ..,...... :Wi ...... ,Y.7Y...................Y@Q@9cM@2A699999AIzonnoU0#AnnnI8EEQEQZCWMMM$0A9Z9Z6b#0U6b0ME..........................
.............. ....... oc ........ .b7 ................. ;@$AEB9#@9ZZ99996AAI2oznSQ81oz22IA6UzZ$2@MZEM#UUZ690$0U9b8bWMv ........................
.......................... ct ......... :, .................t@$6A6b#B@#86Z9996969966AW02U6AA6AAAAUbM#@QtSWMB69AQ#bU99Z8Zb@8 ..,.....,............ .i
............................6: ......... Y; .............. ;@MQ6996z6@M@IA999ZZZZZZZ6WWIA96996699666$MMAz2I0#06Q$ZA8868ZZb$@. .............,:i;i,. .
........................... vI ........ .MI ..............SM@bZZA968QE0@$99Z99ZZZ6Z9E$9A9ZZZZ9999999ZMMZ6AIz68E#EA9ZZZ889ZEMC ....... .:c77v;iv7tv. .
::;,. .......................t7 ..... i#A: .......... c#@Q9Z99AZWQ6zSABE9ZZZZZZ960#Z6Z9Z8Z8ZZZ9887.;nYEb66AZ@@0W#Q8ZZZ99E#@. ..... .;Yi:i:. .c7i..
. ic. .;......................t7. ..icc..S;..........2M@86Z99AEB0A2AAUU69ZZZ99$@Q#EA98ZZZZZZZZZA..i,.iEbZ96Q2 ,Z$Z69Z8E0@@: .. .vc. .ivc: .c7,.
. v;. .vi......................7X;C22ZZ0n .7c.......7#@0ZZZ96AZB0UAZ96666699Z98W$@WA69ZZZZZZZ99ZA;.i7.,Ub8EB@; . tM099ZZ9b0MM; .vY:.iv;:;c. .v7:.
,:v. .vi........................:Q; . iS ;t:....tMMZZZ9699Z$EU69Z99999999996zE#AAZ9ZZ999ZZ9980$o70AE$$QU1v:,. .n@09999Zb0#M; ;Yi,;vi. .:cv:.
, .:;,......................... 7. 7. i2i... 0M@08Z9Z9BWA69Z9999Z999999AA#QI9ZZZZ999999Z8EQBBB@#t, n@EZZ99Zb0#M; c;..iv;. ,Y7;..
. :vi........................... 7: Y: .. .vX. 1QctWQbAE#ZA99ZZ999999999ZUE#6AZ9ZZZ999Z99ZZ8Eb0W: bI W#999998b0@Mi.;i...i7ccYc:..
,,vi..............................n: i: .. :z$A. :ZWEBW2669999999ZZ99ZZUE#U8b9Z99Z99ZZ9ZZZZ609 ..... 0Q ;@E9Z99Z9bE@0..Yv. ,;;.. .,
..................................I. ci .... Yo. .. .;WMEI9999999Z999ZZZ9A0#A69Z99Z9Z999999ZZA0#. ........ .. @B69Z8Zb0W@MS .;7v, ..:cc;
. ...............................,z. ni ...... c..:,. .0@66AAZ9ZZ9Z99ZZZ9IE@9A9Z99999Z9999ZZE9BMv ....... .. 0@U9Z0WWb#MMc .c7c;:;Y7Ccv,,
. .............................iizn @7 ...... :i:. .E0A6A69ZZ99999ZZ980#Zz99ZZ9AA9999999ZE$71. ....... ... WM8WQIc. .@; ... ..ivv;i,.. .
. ............................;7;9Y .ME ......... .,i,..EME96AAA9999999A6#@@$IUA66966699Z9ZZABQ.@n .,b08Mt. .. ;; .... ,: .....
.............................;Yi.#Q ii:7 ........... ..:ivvcE@Q22IUUAIIAAZZE#@MM@B08AA669Z9b8ZZ8$7.##Y. .:ict0Q$M:v#;i:.. .9,.... .c;. .X7i.
............................:i:.iCii;:7ni.ii .i;,...i9BQ00EE00QQB#####@@@##$W00EZ669668Qi,6n0QEEWE7c;;;USA0i:c.:;;.. :v.... .i:. ,i:,
01/02/2007 08:12 PM
Visit this user's website Find all posts by this user Quote this message in a reply
michaelp
s0ny d0minator

Posts: 1,009.4190
Threads: 100
Joined: 19th Jan 2007
Reputation: -1.92737
E-Pigs: 12.5158
Offline
Post: #4
RE: Custom BBCodes
wow
that is very... weird
cool bbcodes

[Image: michaelp3.png]
01/02/2007 08:58 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA
Smart Alternative

Posts: 17,022.2988
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
Offline
Post: #5
RE: Custom BBCodes
Hehe, well, I just found out how to do some basic validation, meaning that this site won't be vulnerable to the "banner" exploits I did at Downgrades (yes, my site was vulnerable, although you would have to do something different, the concept was similar).  Now you can't do those "banner" exploits anymore :P

Anyway, because of this, I just added quite a few bbCodes for your liking :)  Hope you like the new codes :D
03/02/2007 08:28 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Ge64
Former Admin ;)

Posts: 3,163.4170
Threads: 295
Joined: 3rd Feb 2007
Reputation: 0.38918
E-Pigs: 108.4795
Offline
Post: #6
RE: Custom BBCodes
please add shockwave/flash embeds :)))))))))))) like

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" align="middle" height="310" width="460">
<param name="movie" value="http://skoften.mine.nu/flash/loituma.swf">
<param name="quality" value="high">
<embed src="http://skoften.mine.nu/flash/loituma.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" align="middle" height="310" width="460">
</object>

[Image: ub1985584.jpg]
04/02/2007 07:26 AM
Find all posts by this user Quote this message in a reply
michaelp
s0ny d0minator

Posts: 1,009.4190
Threads: 100
Joined: 19th Jan 2007
Reputation: -1.92737
E-Pigs: 12.5158
Offline
Post: #7
RE: Custom BBCodes
what do you mean shockwave flash embeds

[Image: michaelp3.png]
04/02/2007 08:15 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA
Smart Alternative

Posts: 17,022.2988
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
Offline
Post: #8
RE: Custom BBCodes
I don't really want to embed shockwave/flash because it can be used to do some undesirable things. (such as page redirection)
04/02/2007 04:19 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Ge64
Former Admin ;)

Posts: 3,163.4170
Threads: 295
Joined: 3rd Feb 2007
Reputation: 0.38918
E-Pigs: 108.4795
Offline
Post: #9
RE: Custom BBCodes
cool, do it :P

[Image: ub1985584.jpg]
04/02/2007 08:19 PM
Find all posts by this user Quote this message in a reply
michaelp
s0ny d0minator

Posts: 1,009.4190
Threads: 100
Joined: 19th Jan 2007
Reputation: -1.92737
E-Pigs: 12.5158
Offline
Post: #10
RE: Custom BBCodes
most impressive

[Image: michaelp3.png]
10/03/2007 01:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

 Quick Theme: