- phpBB2


##############################################################
## :
## MOD :
## ,
## .
##
## :
## : 2
## : 3
##
## posting.php
## viewforum.php
## templates/subSilver/viewforum_body.tpl
##
## : 3
##
## forum/includes/class_who_posted.php
## forum/language/lang_english/lang_who_posted.php
## forum/templates/subSilver/who_posted_body.tpl
##
## - -
##
##############################################################
## , Back Up
##############################################################
#
#-----[ ]------------------------------------------------
#
root\includes\class_who_posted.php
forum/includes/class_who_posted.php

root\language\lang_bulgarian\ang_who_posted.php
forum/language/lang_bulgarian/lang_who_posted.php

root\templates\subSilver\who_posted_body.tpl
forum/templates/subSilver/who_posted_body.tpl

#
#-----[ ]------------------------------------------------
#
posting.php

#
#-----[ ]------------------------------------------------
#
else if ( $mode == 'smilies' )
{
generate_smilies('window', PAGE_POSTING);
exit;
}

#
#-----[ ]------------------------------------------
#
//-- mod : Who Posted ------------------------------------------------------------
//-- add
elseif ( $mode == 'who_posted' )
{
require( "{$phpbb_root_path}includes/class_who_posted.$phpEx" );
new who_posted( $topic_id );
exit;
}
//-- fin mod : Who Posted --------------------------------------------------------

#
#-----[ ]------------------------------------------------
#
viewforum.php

#
#-----[ ]------------------------------------------------
#
'REPLIES' => $replies,

#
#-----[ ]------------------------------------------
#
-- mod : Who Posted ------------------------------------------------------------
//-- add
'U_WHO_POSTED' => append_sid( "posting.$phpEx?mode=who_posted&" . POST_TOPIC_URL . "=$topic_id" ),
//-- fin mod : Who Posted --------------------------------------------------------


#
#-----[ ]------------------------------------------------
#
forum/templates/subSilver/viewforum_body.tpl

#
#-----[ ]------------------------------------------------
#
{topicrow.REPLIES}

#
#-----[ ]------------------------------------------------
#
<a href="#" onclick="window.open('{topicrow.U_WHO_POSTED}','','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=500,height=300'); return false;">{topicrow.REPLIES}</a>

#
#-----[ ]--------------------------------
#
- -
- . !




/ /
: blacknever
18:49 28-04-2011
phpbb3?
: Botzo
19:26 07-05-2011
phpBB3 .
1