https://www.icyphoenix.com/viewtopic.php?f=32&t=6813&p=46914#p46914 ----------------------------------- Mighty Gorgon Thu 31 Dec, 2009 11:02 Re: [SOLVED] CODE And MOD TEMPLATE In Bbcode - How To Make It Real? ----------------------------------- If you go to ACP => POSTING => BBCODES you can customize BBCODES. Add a new one and try this: BBCode Usage: [codeblock][modfile={SIMPLETEXT1}]{TEXT1}[/modfile]{TEXT2}[/codeblock] HTML Replacement: [codeblock]OPEN {SIMPLETEXT1}

FIND:
{L_CODE}:
{TEXT1}


REPLACE WITH:
{L_CODE}:
{TEXT2}


[/codeblock] Then flag [b]Display on posting page[/b]. _________ You can then use something like this: [codeblock][modfile=forum.php]Test[/modfile]Testing[/codeblock] You need to perform some tweaking of course... this is just a basic demo.