Seite 1 von 1

Fehler im Points Mod... bitte hilft mir :-((

Verfasst: 11.06.2003 00:27
von punker

Code: Alles auswählen

Warning: Missing argument 7 for user_notification() in /home/www/htdocs/windelbabys.net/test-forum/includes/functions_post.php on line 587

Warning: Cannot modify header information - headers already sent by (output started at /home/www/htdocs/windelbabys.net/test-forum/includes/functions_post.php:587) in /home/www/htdocs/windelbabys.net/test-forum/posting.php on line 633

Warning: Cannot modify header information - headers already sent by (output started at /home/www/htdocs/windelbabys.net/test-forum/includes/functions_post.php:587) in /home/www/htdocs/windelbabys.net/test-forum/includes/page_header.php on line 472

Warning: Cannot modify header information - headers already sent by (output started at /home/www/htdocs/windelbabys.net/test-forum/includes/functions_post.php:587) in /home/www/htdocs/windelbabys.net/test-forum/includes/page_header.php on line 474

Warning: Cannot modify header information - headers already sent by (output started at /home/www/htdocs/windelbabys.net/test-forum/includes/functions_post.php:587) in /home/www/htdocs/windelbabys.net/test-forum/includes/page_header.php on line 475

Hallo !!

Hab da fehler im Points Mod.. ich finde ihn leider nicht könnte mir da einer helfen bei ???

Forumlink - www.windelbabys.net/testforum/index.php

User: Tester
Passwort: test

Danke schon mal im Vorraus!!

cu Punker

PS: gibt es einen Shop Mod wo man Punkte einlösen kann??

sorry falsche URL

Verfasst: 11.06.2003 02:00
von punker
sorry falsche URL

Forumlink - www.windelbabys.net/test-forum/index.php

cu Steff

Verfasst: 11.06.2003 17:34
von Toddo
suche:

Code: Alles auswählen

 global $userdata, $user_ip;
ersetze:

Code: Alles auswählen

global $userdata, $user_ip, $post_info;
suche:

Code: Alles auswählen

      if( $board_config['points_post'] ) 
      { 
         $points = abs( ( $mode == 'newtopic' ) ? $board_config['points_topic'] : $board_config['points_reply'] ); 

         if( $userdata['session_logged_in'] ) 
         { 
            $sql = "UPDATE " . USERS_TABLE . " 
                  SET user_points = user_points + $points 
                  WHERE user_id = $userdata[user_id]"; 
            if( !$db->sql_query($sql) ) 
            { 
               message_die(GENERAL_ERROR, 'Could not update user points', '', __LINE__, __FILE__, $sql); 
            } 
         } 
      }
ersetze:

Code: Alles auswählen

if ($board_config['points_post'] && !$post_info['points_disabled'])
		{
			$points = abs(($mode == 'newtopic') ? $board_config['points_topic'] : $board_config['points_reply']);

			if ($userdata['user_id'] != ANONYMOUS)
			{
				add_points($userdata['user_id'], $points);
			}
		}
so steht es zumindest in meiner Anleitung zum Mod. Welche Version verwendest Du? Ich hab die 2.0.0!

Verfasst: 11.06.2003 18:40
von punker
hab die Version 1.1.1

wo hast du 2.0.0 her ?

Verfasst: 11.06.2003 20:35
von Toddo
http://bbmod.sourceforge.net/index.php?mode=mod&id=2

Dann bau den alten erstmal wieder aus und ersetze ihn gleich durch 2.0.0.! :wink: Läuft bei mir auch alles ohne Probleme. Ihr hast Du mal den Link: http://www.gogotalk.de