MEETyA
Titel: Diamonds-Hack
Version: 1.1
Beschreibung: Hallo,
dieser Hack ermöglicht es den Usern sich gegenseitig Diamanten zu schenken. Dies kann man durch einfaches drücken eines Icons im jeweiligem Profil des Users machen. Jeder User hat nur 5 Diamanten die er verschenken kann.
Ich wünsche euch viel Spaß mit diesem kleinem Add-On
3.12.06:
Habe ein paar Schönheitsfehler behoben

Falls ihr updaten wollt, müsst ihr jediglich die Templates überschreiben
----
weiter zum Download
Kirki
Guten Abend.^^
Habe deinen Hack mal eingebaut und habe ein kleines Problem. Verschenken
etc. alles klappt, nur der Diamant wird danach nicht angezeigt (also im Profil
des Users, der ihn erhalten hat).
Habe ich was übersehen ? Währe cool wenn du helfen könntest.
MEETyA
Meinst du da steht dann immernoch die selbe Anzahl wie vorher auch?
Ein Link wäre evtl Hilfreich
Kirki
Hat sich erledigt, siehe auch Kiss Hack. Funzt alles bestens.
Ancipitia
vielen dank für den hack, eigebaut und alles bestens!
General Sebi
Hab da ein kleines problem. wenn man im profil auf WOHER klickt passiert nichts. Kann mir jemand helfen?
MfG
General Sebi
Blackstar5
Suche
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
|
<script language="Javascript">
<!--
function dia() {
window.open("profile.php?userid=$user_info[userid]&action=diamond_who&sid=$session[hash]", "dia", "toolbar=no,scrollbars=yes,resizable=no,width=600,height=300");
}
//-->
</script>
|
|
Und ersetze mit
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
|
<script language="Javascript">
<!--
function who() {
window.open("profile.php?userid=$user_info[userid]&action=diamond_who&sid=$session[hash]", "who", "toolbar=no,scrollbars=yes,resizable=no,width=600,height=300");
}
//-->
</script>
|
|
@ MEETya: Ich verlange gehalt

Bin ja hier dein Supporter
Achtung: MEETya's Install.txt ist nicht richtig, nehmt die folgende!
Ancipitia
ich habs ersetzt, die funktion "woher" geht aber immer noch nicht.
Blackstar5
Dann hast du noch mehr falsch gemacht und nicht nach der Install.txt gearbeitet, bei mir ging es sofort nach dieser kleinen änderrung...
Ancipitia
nein. ich habs nun paar mal kontrolliert, aus- und wieder eingebaut. nüscht. aber ist mir jetzt auch egal, hab ihn ausgebaut, mir reichts nämlich jetzt.
Blackstar5
Welche Hacks haste sonst noch drin?
Oder gib mir einfach deine Profile.php und deine Profile.tpl und ich machs dir +.+
Ancipitia
vielen dank für dein angebot. aber ich habe nun den bier ausgeben hack drin. ist sowieso besser, als diamanten.
Curly
Bei mir klappt das Woher auch nicht und es steht so dran
5[WOHER] oder ist das mit Absicht so o,o? das es schon 5 gibt XD
Kirki
Zitat: |
Original von MEETyA
Titel: Diamonds-Hack
Version: 1.1
Beschreibung: Hallo,
Jeder User hat nur 5 Diamanten die er verschenken kann.
|
Jeder User startet mit 5 Diamanten, daher du die von Anfang an hast zeigt er dir auch nicht an woher die sind.
x.0RäNscH
bei mir wurde nicht mit 5 Diamanten gestartet? xDD
LG,
oränsch
Blackstar5
Wäre toll wenn mal eine URL kommt und wenn du sagst ob eine Fehlermeldung kommt, wann eingebaut usw?
x.0RäNscH
Habs eh wieder gelöscht, weil ich den Diamanten hässlich fand

