Page 1 of 1

Generate Board Url Test

PostPosted: Mon 13. Sep 2010, 21:05
by 4seven
http://4seven.bplaced.net/forum/media

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.

Re: Generate Board Url Test

PostPosted: Mon 1. Nov 2010, 21:08
by Guest
http://4seven.bplaced.net/forum/media

Code: Select all
[board_url][/board_url