Afficher la version complète : Modifications diverses Hack Niveau d'activité (Hack Level)
Description
Ce hack permet d'afficher dans votre postbit, sour l'avatar, des levels suivant l'expérience, la vie, et la magie.
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 : burach (http://www.vbhackers.com/members/burach/)
Source / Link of Thread: NVE Activite system (http://www.vbhackers.com/f76/nve-activite-system-6982/index2.html)
Version vBulletin Requise / Version vBulletin Required : vB 3.5.4 & 3.6.x
Testé / Tested: oui (3.6.3)
Traducteur / Translator: Sofia
Copyright © 2006 vBulletin-Ressources.com - Tous droits réservés Uniquement pour nos traductions/ Copyright © 2006 vBulletin-Ressources.com - All Rights Reserved Only For Ours Translations~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Installation
Uploader sur votre FTP les dossiers images : ./images/galaga et ./images/rpg
Importer le module xml via votre admincp (Gestionnaire de modules -> Ajouter/Importer)
Modifier le template postbit_legacy :Trouver :
<div>
$vbphrase[posts]: $post[posts]
</div>Ajouter après :
<br/>Level: <span style='font-weight:bold; color:crimson'>$showlevel [$galaga]</span><br/>
<span style='font-size:7pt; color:gray'>Vie : $hp / $maxhp </span><br/>
<div style='width:120px;align:center'>
<table cellspacing='0' cellpadding='0' width='120' border='0'>
<tr>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_left.gif' alt='' /></td>
<td width='114' height='13' class='nopad' style='line-height: 13px;background: url(images/rpg/img_backing.gif) repeat-x top left;'><img src='images/rpg/orange.gif' width="$hpf%" height='9' alt='' /><img src='images/rpg/hp.gif' height='9' alt='' /></td>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_right.gif' alt='' /></td>
</tr>
</table>
</div>
<span style='font-size:7pt; color:gray'>Magie : $mp / $maxmp</span><br />
<div style='width:120px;align:center'>
<table cellspacing='0' cellpadding='0' width='120' border='0'>
<tr>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_left.gif' alt='' /></td>
<td width='114' height='13' class='nopad' style='line-height: 13px;background: url(images/rpg/img_backing.gif) repeat-x top left;'><img src='images/rpg/green.gif' width="$mpf%" height='9' alt='' /><img src='images/rpg/mp.gif' height='9' alt='' /></td>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_right.gif' alt='' /></td>
</tr>
</table>
</div>
<span style='font-size:7pt; color:gray'>Expérience : $ep% </span><br />
<div style='width:120px;align:center'>
<table cellspacing='0' cellpadding='0' width='120' border='0'>
<tr>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_left.gif' alt='' /></td>
<td width='114' height='13' class='nopad' style='line-height: 13px;background: url(images/rpg/img_backing.gif) repeat-x top left;'><img src='images/rpg/blue.gif' width="$ep%" height='9' alt='' /><img src='images/rpg/exp.gif' height='9' alt='' /></td>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_right.gif' alt='' /></td>
</tr>
</table>
</div>
<br/>
Mofication apportée par apophyss81 (http://www.vbulletin-ressources.com/forum/member.php?u=1539)
Pour faire fonctionner le hack lorsque vous avez plus de 1000 messages :
Ouvrez le xml, et à la ligne 14, cherchez :
$rpglvl = str_replace(array(' ', ',', '.'), '', $post[posts]);
Remplacez par :
$rpglvl = str_replace(array(' ', ',', '.',' '), '', $post[posts]);
(http://www.vbulletin-ressources.com/forum/showthread.php?p=23591#post23591)
Je crois que celui la était trèèèèès attendue ...
Je prends pas mais merci beaucoup de ton taff ;)
merci beaucoup pour la rapidité, tu l'as traduit dans la soirée ou quoi !?
joli taf
merci beaucoup pour la rapidité, tu l'as traduit dans la soirée ou quoi !?
joli taf
Oui,je viens de le traduire. C'est assez rapide. Le seul hic est qu'il était en turc :D
ouai ok, c sur que ça devait pas être facile meoui
double félicitation alors :)
scorpion
11/02/2007, 01h31
merci sofia sa c'est du rapide ;)
merci sofia sa c'est du rapide ;)
hé hé, scorpion, t'as vu un peu ? :p
scorpion
11/02/2007, 01h40
:delicious: oui on demande et le soir même surprise surprise c'est arrivé ;)
Maxime69
11/02/2007, 01h46
Oo Sofia il est trop bien ce Hack !!! es normal que les bars tremble ou clignote je ne sais trop ?
EDIT >> Oui en faite c'est les images j'avais pas vue !
EDIT 2 >> Les Level monte jusqu'a combien ?
merci c'est super ce mode !!
j'ai juste rajouté "<div class="info">...</div>" pour que ce soit dans un cadre comme les autres infos (nb messages, date inscription,...)
salut
excellent en effet mais j'ai un stress avec le nombre de message !!! j'ai déjà plus de 1240 message sur mon forum et au dela de 1000 les stats ne bougent plus enfin cela redevient à 0 partout .;;
j'ai changé mes messages pour mettre en dessous de 1000 et la c'est ok j'ai tout ... maispas au dessus de 1000 posts ...
y a-t-il un truc à faire ?
mousxsat
11/02/2007, 13h30
juste une ptite question pourquoi vie et magie???
juste une ptite question pourquoi vie et magie???
C'est un hack RPG à l'origine, c'est pour cela.
Space -> C'est exact, je regarde cela cet aprem ;)
merci à toi excellent en espérant qu'il y ait une soluce merciiii
merci à toi excellent en espérant qu'il y ait une soluce merciiii
J'ai déjà testé quelque trucks mais ca faisait débordé les jauges ^^
Et ce hack est assez compliqué... Je vais bien voir ;)
The Fanopsis
11/02/2007, 15h42
merci Sofia
J'ai déjà testé quelque trucks mais ca faisait débordé les jauges ^^
Et ce hack est assez compliqué... Je vais bien voir ;)
me doutais bien mais ce n'est pas normal que cela s'arrête à 1000 messages ... allez courage ... que la force soit avec toi ...
meoui
me doutais bien mais ce n'est pas normal que cela s'arrête à 1000 messages ... allez courage ... que la force soit avec toi ...
meoui
Je n'ai pas trouvé, le hack est compliqué. J'ai posé la question à Burach... J'attends...
Merci pour cette version ;-)
ok merci à toi .. pas évident je m'en doutais .. merci à toi de te décarcasser .. et ben on attend la réponse du hacker ...
merci sofia toujours un plaisir ...
funakoshi
11/02/2007, 18h16
merci beaucoup pour cette traduc ;)
@+
Merci beaucoup pour ce hack et surtout cette traduction
merci pour ce travail effectué
j'ai un souci je crois cela ne s'affiche pas sur mon site
génial ca péte du feu de dieux ca merci
merci sofia tres bon hack
vraiment jolie cette mise à jour
Bkdenice
16/02/2007, 22h46
Merci,
Par contre il n'y a pas de Zone d'administration pour ce hack ?
St0o0o0N
17/02/2007, 14h08
Merci Sofia :)
Merci beaucoup je prends direct ;)
Trad turc > fr, ce sera tout ? ^^
Malcom Cry
28/02/2007, 14h58
Merci pour ce hack
kameleon62123
01/03/2007, 02h18
Salut sofia j' ai tout fait comme tu la dit mais rien en s' affiche sa retse comme avant. :/
Voici mon postbit legacy:
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<if condition="$show['announcement']">
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</td>
<else />
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-right: 0px" $post[scrolltothis]>
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px" align="$stylevar[right]">
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</td>
</if>
</tr>
<tr valign="top">
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
<if condition="$show['avatar']">
<div class="smallfont">
<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
</if>
<div class="smallfont">
<br />
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<if condition="$vboptions['enable_htnx_tag'] AND in_array(THIS_SCRIPT, array('showthread', 'showpost', 'editpost'))">
<div>
<br />
<if condition="$bbuserinfo['userid'] == $post['userid'] OR in_array($post['postid'], $hidetag['said_thanks'])"></if>
<else />
<br/>Level: <span style='font-weight:bold; color:crimson'>$showlevel [$galaga]</span><br/>
<span style='font-size:7pt; color:gray'>Vie : $hp / $maxhp </span><br/>
<div style='width:120px;align:center'>
<table cellspacing='0' cellpadding='0' width='120' border='0'>
<tr>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_left.gif' alt='' /></td>
<td width='114' height='13' class='nopad' style='line-height: 13px;background: url(images/rpg/img_backing.gif) repeat-x top left;'><img src='images/rpg/orange.gif' width="$hpf%" height='9' alt='' /><img src='images/rpg/hp.gif' height='9' alt='' /></td>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_right.gif' alt='' /></td>
</tr>
</table>
</div>
<span style='font-size:7pt; color:gray'>Magie : $mp / $maxmp</span><br />
<div style='width:120px;align:center'>
<table cellspacing='0' cellpadding='0' width='120' border='0'>
<tr>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_left.gif' alt='' /></td>
<td width='114' height='13' class='nopad' style='line-height: 13px;background: url(images/rpg/img_backing.gif) repeat-x top left;'><img src='images/rpg/green.gif' width="$mpf%" height='9' alt='' /><img src='images/rpg/mp.gif' height='9' alt='' /></td>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_right.gif' alt='' /></td>
</tr>
</table>
</div>
<span style='font-size:7pt; color:gray'>Expérience : $ep% </span><br />
<div style='width:120px;align:center'>
<table cellspacing='0' cellpadding='0' width='120' border='0'>
<tr>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_left.gif' alt='' /></td>
<td width='114' height='13' class='nopad' style='line-height: 13px;background: url(images/rpg/img_backing.gif) repeat-x top left;'><img src='images/rpg/blue.gif' width="$ep%" height='9' alt='' /><img src='images/rpg/exp.gif' height='9' alt='' /></td>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_right.gif' alt='' /></td>
</tr>
</table>
</div>
<br/>
</if>
<div>
$vbphrase[posts]: $post[posts]
</div>
<if condition="$post[field5]"><div>
Votre navigateur: <img src="images/browsers/$post[field5].gif" title="$post[field5]" align="center">
</div></if>
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>
</td>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
<else />
<td class="alt1" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
</if>
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>
<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->
<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">
<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>
<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>
<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>
</div>
<!-- / attachments -->
</if>
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<em>
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em>
</div>
<!-- / edit note -->
</if>
</td>
</tr>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
$post[onlinestatus]
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[iplogged]
</td>
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
<else />
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
</if>
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
<!-- / controls -->
</td>
</tr>
</table>
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
</table>
</div>
<!-- / post $post[postid] popup menu --
Tu utilise un postbit vertical ? Si tu modifie le template,ca doit forcément s'afficher.
kameleon62123
01/03/2007, 09h56
oui j' utilise le vertical , sa fait comme si c' était pas le bon. Rien qui change
chez moi il a falu que je le met dans postbite pour que sa marche ....pas postbite legacy
foutoire2002
01/03/2007, 12h55
merci pour ce hack
chez moi il a falu que je le met dans postbite pour que sa marche ....pas postbite legacy
Oui, c'est normal, ca dépend lequel est utilisé par ton style ;)
Svensum41
02/03/2007, 18h51
merci beaucoup pour le hack :)
blacghost
06/03/2007, 16h12
Merci beaucoup
apophyss81
12/03/2007, 20h37
Je n'ai pas trouvé, le hack est compliqué. J'ai posé la question à Burach... J'attends...
J'ai la reponse a votre souci, en fait je sais pas si c'est une version de VB qui a changé cela mais, maintenant quand on a plus de 1000 messages cela s'affiche 1 000 et en code 1 000
du coup il faut changer dans le xml la ligne 14 :
$rpglvl = str_replace(array(' ', ',', '.'), '', $post[posts]);par celle-ci :
$rpglvl = str_replace(array(' ', ',', '.',' '), '', $post[posts]);Et voila les level des plus de 1000 messages remarchent, j'y ai passé quelques heures a chercher quand meme ^^
Par contre quelqu'un a une idée de ce que representent les barres en reel ?
Merci à toi, superbe ;) je le met dans le sujet :)
nevrotiks
19/03/2007, 18h11
Merci pour le taff
ya pas une zone admin our ce hack?
ya pas une zone admin our ce hack?
Non, il n'y a pas de zone admin :)
Popperwin
21/03/2007, 18h08
Salut Sofia
je sais que le question a deja était posté mais pas de reponse clair.
Par quoi je pourrai bien remplacer les thermes :
"Vie" & "Magie" pour un forum généraliste (Pas rpg)
Merci ;)
funakoshi
21/03/2007, 21h16
voila j'ai essayé de comprendre le code (mais je suis pas assez fort en math pour comprendre le logarisme de base 10 )
// au debut $exp = l'ancienneté en jours
// pour moi 79 jours
$exp = (TIMENOW - $this->post['joindate']) / 86400; // Days Joined
// mais si l'ancienneté est inferieur ou egal à 1 jours alors anciennté = 1 jour
if ($exp<=0) { $exp = 1; }
// vire dans le nombre de posts les espaces,les virgules et les points
// pour moi 161
$rpglvl = str_replace(array(' ', ',', '.',' '), '', $post[posts]);
//divise et arrondi le nombre de post par les jours d'ancienneté
// pour moi (161/79=2,03) = 2
$ppd= round($rpglvl / $exp, 0);
//là on calcule le level qui sert plus bas pour la magie et l'experience
//alors premierement logarisme de base 10 (http://fr.wikipedia.org/wiki/Logarithme_d%C3%A9cimal) porté en puissance 3
//pour moi 10,7474195491
$level = pow (log10 ($rpglvl), 3);
//ensuite on garde et on arrondi la partie decimale floor (100 * (10.7474195491 - floor (10))); ça donne l'experience
// pour moi 74
$ep = floor (100 * ($level - floor ($level)));
// la partie entiere + 1 nous donne le niveau
// pour moi 11
$showlevel = floor ($level + 1);
//on se lance dans le calcul de la vie !!!
// on reprends $ppd (nombre de post / par ancienneté) on le divise par 6 et on l'arrondi a 1 chiffre apres la virgule
// pour moi arrondi(161/79)/6=0,3
$hpmulti =round ($ppd / 6, 1);
//on le bloque a 1 ou 1,5 si le resultat est inferieur 1 =1 si il est sup a 1,5 = 1,5
// pour moi 1
if ($hpmulti > 1.5) { $hpmulti = 1.5; }
if ($hpmulti < 1) { $hpmulti = 1; }
//alors le max de vie pour moi = 10,747 * 25 * 1 = 275
$maxhp = $level * 25 * $hpmulti;
// $hp = (nombre de post/ancienneté / 10)
// pour moi 161/79=2,03 puis 2,03/10= 0,203
$hp= $ppd / 10;
// si le nombre de post divisé par l'ancienneté, divisé par 10 est superieur ou egal a 1 alors on prends $maxhp
if ($hp >= 1) { $hp= $maxhp; }
// sinon on prends la partie entiere du produit des 2
else { $hp= floor ($hp * $maxhp); }
$hp= floor ($hp);
//pour moi 0,203*275 = 55,825 (donc 55)
$maxhp= floor ($maxhp);
// max vie 275
//donc si vous avez suivi j'ai 55/275 pour la vie !
//maintenant on calcule la taille de la barre de progression de la vie en gardant la partie entiere du resultat de ((55/275)*100) -1
// pour moi 19%
if ($maxhp <= 0) { $zhp = 1; }
else { $zhp = $maxhp; }
$hpf= floor (100 * ($hp / $zhp)) - 1;
//maintenant on attaque la magie
// (nombre de jours d'ancienneté * level (je vous rapelle log10 du nombre de post puissance 3)) / 5
// pour moi 79* 10,747 / 5 = 169,80
$maxmp= ($exp * $level) / 5;
// $mp = le nombre de post / 3
// pour moi 161/3 =53,66
$mp= $rpglvl / 3;
//rebellote de garder que la partie entiere et de creer la barre de progression
// pour moi (53,66 / 169,8 )*100 = 31,36 donc 31%
if ($mp >= $maxmp) { $mp = $maxmp; }
$maxmp = floor ($maxmp);
$mp = floor ($mp);
if ($maxmp <= 0) { $zmp = 1; }
else { $zmp = $maxmp; }
$mpf= floor (100 * ($mp / $zmp)) - 1;
// on limite les barre a un maxi de 98%
if ( $hpf >= 98 ) { $hpf = $hpf - 2; }
if ( $ep >= 98 ) { $ep = $ep - 2; }
if ( $mpf >= 98 ) { $mpf = $mpf - 2; }
//End
// ici on calcule le nombre d'etoile et leurs couleurs
// $star = ( 10.747/3)*2 = 7.64
//pour simplifier on prends la fourchette de là ou on se trouve (là entre 5 et 10) on leve le minimun 7-5=2 etoiles
// ensuite la couleur selon le niveau jaune,gris,vert,bleu et puis rouge
// VBB Galaga Pro - Created By ♥ Bé-Yêu ♥
$stars = ($level/3)*2;
// Get level
if($stars >= 20){
if($stars >= 25){$stars = 25;}
$starsc = $stars-20;
$s_ext = "red";
}elseif($stars >= 15){
$starsc = $stars-15;
$s_ext = "blue";
}elseif($stars >= 10){
$starsc = $stars-10;
$s_ext = "green";
}elseif($stars >= 5){
$starsc = $stars-5;
$s_ext = "grey";
}else{
$starsc = $stars;
$s_ext = "yellow";
}
if($starsc < 1){
$starsc = 1;
}
for($iCount=0; $iCount<$starsc; $iCount++){
$galaga .= "<img src='images/galaga/s_{$s_ext}.gif' alt='niveau'>";
}
// End
// en gros (pour simplifier ) le niveau c'est le nombre de post, et le nombre et les couleurs des etoiles aussi
//la vie c'est les posts / par l'ancienneté
// la magie c'est l'ancienneté * par le level (viens du nombre de post)
// l'experience c'est la partie decimale du level (a mon avis assez volatile et aleatoire)
si vous trouvez mieux ou des erreurs continuez a m'aider ;)
@+
un grand merci vraiment super ce hack
mais j'ai du l'installé dans le postbit pour le faire fonctionné
mai j'aimerais juste savoir si il y a un moyen de le faire apparaitre a gauche sous l'avatar et non a droite car ca fait tassé avec tout ce qui apparait a droite
si quelqu'un aurais une solution svp pour ce probleme
voila le model:
http://www.zimagez.com/miniature/forumpourlevel.jpg (http://www.zimagez.com/zimage/forumpourlevel.php)
J'ai un soucis pour installer ce hack
J'ai bien importé le xml et les images
J'ai du éditer postbit et pas postbit_legacy
j'ai rajouté le code après
<div>
$vbphrase[posts]: $post[posts]
</div>
mais malgré ça rien n'apparait. Quelqu'un peut-il m'éclairer ?
Pourquoi tu n'as pas éditer postbit_legacy comme stipulé par Sofia ?
Sinon est-ce que tu as bien vérifié que le produit et ses plugins sont bien activés dans ton gestionnaires de modules/plugins ?
parce que ds mon postbit_legacy y a pas
<div>
$vbphrase[posts]: $post[posts]
</div>
et j'ai installé le plugin donc je vois pas ou est l'erreur
parce que ds mon postbit_legacy y a pas
<div>
$vbphrase[posts]: $post[posts]
</div>
et j'ai installé le plugin donc je vois pas ou est l'erreur
Si la disposition de tes messages est vertical -> modifie le postbit_legacy
si elle est horizontale (comme sur vb-r), modifie le postbit.
Mais il faut modifier au moins un template pour insérer les variables.
Si la disposition de tes messages est vertical -> modifie le postbit_legacy
si elle est horizontale (comme sur vb-r), modifie le postbit.
Mais il faut modifier au moins un template pour insérer les variables.
En effet j'ai une position vertical, néanmoins dans postbit_legacy
j'ai ça
$vbphrase[posts]:</span> $post[posts]
mais pas
$vbphrase[posts]: $post[posts]
donc là est le problème
En effet j'ai une position vertical, néanmoins dans postbit_legacy
j'ai ça
$vbphrase[posts]:</span> $post[posts]
mais pas
$vbphrase[posts]: $post[posts]
donc là est le problème
Eh bien rajoute le code du sujet après cela :
$vbphrase[posts]:</span> $post[posts]
Le span ajouté n'est simplement qu'une misen en forme HTML, rien de plus ;)
ca ne marche pas :
<div class="postbit_field"><span class="postbit_text">
$vbphrase[posts]:</span> $post[posts]
<br/>Level: <span style='font-weight:bold; color:crimson'>$showlevel [$galaga]</span><br/>
<span style='font-size:7pt; color:gray'>Vie : $hp / $maxhp </span><br/>
<div style='width:120px;align:center'>
<table cellspacing='0' cellpadding='0' width='120' border='0'>
<tr>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_left.gif' alt='' /></td>
<td width='114' height='13' class='nopad' style='line-height: 13px;background: url(images/rpg/img_backing.gif) repeat-x top left;'><img src='images/rpg/orange.gif' width="$hpf%" height='9' alt='' /><img src='images/rpg/hp.gif' height='9' alt='' /></td>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_right.gif' alt='' /></td>
</tr>
</table>
</div>
<span style='font-size:7pt; color:gray'>Magie : $mp / $maxmp</span><br />
<div style='width:120px;align:center'>
<table cellspacing='0' cellpadding='0' width='120' border='0'>
<tr>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_left.gif' alt='' /></td>
<td width='114' height='13' class='nopad' style='line-height: 13px;background: url(images/rpg/img_backing.gif) repeat-x top left;'><img src='images/rpg/green.gif' width="$mpf%" height='9' alt='' /><img src='images/rpg/mp.gif' height='9' alt='' /></td>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_right.gif' alt='' /></td>
</tr>
</table>
</div>
<span style='font-size:7pt; color:gray'>Expérience : $ep% </span><br />
<div style='width:120px;align:center'>
<table cellspacing='0' cellpadding='0' width='120' border='0'>
<tr>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_left.gif' alt='' /></td>
<td width='114' height='13' class='nopad' style='line-height: 13px;background: url(images/rpg/img_backing.gif) repeat-x top left;'><img src='images/rpg/blue.gif' width="$ep%" height='9' alt='' /><img src='images/rpg/exp.gif' height='9' alt='' /></td>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_right.gif' alt='' /></td>
</tr>
</table>
</div>
<br/>
</div>
<if condition="$show['infraction']"><div class="postbit_field"><span class="postbit_text">$vbphrase:</span> $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
ensuite vbulletin me mets ça
L'erreur suivante s'est produite en essayant d'évaluer ce template :
[I]
La condition à la ligne 186 apparaît avoir sa fin de balise manquante (</if>). Le template ne fonctionnera pas correctement jusqu'à ce que ceci ne soit corrigé.
Ceci a probablement été provoqué par un expression conditionnelle mal formulée. Il est fortement recommandé de corriger cette erreur avant de continuer. Vous pouvez néanmoins ignorer cet avertissement et continuer.
Une condition n'est pas fermée. Peux tu mettre ton template potbit_legacy original ici, stp ?
voilà sofia,
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<if condition="$show['announcement']">
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</td>
<else />
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-right: 0px" $post[scrolltothis]>
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px" align="$stylevar[right]">
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</td>
</if>
</tr>
<tr valign="top">
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
<if condition="$show['avatar']">
<div class="smallfont">
<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
</if>
<div class="smallfont">
<br />
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
</div>
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>
</td>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
<else />
<td class="alt1" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
</if>
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>
<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->
<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">
<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>
<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>
<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>
</div>
<!-- / attachments -->
</if>
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<em>
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em>
</div>
<!-- / edit note -->
</if>
</td>
</tr>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
$post[onlinestatus]
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[iplogged]
</td>
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
<else />
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
</if>
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
<!-- / controls -->
</td>
</tr>
</table>
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
</table>
</div>
<!-- / post $post[postid] popup menu -->
Remplace le code du template par celui-ci
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<if condition="$show['announcement']">
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</td>
<else />
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-right: 0px" $post[scrolltothis]>
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px" align="$stylevar[right]">
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</td>
</if>
</tr>
<tr valign="top">
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
<if condition="$show['avatar']">
<div class="smallfont">
<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
</if>
<div class="smallfont">
<br />
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]
</div>
<br/>Level : <span style='font-weight:bold; color:crimson'>$showlevel [$galaga]</span><br/>
<span style='font-size:7pt; color:gray'>Vie : $hp / $maxhp </span><br/>
<div style='width:120px;align:center'>
<table cellspacing='0' cellpadding='0' width='120' border='0'>
<tr>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_left.gif' alt='' /></td>
<td width='114' height='13' class='nopad' style='line-height: 13px;background: url(images/rpg/img_backing.gif) repeat-x top left;'><img src='images/rpg/orange.gif' width="$hpf%" height='9' alt='' /><img src='images/rpg/hp.gif' height='9' alt='' /></td>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_right.gif' alt='' /></td>
</tr>
</table>
</div>
<span style='font-size:7pt; color:gray'>Magie : $mp / $maxmp</span><br />
<div style='width:120px;align:center'>
<table cellspacing='0' cellpadding='0' width='120' border='0'>
<tr>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_left.gif' alt='' /></td>
<td width='114' height='13' class='nopad' style='line-height: 13px;background: url(images/rpg/img_backing.gif) repeat-x top left;'><img src='images/rpg/green.gif' width="$mpf%" height='9' alt='' /><img src='images/rpg/mp.gif' height='9' alt='' /></td>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_right.gif' alt='' /></td>
</tr>
</table>
</div>
<span style='font-size:7pt; color:gray'>Expérience : $ep% </span><br />
<div style='width:120px;align:center'>
<table cellspacing='0' cellpadding='0' width='120' border='0'>
<tr>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_left.gif' alt='' /></td>
<td width='114' height='13' class='nopad' style='line-height: 13px;background: url(images/rpg/img_backing.gif) repeat-x top left;'><img src='images/rpg/blue.gif' width="$ep%" height='9' alt='' /><img src='images/rpg/exp.gif' height='9' alt='' /></td>
<td width='3' height='13' class='nopad'><img width='3' height='13' src='images/rpg/img_right.gif' alt='' /></td>
</tr>
</table>
</div>
<br/>
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>
</td>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
<else />
<td class="alt1" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
</if>
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>
<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->
<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">
<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>
<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>
<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>
</div>
<!-- / attachments -->
</if>
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<em>
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em>
</div>
<!-- / edit note -->
</if>
</td>
</tr>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
$post[onlinestatus]
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[iplogged]
</td>
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
<else />
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
</if>
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
<!-- / controls -->
</td>
</tr>
</table>
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
</table>
</div>
<!-- / post $post[postid] popup menu -->
merci infiniment sofia. Tu as trouvé l'erreur. T la meilleure
j'avoue aussi sofia est la meilleure ...
merci à elle
amitiés space:)
merci infiniment sofia. Tu as trouvé l'erreur. T la meilleureEt moi j'ai pas de remerciement, meme si mon aide etait que psychologique ? :D
oui c'est vrai des fos c'est le plus important ...
bien vu
félicitation
chez moi il a falu que je le met dans postbite pour que sa marche ....pas
voila petite précition a mettre dans le hakc d origine fo changé le nom du -legacy et mettre postbite , en nom de fichié petite précission importante pour les débutant comme moi qui ont la vb 3.6.5 si leur évitera de cherché comme moi :) bonne soiré et journé a tous :)
Je voudrais savoir si c'est possible de les modifier sur 10 maxi car j'ai modifier un peu l'allure du hack pour l'intégrer à mon postbit et j'ai un retour à la ligne après 5 étoiles.
une tit question comment ca marche le calcul !!
cad pour magie et vie ca reflete koi comme stat !!
trop joli hack
°Fred69°
20/05/2007, 14h15
il faud activer le mods car rien marche.
°Fred69°
20/05/2007, 14h24
il faud activer le mods car rien marche.
Modifier le template postbit
merci tout a fonctionner nickel chrome en sachant qu'en horizontal c'étais sur postbit que la modifie devais se faire... merci à toi sofia @++
merci a toi je vais installer ton hack
Salut, je l'ai installé sous vb 3.6.7 mais aucun succes !
Si quelqu'un à une solution.
Merci beaucoup.
Tu as modifié quel template? d apres ton screen tu dois modifié le template postbit et non le postbit_legacy qui est indiqué dans le topic de sofia :)
si je ne me trompe pas ;)
nig-team
07/06/2007, 16h05
Merci pour ce hack
slt
cool sa :) il est compatible avec vb 3.6.7 pl1 ?
Il devrait l'être normalement...
Si jamais c'est le cas tu pourrais nous le confirmer stp ?
slt
je l'est installé il a l'aire de marché reste plus que à voir s' il augmente comme il faut :)
Je pense qu'il marchera pour l'augmentation des niveaux :) donc compatible 3.6.7, question résolu :p
Merci pour ton test :)
Oui,je viens de le traduire. C'est assez rapide. Le seul hic est qu'il était en turc :D
Lol ;) C'est sur que sa aide pas à moins d'avoir des origine. Merci pour ton travail, mais je ne prends pas ;)
merci sonia , je vais enfin l'installer pour voir ce que ca donne :)
Zigomatik
09/06/2007, 23h07
Merci beaucoup Sofia pour la trad. !
Mais il n'a pas l'air de fonctionner de manière "optimale" chez moi puisque les levels ne sont pas indiqués et la précision de la jauge non plus ! Je tourne sous Vbulletin 3.6.7 et je vous ais fais un petit screen pour que ce soit plus clair .
Merci d'avance
salut
je suis sous vb 3.6.7 PL1 et sa donne sa :
Merci beaucoup Sofia pour la trad. !
Mais il n'a pas l'air de fonctionner de manière "optimale" chez moi puisque les levels ne sont pas indiqués et la précision de la jauge non plus ! Je tourne sous Vbulletin 3.6.7 et je vous ais fais un petit screen pour que ce soit plus clair .
Merci d'avanceSlt :)
tu n'aurais pas oublier d'uploader les images du hack au bon endroit ?
salut jai depasser les 2200 message :p et ca reste bloque en 5 etoile rouge
je voulais pour ca ajouter 2 etoile une de nimporte quelle couleur
et une finale multicolor clignotante
juste je voulais m'assurer des ligne de commande que je vais ajouter :p
je veux pas me casser trop la tete :D et en plus c'est pas trop urgent
donc si quelqu'in peut proposer une tite modifcation ca serai la bienvenue
Est ce que ce hack fonctionne sur le theme Chestnut (de Allan) ?
Merci
Je pense que oui, et meme si sur certains hack il n y a pas les code donner pour les modifications, il suffit de chercher un peu il s adapte :)
merci beaucoup pour ce hack mais le soucis je trouve pas
Modifier le template postbit_legacy :
es ce que c'est dans le ftp ou dans le dossier admincp
merci d avance
c'est pas un fichier
c'est dans ton pano d'admin cherche template dans la colone de gauche
c'est pas un fichier
c'est dans ton pano d'admin cherche template dans la colone de gauche
oui et ensuite je vais ou stp car je suis un peu pommer
je possede le theme tren-z pas moyen de trouver ce fichu code si quelqu un peux m aider svp sa sera sympa
<div>
$vbphrase[posts]: $post[posts]
</div>
si tu trouve pas le meme code essyer de voir kelk chose ressmablan par example a msn ou [icq] et palce le code avant comme ca tu aura le system level just en desuus des incone de icq msn aol dans ton forum
ps: essyer de respêcter les balises pour ne pas couper
merci pour ce hack et afin de renseigner les suivant qui aurait le même probleme.
si cela ne marche pas avec la modiffication dans le postbit_legacy !!! faite la moddification simplement dans le postbit ,,, c'est nickel
Comment fait-on pour le desinstaller ?
Grand_manitou
09/02/2008, 13h58
Encore une fois, ça fonctionne TOP.
Merci pour la trad et pour tout le reste !!!
LeVampirE
11/02/2008, 02h12
merci chére sofia :) je vais essyer ce hack bientot :d je le cherchais depuis longtemps
mastermind
16/03/2008, 00h47
quand j'ai installé dans mon ftp les dossier galaga rpg et apré ce dirigé vers le admincp et importer le fichier .xml alors il me reste l"étape du modification du fichier postbit_legacy alors la j'ai pas trouvé cette fichier j'ai trouvé d'autre fichiers et j'ai cherche [ <div>
$vbphrase[posts]: $post[posts]
</div> ] mais j'ai rien trouvé dans les autre fichier aider moi svp :s
LeVampirE
18/03/2008, 00h12
merci pour le hack sofia :)
mastermind
18/03/2008, 18h39
salut est-ce que ce hack marche pour la version vbulletin 3.6.8 ?
getounet
18/03/2008, 19h10
salut est-ce que ce hack marche pour la version vbulletin 3.6.8 ?
Oui il fonctionne chez moi !!!
bybybyby
mastermind
18/03/2008, 19h27
salut j'ai tous fait les étapes j'ai installé les dossier rpg et galaga dans images dans mon hebergement dans ftp apres j'ai installé la module level_système.xml et dans le template postbit_legacy j'ai trouvé ce script
$template_hook[postbit_start]
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<if condition="$show['announcement']">
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]" colspan="2">
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</td>
<else />
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-right: 0px" $post[scrolltothis]>
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px" align="$stylevar[right]">
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</td>
</if>
</tr>
<tr valign="top">
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
$template_hook[postbit_userinfo_left]
<if condition="$show['avatar']">
<div class="smallfont">
<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
</if>
<div class="smallfont">
<br />
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>
<if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if>
<div>
$vbphrase[posts]: $post[posts]</div>
</div>
$template_hook[postbit_userinfo_right_after_posts]
<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
$template_hook[postbit_userinfo_right]
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>
</td>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
<else />
<td class="alt1" id="td_post_$post[postid]" style="border-right: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
</if>
$template_hook[postbit_messagearea_start]
<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>
<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->
<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">
<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>
<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>
<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>
<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>
</div>
<!-- / attachments -->
</if>
$template_hook[postbit_signature_start]
<if condition="$post['signature']">
<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->
</if>
$template_hook[postbit_signature_end]
<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<em>
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em>
</div>
<!-- / edit note -->
</if>
</td>
</tr>
<tr>
<td class="alt2" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px">
$post[onlinestatus]
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[iplogged]
</td>
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
<else />
<td class="alt1" align="$stylevar[right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px; border-top: 0px">
</if>
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
$template_hook[postbit_controls]
<!-- / controls -->
</td>
</tr>
</table>
$template_hook[postbit_end]
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
$template_hook[postbit_user_popup]
</table>
</div>
<!-- / post $post[postid] popup menu -->
et rien dans les post j'ai rien trouvé de nouveau mon forum reste comme il est ni de level ni de rien svp aidez moi merci encore une fois
mastermind
18/03/2008, 19h36
salut encore j'ai mis le code php apres le
<div>
$vbphrase[posts]: $post[posts]
</div>
mais rien n'a marché j'ai pas trouvé de solution pour ça et j'aime beaucoup mettre ce hack de level dans mon forum :(
J'ai la version 3.6.8 et je peux pas l'utiliser , y a t'il pas un pour cette version [J'ai trop besoin de ce hack parceque j'ai un forum RPG] merci .
Billyboule
18/04/2008, 17h57
Je n'ai pas testé mais plusieurs membres ont mentionné que le hack fonctionnait sur vb3.6.8
Bonjour ,
Où je peux configurer les donées pour un memebres (lui ajouter des points de vie ... paceque j'ai un forum RPG ou on fait des combats !):blush2:
poséidon
09/11/2008, 22h57
merci cool se hack
grenouille
30/01/2009, 21h38
merci pour sa
grenouille
10/02/2009, 14h48
merci beaucoup
Bonsoir,
est ce qu'il existe une version pour 3.8.x?
Bonjour,
Non et d'après le site web le hack a été abandonné complétement (il a été retiré du téléchargement).
D'accord , merci pour votre réponse
Par contre je l'ai testé au local et ça marche à merveille (enfin pour le moment :D)
le power level hack pour 3.8.x a été repris par Megatekno mais le bonhomme refuse de le faire tourner
c'est franchement très con car ce mod c'est la cerise sur le gateau
le power level hack pour 3.8.x a été repris par Megatekno mais le bonhomme refuse de le faire tourner
c'est franchement très con car ce mod c'est la cerise sur le gateau
Bonsoir, j'apprécie pas ce style de réponse vis à vis d'un auteur de hack, qu'il décide de ne pas partager un de ses hack (car il en partage d'autres), embêtent oui ça peu l'être quand on le désire, mais en sois ce n'est pas con, juste contrarient. Mais c'est son choix.
bah j'ai rien contre lui j'lui ai toujours exprimé ma compassion quand il a perdu sa gosse mais je suis plutot blasé par sa communauté de leechers c'est tout
mersssssssssssssssssi byby
Propulsé par vBulletin™ Version 4.1.12 Copyright © 2012 vBulletin Solutions, Inc. Tous droits réservés - Version française par vBulletin-Ressources.com