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);
- 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);
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 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