
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:
[modfile={SIMPLETEXT1}]{TEXT1}[/modfile]{TEXT2}
HTML Replacement:
OPEN <strong>{SIMPLETEXT1}</strong><br />
<br />
FIND:<br />
<div class="codetitle"><b>{L_CODE}:</b></div><div class="codecontent">{TEXT1}</div><br />
<br />
REPLACE WITH:<br />
<div class="codetitle"><b>{L_CODE}:</b></div><div class="codecontent">{TEXT2}</div><br />
<br />
Then flag
Display on posting page.
_________
You can then use something like this:
[modfile=forum.php]Test[/modfile]Testing
You need to perform some tweaking of course... this is just a basic demo.