Zitat: |
Original von MCCxPower
ja bei mir läuft er im 2.2 einwandfrei
schau mal in den Code der in die profile.tpl reinsoll und suche
</then></if>
</form>
</then></if>
entferne
das erste </then></if> dann stimmts.
Dann geht alles.
Für die Sprachvariablen fügste über [own] noch
# Languagepack-Export: own (export)
# Languagecode: de
# Date: 31.10.2004 12:09
# wBB Version: 2.2.1
ein dann funzen die auch.
@Autor des Hacks
Danke für das schöne Spiel.
kann man denn eine Liste zufügen
in der die Gesamtwürfe der einzelnen User mit Name angezeigt wird?
Wie bei der virtuellen Schneeballschlacht im Netz.
Man könnte dann am Ende den 3. besten Werfern nen kleinen Boardwährungsgewinn gutschreiben. |
Sorry! geht net! Kannst Du dir meine profile.tpl mal bitte bitte ansehen?
<?xml version="1.0" encoding="{$lang->items['LANG_GLOBAL_ENCODING']}"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{$lang->items['LANG_GLOBAL_DIRECTION']}" lang="{$lang->items['LANG_GLOBAL_LANGCODE']}" xml:lang="{$lang->items['LANG_GLOBAL_LANGCODE']}">
<head>
<title>$master_board_name | {$lang->items['LANG_MEMBERS_PROFILE_TITLE']}</title>
$headinclude
<script type="text/javascript">
<!--
function rating(userid) {
window.open("misc.php?action=userrating&userid="+userid+"{$SID_ARG_2ND_UN}"
, "moo", "toolbar=no,scrollbars=yes,resizable=yes,width=350,height=205");
}
function wen_geworben(userid) {
window.open("guthaben.php?action=wen_geworben&userid="+userid+"{$SID_ARG_2N
D_UN}", "moo", "toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300");
}
//-->
</script>
</head>
<body>
$header
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tablea"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr class="tablea_fc">
<td align="left"><span class="smallfont"><b><a href="index.php{$SID_ARG_1ST}">$master_board_name</a> » {$lang->items['LANG_MEMBERS_PROFILE_TITLE']}</b></span></td>
<td align="right"><span class="smallfont"><b>$usercbar</b></span></td>
</tr>
</table></td>
</tr>
</table><br />
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" style="width:{$style['tableinwidth']}" class="tableinborder">
<tr>
<td class="tabletitle" align="left" colspan="2"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr class="tabletitle_fc">
<td style="width:100%" align="left"><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_TITLE']}</b></spa
n></td>
<td style="width:200px" align="center" nowrap="nowrap"><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_CAPTION']}</b></s
pan></td>
</tr>
</table></td>
</tr>
<tr>
<td class="tablea" style="width:100%"><table style="width:100%" class="tablea_fc">
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_REGDATE']}</b></s
pan></td>
<td><span class="normalfont">$regdate</span></td>
</tr>
<tr align="left">
<td valign="top"><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_RANK']}</b></span
></td>
<td><span class="normalfont">$user_info[ranktitle] $rankimages</span></td>
</tr>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_POSTS']}</b></spa
n></td>
<td><span class="normalfont">$user_info[userposts] ({$lang->items['LANG_MEMBERS_PROFILE_POSTSPERDAY']})</span></td>
</tr>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_GUTHABEN']}</b></
span></td>
<td><span class="normalfont">$user_guthaben $waehrung</span></td>
</tr>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_KONTONUMMER']}</b
></span></td>
<td><span class="normalfont">$user_info[userid]</span></td>
</tr>
<if($wbbuserdata['a_can_guthaben_change'] == 1)>
<then>
<form name="gutedit" method="post" action="profile.php?userid=$user_info[userid]">
<input name="action" type="hidden" value="gutedit" />
<input name="sid" type="hidden" value="$session[hash]" />
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_GUTEDIT']}</b></s
pan></td>
<td><span class="normalfont"><input name="gutedit" type="radio" value="1" /> {$lang->items['LANG_MEMBERS_PROFILE_LASTSCHRIFT']} <input type="radio" name="gutedit" value="2" /> {$lang->items['LANG_MEMBERS_PROFILE_GUTSCHRIFT']}</span> <input name="send" type="submit"></td>
</tr>
<tr align="left">
<td> </td>
<td><input name="betrag" type="text" size="5" maxlength="10" class="input" /> <span class="normalfont">$waehrung</span></td>
</tr>
<tr align="left">
<td><span class="normalfont"><font color="#FF0000"><b>$gfehler</b></font></span></td>
<td><input name="grund" type="text" size="20" maxlength="50" class="input" /></td>
</tr>
</form>
</then></if>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_LASTACTIVITY']}</
b></span></td>
<td><span class="normalfont">$la_date <span class="{time}">$la_time</span></span></td>
</tr>
<tr>
<td>
<br /><br /><span class="normalfont"><font size="+1">Schneeball-Schlacht</font></span>
<br />
<if($sameuser != 1)><then>
<span class="smallfont">Du hast noch $wbbuserdata[schneevorrat] Gramm Schnee. $user_info[username] wurde <if($user_info[schneehit]==0)><then>noch</then><else>schon</else></if> $user_info[schneehit] mal getroffen.</span>
</then></if>
<form name="form1" method="post" action="./winterevent.php?action=do&sid=$session[hash]">
<span class="smallfont"><input type="hidden" name="from" value="$wbbuserdata[userid]">
<if($notenoughforsnowball != 1 && $sameuser != 1 && $opferfrown != 1 && $werferfrown != 1)><then>
<input type="radio" name="what" value="Schneeball" checked> Schneeball werfen (kostet 25 Gramm)<br />
</then></if>
<if($notenoughforsnowball == 1)><then><br />- Du hast nicht genug Schnee zum werfen.</then></if>
<if($sameuser == 1)><then><br />- Du kannst Dich nicht selber bewerfen.</then></if>
<if($opferfrown == 1)><then><br />- $user_info[username] ist eingefroren.</then></if>
<if($werferfrown == 1)><then><br />- Du bist eingefroren, warte bis Dich jemand auftaut.</then></if>
<if($notenoughfordrink != 1 && $sameuser!= 1 && $opferfrown == 1 && $werferfrown != 1)><then>
<input type="radio" name="what" value="Trinken"> heißes Getränk (kostet 200 Gramm)<br /></span>
</then></if>
<br /><br />
<input type="hidden" name="against" value="$user_info[userid]">
<if($notenoughforsnowball != 1 && $sameuser!= 1 && $werferfrown != 1)><then>
<input type="submit" value="Los!">
</then></if>
</form>
</then></if>
<form name="form10" method="post" action="./winterevent.php?action=buysnow&sid=$session[hash]">
<span class="smallfont">Schnee kaufen: <select name="buysnow"><option>$buysnow</option> </select>
Gramm. (100 Credits je 100 Gramm)</span>
<input type="hidden" name="buyer" value="$wbbuserdata[userid]">
<input type="hidden" name="opfer" value="$user_info[userid]">
<input type="submit" value="Kaufen">
</form>
<br />
<br />
<span class="normallfont"><b>Historie von $user_info[username]</b> (Nur die neuesten 20 Einträge)</span><br />
<span class="smallfont">$snow_viewbit</span><br /><br />
<span class="smallfont"><b><a href="./profile.php?userid=$user_info[userid]&action=snowhist&sid=$session[
hash]" target="_blank">Die komplette Historie</a></b></span>
</td>
<td><img src="./images/snow$user_info[schneehit].gif"></td></tr>
<if($userlocation!="")>
<then>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_LOCATION']}</b></
span></td>
<td><span class="normalfont">$userlocation</span></td>
</tr>
</then>
</if>
<if($showlastpost==1)>
<then>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_LASTPOST']}</b></
span></td>
<td><span class="normalfont"><b>» <a href="thread.php?postid=$lastpost[postid]{$SID_ARG_2ND}#post$lastpost[posti
d]">$lastpost[topic]</a></b></span><br />
<span class="smallfont">{$lang->items['LANG_MEMBERS_PROFILE_POSTED_ON']} $lastpostdate <span class="time">$lastposttime</span><br />
{$lang->items['LANG_MEMBERS_PROFILE_FORUM']} <b><a href="board.php?boardid=$lastpost[boardid]{$SID_ARG_2ND}">$lastpost[title]<
/a></b></span></td>
</tr>
</then>
</if>
<if($showlanguageinprofile==1)>
<then>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_LANGUAGE']}</b></
span></td>
<td><span class="normalfont">$languagepackname</span></td>
</tr>
</then>
</if>
<tr>
<td align="left" colspan="2"><hr size="{$style['tableincellspacing']}" class="threadline" /></td>
</tr>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_ICQ']}</b></span>
</td>
<td><span class="normalfont">$user_info[icq]</span></td>
</tr>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_AIM']}</b></span>
</td>
<td><span class="normalfont">$user_info[aim]</span></td>
</tr>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_YIM']}</b></span>
</td>
<td><span class="normalfont">$user_info[yim]</span></td>
</tr>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_MSN']}</b></span>
</td>
<td><span class="normalfont">$user_info[msn]</span></td>
</tr>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_EMAIL']}</b></spa
n></td>
<td><span class="normalfont">$useremail</span></td>
</tr>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_HOMEPAGE']}</b></
span></td>
<td><span class="normalfont">$userhomepage</span></td>
</tr>
<tr>
<td align="left" colspan="2"><hr size="{$style['tableincellspacing']}" class="threadline" /></td>
</tr>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_GENDER']}</b></sp
an></td>
<td><span class="normalfont">$gender</span></td>
</tr>
<tr>
<td align="left" colspan="2"><hr size="{$style['tableincellspacing']}" class="threadline" /></td>
</tr>
<tr>
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_GEWORBEN']}</b></
span></td>
<if($gwuser_g > 0)>
<then>
<td><span class="normalfont"><a href="java script:wen_geworben($user_info[userid])">$gwuser_g</a></span></td
>
</then>
<else>
<td><span class="normalfont">$gwuser_g</span></td>
</else>
</if>
</tr>
<tr>
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_GEWORBEN_VON']}</
b></span></td>
<td><span class="normalfont">$gwuser_v</span></td>
</tr>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_BIRTHDAY']}</b></
span></td>
<td><span class="normalfont">$birthday</span></td>
</tr>
<if($geburtstag!=00000000)><then>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_THREAD_ALTER']}</b></span></td>
<td><span class="normalfont">$alteranzeigen</span></td>
</tr>
</then></if>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_STERNE']}</b></sp
an></td>
<td><span class="normalfont">$sterne</span></td>
</tr>
<tr>
<td align="left" colspan="2"><hr size="{$style['tableincellspacing']}" class="threadline" /></td>
</tr>
<tr align="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_XQUIZ_GESAMTE']}:
</b></span></td>
<td><span class="normalfont">$xquiz_gesamt</span></td>
</tr>
<tr align ="left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_XQUIZ_RICHTIGE']}
:</b></span></td>
<td><span class="normalfont">$xquiz_richtig</span></td>
</tr>
<tr align = "left">
<td><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_XQUIZ_FALSCHE']}:
</b></span></td>
<td><span class="normalfont">$xquiz_falsch</span></td>
</tr>
<if($profilefields)>
<then>
<tr>
<td align="left" colspan="2"><hr size="{$style['tableincellspacing']}" class="threadline" /></td>
</tr>
</then>
</if>
$profilefields
</table></td>
<td class="tableb" style="width:200px" align="center"><span class="smallfont"><a href="jgs_galerie_userbilder.php?userid=$user_info[userid]&bildid=&Aktuelle
UserSeite=1&sid=$session[hash]"><b>[meine Galerie]</b></a><br /><br /></span>$useravatar<br /><span class="normalfont">$user_text</span>$userrating<br />$userlevel<p><if($user_online==1)>
<then><img src="{$style['imagefolder']}/user_online.gif" border="0" alt="{$lang->items['LANG_MEMBERS_USERONLINE']}" title="{$lang->items['LANG_MEMBERS_USERONLINE']}" /></then>
<else><img src="{$style['imagefolder']}/user_offline.gif" border="0" alt="{$lang->items['LANG_MEMBERS_USEROFFLINE']}" title="{$lang->items['LANG_MEMBERS_USEROFFLINE']}" /></else>
</if></p><img src="{$style['imagefolder']}/spacer.gif" width="159" height="1" border="0" alt="" title="" /></td>
</tr>
<tr>
<td class="tabletitle" colspan="2"><table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr class="tabletitle_fc">
<td align="left"><span class="normalfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_CONTACT']}</b></s
pan></td>
<td align="right">
<if($user_info['showemail']==0 && $user_info['usercanemail']==1)>
<then><a href="formmail.php?userid=$user_info[userid]{$SID_ARG_2ND}"><img src="{$style['imagefolder']}/email.gif" border="0" alt="{$lang->items['LANG_MEMBERS_SENDEMAIL']}" title="{$lang->items['LANG_MEMBERS_SENDEMAIL']}" /></a></then>
</if>
<if($user_info['receivepm']==1 && $wbbuserdata['can_use_pms']==1)><then><a href="pms.php?action=newpm&userid=$user_info[userid]{$SID_ARG_2ND}"><im
g src="{$style['imagefolder']}/pm.gif" border="0" alt="{$lang->items['LANG_MEMBERS_PM']}" title="{$lang->items['LANG_MEMBERS_PM']}" /></a></then></if>
<a href="search.php?action=user&userid=$user_info[userid]{$SID_ARG_2ND}"><
img src="{$style['imagefolder']}/search.gif" border="0" alt="{$lang->items['LANG_MEMBERS_SEARCH']}" title="{$lang->items['LANG_MEMBERS_SEARCH']}" /></a>
<a href="usercp.php?action=buddy&add=$user_info[userid]{$SID_ARG_2ND}"><im
g src="{$style['imagefolder']}/homie.gif" border="0" alt="{$lang->items['LANG_MEMBERS_BUDDY']}" title="{$lang->items['LANG_MEMBERS_BUDDY']}" /></a></td>
</tr>
</table></td>
</tr>
</table>
<if(checkAdminPermissions("a_can_users_edit") || checkAdminPermissions("a_can_users_delete"))>
<then>
<p align="center"><span class="smallfont"><b>{$lang->items['LANG_MEMBERS_PROFILE_ADMINOPTIONS']}</b
>
<if(checkAdminPermissions("a_can_users_edit"))><then><a href="acp/index.php?url=users.php%3Faction%3Dedit%26userid%3D$user_info[use
rid]" target="_blank">{$lang->items['LANG_MEMBERS_PROFILE_USEREDIT']}</a></then><
/if>
<if(checkAdminPermissions("a_can_users_edit") && checkAdminPermissions("a_can_users_delete"))><then> | </then></if>
$footer
</body>
</html>