TMTP syntax
Moderator: TM-Patrol
TMTP syntax
To use tmtp with short manialinks, you should use this syntax :
tmtp:///:YourManialink
the character ':' before the manialink indicates it's a short manialink
and not an URL, and the 3 characters '/' after "tmpt:" are needed
because otherwise web browsers (like IE, Firefox,...) add a '/' at the
end of the manialink.
So when you type "tmtp://:Manialink:Home" in your web browser,
it will send the string "tmtp://:Manialink:Home/" to TrackMania,
and then the game will try to show the manialink "Manialink:Home/"
instead of "Manialink:Home".
But if you type "tmtp:///:Manialink:Home", it will not modify the string.
I think blahitis did or is doing a BBCode for it ^_^
tmtp:///:YourManialink
the character ':' before the manialink indicates it's a short manialink
and not an URL, and the 3 characters '/' after "tmpt:" are needed
because otherwise web browsers (like IE, Firefox,...) add a '/' at the
end of the manialink.
So when you type "tmtp://:Manialink:Home" in your web browser,
it will send the string "tmtp://:Manialink:Home/" to TrackMania,
and then the game will try to show the manialink "Manialink:Home/"
instead of "Manialink:Home".
But if you type "tmtp:///:Manialink:Home", it will not modify the string.
I think blahitis did or is doing a BBCode for it ^_^
- f*ckfish
- Pit Crew
- Posts: 1302
- Joined: 15 Jun 2007 07:59
- Owned TM-games: TMNF, TMUF
- Location: Dresden, Germany
- Contact:
Re: TMTP syntax
Thanks a lot for this info, Florent =)
Are there any other fancy tmtp commands that we need to know about (other than the obvious #score=, #addfavourite=, #invitebuddy=, #addbuddy=, #joinasreferee=, #spectate=, and #join= )?
Are there any other fancy tmtp commands that we need to know about (other than the obvious #score=, #addfavourite=, #invitebuddy=, #addbuddy=, #joinasreferee=, #spectate=, and #join= )?
inactive, sorry
Re: TMTP syntax
That's all
Other things you can do would be with a ManiaLink page or ManiaCode (without downloads however)
Other things you can do would be with a ManiaLink page or ManiaCode (without downloads however)
- f*ckfish
- Pit Crew
- Posts: 1302
- Joined: 15 Jun 2007 07:59
- Owned TM-games: TMNF, TMUF
- Location: Dresden, Germany
- Contact:
Re: TMTP syntax
Ok, so will there be an official documentation about all the ManiaLink styles and substyles?
Sorry for the offtopic, but I'm dying to know
Sorry for the offtopic, but I'm dying to know

inactive, sorry
-
- cyclist
- Posts: 40
- Joined: 01 Jul 2007 13:13
Re: TMTP syntax
ratcolor>
Testing...
Official documentation? Hehe, no - manialink there is most mysterious language that I ever seen.
"The manialink creation may be more simple in the future" - that Nadeo answered me.
Testing...
Official documentation? Hehe, no - manialink there is most mysterious language that I ever seen.
"The manialink creation may be more simple in the future" - that Nadeo answered me.
- MuLoO
- speedy pilot
- Posts: 351
- Joined: 31 Jan 2008 19:06
- Owned TM-games: TMO / TMU-F
- Manialink(s): muloo
- Location: Belgium Brussels
Re: TMTP syntax
Hi,
Sorry to bring this old post back up, but howto make the tmtp link clickable in forum posts like an url
Thanks
Sorry to bring this old post back up, but howto make the tmtp link clickable in forum posts like an url
Thanks
Click the image to join The Power System server
color>
Sponsored by Playfaster.net
Xfire: muloo
Burn rubber, not your soul !

Sponsored by Playfaster.net
Xfire: muloo
Burn rubber, not your soul !
Re: TMTP syntax
[manialink=][/manialink]
- MuLoO
- speedy pilot
- Posts: 351
- Joined: 31 Jan 2008 19:06
- Owned TM-games: TMO / TMU-F
- Manialink(s): muloo
- Location: Belgium Brussels
Re: TMTP syntax
Thanks but this only works for this forum ... the buttons are allready in the editor ... but on an other server = inpossible?tcq wrote:[manialink=][/manialink]
Click the image to join The Power System server
color>
Sponsored by Playfaster.net
Xfire: muloo
Burn rubber, not your soul !

Sponsored by Playfaster.net
Xfire: muloo
Burn rubber, not your soul !
Re: TMTP syntax
Nope, unless that other forums' admin adds support for them, like Blahitis did here.MuLoO wrote:Thanks but this only works for this forum ... the buttons are allready in the editor ... but on an other server = inpossible?tcq wrote:[manialink=][/manialink]
Btw, I saw Florent use a [spectate=][/spectate] tag, but there's no button for that one on the posting page yet. Time to add it, Blah?

Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub
- MuLoO
- speedy pilot
- Posts: 351
- Joined: 31 Jan 2008 19:06
- Owned TM-games: TMO / TMU-F
- Manialink(s): muloo
- Location: Belgium Brussels
Re: TMTP syntax
thanks 

Click the image to join The Power System server
color>
Sponsored by Playfaster.net
Xfire: muloo
Burn rubber, not your soul !

Sponsored by Playfaster.net
Xfire: muloo
Burn rubber, not your soul !
Re: TMTP syntax
If I put an images between [server=] [/server]
Then it doesn't work
Then it doesn't work

- Retodon8
- swift roadking
- Posts: 751
- Joined: 12 Jul 2006 14:57
- Owned TM-games: TMSX, TMU(F), TM2:C
- Manialink(s): Retodon8
- Location: Netherlands
- Contact:
Re: TMTP syntax
I can't see the actual code that turns the BBCode into HTML, but this is what I think may be happening.
The "[server=]" adds a break right after the "<a>", so the "[img]" part right after moves to the next line, and it, plus the stuff that follows, doesn't get turned.
Images work fine with the [manialink] BBCode though; I just checked.
It's probably useful to compare the two pieces of code.
(The following won't change the BBCode thing, but documenting for those who want to know:
In Firefox go: Tools > Options... > Applications > tmtp, and use its pull-down menu to change your preferences for that protocol.)
The "[server=]" adds a break right after the "<a>", so the "[img]" part right after moves to the next line, and it, plus the stuff that follows, doesn't get turned.
Images work fine with the [manialink] BBCode though; I just checked.
It's probably useful to compare the two pieces of code.

(The following won't change the BBCode thing, but documenting for those who want to know:
In Firefox go: Tools > Options... > Applications > tmtp, and use its pull-down menu to change your preferences for that protocol.)
- MuLoO
- speedy pilot
- Posts: 351
- Joined: 31 Jan 2008 19:06
- Owned TM-games: TMO / TMU-F
- Manialink(s): muloo
- Location: Belgium Brussels
Re: TMTP syntax
I have been testing a while to make a image clickable with a tmtp link ...
example : [url=tmtp://:#join=e-gekko-lol]
[/url]
this is the code i tryed
but my outcome is like this
Is there a way to fix this?
Thanks
example : [url=tmtp://:#join=e-gekko-lol]

this is the code i tryed
Code: Select all
[url=tmtp://:#join=e-gekko-lol][img]http://www.google.com/intl/en_ALL/images/logo.gif[/img][/url]
Code: Select all
tmtp://:/#join=e-gekko-lol
Thanks
Click the image to join The Power System server
color>
Sponsored by Playfaster.net
Xfire: muloo
Burn rubber, not your soul !

Sponsored by Playfaster.net
Xfire: muloo
Burn rubber, not your soul !
- BLaHiTiS
- lord of the roads
- Posts: 3331
- Joined: 12 Aug 2005 15:46
- Owned TM-games: tmu tmo tms tmn
- Manialink(s): muxitis
- Location: Hasselt, Limburg, Belgium
- Contact:
Re: TMTP syntax
well yes I actually "had" to do it if some of these links were gonna work because the software doesn't like # in a link in some case and phpbb doesn't want to help me with that. (safety first I guess?).
The bbcode is just a case of translating an imput to a html hyperlink output, while also providing you with a simplified method of showing your manialinks, scores and servers here.
actually on other nonphpbb3 servers it might respond completely differently , depending on the software if you are just pasting the dry links.
This is just a "foolproof" method (or as foolproof as possible ofcourse) The perfect foolproof method would be that you think about a manialink and it suddenly starts up trackmania without pressing a key

The bbcode is just a case of translating an imput to a html hyperlink output, while also providing you with a simplified method of showing your manialinks, scores and servers here.
actually on other nonphpbb3 servers it might respond completely differently , depending on the software if you are just pasting the dry links.
This is just a "foolproof" method (or as foolproof as possible ofcourse) The perfect foolproof method would be that you think about a manialink and it suddenly starts up trackmania without pressing a key



- MB:Asus P8 H61
- CPU:Intel i5 2400
- RAM:8 Gb
- GFX:Asus GTX-580 (1500mb DDR5) - Forceware 75.33
- DirectX: June 2011
- SND:Realtek HD on mobo
- OS:Windows 7 SP1- Home Premium
- MuLoO
- speedy pilot
- Posts: 351
- Joined: 31 Jan 2008 19:06
- Owned TM-games: TMO / TMU-F
- Manialink(s): muloo
- Location: Belgium Brussels
Re: TMTP syntax

So you say its not possible...
the only solution for me is to have a php page that triggers the tmtp correctly?
Click the image to join The Power System server
color>
Sponsored by Playfaster.net
Xfire: muloo
Burn rubber, not your soul !

Sponsored by Playfaster.net
Xfire: muloo
Burn rubber, not your soul !