Seite 1 von 1

Anfängerfrage - Attachment-mod

Verfasst: 08.03.2004 18:35
von Micha2010
Hallo zusammen,

ich versuche gerade den attachmentmod einzubauen, bereits bei der ertsen Änderung habe ich eine Frage:

brace= ) ] }

Code: Alles auswählen

#-----[ FIND ]---------------------------------------------
# around line 563
			update_post_stats($mode, $post_data, $forum_id, $topic_id, $post_id, $user_id);
		}

# 
#-----[ AFTER, ADD ]--------------------------------------- 
# the Line have to be added AFTER the closing brace
		$attachment_mod['posting']->insert_attachment($post_id);
oder auch diese Änderung:

- was heisst "after the closing brace"?

Version 1:

Code: Alles auswählen

			update_post_stats($mode, $post_data, $forum_id, $topic_id, $post_id, $user_id);
		}$attachment_mod['posting']->insert_attachment($post_id);
oder:

Code: Alles auswählen

			update_post_stats($mode, $post_data, $forum_id, $topic_id, $post_id, $user_id)$attachment_mod['posting']->insert_attachment($post_id);;
		}
wie ist es gemeint?

oder auch hier: hinter ] oder hinter } ?

Code: Alles auswählen

#-----[ FIND ]---------------------------------------------
# around line 171
	$board_config[$row['config_name']] = $row['config_value'];
}

# 
#-----[ AFTER, ADD ]-------------------------------------- 
# After the closing brace
include($phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx);

danke für die Hilfe!

gruß
Micha

Verfasst: 08.03.2004 20:33
von AWSW
Heißt "nach der schließenden Klammer"...

}