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.1 - 2.3 Bereich (https://pommes.forenoase.de//board.php?boardid=321)
---------- Hacks/Addons wbb2.1-2.3 (https://pommes.forenoase.de//board.php?boardid=406)
----------- Addons WBB 2.1 - 2.3 (https://pommes.forenoase.de//board.php?boardid=323)
------------ Support -> cash v2.2 (https://pommes.forenoase.de//thread.php?threadid=30822)


Geschrieben von Aussie am 14.11.2008 um 19:24:

 

$boardid = 57;
$prefix = "";
$topic = "Cashgewinner";
$iconid = 16;
$threadstarterid = 119;


$threadstartername = "Cashinfo";
$lastposter = "";
$message = "$master_board_name
gratuliert $wbbuserdata[username]
zum Gewinn der 1000 in dieser Cashrunde";

topic: threadtitel
mach doch:
$topic = "$wbbuserdata[username] hat die 1000 gewonnen"



Geschrieben von Cyberstar0 am 14.11.2008 um 20:28:

 

Hi!

Ok dank Dir. Werd ich gleich mal testen

mfg
Cybi



Geschrieben von Aussie am 17.11.2008 um 20:04:

 

........ist richtig so

habs bei mir auch dorthin geändert OK



Geschrieben von Iceman67 am 21.10.2009 um 14:00:

 

Hi

Hab das Cash 2.2 Installiert. hatte aber kein 1.5 drauf. nu fehlwen mir die fragen.
was kann ich tun??? denk mal der rest is alles da

LG
Iceman67



Geschrieben von Aussie am 21.10.2009 um 16:45:

 

fragen gibt man selber ein
am anfang leichte und dann schwerere



Geschrieben von Iceman67 am 07.04.2010 um 11:19:

 

Mal ne Frage

Cashgewinner postet der aber werden nicht aNGEZEIGT IM fORUM:
hab Cash als forum, Postings sind srin aber werden nicht als beiträge angezeit. Steht immer noch bisher keiner.

Was kann ich tun das die angezeigt werden, weil sind ja da



Geschrieben von Aussie am 07.04.2010 um 16:12:

 

die rich foren id configurieren

ok



Geschrieben von Iceman67 am 07.04.2010 um 16:30:

 

// ####### neuen thread erstellen #######
// $threadstarterid,$allowsmilies,$allowbbcode,$allowhtml
$boardid = 46;
$prefix = "";
$topic = "Cashgewinner";
$iconid = 1;
$threadstarterid = 3;
$threadstartername = "Buden-Waechter";
$lastposter = "";
$message = "$master_board_name
gratuliert $wbbuserdata[username]
zum Gewinn der 1000 in dieser Cashrunde";
$time=time();
$visible=1 ;

Also hab das so eingegeben. Die board ID ist 46. Das osting ist ja da, nur halt nicht sichtbar



Geschrieben von Aussie am 07.04.2010 um 16:58:

 

wie meinst das

Zitat:
Also hab das so eingegeben. Die board ID ist 46. Das osting ist ja da, nur halt nicht sichtbar



Geschrieben von Iceman67 am 07.04.2010 um 17:51:

 

Schau mal, bei cashgame ist kein eintrag sichtbar.
http://icemans-spielbude.de/wbb2/index.php

Klix ich aber auf Cashgame seh ich auf der nächstenseite die 2 vorhandenen Postings.



Geschrieben von Aussie am 07.04.2010 um 19:15:

 

..als gast seh ich nix :-(



Geschrieben von Iceman67 am 07.04.2010 um 21:14:

 

Genausoviel siehste eingelogt. wenn du auf Cashquiz klixt siehste dann die beiden postings. werden nur nit angezeigt wie man sieht. hab da keine erklärung für warums nit angezeigt wird
Dachte würd am spiel liegen



Geschrieben von Aussie am 08.04.2010 um 17:52:

 

sorry..ohne was zu sehen weiss i ned weiter
tut es denn wenn beendet ins board posten.....alte fragen



Geschrieben von alfie am 08.04.2010 um 19:36:

 

Da fehlt auch einiges beim Posting, es wird nur der Thread und das Posting erstellt. Es gehört dazu, das Board zu aktualisieren, den Postcounter des Users der postet und die Statistik

alfie



Geschrieben von Aussie am 08.04.2010 um 20:39:

 

bei mir sieht es so aus>:


php:
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:
// ins Board Posten
        require_once('acp/lib/class_parse.php');
        // ####### neuen thread erstellen #######
        // $threadstarterid,$allowsmilies,$allowbbcode,$allowhtml
        $boardid 57;
        $prefix "";
        $topic "Cashgewinner $wbbuserdata[username]";
        $iconid 16;
                $threadstarterid 119; 

        $threadstartername "Cashinfo";
        $lastposter "";
        $message "$master_board_name
        gratuliert $wbbuserdata[username] 
        zum Gewinn der 1000 in dieser Cashrunde";
         $time=time();
         $visible=;
        // thread erstellen
        $db->query("INSERT INTO bb".$n."_threads (boardid,prefix,topic,iconid,starttime,starterid,starter,lastposttime,lastposterid,lastposter,pollid,important,visible) VALUES ('$boardid','".addslashes($prefix)."','".addslashes($topic)."','$iconid','$time','$threadstarterid','".addslashes($threadstartername)."','$time','$threadstarterid','".addslashes($threadstartername)."','$poll_id','$important','$visible')");
        $threadid $db->insert_id();
        // insert post
        $db->query("INSERT INTO bb".$n."_posts (threadid,userid,username,iconid,posttopic,posttime,message,allowsmilies,allowhtml,allowbbcode,allowimages,showsignature,ipaddress,visible) VALUES ".
            "('$threadid','$threadstarterid','".addslashes($threadstartername)."','$iconid','".addslashes($topic)."','$time','".addslashes($message)."','$allowsmilies','$allowhtml','$allowbbcode','$allowimages','".intval($_POST['showsignature'])."','".addslashes($ip_address)."','$visible')");
            $postid $db->insert_id();

                // boardinfo updaten
        $db->unbuffered_query("UPDATE bb".$n."_boards SET threadcount=threadcount+1, postcount=postcount+1, lastthreadid='$threadid', lastposttime='$time', lastposterid='$threadstarterid', lastposter='".addslashes($threadstartername)."' WHERE boardid IN ($boardid)"1);

                // threadcount und postcount updaten
        $db->unbuffered_query("UPDATE bb".$n."_stats SET threadcount=threadcount+1, postcount=postcount+1"1);
        // -----E N D E posten-------------------------------



Geschrieben von Pommes2 am 08.04.2010 um 21:21:

 

Hier kannste erkennen das bei dir was fehlt Smile
Ist jetzt aus dem Knuffelspiel

php:
1:
2:
3:
4:
5:
6:
7:
8:
$this->db->query("INSERT INTO bb".$this->n."_threads set boardid='".$this->config[15]."',topic='".addslashes($this->knuffel_betreff)."',starttime='$time',starterid='$this->config[14]',starter='".addslashes($userbotname)."',lastposttime='$time',lastposterid='".$this->config[14]."',lastposter='".addslashes($userbotname)."',visible='1',closed='".$this->config[16]."'");
        $threadid $this->db->insert_id();
        $this->db->query("INSERT INTO bb".$this->n."_posts set threadid='".$threadid."',userid='".$this->config[14]."',username='".addslashes($userbotname)."',posttopic='".addslashes($this->knuffel_betreff)."',posttime='$time',message='".addslashes($this->knuffel_msg)."',ipaddress='".addslashes($REMOTE_ADDR)."',visible='1'");
        $postid $this->db->insert_id();
        $board_post=$this->db->query_first("select parentlist from bb".$this->n."_boards where boardid='".$this->config[15]."'");
        $s_board$this->config[15];
        $this->db->unbuffered_query("UPDATE bb".$this->n."_boards SET threadcount=threadcount+1,postcount=postcount+1,lastthreadid='".$threadid."', lastposttime='".$time."', lastposterid='".$this->config[14]."', lastposter='".$userbotname."' WHERE boardid IN (".$board_post[parentlist].",".$s_board.")",1);
        $this->db->query("UPDATE bb".$this->n."_users SET userposts=userposts+1 WHERE userid = '".$this->config[14]."'");



Geschrieben von alfie am 09.04.2010 um 08:17:

 

@ Aussie

Hier im Download sieht der Teil des Postings in der cash.php so aus:

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:
          // ins Board Posten
		require_once('acp/lib/class_parse.php');
		// ####### neuen thread erstellen #######
		// $threadstarterid,$allowsmilies,$allowbbcode,$allowhtml
		$boardid = 57;
		$prefix = "";
		$topic = "Cashgewinner";
		$iconid = 16;

		$threadstartername = "Cashinfo";
		$lastposter = "";
		$message = "$master_board_name
		gratuliert $wbbuserdata[username] 
		zum Gewinn der 1000 in dieser Cashrunde";
		 $time=time();
		 $visible=1 ;
		// thread erstellen
		$db->query("INSERT INTO bb".$n."_threads (boardid,prefix,topic,iconid,starttime,starterid,starter,lastposttime,lastposterid,lastposter,pollid,important,visible) VALUES ('$boardid','".addslashes($prefix)."','".addslashes($topic)."','$iconid','$time','$threadstarterid','".addslashes($threadstartername)."','$time','$threadstarterid','".addslashes($threadstartername)."','$poll_id','$important','$visible')");
		$threadid = $db->insert_id();
		// insert post
		$db->query("INSERT INTO bb".$n."_posts (threadid,userid,username,iconid,posttopic,posttime,message,allowsmilies,allowhtml,allowbbcode,allowimages,showsignature,ipaddress,visible) VALUES ".
			"('$threadid','$threadstarterid','".addslashes($threadstartername)."','$iconid','".addslashes($topic)."','$time','".addslashes($message)."','$allowsmilies','$allowhtml','$allowbbcode','$allowimages','".intval($_POST['showsignature'])."','".addslashes($ip_address)."','$visible')");
			$postid = $db->insert_id();
		// -----E N D E posten-------------------------------


Da fehlt also ein Teil!

alfie


Forensoftware: Burning Board 2.3.6, entwickelt von WoltLab GmbH