Bonjour,
J' ai installer phpmyvisites sur un hébergement free et mon forum sur un hébergement ovh. Mon forum tourne sous smf, je dois intégrer mon code phpmyvisites entre les balises body de mon thème, voici les fichiers utiles :
-Le index.template.php d' origine
-Le code a rajouter (peut-être qu' il contient une erreur)
-Le index.template.php modifié par ma moi même
Lorsque j' utilise le dernier j' obtient l' erreur suivante :
Retranscription textuelle (sans les couleurs
) :
Template Parse Error!
There was a problem loading the /Themes/EnglishSteel/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
Parse error: syntax error, unexpected T_FUNCTION in .../Themes/EnglishSteel/index.template.php on line 30
21:
22: The menu sub template should display all the relevant buttons the user
23: wants and or needs.
24:
25: For more information on the templating system, please see the site at:
26: http://www.simplemachines.org/
27: */
28:
29: // Initialize the template... mainly little settings.
30: function template_init()
31: {
32: global $context, $settings, $options, $txt;
33:
34: /* Use images from default theme when using templates from the default theme?
Voilà, merci beaucoup, j' espère que c' est assez claire et que vous avez toutes les données 
Message édité par gollou le 13-04-2007 à 20:39:06