xDD Ich weiß, man könnte das Bild ändern aber.. der Hack bringt nicht viel und ich find ihn deshalb 'unsinnig'..
LG
Maggan22
Huhu,
bei mir geht es auch nicht mit dem "woher"
Hier die Forenadresse:
Mein Forum
Hier mein Profile.tpl
code: |
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
|
{!DOCTYPE}
<html>
<head>
<title>$master_board_name - Profil von $user_info[username]</title>
$headinclude
<script language="Javascript">
<!--
function dia() {
window.open("profile.php?userid=$user_info[userid]&action=diamond_who&sid=$session[hash]", "dia", "toolbar=no,scrollbars=yes,resizable=no,width=600,height=300");
}
//-->
</script>
</head>
<body id="bg">
$header
<tr bgcolor="{tablecolora}" id="tablea">
<td><table cellpadding=0 cellspacing=0 border=0 width="100%">
<tr>
<td><smallfont><b><a href="index.php?sid=$session[hash]">$master_board_name</a> » Profil von $user_info[username]</b></font></td>
<td align="right"><smallfont><b>$usercbar</b></font></td>
</tr>
</table></td>
</tr>
</table><br>
<table cellpadding=4 cellspacing=1 border=0 width="{tableinwidth}" bgcolor="{tableinbordercolor}">
<tr bgcolor="{tabletitlecolor}" id="tabletitle">
<td colspan=2><table width="100%" border=0 cellpadding=0 cellspacing=0>
<tr>
<td width="100%"><normalfont color="{fontcolorsecond}"><b>Profil von $user_info[username]</b></font></td>
<td width="200" align="center" nowrap><normalfont color="{fontcolorsecond}"><b>Avatar/Infotext</b></font></td>
<tr>
</table></td>
</tr>
<tr bgcolor="{tablecolora}" id="tablea">
<td width="100%"><table width="100%">
<tr>
<td><normalfont><B>Registriert am:</B></font></td>
<td><normalfont>$regdate</font></td>
</tr>
<tr>
<td><normalfont><B>Zuletzt online:</B></font></td>
<td><normalfont>$la_d $la_t</font></td>
</tr>
<tr>
<td valign="top"><normalfont><B>Rang:</B></font></td>
<td><normalfont>$user_info[ranktitle] $rankimages</font></td>
</tr>
<tr>
<td><normalfont><B>Beiträge:</B></font></td>
<td><normalfont>$user_info[userposts] ($postperday pro Tag)</font></td>
</tr>
<tr>
<td><normalfont><B>Diamanten:</B></font></td>
<td><normalfont>$user_info[diamonds] <a href="javascript:wio();">[WOHER]</a></font></td>
</tr>
<tr>
<td colspan=2><hr width="100%" color="{tableinbordercolor}" noShade size=1></td>
</tr>
<tr>
<td><normalfont><B>ICQ Nummer:</B></font></td>
<td><normalfont>$user_info[icq]</font></td>
</tr>
<tr>
<td><normalfont><B>AIM Screenname:</B></font></td>
<td><normalfont>$user_info[aim]</font></td>
</tr>
<tr>
<td><normalfont><B>YIM Screenname:</B></font></td>
<td><normalfont>$user_info[yim]</font></td>
</tr>
<tr>
<td><normalfont><B>MSN Screenname:</B></font></td>
<td><normalfont>$user_info[msn]</font></td>
</tr>
<tr>
<td><normalfont><B>eMail:</B></font></td>
<td><normalfont>$useremail</font></td>
</tr>
<tr>
<td><normalfont><B>Homepage:</B></font></td>
<td><normalfont>$userhomepage</font></td>
</tr>
<tr>
<td colspan=2><hr width="100%" color="{tableinbordercolor}" noShade size=1></td>
</tr>
<tr>
<td><normalfont><b>Geschlecht:</b></font></td>
<td><normalfont>$gender</font></td>
</tr>
<tr>
<td><normalfont><b>Geburtstag:</b></font></td>
<td><normalfont>$birthday</font></td>
</tr>
$alteranzeigen
$hr
$profilefields
<tr>
<td colspan=2><hr width="100%" color="{tableinbordercolor}" noShade size=1></td>
</tr>
<tr>
<td><normalfont><b>Aktionen:</b></font></td>
<td><normalfont></font></td>
</tr>
<tr>
<td><normalfont></font></td>
<td><normalfont><a href="profile.php?userid=$user_info[userid]&action=diamond_give&sid=$session[hash]">Diamanten schenken</a> <img src="{imagefolder}/diamond.png" border="0" alt="" title="Diamanten schenken" /></font></td>
</tr>
</table></td>
<td width="200" align="center" nowrap>$useravatar<br><normalfont>$user_text</font><p>$user_online</p></td>
</tr>
<tr bgcolor="{tabletitlecolor}" id="tabletitle">
<td colspan=2><table width="100%" border=0 cellpadding=0 cellspacing=0>
<tr>
<td><normalfont color="{fontcolorsecond}"><B>Kontaktaufnahme:</B></font>
<td align="right">$btn_email $btn_pm $btn_search <a href="usercp.php?action=buddy&add=$user_info[userid]&sid=$session[hash]"><img src="{imagefolder}/homie.gif" border=0 alt="Nehmen Sie $user_info[username] in Ihre Freundesliste auf"></a></td>
</tr>
</table></td>
</tr>
</table>
$footer
</body>
</html>
|
|
Vielleicht sieht da jemand einen Fehler im Einbau...
Danke für`s nachsehen
Neverdie
So für alle denn bei [WOHER] nicht funktioniert sucht bei
profile.tpl
code: |
1:
2:
3:
4:
5:
6:
7:
|
<script language="Javascript">
<!--
function who() {
window.open("profile.php?userid=$user_info[userid]&action=diamond_who&sid=$session[hash]", "who", "toolbar=no,scrollbars=yes,resizable=no,width=600,height=300");
}
//-->
</script> |
|
und ersetzt es mit
code: |
1:
2:
3:
4:
5:
6:
7:
|
<script language="Javascript">
<!--
function wio() {
window.open("profile.php?userid=$user_info[userid]&action=diamond_who&sid=$session[hash]", "who", "toolbar=no,scrollbars=yes,resizable=no,width=600,height=300");
}
//-->
</script> |
|
dannach müsste es funktionieren
MfG Neverdie
poshie
Sie können keinen Diamanten verschenken.
Aus einem der folgenden Gründe können Sie keine Diamanten verschenken:
* Sie verfügen über keinen Diamanten, den Sie verschenken könnten
* Sie selber sind *xxx*.
* Es besteht ein Fehler im System.
* Sie sind kein Mitglied dieses Forums oder Sie sind nicht eingeloggt.