Iniţial , descărcaţi MODul (cele mai sigure site-uri cu MODuri sunt http://www.phpbb.com/mods/ si http://phpbbhacks.com/ ). După care deschideţi fişierul de instalare al MODului (de obicei un fişier de extensie .txt sau.mod) şi urmati instrucţiunile ce vi se precizează.
1) Acţiunea COPY :
Dacă, într-un MOD, veţi vedea ceva de genul acesta :
Cod: Selectaţi tot
#
#-----[ COPY ]------------------------------------------
#
copy file.php to file.php
copy file.tpl to templates/subSilver/file.tpl
Cod: Selectaţi tot
#
#-----[ COPIAZÄ‚ ]------------------------------------------
#
copiază fişier.php în fişier.php
copiază fişier.tpl în templates/subSilver/fişier.tpl
2) Acţiunea OPEN :
Aceasta este prima acţiune ce trebuie făcută înaintea editării propriu-zise a fişierelui respectiv .
Cod: Selectaţi tot
#
#-----[ OPEN ]------------------------------------------
#
common.php
Cod: Selectaţi tot
#
#-----[ DESCHIDE ]------------------------------------------
#
common.php
3) Acţiunea FIND :
După acţiunea OPEN, aceasta este cea mai utilizată deoarece trebuie să cauţi un anumit cod înainte să editezi acel fişier.
Cod: Selectaţi tot
#
#-----[ FIND ]------------------------------------------
# around line 184 (nu e obligatoriu să apară)
//
// Show 'Board is disabled' message if needed.
//
Cod: Selectaţi tot
#
#-----[ CAUTÄ‚ ]------------------------------------------
# cam la linia 184
//
// Show 'Board is disabled' message if needed.
//
4) Acţiunea BEFORE ADD:
În fişierul de instalare al MODului poţi vedea :
Cod: Selectaţi tot
#
#-----[ BEFORE, ADD ]--------------------------------------
#
include($phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx);
Cod: Selectaţi tot
#
#-----[ ÎNAINTE , ADAUGÄ‚ ]--------------------------------------
#
include($phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx);
Cod: Selectaţi tot
include($phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx); // -> Test to add before
//
// Show 'Board is disabled' message if needed. -> Text to search
//
5) Acţiunea AFTER ADD :
Cod: Selectaţi tot
#
#-----[ AFTER, ADD ]------------------------------------------
#
include($phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx);
Cod: Selectaţi tot
#
#-----[ DUPÄ‚, ADAUGÄ‚ ]------------------------------------------
#
include($phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx);
Exemplu :
Cod: Selectaţi tot
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/' . $lang_file . '.' . $phpEx); // -> Textul găsit după căutare
include($phpbb_root_path . 'attach_mod/attachment_mod.'.$phpEx); // -> Textul ce trebuie adăugat .
Cod: Selectaţi tot
#
#-----[ REPLACE WITH ]------------------------------------------
#
<form>
Cod: Selectaţi tot
#
#-----[ ÎNLOCUIEŞTE CU ]------------------------------------------
#
<form>

Dacă aveţi alte MODuri instalate pe forum, atunci fiţi atenţi cu această funcţie !
7) Acţiunea IN-LINE FIND :
Din nou, acţiunea este "înrudită" cu acţiunea FIND .
Cod: Selectaţi tot
#
#-----[ IN LINE FIND ]------------------------------------------
#
t.topic_title,
Cod: Selectaţi tot
#
#-----[ 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" : '';
#
#-----[ IN-LINE FIND ]------------------------------------------
#
t.topic_title,
8 ) Acţiunea IN-LINE AFTER, ADD :
Arată ca acest cod :
Cod: Selectaţi tot
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
t.topic_desc,
Cod: Selectaţi tot
#
#-----[ ÎN ACEASTÄ‚ LINIE, ADAUGÄ‚ ]------------------------------------------
#
t.topic_desc,
Acţiunea este folosita impreună cu acţiunile FIND si IN-LINE FIND -
Exemplu :
Cod: Selectaţi tot
#
#-----[ 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" : '';
#
#-----[ IN-LINE FIND ]------------------------------------------
#
t.topic_title,
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
t.topic_desc,
Cod: Selectaţi tot
#
#-----[ CAUTÄ‚]------------------------------------------
#
$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" : '';
#
#-----[ ÎN ACEAŞI LINIE, CAUTÄ‚ ]------------------------------------------
#
t.topic_title,
#
#-----[ ÎN ACEAŞI LINIE, DUPÄ‚, ADAUGÄ‚ ]------------------------------------------
#
t.topic_desc,
Cod: Selectaţi tot
$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" : '';
Cod: Selectaţi tot
t.topic_title,
Cod: Selectaţi tot
t.topic_desc,
Cod: Selectaţi tot
$select_sql = ( !$submit ) ? ", t.topic_title, t.topic_desc, 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" : '';
Este acelaşi lucru ca în IN-LINE AFTER, ADD doar că trebuie să adăugaţi codul înainte de codul pe care l-aţi găsit , nu după.
Cod: Selectaţi tot
#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------
#
, $topic_desc
Cod: Selectaţi tot
#
#-----[ FIND ]------------------------------------------
#
prepare_post($mode, $post_data, $bbcode_on, $html_on, $smilies_on, $error_msg, $username, $bbcode_uid, $subject, $message, $poll_title, $poll_options, $poll_length);
#
#-----[ IN-LINE FIND ]------------------------------------------
#
$poll_length)
#
#-----[ IN-LINE BEFORE, ADD ]------------------------------------------
#
$topic_desc,
Cod: Selectaţi tot
#
#-----[ CAUTÄ‚ ]------------------------------------------
#
prepare_post($mode, $post_data, $bbcode_on, $html_on, $smilies_on, $error_msg, $username, $bbcode_uid, $subject, $message, $poll_title, $poll_options, $poll_length);
#
#-----[ ÎN ACEASTÄ‚ LINIE, CAUTÄ‚ ]------------------------------------------
#
$poll_length)
#
#-----[ ÎN ACEASTÄ‚ LINIE, ÎNAINTE, ADAUGÄ‚ ]------------------------------------------
#
$topic_desc,
Cod: Selectaţi tot
prepare_post($mode, $post_data, $bbcode_on, $html_on, $smilies_on, $error_msg, $username, $bbcode_uid, $subject, $message, $poll_title, $poll_options, $poll_length);
Cod: Selectaţi tot
$poll_length)
Cod: Selectaţi tot
$topic_desc,
Cod: Selectaţi tot
prepare_post($mode, $post_data, $bbcode_on, $html_on, $smilies_on, $error_msg, $username, $bbcode_uid, $subject, $message, $poll_title, $poll_options, $topic_desc, $poll_length);
Aceaqsta este acţiunea ce trebuie aplicată pentru modificarea bayei de date (adăugarea unui câmp, adăugarea unei tabele, editarea tabelelor, etc).
Cod: Selectaţi tot
#
#-----[ SQL ]------------------------------------------
#
ALTER TABLE phpbb_topics ADD topic_desc varchar(255) DEFAULT '' AFTER topic_title
11) Acţiunea SAVE/CLOSE ALL FILES :
Aceasta este ultima acţiune. Odata ce aţi făcut toate modificările necesare, salvaţi şi închideţi fişierele, după care uploadaţi-le pe forumul dvs. phpBB. Verifică-ţi forumul pentru a te asigura că ai făcut modificarile corect.

Cu gândul că am fost pe înţelesul tuturor , vă urez o zi excelentă !
Numai bine !
