Hacks4wbb by HFW™ (https://pommes.forenoase.de//index.php)
- WBB Bereich (https://pommes.forenoase.de//board.php?boardid=20)
--- wbb 2 (https://pommes.forenoase.de//board.php?boardid=393)
------ WBB 2.0 Bereich (https://pommes.forenoase.de//board.php?boardid=258)
---------- Hacks/Addons wbb2.0 (https://pommes.forenoase.de//board.php?boardid=397)
----------- WBB 2.0 Hacks (https://pommes.forenoase.de//board.php?boardid=261)
------------ Guthaben_Hangmann Erweiterung Version 2 (https://pommes.forenoase.de//thread.php?threadid=9784)


Geschrieben von tobito am 26.04.2003 um 21:19:

cool habe ein riesenproblem...

...wenn ich die guthaben einstellungen im ACP vornehmen will und diese dann speichern kommt folgender Fehler:

SQL-DATABASE ERROR

Database error in WoltLab Burning Board: Invalid SQL: UPDATE bb1_guthaben SET waehrung='Coins', threadguthaben='10', postguthaben='20', registerguthaben='50', usetitgut='1000', boardpreis='80000', werben='800', titelonoff='1', boardonoff='1', werbenonoff='1', poweruser='1500', pugroupid='4', puseronoff='0', quiz='30', quiz_eintrag='50', quiz_falsch='40', quizantwortonoff='1', quizfrageonoff='1', quizfalschonoff='1' lotto='1000', lottoonoff='1', lottoday='2', hangmanns='50', hangmannl='100', hangmannn='50' WHERE gutid='1'
mysql error: Fehler in der Syntax bei 'lotto='1000', lottoonoff='1', lottoday='2', hangm' in Zeile 20.
mysql error number: 1064
Date: 26.04.2003 @ 21:19
Script: /forum/acp/admin_guthaben.php?do=send&sid=
Referer:


meine admin_guthaben.php (der Anfang davon), da ich denke, dass es daran liegt:

<?php
require ("global.php");
isAdmin();

if($do == "send") {
$db->query("UPDATE bb".$n."_guthaben SET waehrung='".$daten['1']."',
threadguthaben='".$daten['2']."',
postguthaben='".$daten['3']."',
registerguthaben='".$daten['4']."',
usetitgut='".$daten['5']."',
boardpreis='".$daten['6']."',
werben='".$daten['7']."',
titelonoff='".$daten['8']."',
boardonoff='".$daten['9']."',
werbenonoff='".$daten['10']."',
poweruser='".$daten['11']."',
pugroupid='".$daten['12']."',
puseronoff='".$daten['13']."',
quiz='".$daten['18']."',
quiz_eintrag='".$daten['19']."',
quiz_falsch='".$daten['20']."',
quizantwortonoff='".$daten['21']."',
quizfrageonoff='".$daten['22']."',
quizfalschonoff='".$daten['23']."'
lotto='".$daten['14']."',
lottoonoff='".$daten['15']."',
lottoday='".$daten['16']."',
hangmanns='$hangmanns',
hangmannl='$hangmannl',
hangmannn='$hangmannn'
WHERE gutid='1'");
header("Location: admin_guthaben.php?sid=$session[hash]");
} else {
$row=$db->query_first("SELECT * FROM bb".$n."_guthaben WHERE gutid='1'");
if($row[titelonoff] == 1) {

Danke danke für die Hilfe!
Thomas



Geschrieben von anny am 27.04.2003 um 15:42:

 

hallo genau den gleichen fehler habe ich auch.
bitte um hilfe
pugroupid='".$daten['12']."',
puseronoff='".$daten['13']."',
lotto='".$daten['14']."',
lottoonoff='".$daten['15']."',
lottoday='".$daten['16']."'
hangmanns='$hangmanns',
hangmannl='$hangmannl',
hangmannn='$hangmannn',



Geschrieben von snoopy2002 am 27.04.2003 um 16:07:

 

@tobito
Zitat:

quizfrageonoff='".$daten['22']."',
quizfalschonoff='".$daten['23']."'
lotto='".$daten['14']."',


Hinter quizfalschonoff="'.$daten['23'].'" fehlt ein KOMMA !!!!

@anny:
Bei Dir fehlt er hinter:
lottoday='".$daten['16']."'

mfg.
Snoopy



Geschrieben von anny am 27.04.2003 um 16:10:

 

jau danke.

habe ihn gerade auch selbst gefunden

wollte es gerade berichten aber du warst schneller

DANKE



Geschrieben von Dragosius am 07.05.2003 um 21:56:

 

Kann mir jemand sagen, wo man jetzt eigentlich die neueste Hangman-Version runterladen kann?

[fade]Danke[/fade]



Geschrieben von jwi am 08.05.2003 um 08:53:

 

Bei
http://wbb-help.de/forum/



Geschrieben von mini_78 am 11.05.2003 um 06:21:

 

gibts den fürs 1.2 auch schon? :help:



Geschrieben von jwi am 11.05.2003 um 09:23:

 

Nö glaube nicht



Geschrieben von Tempel am 22.01.2004 um 19:09:

 

funktioniert diese erweiterung noch mit dem guthaben hack 1.9.1

habe eben ma geschaut und wollte zuerst das template machen

und da ist mir aufgefallen das ich diese befehle die ich suchen soll garnicht habe

z.b
guthaben.tpl

suche

php:
1:
2:
3:
4:
5:
<tr>
<td nowrap width="100%" id="tableb" bgcolor="{tablecolorb}"><smallfont>Gutschrift pro Posting:</font></td>
<td nowrap id="tableb" align="right" bgcolor="{tablecolorb}"><smallfont>$row[postguthaben$row[waehrung]</font></td>
<td nowrap id="tablea" align="right" bgcolor="{tablecolora}"><smallfont color="green">Aktiviert!</font></td>
</tr>



und das habe ich dort stehen

php:
1:
2:
3:
4:
5:
<tr class="tabletitle"> 
          <td nowrap="nowrap" width="100%"><span class="smallfont"><b>{$lang->items['LANG_GUTHABEN_SHOP_NAME']}</b></span></td>
          <td nowrap="nowrap" align="center"><span class="smallfont"><b>{$lang->items['LANG_GUTHABEN_SHOP_PREIS']}</b></span></td>
          <td nowrap="nowrap" align="center"><span class="smallfont"><b>{$lang->items['LANG_GUTHABEN_SHOP_STATUS']}</b></span></td>
        </tr>



Geschrieben von DanteZ am 09.01.2007 um 20:23:

 

tja ich wollt den hack gerne einbauen, aber leider kann ich ihn nicht downloaden

hat jemand mal bitte einen funktionierenden link

mfg



Geschrieben von Terror am 09.01.2007 um 21:29:

 

der hack ist über 4 jahre alt großes Grinsen

nimm am besten den hangman vom wbb-coderforum oder von numerale, die laufen beide mit dem guthabenhack.

gruss
terror


Forensoftware: Burning Board 2.3.6, entwickelt von WoltLab GmbH