PDA

View Full Version : How to do this? BBCodes in Posts


anothefoo
04-09-2013, 09:26 AM
Trying to do what these guys are doing:

http://forums.mtgsalvation.com/showthread.php?t=402305

Mainly the [DECK] and [CARD] function, also how they do :name: producing an icon effect.

Any links or direction to a tutorial how to do this is greatly appreciated :D

kh99
04-09-2013, 01:01 PM
Things like [DECK] and [CARD] are done with bbcodes, in the admincp go to Custom BB Codes > BB Code Manager. Things like :name: are smilies. You would add those in the Smilie Manager (just above the BB Code Manager in the admincp).

anothefoo
04-09-2013, 05:13 PM
Hi kh99, thanks for the tip!

Yeah, I know about those functions but it's the [DECK] that got me puzzeled - it can read multiple lines and ignore the numbers/integers. Seems very complicated to do that :O

kh99
04-09-2013, 07:05 PM
Oh, yeah, I guess you can't really do that with just an html replacement. You can use a plugin and write php to handle a bbcode, if you know some programming.