19-01-2011, 6:06
Bonjour/bonsoir tout le monde ,
Après la demande de Gérald59 ICI, j'ai trouver la solution et j'aime la partager avec vous .
Voilà une simple tutoriel pour ajouter une page de la météo à votre forum: meteo.php .pour qu'il s'affiche comme ca :
http://www.votre-lien.com/meteo.php
ou bien:
http://www.votre-lien.com/forum/meteo.php
1-*Ajouter un template :
Dans l'administration de votre forum=>Section des Templates==>Templates globaux==>Ajouter un template
1-*Envoyer la page PHP par FTP :
La page à envoyer meteo.php
[attachment=826]
Démo : http://www.bahi-education.com/forum/meteo.php
Voilà c tout
Bonne chance .
haytoch
Après la demande de Gérald59 ICI, j'ai trouver la solution et j'aime la partager avec vous .
Voilà une simple tutoriel pour ajouter une page de la météo à votre forum: meteo.php .pour qu'il s'affiche comme ca :
http://www.votre-lien.com/meteo.php
ou bien:
http://www.votre-lien.com/forum/meteo.php
1-*Ajouter un template :
Dans l'administration de votre forum=>Section des Templates==>Templates globaux==>Ajouter un template
- Nom du template : meteo
- Set de templates Coller le code suivant :
Code :
<html>
<head>
<title>{$mybb->settings[bbname]}</title>
{$headerinclude}
</head>
<body>
{$header}
<br />
<table border="0" width="100%">
<tr>
<td class="thead">Météo</span></td>
</tr>
<tr>
<td align="center">
<embed pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
align="absMiddle" src="http://weather.eu.msn.com/f5/loader19.swf?mode=world&continent=Europe&lang=FR"
type="application/x-shockwave-flash" quality="high" bgcolor="#FFFFFF" style="width: 700px; height: 480px;" /><br />
Crié Par : <a href="http://community.mybb.com/user-27235.html" target="_blank">Haytoch</a>
</td>
</tr>
</table>
{$footer}
</body>
</html>
La page à envoyer meteo.php
[attachment=826]
Démo : http://www.bahi-education.com/forum/meteo.php
Voilà c tout
Bonne chance .
haytoch