FTP Settings
3 posters
Page 1 of 1
FTP Settings
Ok, here's my problem :
I have 2 different FTP hosting websites to use.
But when I enter correctly each FTP settings in MLD
And then I choose to add something like an image
It tells me : ""Connexion to FTP impossible !!!
Verify your settings in preferences (F2)"
I already checked my settings, they are OK
And I'm NOT already connected to the FTP servers so that doesn't seem to be the problem ..
I have 2 different FTP hosting websites to use.
But when I enter correctly each FTP settings in MLD
And then I choose to add something like an image
It tells me : ""Connexion to FTP impossible !!!
Verify your settings in preferences (F2)"
I already checked my settings, they are OK
And I'm NOT already connected to the FTP servers so that doesn't seem to be the problem ..
Scorm- Posts : 9
Join date : 2010-12-18
Re: FTP Settings
Désolé je me suis mal exprimé donc je vais essayer en français ...
J'ai deux sites de FTP avec le login, mot de passe et tout
Quand j'essaye le premier, ça ne marche pas
Et le deuxième, pareil !
Pourtant les informations que j'ai entrées sont correctes, puisque je peux accéder à mes fichiers via FileZilla (gestionnaire de FTP)
Mais le message d'erreur comme quoi le programme ne peut accéder au serveur s'affiche tout le temps ..
J'ai deux sites de FTP avec le login, mot de passe et tout
Quand j'essaye le premier, ça ne marche pas
Et le deuxième, pareil !
Pourtant les informations que j'ai entrées sont correctes, puisque je peux accéder à mes fichiers via FileZilla (gestionnaire de FTP)
Mais le message d'erreur comme quoi le programme ne peut accéder au serveur s'affiche tout le temps ..
Scorm- Posts : 9
Join date : 2010-12-18
Re: FTP Settings
Essaye d'être un peu plus précis. Si ça marche avec filezilla il n'y a aucune raison que cela ne marche pas avec MLD.
Suis cette démarche et dis moi précisément ce qui se passe:
- verifier les paramètres du ftp
sur l'exemple ici une image dans le sous dossier à pour adresse sur le ftp
ftp://monftp.com/manialink/img/monimage.jpg
mais avec cette adresse on ne peut pas l'atteindre sur le web c'est pourquoi il faut bien régler le préfixe pour le web.
Ainsi l'adresse pour le web de l'image est : http://monsite.com/manialink/img/monimage.jpg
(remarque : souvent le login apparait dans le préfixe web exemple pour moi chez numericable :
hôte ftp : ftp://perso.numericable.fr/ et préfixe http://perso.numericable.fr/bibigallaz/ )
- créer un nouveau document
- créer par exemple une image
- appuyer sur le bouton ftp pour sélectionner une image à partir du FTP
- une fenêtre doit apparaître avec le nom de toutes les images du sous dossier image sur ton FTP
Suis cette démarche et dis moi précisément ce qui se passe:
- verifier les paramètres du ftp
sur l'exemple ici une image dans le sous dossier à pour adresse sur le ftp
ftp://monftp.com/manialink/img/monimage.jpg
mais avec cette adresse on ne peut pas l'atteindre sur le web c'est pourquoi il faut bien régler le préfixe pour le web.
Ainsi l'adresse pour le web de l'image est : http://monsite.com/manialink/img/monimage.jpg
(remarque : souvent le login apparait dans le préfixe web exemple pour moi chez numericable :
hôte ftp : ftp://perso.numericable.fr/ et préfixe http://perso.numericable.fr/bibigallaz/ )
- créer un nouveau document
- créer par exemple une image
- appuyer sur le bouton ftp pour sélectionner une image à partir du FTP
- une fenêtre doit apparaître avec le nom de toutes les images du sous dossier image sur ton FTP
bibi- Posts : 109
Join date : 2010-08-30
Re: FTP Settings
i think he tried to put more than one for each präfix so it cant be correct, may he can send us a pic of his präfixes
Re: FTP Settings
Je suis vraiment désolé... j'ai du me tromper dans un détail infime. Ça marche maintenant =]
I'm sorry for the trouble I caused... I changed a setting and everything is working fine now =]
Juste un petit problème... mon préfix ftp est le dossier "public_html" ensuite jai /trackmania/manialink/...
Sauf que sur internet il ne doit pas apparaitre dans les liens car l'intérieur de ce dossier constitue la base de ce qui est accessible par internet ...
En gros il me faut /trackmania/manialink/... directement dans les liens Internet
I'm sorry for the trouble I caused... I changed a setting and everything is working fine now =]
Juste un petit problème... mon préfix ftp est le dossier "public_html" ensuite jai /trackmania/manialink/...
Sauf que sur internet il ne doit pas apparaitre dans les liens car l'intérieur de ce dossier constitue la base de ce qui est accessible par internet ...
En gros il me faut /trackmania/manialink/... directement dans les liens Internet
Scorm- Posts : 9
Join date : 2010-12-18
Re: FTP Settings
Pas de problème ! L'essentiel c'est que ça marche maintenant
bibi- Posts : 109
Join date : 2010-08-30
Re: FTP Settings
Je veux dire que ça ne marche pas complètement :
Le programme fait automatiquement http://bapro.offhost.fr/public_html/trackmania/manialink/bapro/
Mais je ne veux pas la partie en gras, car elle fausse tout les liens. (public_html/)
Comment dois-je faire ?
Le programme fait automatiquement http://bapro.offhost.fr/public_html/trackmania/manialink/bapro/
Mais je ne veux pas la partie en gras, car elle fausse tout les liens. (public_html/)
Comment dois-je faire ?
Scorm- Posts : 9
Join date : 2010-12-18
Re: FTP Settings
i know the problem its easy to end, just make so,
Host :ftp://bapro.offhost.fr/public_html/
Login: your login
Password: your password
Prefix for web: http://bapro.offhost.fr/
images:trackmania/manialink/bapro/images/
xml files:trackmania/manialink/bapro/
other medias: trackmania/manialink/bapro/media
and for sure no double slashs xD -->//
hope i could help you
Host :ftp://bapro.offhost.fr/public_html/
Login: your login
Password: your password
Prefix for web: http://bapro.offhost.fr/
images:trackmania/manialink/bapro/images/
xml files:trackmania/manialink/bapro/
other medias: trackmania/manialink/bapro/media
and for sure no double slashs xD -->//
hope i could help you
Re: FTP Settings
Thanks ! How clever to put it like that =]
Btw, Merry Christmas to you
And do you have any advice on how to put in "fullscreen" a background image ?
Perhaps Pos X or Size W settings ?
Never mind, I didn't pay attention to the right click additional options =]
Btw, Merry Christmas to you
And do you have any advice on how to put in "fullscreen" a background image ?
Perhaps Pos X or Size W settings ?
Never mind, I didn't pay attention to the right click additional options =]
Scorm- Posts : 9
Join date : 2010-12-18
Re: FTP Settings
haha no problem but if u wont use rightclick it´s Size W:128 H:96 may bibi can create a forum to show pages that are createt with MLD and merry christmas
Re: FTP Settings
Another question ^.^
Each time you want to create a new page in the manialink, it must be a new manialink linking to your .xml page of choice ?
Each time you want to create a new page in the manialink, it must be a new manialink linking to your .xml page of choice ?
Scorm- Posts : 9
Join date : 2010-12-18
Re: FTP Settings
yep otherwise u could use php^^ than you can display different pages with only one code just adding a ?mp=whatever behind it
Re: FTP Settings
Maybe I could use php but it'll be more complicated since MLD generates only xml files ^^
Edit : mmmh, perhaps the export as php can be usefull =D. But how do I proceed with the code afterwards, in notepad ++ for example ?
Edit : mmmh, perhaps the export as php can be usefull =D. But how do I proceed with the code afterwards, in notepad ++ for example ?
Scorm- Posts : 9
Join date : 2010-12-18
Re: FTP Settings
try this its a simply if cause that displays a page then a parameter (here 'mp' for mainpage) is set to a selected thing (here home):
[php]
<?php
$mp=$_GET["mp"];
//Header+Start-Tag:
echo'<?xml version="1.0" encoding="UTF-8"?>
<manialink>
<timeout>0</timeout>
<music data="http://banane9.ba.funpic.de/ChallengeMusics/08%20-%20Quadricore.ogg"/>
<include url="http://banane9.ba.funpic.de/Banane9sManialink/xml-files/index.xml"></include>';
//Home-Page:
if($mp=="home")
{
echo'your xml-code for the home page';
}
//Endtag:
echo'</manialink>';
?>
[/php]
the output frm manialinkdesigner if u export as php is like so:
[php]
<?php
echo'1st line';
echo'2nd line';
//and so on
?>
[/php]
delete all the echos and just put the code in the ' ' of my thing and without the xml start thing and ml header and and ml and tag ^^ i already added it and it wont function if u add it a second time have fun
[php]
<?php
$mp=$_GET["mp"];
//Header+Start-Tag:
echo'<?xml version="1.0" encoding="UTF-8"?>
<manialink>
<timeout>0</timeout>
<music data="http://banane9.ba.funpic.de/ChallengeMusics/08%20-%20Quadricore.ogg"/>
<include url="http://banane9.ba.funpic.de/Banane9sManialink/xml-files/index.xml"></include>';
//Home-Page:
if($mp=="home")
{
echo'your xml-code for the home page';
}
//Endtag:
echo'</manialink>';
?>
[/php]
the output frm manialinkdesigner if u export as php is like so:
[php]
<?php
echo'1st line';
echo'2nd line';
//and so on
?>
[/php]
delete all the echos and just put the code in the ' ' of my thing and without the xml start thing and ml header and and ml and tag ^^ i already added it and it wont function if u add it a second time have fun
Re: FTP Settings
Banane9 wrote:try this its a simply if cause that displays a page then a parameter (here 'mp' for mainpage) is set to a selected thing (here home):
[php]
<?php
$mp=$_GET["mp"];
//Header+Start-Tag:
echo'<?xml version="1.0" encoding="UTF-8"?>
<manialink>
<timeout>0</timeout>
<music data="http://banane9.ba.funpic.de/ChallengeMusics/08%20-%20Quadricore.ogg"/>
<include url="http://banane9.ba.funpic.de/Banane9sManialink/xml-files/index.xml"></include>';
//Home-Page:
if($mp=="home")
{
echo'your xml-code for the home page';
}
//Endtag:
echo'</manialink>';
?>
[/php]
the output frm manialinkdesigner if u export as php is like so:
[php]
<?php
echo'1st line';
echo'2nd line';
//and so on
?>
[/php]
delete all the echos and just put the code in the ' ' of my thing and without the xml start thing and ml header and and ml and tag ^^ i already added it and it wont function if u add it a second time have fun
Thanks ! And how about my other pages ? Do they automatically pass through the php script ?
And why the need to put the link to the XML file on Internet AND the XML code itself ?
On TM, it says "invalid manialink file" .. I updated the link to my homepage with this php script
Scorm- Posts : 9
Join date : 2010-12-18
Re: FTP Settings
may was complicated must look so:
<?php
$mp=$_GET["mp"];
echo'<?xml version="1.0" encoding="UTF-8"?>
<manialink>
<timeout>0</timeout>';
//Design: #This part will be displayed in every case
echo'<frame>
<quad posn="-9 0 -35" sizen="110 96" halign="center" valign="center" image="http://osterhase.pixom.eu/easter-game/design/ostereier2.jpg"></quad>
<quad posn="55 0 -35" sizen="18 96" halign="center" valign="center" image="http://osterhase.pixom.eu/easter-game/design/wiese.png"></quad>
<label posn="55 -40 -31" sizen="14 11" halign="center" valign="center" text="$w$f00You have found $0f0'.$eggcount.' $f00of $0f0'.$maxeggs.'$f00 eggs!" autonewline="1"></label>
</frame>';
//Page-Style: #This part will only be displayed if the variable mp is "home" or nothing.
if($mp=="home" OR $mp=="") {
echo'<frame posn="0 0 0">
<quad posn="-10 0 -30" sizen="85.8 60" halign="center" valign="center" style="Bgs1" substyle="BgList"></quad>
<quad posn="-8.5 38 -29" sizen="110 18" halign="center" valign="center" image="http://osterhase.pixom.eu/easter-game/design/page-style-header.png"></quad>
<quad posn="-9 -38 -29" sizen="110 18" halign="center" valign="center" image="http://osterhase.pixom.eu/easter-game/design/page-style-bottom.png"></quad>
</frame>';
}
?>
for each of your pages u do a if() and do e.g. for avatars $mp=="avatars"
to set mp put your mlurl so (i use scorm now), Scorm?mp=avatars
<?php
$mp=$_GET["mp"];
echo'<?xml version="1.0" encoding="UTF-8"?>
<manialink>
<timeout>0</timeout>';
//Design: #This part will be displayed in every case
echo'<frame>
<quad posn="-9 0 -35" sizen="110 96" halign="center" valign="center" image="http://osterhase.pixom.eu/easter-game/design/ostereier2.jpg"></quad>
<quad posn="55 0 -35" sizen="18 96" halign="center" valign="center" image="http://osterhase.pixom.eu/easter-game/design/wiese.png"></quad>
<label posn="55 -40 -31" sizen="14 11" halign="center" valign="center" text="$w$f00You have found $0f0'.$eggcount.' $f00of $0f0'.$maxeggs.'$f00 eggs!" autonewline="1"></label>
</frame>';
//Page-Style: #This part will only be displayed if the variable mp is "home" or nothing.
if($mp=="home" OR $mp=="") {
echo'<frame posn="0 0 0">
<quad posn="-10 0 -30" sizen="85.8 60" halign="center" valign="center" style="Bgs1" substyle="BgList"></quad>
<quad posn="-8.5 38 -29" sizen="110 18" halign="center" valign="center" image="http://osterhase.pixom.eu/easter-game/design/page-style-header.png"></quad>
<quad posn="-9 -38 -29" sizen="110 18" halign="center" valign="center" image="http://osterhase.pixom.eu/easter-game/design/page-style-bottom.png"></quad>
</frame>';
}
?>
for each of your pages u do a if() and do e.g. for avatars $mp=="avatars"
to set mp put your mlurl so (i use scorm now), Scorm?mp=avatars
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|