TM-FORUM

The TrackMania universal forum ^_^
It is currently 29 May 2016 06:49

All times are UTC + 1 hour




Post new topic Reply to topic  [ 27 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: TMTP syntax
PostPosted: 19 May 2008 15:44 
Offline
Developer
Developer

Joined: 09 Aug 2005 15:07
Posts: 1594
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 ^_^


Top
 Profile  
 
 Post subject: Re: TMTP syntax
PostPosted: 19 May 2008 16:28 
Offline
Pit Crew
Pit Crew
User avatar

Joined: 15 Jun 2007 08:59
Posts: 1302
Location: Dresden, Germany
Owned TM-games: TMNF, TMUF
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= )?

_________________
inactive, sorry


Top
 Profile  
 
 Post subject: Re: TMTP syntax
PostPosted: 19 May 2008 17:54 
Offline
Developer
Developer

Joined: 09 Aug 2005 15:07
Posts: 1594
That's all

Other things you can do would be with a ManiaLink page or ManiaCode (without downloads however)


Top
 Profile  
 
 Post subject: Re: TMTP syntax
PostPosted: 20 May 2008 09:58 
Offline
Pit Crew
Pit Crew
User avatar

Joined: 15 Jun 2007 08:59
Posts: 1302
Location: Dresden, Germany
Owned TM-games: TMNF, TMUF
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 ;-)

_________________
inactive, sorry


Top
 Profile  
 
 Post subject: Re: TMTP syntax
PostPosted: 20 May 2008 11:11 
Offline
cyclist
cyclist

Joined: 01 Jul 2007 14:13
Posts: 40
rat

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.


Top
 Profile  
 
 Post subject: Re: TMTP syntax
PostPosted: 10 Jun 2008 12:33 
Offline
speedy pilot
speedy pilot
User avatar

Joined: 31 Jan 2008 20:06
Posts: 351
Location: Belgium Brussels
Owned TM-games: TMO / TMU-F
Manialink(s): muloo
Hi,

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
Image
Sponsored by Playfaster.net

Xfire: muloo
Burn rubber, not your soul !


Top
 Profile  
 
 Post subject: Re: TMTP syntax
PostPosted: 10 Jun 2008 12:50 
Offline
speedy pilot
speedy pilot

Joined: 05 Apr 2007 09:09
Posts: 380
Location: Germany
[manialink=][/manialink]


Top
 Profile  
 
 Post subject: Re: TMTP syntax
PostPosted: 10 Jun 2008 21:07 
Offline
speedy pilot
speedy pilot
User avatar

Joined: 31 Jan 2008 20:06
Posts: 351
Location: Belgium Brussels
Owned TM-games: TMO / TMU-F
Manialink(s): muloo
tcq wrote:
[manialink=][/manialink]


Thanks but this only works for this forum ... the buttons are allready in the editor ... but on an other server = inpossible?

_________________
Click the image to join The Power System server
Image
Sponsored by Playfaster.net

Xfire: muloo
Burn rubber, not your soul !


Top
 Profile  
 
 Post subject: Re: TMTP syntax
PostPosted: 10 Jun 2008 21:38 
Offline
Pit Crew
Pit Crew

Joined: 19 Aug 2007 13:58
Posts: 5577
Owned TM-games: TMN, TMU, TMF, TM²
MuLoO wrote:
tcq wrote:
[manialink=][/manialink]

Thanks but this only works for this forum ... the buttons are allready in the editor ... but on an other server = inpossible?

Nope, unless that other forums' admin adds support for them, like Blahitis did here.

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


Top
 Profile  
 
 Post subject: Re: TMTP syntax
PostPosted: 11 Jun 2008 12:18 
Offline
speedy pilot
speedy pilot
User avatar

Joined: 31 Jan 2008 20:06
Posts: 351
Location: Belgium Brussels
Owned TM-games: TMO / TMU-F
Manialink(s): muloo
thanks :thumbsup:

_________________
Click the image to join The Power System server
Image
Sponsored by Playfaster.net

Xfire: muloo
Burn rubber, not your soul !


Top
 Profile  
 
 Post subject: Re: TMTP syntax
PostPosted: 13 Jun 2008 20:12 
Offline
speedy pilot
speedy pilot
User avatar

Joined: 06 Dec 2005 13:53
Posts: 573
Location: Belgium
Owned TM-games: ALL
If I put an images between [server=] [/server]
Then it doesn't work :?


Top
 Profile  
 
 Post subject: Re: TMTP syntax
PostPosted: 22 Jun 2008 10:57 
Offline
swift roadking
swift roadking
User avatar

Joined: 12 Jul 2006 15:57
Posts: 751
Location: Netherlands
Owned TM-games: TMSX, TMU(F), TM2:C
Manialink(s): Retodon8
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.)

_________________
Яєזσםση8
ImageImage


Top
 Profile  
 
 Post subject: Re: TMTP syntax
PostPosted: 01 Jul 2008 23:52 
Offline
speedy pilot
speedy pilot
User avatar

Joined: 31 Jan 2008 20:06
Posts: 351
Location: Belgium Brussels
Owned TM-games: TMO / TMU-F
Manialink(s): muloo
I have been testing a while to make a image clickable with a tmtp link ...
example : Image

this is the code i tryed
Code:
[url=tmtp://:#join=e-gekko-lol][img]http://www.google.com/intl/en_ALL/images/logo.gif[/img][/url]

but my outcome is like this
Code:
tmtp://:/#join=e-gekko-lol


Is there a way to fix this?

Thanks

_________________
Click the image to join The Power System server
Image
Sponsored by Playfaster.net

Xfire: muloo
Burn rubber, not your soul !


Top
 Profile  
 
 Post subject: Re: TMTP syntax
PostPosted: 19 Jul 2008 21:48 
Offline
lord of the roads
lord of the roads
User avatar

Joined: 12 Aug 2005 16:46
Posts: 3331
Location: Hasselt, Limburg, Belgium
Owned TM-games: tmu tmo tms tmn
Manialink(s): muxitis
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 :) :)

_________________
Image

  • 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


Top
 Profile  
 
 Post subject: Re: TMTP syntax
PostPosted: 20 Jul 2008 01:08 
Offline
speedy pilot
speedy pilot
User avatar

Joined: 31 Jan 2008 20:06
Posts: 351
Location: Belgium Brussels
Owned TM-games: TMO / TMU-F
Manialink(s): muloo
:D en nu in het nederlands ...

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
Image
Sponsored by Playfaster.net

Xfire: muloo
Burn rubber, not your soul !


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 27 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group