trackmania server connect BBCode

Support for PhpBB3 BBCodes. Post here to get help with any BBCode related issue here
There is no support here! Only Read Access!
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe exactly what it is you want.
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
Locked
User avatar
peugeot405
BBCoder I
BBCoder I
Posts: 3
Joined: 05 Apr 2010, 01:40

trackmania server connect BBCode

Post by peugeot405 »

I want to make a trackmania server connect BBCode.
It allows tm server owners to post a link to connect directly to there server.

anyone has an idee?
normally the url is:

Code: Select all

<a href="tmtp://#join=SERVERLOGIN HERE">SERVERNAME HERE</a>
I was thinking in the line of:

BBCode usage:

Code: Select all

[tm]{INTTEXT1},{INTTEXT2}[/tm]
HTML replacement:

Code: Select all

<a href="tmtp://#join={INTTEXT1}">{INTTEXT2}</a>
Help line:

Code: Select all

[tm]server login,server name[/tm]
or i could use this:

BBCode usage:

Code: Select all

[tm]{INTTEXT1},{INTTEXT2}[/tm]
HTML replacement:

Code: Select all

<input class="button2 btnlite" type="button" value="{INTTEXT1}"  onclick="window.location.href='tmtp://#join={INTTEXT2}'" />
Help line:

Code: Select all

[tm]server name,server login[/tm]
its a little variation from the link= BBCode

I'm not sure if a tmtp connect is save to use in a BBCode

antoher problem came up when I tried it on my test forum and it works in IE, but not in firefox.

All suggestions are welcome.
Locked