MyBB.support, le portail francophone de MyBB

Version complète : 2 Questions qui sont un peu bête.
Vous consultez actuellement la version basse qualité d’un document. Voir la version complète avec le bon formatage.
Bonjour à tous.
J'ai poster il y as pas longtemps un post dans "thème" pour un bug de sondage. Lors du vote enfaîte les joueurs étaient rediriger sur une page blanche et les votes n'étais pas pris en compte.

Aujourd'hui par chance (enfin, si on peu appeler sa de la chance) J'ai modifier une template. Mais ayant fait une... "Boulette" j'ai du restaurer celle ci.

Donc je me diriger dans "Outils et maintenance" > "Vérifier les templates".
Ensuite je clique sur procéder et la... a ma grande surprise il me demande de restauré plusieurs template que je n'ai jamais modifier, qu'un mod ou plugins n'as modifier.

Je les restaure donc et je test ensuite les votes. Et par miracle cela fonctionne, les votes sont pris en compte sans problème.
Ma question après avoir raconter ma vie est la suivante :

Est-ce que je risque d'avoir des fails, bugs, ou autres avec le thème désormais ? Car ce procéder n'as fait que restaurer les template du thème. Mais j'aimerais avoir tout de même votre avis.


Ma 2eme question concerne toujours ce procéder.

Donc après avoir restaurer les templates, que les votes fonctionnes etc... J'ai donc relancer une vérification des templates et voici ce qui est indiquer :

Les erreurs suivantes ont été rencontrées :
Les templates ci-dessous correspondent à des problèmes de sécurité connus. Veuillez les examiner.

Voici les template qu'il m'indique :

MyBB Master Templates
Les templates maîtres ont été modifiés. Contactez le Groupe MyBB Group pour obtenir une aide sur la façon de les modifier.
member_profile_adminoptions

Voila, j'espère que vous pourrez me dire si cela est grave ou non.
Cordialement Mortibus.
Pour appuyer je vous montre des Screenshots :

Lorsque le Theme es normal (Sans modification de template) voici ce que les votes donnent :

[Image: 428326erreurpolls.jpg]

Voici les template lorsque je fait une vérification :

[Image: 357836erreurtemplate.jpg]


Pour les templates, les voici :

calendar :
Citation :<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->calendar}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="8">
<div class="float_right">
<a href="{$prev_link}">&laquo; {$monthnames[$prev_month['month']]} {$prev_month['year']}</a> | <a href="{$next_link}">{$monthnames[$next_month['month']]} {$next_month['year']} &raquo;</a>
</div>
<div><strong>{$monthnames[$month]} {$year}</strong></div>
</td>
</tr>
<tr>
<td class="tcat">&nbsp;</td>
{$weekday_headers}
</tr>
</thead>
<tbody>
{$calendar_rows}
</tbody>
</table>
<br />
<form action="calendar.php" method="post">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="trow1" valign="top">{$addevent}</td>
<td class="trow1" align="right">
<span class="smalltext"><strong>{$lang->jump_month}</strong></span>
<select name="month">
<option value="{$month}">{$monthnames[$month]}</option>
<option value="{$month}">----------</option>
<option value="1">{$lang->alt_month_1}</option>
<option value="2">{$lang->alt_month_2}</option>
<option value="3">{$lang->alt_month_3}</option>
<option value="4">{$lang->alt_month_4}</option>
<option value="5">{$lang->alt_month_5}</option>
<option value="6">{$lang->alt_month_6}</option>
<option value="7">{$lang->alt_month_7}</option>
<option value="8">{$lang->alt_month_8}</option>
<option value="9">{$lang->alt_month_9}</option>
<option value="10">{$lang->alt_month_10}</option>
<option value="11">{$lang->alt_month_11}</option>
<option value="12">{$lang->alt_month_12}</option>
</select>
<select name="year">
<option value="{$year}">{$year}</option>
<option value="{$year}">----------</option>
{$yearsel}
</select>
{$gobutton}
<br /><br />
<span class="smalltext"><strong>{$lang->jump_to_calendar}</strong></span>
{$calendar_jump}
{$gobutton}
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>

