PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : level hack


Molok
20.08.2002, 20:26
wo muss ich diesen code einsetzen damit er mir unter dem ava erscheint ?

<?php

echo "<br>
<font face=verdana size=1><p> <b>Level: $showlevel<br>
Member ID: $post[userid]</b><br>
HP: $hp / $maxhp
<table width=\"100\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" bordercolor=\"#000000\">
<tr>
<td bgcolor=\"#9999FF\"><img src=\"http://www.4-design.ch/imagesspezial/levels/bhg.gif\" width=\"$hpf%\" height=\"9\"><img src=\"images/bar/bhb.gif\" width=\"1\" height=\"9\"></td>
</tr>
</table>
MP: $mp / $maxmp
<table width=\"100\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" bordercolor=\"#000000\">
<tr>
<td bgcolor=\"#9999FF\"><img src=\"http://www.4-design.ch/imagesspezial/levels/images/bar/bmg.gif\" width=\"$mpf%\" height=\"9\"><img src=\"images/bar/bmb.gif\" width=\"1\" height=\"9\"></td>
</tr>
</table>
Exp: $ep%
<table width=\"100\" border=\"1\" cellspacing=\"0\" cellpadding=\"0\" bordercolor=\"#000000\">
<tr>
<td bgcolor=\"#9999FF\"><img src=\"http://www.4-design.ch/imagesspezial/levels/images/bar/bxg.gif\" width=\"$ep%\" height=\"9\"><img src=\"images/bar/bxb.gif\" width=\"1\" height=\"9\"></td>
</tr><font>";



?>

Maddrax
20.08.2002, 20:58
ist doch gut erklärt

suche das:
$post[avatar]<p>
<smallfont>

füge dann das
<br>
<p> <b>Level: $showlevel<br>
Member ID: $post[userid]</b><br>
HP: $hp / $maxhp
<table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
<tr>
<td bgcolor="#9999FF"><img src="images/bar/bhg.gif" width="$hpf%" height="9"><img src="images/bar/bhb.gif" width="1" height="9"></td>
</tr>
</table>
MP: $mp / $maxmp
<table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
<tr>
<td bgcolor="#9999FF"><img src="images/bar/bmg.gif" width="$mpf%" height="9"><img src="images/bar/bmb.gif" width="1" height="9"></td>
</tr>
</table>
Exp: $ep%
<table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
<tr>
<td bgcolor="#9999FF"><img src="images/bar/bxg.gif" width="$ep%" height="9"><img src="images/bar/bxb.gif" width="1" height="9"></td>
</tr></table>
ein

nimm diesen text, da in der beschreibung ein </table> fehlt

Molok
20.08.2002, 21:01
problem ist das in der 2.2.6 showthread
dieser teil
$post[avatar]<p>
<smallfont>
gar nicht mehr existiert

Znaper
20.08.2002, 21:03
Original geschrieben von Molok
problem ist das in der 2.2.6 showthread
dieser teil
$post[avatar]<p>
<smallfont>
gar nicht mehr existiert


Dann probier doch mal das Template postbit! ;)


mfg Znaper

Molok
20.08.2002, 21:06
könntest du mir den genauen teil des ortes hinschreiben wo es rein muss. weil ich hab soviel ahnung von php das ich auch die augen zumachen könnte.

Znaper
20.08.2002, 21:11
Original geschrieben von Molok
könntest du mir den genauen teil des ortes hinschreiben wo es rein muss. weil ich hab soviel ahnung von php das ich auch die augen zumachen könnte.


Du brauchst den obigen Code in keine PHP-Datei einfügen, sondern in das Template postbit.

Entferne alles aus dem Template postbit und füge folgendes ein:


<table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0"><tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%"><!-- spacer -->

<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr>
<td bgcolor="$post[backcolor]" width="175" valign="top" nowrap>
<a name="post$post[postid]"></a>
$post[firstnewinsert]
<normalfont><b>$post[username]</b></normalfont><br>
<smallfont>$post[usertitle]</smallfont><br>
$post[avatar]<p>
<smallfont>
<br>
<p> <b>Level: $showlevel<br>
Member ID: $post[userid]</b><br>
HP: $hp / $maxhp
<table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
<tr>
<td bgcolor="#9999FF"><img src="images/bar/bhg.gif" width="$hpf%" height="9"><img src="images/bar/bhb.gif" width="1" height="9"></td>
</tr>
</table>
MP: $mp / $maxmp
<table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
<tr>
<td bgcolor="#9999FF"><img src="images/bar/bmg.gif" width="$mpf%" height="9"><img src="images/bar/bmb.gif" width="1" height="9"></td>
</tr>
</table>
Exp: $ep%
<table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000">
<tr>
<td bgcolor="#9999FF"><img src="images/bar/bxg.gif" width="$ep%" height="9"><img src="images/bar/bxb.gif" width="1" height="9"></td>
</tr></table>
Registriert seit: $post[joindate]<br>
Wohnort: $post[field2]<br>
Beiträge: $post[posts]</smallfont></td>

<td bgcolor="$post[backcolor]" width="100%" valign="top">
<smallfont>$post[icon] <b>$post[title]</b></smallfont>
<p><normalfont>$post[message]</normalfont></p>
$post[attachment]
<p>$post[signature]</p>
<p>$post[editedby]</p>
<p align="right"><smallfont><a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Diesen Beitrag einem Moderator melden</a> | $post[iplogged]</smallfont></p>
</td>
</tr>
<tr>
<td bgcolor="$post[backcolor]" width="175" height="16" nowrap><smallfont>$post[foldericon]
$post[postdate] <font color="{timecolor}">$post[posttime]</font></smallfont></td>

<td bgcolor="$post[backcolor]" width="100%" valign="middle" height="16">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td><smallfont>$onlinestatus
$post[profile] $post[pmlink] $post[useremail] $post[homepage] $post[search] $post[buddy]
<!-- $ post[icqicon] --> <!-- $ post[aimicon] --> <!-- $ post[yahooicon] -->
</smallfont></td>
<td align="right" nowrap><smallfont>
<a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]"><img src="{imagesfolder}/edit.gif" border="0" alt="Beitrag bearbeiten/löschen"></a>
<a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]"><img src="{imagesfolder}/quote.gif" border="0" alt="Zitieren"></a>
</smallfont></td>
</tr>
</table>
</td>
</tr>
</table>
</td></tr></table>

<!-- spacer --></td><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td></tr></table>




mfg Znaper

Molok
20.08.2002, 21:15
Kannst du mir sagen wo ich dieses postbit Template finde?

Znaper
20.08.2002, 21:27
Bei allen anderen Templates in Deinem Admin Control Panel.
Linke Seite im Nav Menü, nach ganz unten scrollen! ;)


mfg Znaper