TM-FORUM

The TrackMania universal forum ^_^
It is currently Thu Aug 28, 2014 8:08 am

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 50 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
 Post subject: Re: Manialinks Forever
PostPosted: Wed Mar 25, 2009 2:31 pm 
Offline
TM-Patrol
TM-Patrol

Joined: Thu Jul 10, 2008 10:48 pm
Posts: 1612
Location: London, UK
Owned TM-games: TMUF, TMNF, TMS
Manialink(s): ET
Moriddin wrote:
These are manialink problems again which I can't test here :/
You have to test a bit I gues.


One thing I can tell is that the manialink tag doesn't have a addplayerid parameter :P

i have tried with and withought .. i am trying variations to ... i just cant type random stuff and hope i get there in the end can i? this is why i asked here in the first place to save having to type every available permiatation when someone who has used this can save a week of anguish because they have experience. someone must know ...

I'll keep trying jsut let me know if you think of anything else moriddin .. a great help so far even if i havent come far lol

EDIT: you edited after i quoted :lol: ... i was continuing on someone elses discussion in this thread ... as they were discussing adding player info's already its hardly offtopic? or is it? :?
(i would go ask the questions in a seperate thread but zooz will jsut do me for spamming hehe)

_________________
Image
dr.team | Electronic Tournaments | www.disharmony.eu | maniaplanet


Top
 Profile  
 
 Post subject: Re: Manialinks Forever
PostPosted: Wed Mar 25, 2009 4:35 pm 
Offline
TM-Patrol
TM-Patrol
User avatar

Joined: Wed May 23, 2007 10:20 am
Posts: 1461
Location: Venray
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
Code:
<?php
echo '  <?xml version="1.0" encoding="utf-8" ?>
<manialink>
  <timeout>0</timeout>
  <type>default</type>
<frame>
<frame posn="-64 48 1">
  <quad posn="0 0 1" sizen="128 10" halign="left" valign="top" image="http://tmnfvenray.nl/lottery/images/header.png" />
  <quad posn="0 -10 1" sizen="128 10" halign="left" valign="top" image="http://tmnfvenray.nl/lottery/images/menu.png" />
  <quad posn="5 -13 2" sizen="17 4" halign="left" valign="top" addplayerid="1" image="http://tmnfvenray.nl/lottery/buttons/donate1.png" imagefocus="http://tmnfvenray.nl/lottery/buttons/donate2.png" manialink="mlottery:buy" />
  <quad posn="23 -13 2" sizen="17 4" halign="left" valign="top" image="http://tmnfvenray.nl/lottery/buttons/contact1.png" imagefocus="http://tmnfvenray.nl/lottery/buttons/contact2.png" manialink="mlottery:Contact" />
  <quad posn="0 -20 1" sizen="128 70" halign="left" valign="top" image="http://tmnfvenray.nl/lottery/images/bg.png" />
  <quad posn="0 -90 1" sizen="128 6" halign="left" valign="top" image="http://tmnfvenray.nl/lottery/images/footer.png" />
  </frame>
  </frame>
  </manialink>';

Code:
<?php
include('config.php');
echo <<<EOT
<?xml version="1.0" encoding="utf-8"?>
<manialink>
<timeout>0</timeout>
<type>default</type>
<frame>
  <quad  sizen="122 80" posn="-61 41 0" halign="left" valign="top" style="Bgs1InRace" substyle="BgWindow2"/>
  <quad  sizen="120 5"  posn="-60 40 1" halign="left" valign="top" style="Bgs1InRace" substyle="BgTitle2"/>
  <label sizen="118 3"  posn="-58 37 2" halign="left" valign="center2" style="TextTitle2" text="RaffleWinner"/>
  <quad style="Icons128x128_1" substyle="BackFocusable" posn="-59 -38 1" sizen="10 10" manialink="mlottery"/>
EOT;
$query = "INSERT INTO `raffles` (`id`, `login`, `month`) VALUES ('', '".$_GET['playerlogin']."','".date('m')."')";
if(mysql_query($query)) {
echo '  <label sizen="80 20"  posn="0 0 0" halign="center" style="TextStaticMedium" text="You have bought a ticket for the ManiaLottery"/>';
} else {
echo '  <label sizen="80 20"  posn="0 0 0" halign="center" style="TextStaticMedium" text="Error..."/>';
}
echo <<<EOT

</frame>
</manialink>
EOT;
?>

These might help you..... these work so be my guest.....

_________________
Code:
tmnforever is nations and united makes it special. tmnforever has united. I need united!


Top
 Profile  
 
 Post subject: Re: Manialinks Forever
PostPosted: Wed Mar 25, 2009 11:21 pm 
Offline
TM-Patrol
TM-Patrol

Joined: Thu Jul 10, 2008 10:48 pm
Posts: 1612
Location: London, UK
Owned TM-games: TMUF, TMNF, TMS
Manialink(s): ET
ok thx alot willa this explains some of the stuff i was asking for (especially if its a working example).

So you can echo the entire manialink code, and aslo the // in the url will work fine too (i presumed it maybe be a problem commenting out, well least was worth eliminating as a problem). and also the answer is yes @ needing to use the php prefix/suffix ... once i have worked this out i will edit my first post with the answers i was looking for others referral.

Thx alot i will try some of these additions later ... as for the include i notice all url are in that .. is that co-incidence i gather?

_________________
Image
dr.team | Electronic Tournaments | www.disharmony.eu | maniaplanet


Top
 Profile  
 
 Post subject: Re: Manialinks Forever
PostPosted: Wed Mar 25, 2009 11:32 pm 
Offline
TM-Patrol
TM-Patrol
User avatar

Joined: Wed May 23, 2007 10:20 am
Posts: 1461
Location: Venray
Owned TM-games: TMU, TMN, TMF
Manialink(s): intr
well yes the url includes need to be referred to otherwise the php functions will not occur.

_________________
Code:
tmnforever is nations and united makes it special. tmnforever has united. I need united!


Top
 Profile  
 
 Post subject: Re: Manialinks Forever
PostPosted: Sat Oct 10, 2009 11:12 pm 
Offline
pedestrian
pedestrian
User avatar

Joined: Thu Oct 08, 2009 1:58 am
Posts: 14
Owned TM-games: TMU,TMNF,TMDS
[manialink=www.fileden.com/files/2009/4/25/2417211/index.xml]Forever World[/manialink]

This surrounded by maniacodes

_________________
Enter on My Site TaboanTm

Image
Image
Image

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 50 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC + 2 hours [ DST ]


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