BiOMECHANiK
29/06/2006, 09h02
Description
Ce hack permet d'ajouter des options pour les discussions rendues importantes.
Vous pouvez ajouter une date d'expiration du status important des discussions.
Vous pouvez classer les discussions rendues importantes par ordre croissant et décroissant.Remerciements et support / Thanks and support
Ce Hack a été traduit en français pour vBulletin-Ressources avec l'autorisation explicite de son auteur. / This Hack was translated into French for vBulletin-Ressources with the explicit authorization of its author.
vBulletin-Ressources et son équipe offrira du support vis à vis des hacks traduits, bien sûr, dans la mesure du possible de chacun, autant en terme de temps que de connaissances/ vBulletin-Ressources and its team will offer support for the translated hacks, of course, as far as possible for everyone, as much in term of time that knowledge.
vBulletin-Ressources remercie l'auteur du hack pour avoir fourni son autorisation. / vBulletin-Ressources thanks the author for the hack to have provided its authorization.Conception
Auteur du Hack / Author Of Hack : SmEdD
Source / Link of Thread : http://www.vbulletin.org/forum/showthread.php?t=119746
Version vBulletin Requise / Version vBulletin Required : vBulletin 3.6
Testé / Tested: Oui sur vBulletin 3.6 BETA 2
Traducteur / Translator: BiOMECHANiK
Copyright © 2006 vBulletin-Ressources.com - Tous droits réservés / Copyright © 2006 vBulletin-Ressources.com - All Rights ReservedInstallation
Uploader le fichier "stickycleanup.php" dans le dossier "../includes/cron/"
Importer le produit (.xml)
Dans le template "threadadmin_editthread", trouve:
$posticons
Et remplace par:
<fieldset class="fieldset">
<legend>$vbphrase[sticky_options]</legend>
<div style="padding:$stylevar[formspacer]px">
<div>
$vbphrase[sticky_order]<br />
<input type="text" class="bginput" name="sticky_order" value="$threadinfo[sticky_order]" size="5" maxlength="3" />
$vbphrase[sticky_order_desc]
</div>
<div>
$vbphrase[sticky_expiry]<br />
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
<span class="smallfont">$vbphrase[month]<br />
<select name="sticky_expiry[month]" tabindex="1">
<option value="-1" $monthselected[default]></option>
<option value="1" $monthselected[1]>$vbphrase[january]</option>
<option value="2" $monthselected[2]>$vbphrase[february]</option>
<option value="3" $monthselected[3]>$vbphrase[march]</option>
<option value="4" $monthselected[4]>$vbphrase[april]</option>
<option value="5" $monthselected[5]>$vbphrase[may]</option>
<option value="6" $monthselected[6]>$vbphrase[june]</option>
<option value="7" $monthselected[7]>$vbphrase[july]</option>
<option value="8" $monthselected[8]>$vbphrase[august]</option>
<option value="9" $monthselected[9]>$vbphrase[september]</option>
<option value="10" $monthselected[10]>$vbphrase[october]</option>
<option value="11" $monthselected[11]>$vbphrase[november]</option>
<option value="12" $monthselected[12]>$vbphrase[december]</option>
</select>
</span>
</td>
<td>
<span class="smallfont">$vbphrase[day]<br />
<input type="text" tabindex="1" class="bginput" name="sticky_expiry[day]" value="$sticky_expiry[day]" size="4" maxlength="2" />
</span>
</td>
<td>
<span class="smallfont">$vbphrase[year]<br />
<input type="text" tabindex="1" class="bginput" name="sticky_expiry[year]" value="$sticky_expiry[year]" size="4" maxlength="4" />
</span>
</td>
</tr>
</table>
</div>
</div>
</fieldset>
$posticons
byby BiO
Ce hack permet d'ajouter des options pour les discussions rendues importantes.
Vous pouvez ajouter une date d'expiration du status important des discussions.
Vous pouvez classer les discussions rendues importantes par ordre croissant et décroissant.Remerciements et support / Thanks and support
Ce Hack a été traduit en français pour vBulletin-Ressources avec l'autorisation explicite de son auteur. / This Hack was translated into French for vBulletin-Ressources with the explicit authorization of its author.
vBulletin-Ressources et son équipe offrira du support vis à vis des hacks traduits, bien sûr, dans la mesure du possible de chacun, autant en terme de temps que de connaissances/ vBulletin-Ressources and its team will offer support for the translated hacks, of course, as far as possible for everyone, as much in term of time that knowledge.
vBulletin-Ressources remercie l'auteur du hack pour avoir fourni son autorisation. / vBulletin-Ressources thanks the author for the hack to have provided its authorization.Conception
Auteur du Hack / Author Of Hack : SmEdD
Source / Link of Thread : http://www.vbulletin.org/forum/showthread.php?t=119746
Version vBulletin Requise / Version vBulletin Required : vBulletin 3.6
Testé / Tested: Oui sur vBulletin 3.6 BETA 2
Traducteur / Translator: BiOMECHANiK
Copyright © 2006 vBulletin-Ressources.com - Tous droits réservés / Copyright © 2006 vBulletin-Ressources.com - All Rights ReservedInstallation
Uploader le fichier "stickycleanup.php" dans le dossier "../includes/cron/"
Importer le produit (.xml)
Dans le template "threadadmin_editthread", trouve:
$posticons
Et remplace par:
<fieldset class="fieldset">
<legend>$vbphrase[sticky_options]</legend>
<div style="padding:$stylevar[formspacer]px">
<div>
$vbphrase[sticky_order]<br />
<input type="text" class="bginput" name="sticky_order" value="$threadinfo[sticky_order]" size="5" maxlength="3" />
$vbphrase[sticky_order_desc]
</div>
<div>
$vbphrase[sticky_expiry]<br />
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td>
<span class="smallfont">$vbphrase[month]<br />
<select name="sticky_expiry[month]" tabindex="1">
<option value="-1" $monthselected[default]></option>
<option value="1" $monthselected[1]>$vbphrase[january]</option>
<option value="2" $monthselected[2]>$vbphrase[february]</option>
<option value="3" $monthselected[3]>$vbphrase[march]</option>
<option value="4" $monthselected[4]>$vbphrase[april]</option>
<option value="5" $monthselected[5]>$vbphrase[may]</option>
<option value="6" $monthselected[6]>$vbphrase[june]</option>
<option value="7" $monthselected[7]>$vbphrase[july]</option>
<option value="8" $monthselected[8]>$vbphrase[august]</option>
<option value="9" $monthselected[9]>$vbphrase[september]</option>
<option value="10" $monthselected[10]>$vbphrase[october]</option>
<option value="11" $monthselected[11]>$vbphrase[november]</option>
<option value="12" $monthselected[12]>$vbphrase[december]</option>
</select>
</span>
</td>
<td>
<span class="smallfont">$vbphrase[day]<br />
<input type="text" tabindex="1" class="bginput" name="sticky_expiry[day]" value="$sticky_expiry[day]" size="4" maxlength="2" />
</span>
</td>
<td>
<span class="smallfont">$vbphrase[year]<br />
<input type="text" tabindex="1" class="bginput" name="sticky_expiry[year]" value="$sticky_expiry[year]" size="4" maxlength="4" />
</span>
</td>
</tr>
</table>
</div>
</div>
</fieldset>
$posticons
byby BiO