calendar_weekview
Citation :<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->calendar}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="2">
<div class="float_right">
<a href="{$prev_link}">&laquo; {$lang->previous_week}</a> | <a href="{$next_link}">{$lang->next_week} &raquo;</a>
</div>
<div><strong>{$lang->weekly_overview} ({$friendly_week_from} - {$friendly_week_to})</strong></div>
</td>
</tr>
</thead>
<tbody>
{$weekday_bits}
</tbody>
</table>
</td>
<td style="padding-left: 10px; vertical-align: top;">{$mini_calendars}</td>
</tr>
</table>
<br />
<form action="calendar.php" method="post">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="trow1" valign="top">{$addevent}</td>
<td class="trow1" align="right">
<span class="smalltext"><strong>{$lang->jump_month}</strong></span>
<select name="month">
<option value="{$week_from[1]}">{$monthnames[$week_from[1]]}</option>
<option value="{$week_from[1]}">----------</option>
<option value="1">{$lang->alt_month_1}</option>
<option value="2">{$lang->alt_month_2}</option>
<option value="3">{$lang->alt_month_3}</option>
<option value="4">{$lang->alt_month_4}</option>
<option value="5">{$lang->alt_month_5}</option>
<option value="6">{$lang->alt_month_6}</option>
<option value="7">{$lang->alt_month_7}</option>
<option value="8">{$lang->alt_month_8}</option>
<option value="9">{$lang->alt_month_9}</option>
<option value="10">{$lang->alt_month_10}</option>
<option value="11">{$lang->alt_month_11}</option>
<option value="12">{$lang->alt_month_12}</option>
</select>
<select name="year">
<option value="{$week_from[2]}">{$week_from[2]}</option>
<option value="{$week_from[2]}">----------</option>
{$yearsel}
</select>
{$gobutton}
<br /><br />
<span class="smalltext"><strong>{$lang->jump_to_calendar}</strong></span>
{$calendar_jump}
{$gobutton}
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
{$footer}
</body>
</html>

header_welcomeblock_member_admin
Citation : &mdash; <a href="{$mybb->settings['bburl']}/{$config['admin_dir']}/index.php">{$lang->welcome_admin}</a>

member_profile_adminoptions
Citation :<br /><table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" width="100%" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->admin_options}</strong></td>
</tr>
<tr>
<td class="trow1">
<ul>
<li><a href="{$mybb->settings['bburl']}/{$config['admin_dir']}/index.php?module=user/users&amp;action=edit&amp;uid={$uid}">{$lang->admin_edit_in_acp}</a></li>
<li><a href="{$mybb->settings['bburl']}/{$config['admin_dir']}/index.php?module=user/banning&amp;uid={$uid}">{$lang->admin_ban_in_acp}</a></li>
</ul>
</td>
</tr>
</table>

warnings_warn_type
Citation : <dt><label style="display: block;"><input type="radio" name="type" value="{$type['tid']}" {$type_checked[$type['tid']]} class="types_check" onclick="checkType();" style="vertical-align: middle;" /> <strong>{$type['title']}</strong> $points</label></dt>
<dd style="margin-top: 4px;" id="type_{$type['tid']}" class="types">
<div class="smalltext">{$lang->new_warning_level}</div>
<div class="tborder" style="width: 150px; float: left; margin: 0; padding: 1px;">
<div class="trow1" style="width: {$current_level}%; float: left; ">&nbsp;</div>
<div class="trow2" style="width: {$level_diff}%; float: left;">&nbsp;</div>
</div>
<div style="padding-left: 10px; font-weight: bold; float: left;">{$new_warning_level}%</div><br style="clear: left;" />
{$result}
</dd>


Voila, les templates du thème que j'utilise. et celle ou il m'indique une erreur.

J'espère que quelqu'un auras une réponse pour m'éclairer Sad


ps : Quand je les restaures correctement (donc en cliquant sur option) tous fonctionne, enfin je pense que tous fonctionne, pour ce qui concerne les sondages connexion, déconnexion post, répondre etc il n'y as pas de soucis (pour le moment :p)
 Utilitaire de traduction fourni par Regentronique