Ik had zo'n mod in phpBB2, die deed het perfect. Was ook maar een kleintje... misschien is dat om te zetten? Ik heb daar zelf helaas te weinig kennis voor
Code: Selecteer alles
##############################################################
## MOD Title: Time & Date in Quote
## MOD Author: Clubby
## MOD Description: This mod will display the original date and time in the quote msg
## example:
## (original) Clubby wrote:
## msg here
## (modded) Clubby @ Fr 02-04-2004 22:00 wrote:
## msg here
## MOD Version: 1.0.0
## MOD Compatibility: 2.0.6->2.0.8
##
## Installation Level: Easy
## Installation Time: 1 Minute
## Files To Edit: 1
## posting.php
##
## Included Files: 0
##
##############################################################
##############################################################
## Special thnx to: Thoul (phpbbhacks.com)
##
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------------
#
posting.php
#
#-----[ FIND ]------------------------------------------------
#
$select_sql = ( !$submit ) ? ", t.topic_title, p.enable_bbcode, p.enable_html, p.enable_smilies, p.enable_sig, p.post_username, pt.post_subject, pt.post_text, pt.bbcode_uid, u.username, u.user_id, u.user_sig" : '';
#
#-----[ REPLACE WITH ]----------------------------------------
#
$select_sql = ( !$submit ) ? ", t.topic_title, p.enable_bbcode, p.enable_html, p.enable_smilies, p.enable_sig, p.post_username, p.post_time, pt.post_subject, pt.post_text, pt.bbcode_uid, u.username, u.user_id, u.user_sig" : '';
#
#-----[ FIND ]------------------------------------------------
#
if ( $mode == 'quote' )
{
$orig_word = array();
$replacement_word = array();
obtain_word_list($orig_word, $replace_word);
#
#-----[ AFTER ADD ]------------------------------------------------
#
$whitespacer = " @ ";
#
#-----[ FIND ]------------------------------------------------
#
$msg_date = create_date($board_config['default_dateformat'], $postrow['post_time'], $board_config['board_timezone']);
#
#-----[ REPLACE WITH ]----------------------------------------
#
$msg_date = create_date($board_config['default_dateformat'], $post_info['post_time'], $board_config['board_timezone']);
#
#-----[ FIND ]----------------------------------
#
$message = '[quote="' . $quote_username . '"]' . $message . '[/quote]';
#
#-----[ REPLACE WITH ]------------------------------------------------
#
$message = '[quote="' . $quote_username . $whitespacer . $msg_date . '"]' . $message . '[/quote]';
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM