PDA

Voir la version complète : Options avancées des discussions importantes


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

WrestleMania
29/06/2006, 17h06
Bravo BiO;)

Allan
29/06/2006, 17h28
Merci a toi ;)

Ramses
21/08/2006, 19h38
Merci à toi, mais le fichier installation.txt est vide et donc pas d'explication pour faire fonctionner ce hack

SpeeDwa
25/08/2006, 22h05
ouii.. c vrais .. C la fraude ..Non jte blaque.J'attend ta réponse pour savoir comment l'installer :p

Ironfly
27/09/2006, 10h48
le fichier texte est vide !! comment on fait pour l'installer ?

Lo'
27/09/2006, 15h22
Sympa ce hack, merci à toi ;-)

BiOMECHANiK
27/09/2006, 16h55
Je vais corriger au plus vite le fichier TXT d'installation, je suis désolé je n'avais pas remarqué ça avant aujourd'hui.

Lo'
01/10/2006, 02h33
Bonsoir,

Il n'y a toujours pas le fichier txt pour l'installation :(

Merci ;)

Lo'
06/10/2006, 11h59
Je ne voudrais passer pour un rabajoi, désolé ...
Je voudrais vraiment utiliser ce hack, est-ce que l'auteur pourrai donner l'explicatif pour la mise en oeuvre quand il aura un moment.
Merci bien :)

Allan
06/10/2006, 12h19
Je ne voudrais passer pour un rabajoi, désolé ...
Je voudrais vraiment utiliser ce hack, est-ce que l'auteur pourrai donner l'explicatif pour la mise en oeuvre quand il aura un moment.
Merci bien :)
Désoler, j'avais pas vu ton post précédent.

L'installation est ajouté dans le premier post :)

Lo'
06/10/2006, 12h52
Pas de souci Allan ...
Merci pour le complément ;)