- Code: Select all
[board_url][/board_url]
Instruction
Make a BBCode
BBCode usage
- Code: Select all
[board_url][/board_url]
HTML replacement
- Code: Select all
<span>{L_BOARD_URL}</span>
open
language/en/viewtopic.php
find
- Code: Select all
$lang = array_merge($lang, array(
after add
- Code: Select all
'BOARD_URL' => generate_board_url(),
thats it..
---------------------------------------------
ACP -> Posting -> BBCodes wrote:Within the HTML replacement you can also use any language string present in your language/ directory like this: {L_<STRINGNAME>} where <STRINGNAME> is the name of the translated string you want to add. For example, {L_WROTE} will be displayed as “wrote” or its translation according to user’s locale.