TM-FORUM

The TrackMania universal forum ^_^
It is currently Thu Oct 30, 2014 4:01 pm

All times are UTC + 2 hours [ DST ]




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

Joined: Tue Aug 09, 2005 5:07 pm
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: Mon May 19, 2008 6:28 pm 
Offline
Pit Crew
Pit Crew
User avatar

Joined: Fri Jun 15, 2007 10:59 am
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: Mon May 19, 2008 7:54 pm 
Offline
Developer
Developer

Joined: Tue Aug 09, 2005 5:07 pm
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: Tue May 20, 2008 11:58 am 
Offline
Pit Crew
Pit Crew
User avatar

Joined: Fri Jun 15, 2007 10:59 am
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: Tue May 20, 2008 1:11 pm 
Offline
cyclist
cyclist

Joined: Sun Jul 01, 2007 4:13 pm
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: Tue Jun 10, 2008 2:33 pm 
Offline
speedy pilot
speedy pilot
User avatar

Joined: Thu Jan 31, 2008 10:06 pm
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: Tue Jun 10, 2008 2:50 pm 
Offline
speedy pilot
speedy pilot

Joined: Thu Apr 05, 2007 11:09 am
Posts: 380
Location: Germany
[manialink=][/manialink]


Top
 Profile  
 
 Post subject: Re: TMTP syntax
PostPosted: Tue Jun 10, 2008 11:07 pm 
Offline
speedy pilot
speedy pilot
User avatar

Joined: Thu Jan 31, 2008 10:06 pm
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: Tue Jun 10, 2008 11:38 pm 
Offline
Pit Crew
Pit Crew

Joined: Sun Aug 19, 2007 3:58 pm
Posts: 5472
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: Wed Jun 11, 2008 2:18 pm 
Offline
speedy pilot
speedy pilot
User avatar

Joined: Thu Jan 31, 2008 10:06 pm
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: Fri Jun 13, 2008 10:12 pm 
Offline
speedy pilot
speedy pilot
User avatar

Joined: Tue Dec 06, 2005 3:53 pm
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: Sun Jun 22, 2008 12:57 pm 
Offline
swift roadking
swift roadking
User avatar

Joined: Wed Jul 12, 2006 5:57 pm
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: Wed Jul 02, 2008 1:52 am 
Offline
speedy pilot
speedy pilot
User avatar

Joined: Thu Jan 31, 2008 10:06 pm
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: Sat Jul 19, 2008 11:48 pm 
Offline
lord of the roads
lord of the roads
User avatar

Joined: Fri Aug 12, 2005 6:46 pm
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: Sun Jul 20, 2008 3:08 am 
Offline
speedy pilot
speedy pilot
User avatar

Joined: Thu Jan 31, 2008 10:06 pm
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 + 2 hours [ DST ]


Who is online

Users browsing this forum: Majestic-12 [Bot] 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