اضافه كردن لينك به كنترل پانل ادمين( معرفي هك phpbb )
با سلام
Add ACP Links
بوسيله اين هك مي توانيد هر لينكي را كه بخواهيد يه كنترل پانل ادمين خود اضافه كنيد .
ابتدا فايل مورد نظر را دريافت كنيد و محتويات را در ميان فايل هاي خود كپي كنيد .
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
دستورالعمل نصب هك :
کد:
##############################################################
## MOD Title: add_ACP_links
## MOD Author: wicher <http://www.detecties.com/phpbb2018>
##
##
## MOD Description: This mod adds links into your ACP,
## you can easy define them yourself in the included file.
##
## MOD Version: 1.0.1
##
## Installation Level: Easy
## Installation Time: 1 Minutes
## Files To Edit: language/lang_admin.php
## Included Files: admin_links.php
##############################################################
## For Security Purposes, Please Check: http://www.phpbbhacks.com for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbbhacks.com
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ EDIT ]------------------------------------------
#
open the included file admin_links.php and add the links you want in your ACP
#
#-----[ SAVE/CLOSE ]------------------------------------------
#
admin_links.php
#
#-----[ COPY ]------------------------------------------
#
copy admin_links.php to admin/admin_links.php
#
#-----[ OPEN ]------------------------------------------
#
language/lang_admin.php
#
#-----[ FIND ]------------------------------------------
#
$lang['Styles'] = 'Styles Admin';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['Extra_links'] = 'Extra Links';
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
ترجمه شده توسط : mohsen khan
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
موفق باشيد
محسن
مدل اتومبيل شما چيست ؟( معرفي هك phpbb )
با سلام
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
بوسيله اين هك مي توانيد فيلدي را در پرفايل كاربران خود اضافه كنيد تا انها مدل اتومبيل خود را بنويسند !!!!.
دستورالعمل نصب هك :
کد:
###################################################################################
##
## ---- Title: Add info-car to profile
## ---- Version: 0.0.1
## Author: hobo < portal@hacksphpbb.ru > http://www.hacksphpbb.ru
##
## Description: Add info-car to profile (mark, model, year, engine, wheel, trans, color, url_foto)
##
## Files to edit: 8
## admin/admin_users.php
## language/lang_english/lang_main.php
## includes/usercp_viewprofile.php
## includes/usercp_register.php
## includes/usercp_avatar.php
## templates/xxx/admin/user_edit_body.tpl
## templates/xxx/profile_add_body.tpl
## templates/xxx/profile_view_body.tpl
##
###################################################################################
##
## Installation/Author Notes:
## First always backup the files that you're going to edit.
##
## This hacks adds a new column to your 'user' table.
##
###################################################################################
#
#-----[ SQL ]-------------------------------------------
#
# You may have to change your database prefix
ALTER TABLE phpbb_users ADD user_car_mark VARCHAR(255) AFTER user_interests;
ALTER TABLE phpbb_users ADD user_car_model VARCHAR(255) AFTER user_car_mark;
ALTER TABLE phpbb_users ADD user_car_year VARCHAR(255) AFTER user_car_model;
ALTER TABLE phpbb_users ADD user_car_engine VARCHAR(255) AFTER user_car_year;
ALTER TABLE phpbb_users ADD user_car_wheel VARCHAR(255) AFTER user_car_engine;
ALTER TABLE phpbb_users ADD user_car_trans VARCHAR(255) AFTER user_car_wheel;
ALTER TABLE phpbb_users ADD user_car_color VARCHAR(255) AFTER user_car_trans;
ALTER TABLE phpbb_users ADD user_car_foto VARCHAR(255) AFTER user_car_foto;
##
###################################################################################
#
#-----[ OPEN ]------------------------------------------
#
# language/lang_english/lang_main.php
#
#-----[ FIND ]---------------------------------------------------
#
$lang['Interests'] = 'Èíòåðåñû';
#
#-----[ ADD BELOW ]---------------------------------------------------
#
$lang['Car'] = 'Auto';
$lang['Car_Mark'] = 'Mark auto';
$lang['Car_Model'] = 'Model auto';
$lang['Car_Year'] = 'Year auto';
$lang['Car_Engine'] = 'Engine auto';
$lang['Car_Wheel'] = 'Wheel auto';
$lang['Car_Trans'] = 'Trans auto';
$lang['Car_Color'] = 'Color auto';
$lang['Car_Foto'] = 'URL to foto';
#
#-----[ OPEN ]------------------------------------------
#
# includes/usercp_viewprofile.php
#
#-----[ FIND ]---------------------------------------------------
#
'INTERESTS' => ( $profiledata['user_interests'] ) ? $profiledata['user_interests'] : ' ',
#
#-----[ ADD BELOW ]---------------------------------------------------
#
'CAR_MARK' => ( $profiledata['user_car_mark'] ) ? $profiledata['user_car_mark'] : ' ',
'CAR_MODEL' => ( $profiledata['user_car_model'] ) ? $profiledata['user_car_model'] : ' ',
'CAR_YEAR' => ( $profiledata['user_car_year'] ) ? $profiledata['user_car_year'] : ' ',
'CAR_ENGINE' => ( $profiledata['user_car_engine'] ) ? $profiledata['user_car_engine'] : ' ',
'CAR_WHEEL' => ( $profiledata['user_car_wheel'] ) ? $profiledata['user_car_wheel'] : ' ',
'CAR_TRANS' => ( $profiledata['user_car_trans'] ) ? $profiledata['user_car_trans'] : ' ',
'CAR_COLOR' => ( $profiledata['user_car_color'] ) ? $profiledata['user_car_color'] : ' ',
'CAR_FOTO' => ( $profiledata['user_car_foto'] ) ? $profiledata['user_car_foto'] : ' ',
'L_CAR' => $lang['Car'],
'L_CAR_MARK' => $lang['Car_Mark'],
'L_CAR_MODEL' => $lang['Car_Model'],
'L_CAR_YEAR' => $lang['Car_Year'],
'L_CAR_ENGINE' => $lang['Car_Engine'],
'L_CAR_WHEEL' => $lang['Car_Wheel'],
'L_CAR_TRANS' => $lang['Car_Trans'],
'L_CAR_COLOR' => $lang['Car_Color'],
'L_CAR_FOTO' => $lang['Car_Foto'],
#
#-----[ OPEN ]------------------------------------------
#
# includes/usercp_register.php
#
#-----[ FIND ]---------------------------------------------------
#
$strip_var_list = array('username' => 'username', 'email' => 'email', 'icq' => 'icq', 'aim' => 'aim', 'msn' => 'msn', 'yim' => 'yim', 'website' => 'website', 'location' => 'location', 'occupation' => 'occupation', 'interests' => 'interests');
#
#-----[ IN-LINE FIND ]---------------------------------------------------
#
'interests'
#
#-----[ IN-LINE ADD ]---------------------------------------------------
#
, 'car_mark' => 'car_mark', 'car_model' => 'car_model', 'car_year' => 'car_year', 'car_engine' => 'car_engine', 'car_wheel' => 'car_wheel', 'car_trans' => 'car_trans', 'car_color' => 'car_color', 'car_foto' => 'car_foto'
#
#-----[ FIND ]---------------------------------------------------
#
validate_optional_fields($icq, $aim, $msn, $yim, $website, $location, $occupation, $interests, $signature);
#
#-----[ IN-LINE FIND ]---------------------------------------------------
#
$interests
#
#-----[ IN-LINE ADD ]---------------------------------------------------
#
, $car_mark, $car_model, $car_year, $car_engine, $car_wheel, $car_trans, $car_color, $car_foto
#
#-----[ FIND (1st occurence) ]---------------------------------------------------
#
$interests = stripslashes($interests);
#
#-----[ ADD BELOW ]---------------------------------------------------
#
$car_mark = stripslashes($car_mark);
$car_model = stripslashes($car_model);
$car_year = stripslashes($car_year);
$car_engine = stripslashes($car_engine);
$car_wheel = stripslashes($car_wheel);
$car_trans = stripslashes($car_trans);
$car_color = stripslashes($car_color);
$car_foto = stripslashes($car_foto);
#
#-----[ FIND ]---------------------------------------------------
#
$sql = "UPDATE " . USERS_TABLE . "
SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) ."', user_icq = '" . str_replace("\'", "''", $icq) . "', user_website = '" . str_replace("\'", "''", $website) . "', user_occ = '" . str_replace("\'", "''", $occupation) . "', user_from = '" . str_replace("\'", "''", $location) . "', user_interests = '" . str_replace("\'", "''", $interests) . "', user_sig = '" . str_replace("\'", "''", $signature) . "', user_sig_bbcode_uid = '$signature_bbcode_uid', user_viewemail = $viewemail, user_aim = '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = $attachsig, user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_notify_pm = $notifypm, user_popup_pm = $popuppm, user_timezone = $user_timezone, user_dateformat = '" . str_replace("\'", "''", $user_dateformat) . "', user_lang = '" . str_replace("\'", "''", $user_lang) . "', user_style = $user_style, user_active = $user_active, user_actkey = '" . str_replace("\'", "''", $user_actkey) . "'" . $avatar_sql . "
#
#-----[ IN-LINE FIND ]---------------------------------------------------
#
$interests) . "'
#
#-----[ IN-LINE ADD ]---------------------------------------------------
#
, user_car_mark = '" . str_replace("\'", "''", $car_mark) . "', user_car_model = '" . str_replace("\'", "''", $car_model) . "', user_car_year = '" . str_replace("\'", "''", $car_year) . "', user_car_engine = '" . str_replace("\'", "''", $car_engine) . "', user_car_wheel = '" . str_replace("\'", "''", $car_wheel) . "', user_car_trans = '" . str_replace("\'", "''", $car_trans) . "', user_car_color = '" . str_replace("\'", "''", $car_color) . "', user_car_foto = '" . str_replace("\'", "''", $car_foto) . "'
#
#-----[ FIND ]---------------------------------------------------
#
$sql = "INSERT INTO " . USERS_TABLE . " (user_id, username, user_regdate, user_password, user_email, user_icq, user_website, user_occ, user_from, user_interests, user_sig, user_sig_bbcode_uid, user_avatar, user_avatar_type, user_viewemail, user_aim, user_yim, user_msnm, user_attachsig, user_allowsmile, user_allowhtml, user_allowbbcode, user_allow_viewonline, user_notify, user_notify_pm, user_popup_pm, user_timezone, user_dateformat, user_lang, user_style, user_level, user_allow_pm, user_active, user_actkey)
VALUES ($user_id, '" . str_replace("\'", "''", $username) . "', " . time() . ", '" . str_replace("\'", "''", $password) . "', '" . str_replace("\'", "''", $email) . "', '" . str_replace("\'", "''", $icq) . "', '" . str_replace("\'", "''", $website) . "', '" . str_replace("\'", "''", $occupation) . "', '" . str_replace("\'", "''", $location) . "', '" . str_replace("\'", "''", $interests) . "', '" . str_replace("\'", "''", $signature) . "', '$signature_bbcode_uid', $avatar_sql, $viewemail, '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', '" . str_replace("\'", "''", $yim) . "', '" . str_replace("\'", "''", $msn) . "', $attachsig, $allowsmilies, $allowhtml, $allowbbcode, $allowviewonline, $notifyreply, $notifypm, $popuppm, $user_timezone, '" . str_replace("\'", "''", $user_dateformat) . "', '" . str_replace("\'", "''", $user_lang) . "', $user_style, 0, 1, ";
#
#-----[ IN-LINE FIND ]---------------------------------------------------
#
user_interests
#
#-----[ IN-LINE ADD ]---------------------------------------------------
#
, user_car_mark, user_car_model, user_car_year, user_car_engine, user_car_wheel, user_car_trans, user_car_color, user_car_foto
#
#-----[ IN-LINE FIND ]---------------------------------------------------
#
$interests) . "'
#
#-----[ IN-LINE ADD ]---------------------------------------------------
#
, '" . str_replace("\'", "''", $car_mark) . "', '" . str_replace("\'", "''", $car_model) . "', '" . str_replace("\'", "''", $car_year) . "', '" . str_replace("\'", "''", $car_engine) . "', '" . str_replace("\'", "''", $car_wheel) . "', '" . str_replace("\'", "''", $car_trans) . "', '" . str_replace("\'", "''", $car_color) . "', '" . str_replace("\'", "''", $car_foto) . "'
#
#-----[ FIND (2nd occurence) ]---------------------------------------------------
#
$interests = stripslashes($interests);
#
#-----[ ADD BELOW ]---------------------------------------------------
#
$car_mark = stripslashes($car_mark);
$car_model = stripslashes($car_model);
$car_year = stripslashes($car_year);
$car_engine = stripslashes($car_engine);
$car_wheel = stripslashes($car_wheel);
$car_trans = stripslashes($car_trans);
$car_color = stripslashes($car_color);
$car_foto = stripslashes($car_foto);
#
#-----[ FIND ]---------------------------------------------------
#
$interests = $userdata['user_interests'];
#
#-----[ ADD BELOW ]---------------------------------------------------
#
$car_mark = $userdata['user_car_mark'];
$car_model = $userdata['user_car_model'];
$car_year = $userdata['user_car_year'];
$car_engine = $userdata['user_car_engine'];
$car_wheel = $userdata['user_car_wheel'];
$car_trans = $userdata['user_car_trans'];
$car_color = $userdata['user_car_color'];
$car_foto = $userdata['user_car_foto'];
#
#-----[ FIND ]---------------------------------------------------
#
display_avatar_gallery($mode, $avatar_category, $user_id, $email, $current_email, $coppa, $username, $email, &$new_password, &$cur_password, $password_confirm, $icq, $aim, $msn, $yim, $website, $location, $occupation, $interests, $signature, $viewemail, $notifypm, $popuppm, $notifyreply, $attachsig, $allowhtml, $allowbbcode, $allowsmilies, $allowviewonline, $user_style, $user_lang, $user_timezone, $user_dateformat, $userdata['session_id']);
#
#-----[ IN-LINE FIND ]---------------------------------------------------
#
$user_dateformat
#
#-----[ IN-LINE ADD ]---------------------------------------------------
#
, $car_mark, $car_model, $car_year, $car_engine, $car_wheel, $car_trans, $car_color, $car_foto
#
#-----[ FIND (just a quote) ]--------------------------
#
$template->assign_vars(array(
.
.
.
.
'INTERESTS' => $interests,
#
#-----[ ADD BELOW ]---------------------------------------------------
#
'CAR_MARK' => $car_mark,
'L_CAR_MARK' => $lang['Car_Mark'],
'CAR_MODEL' => $car_model,
'L_CAR_MODEL' => $lang['Car_Model'],
'CAR_YEAR' => $car_year,
'L_CAR_YEAR' => $lang['Car_Year'],
'CAR_ENGINE' => $car_engine,
'L_CAR_ENGINE' => $lang['Car_Engine'],
'CAR_WHEEL' => $car_wheel,
'L_CAR_WHEEL' => $lang['Car_Wheel'],
'CAR_TRANS' => $car_trans,
'L_CAR_TRANS' => $lang['Car_Trans'],
'CAR_COLOR' => $car_color,
'L_CAR_COLOR' => $lang['Car_Color'],
'CAR_FOTO' => $car_foto,
'L_CAR_FOTO' => $lang['Car_Foto'],
#
#-----[ OPEN ]------------------------------------------
#
# includes/usercp_avatar.php
#
#-----[ FIND ]---------------------------------------------------
#
function display_avatar_gallery($mode, &$category, &$user_id, &$email, &$current_email, &$coppa, &$username, &$email, &$new_password, &$cur_password, &$password_confirm, &$icq, &$aim, &$msn, &$yim, &$website, &$location, &$occupation, &$interests, &$signature, &$viewemail, &$notifypm, &$popuppm, &$notifyreply, &$attachsig, &$allowhtml, &$allowbbcode, &$allowsmilies, &$hideonline, &$style, &$language, &$timezone, &$dateformat, &$session_id)
#
#-----[ IN-LINE FIND ]---------------------------------------------------
#
&$dateformat
#
#-----[ IN-LINE ADD ]---------------------------------------------------
#
, &$car_mark, &$car_model, &$car_year, &$car_engine, &$car_wheel, &$car_trans, &$car_color, &$car_foto
#
#-----[ FIND ]---------------------------------------------------
#
$params = array('coppa', 'user_id', 'username', 'email', 'current_email', 'cur_password', 'new_password', 'password_confirm', 'icq', 'aim', 'msn', 'yim', 'website', 'location', 'occupation', 'interests', 'signature', 'viewemail', 'notifypm', 'popuppm', 'notifyreply', 'attachsig', 'allowhtml', 'allowbbcode', 'allowsmilies', 'hideonline', 'style', 'language', 'timezone', 'dateformat');
#
#-----[ IN-LINE FIND ]---------------------------------------------------
#
'dateformat'
#
#-----[ IN-LINE ADD ]---------------------------------------------------
#
, 'car_mark', 'car_model', 'car_year', 'car_engine', 'car_wheel', 'car_trans', 'car_color', 'car_color'
#
#-----[ OPEN ]------------------------------------------
#
# admin/admin_users.php
#
#-----[ FIND ]---------------------------------------------------
#
$interests = ( !empty($HTTP_POST_VARS['interests']) ) ? trim(strip_tags( $HTTP_POST_VARS['interests'] ) ) : '';
#
#-----[ ADD BELOW ]---------------------------------------------------
#
$car_mark = ( !empty($HTTP_POST_VARS['car_mark']) ) ? trim(strip_tags( $HTTP_POST_VARS['car_mark'] ) ) : '';
$car_model = ( !empty($HTTP_POST_VARS['car_model']) ) ? trim(strip_tags( $HTTP_POST_VARS['car_model'] ) ) : '';
$car_year = ( !empty($HTTP_POST_VARS['car_year']) ) ? trim(strip_tags( $HTTP_POST_VARS['car_year'] ) ) : '';
$car_engine = ( !empty($HTTP_POST_VARS['car_engine']) ) ? trim(strip_tags( $HTTP_POST_VARS['car_engine'] ) ) : '';
$car_wheel= ( !empty($HTTP_POST_VARS['music']) ) ? trim(strip_tags( $HTTP_POST_VARS['car_wheel'] ) ) : '';
$car_trans = ( !empty($HTTP_POST_VARS['car_trans']) ) ? trim(strip_tags( $HTTP_POST_VARS['car_trans'] ) ) : '';
$car_color = ( !empty($HTTP_POST_VARS['car_color']) ) ? trim(strip_tags( $HTTP_POST_VARS['car_color'] ) ) : '';
$car_foto = ( !empty($HTTP_POST_VARS['car_foto']) ) ? trim(strip_tags( $HTTP_POST_VARS['car_foto'] ) ) : '';
#
#-----[ FIND ]---------------------------------------------------
#
validate_optional_fields($icq, $aim, $msn, $yim, $website, $location, $occupation, $interests, $signature);
#
#-----[ IN-LINE FIND ]---------------------------------------------------
#
$interests
#
#-----[ IN-LINE ADD ]---------------------------------------------------
#
, $car_mark, $car_model, $car_year, $car_engine, $car_wheel, $car_trans, $car_color, $car_foto
#
#-----[ FIND (1st occurence) ]--------------------------------------------
#
$interests = htmlspecialchars(stripslashes($interests));
#
#-----[ AFTER ADD ]---------------------------------------------------
#
$car_mark = htmlspecialchars(stripslashes($car_mark));
$car_model = htmlspecialchars(stripslashes($car_model));
$car_year = htmlspecialchars(stripslashes($car_year));
$car_engine = htmlspecialchars(stripslashes($car_engine));
$car_wheel = htmlspecialchars(stripslashes($car_wheel));
$car_trans = htmlspecialchars(stripslashes($car_trans));
$car_color = htmlspecialchars(stripslashes($car_color));
$car_foto = htmlspecialchars(stripslashes($car_foto));
#
#-----[ FIND ]---------------------------------------------------
#
$sql = "UPDATE " . USERS_TABLE . "
SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) . "', user_icq = '" . str_replace("\'", "''", $icq) . "', user_website = '" . str_replace("\'", "''", $website) . "', user_occ = '" . str_replace("\'", "''", $occupation) . "', user_from = '" . str_replace("\'", "''", $location) . "', user_interests = '" . str_replace("\'", "''", $interests) . "', user_sig = '" . str_replace("\'", "''", $signature) . "', user_viewemail = $viewemail, user_aim = '" . str_replace("\'", "''", $aim) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = $attachsig, user_sig_bbcode_uid = '$signature_bbcode_uid', user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowavatar = $user_allowavatar, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_allow_pm = $user_allowpm, user_notify_pm = $notifypm, user_popup_pm = $popuppm, user_lang = '" . str_replace("\'", "''", $user_lang) . "', user_style = $user_style, user_timezone = $user_timezone, user_dateformat = '" . str_replace("\'", "''", $user_dateformat) . "', user_active = $user_status, user_rank = $user_rank" . $avatar_sql . "
#
#-----[ IN-LINE FIND ]---------------------------------------------------
#
$interests) . "'
#
#-----[ IN-LINE ADD ]---------------------------------------------------
#
, user_car_mark = '" . str_replace("\'", "''", $car_mark) . "', user_car_model = '" . str_replace("\'", "''", $car_model) . "', user_car_year = '" . str_replace("\'", "''", $car_year) . "', user_car_engine = '" . str_replace("\'", "''", $car_engine) . "', user_car_wheel = '" . str_replace("\'", "''", $car_wheel) . "', user_car_trans = '" . str_replace("\'", "''", $car_trans) . "', user_car_color = '" . str_replace("\'", "''", $car_color) . "', user_car_foto = '" . str_replace("\'", "''", $car_foto) . "'
#
#-----[ FIND (2nd occurence) ]-------------------------------------------
#
$interests = htmlspecialchars(stripslashes($interests));
#
#-----[ ADD BELOW ]---------------------------------------------------
#
$car_mark = htmlspecialchars(stripslashes($car_mark));
$car_model = htmlspecialchars(stripslashes($car_model));
$car_year = htmlspecialchars(stripslashes($car_year));
$car_engine = htmlspecialchars(stripslashes($car_engine));
$car_wheel = htmlspecialchars(stripslashes($car_wheel));
$car_trans = htmlspecialchars(stripslashes($car_trans));
$car_color = htmlspecialchars(stripslashes($car_color));
$car_foto = htmlspecialchars(stripslashes($car_foto));
#
#-----[ FIND ]---------------------------------------------------
#
$interests = htmlspecialchars($this_userdata['user_interests']);
#
#-----[ ADD BELOW ]---------------------------------------------------
#
$car_mark = htmlspecialchars($this_userdata['user_car_mark']);
$car_model = htmlspecialchars($this_userdata['user_car_model']);
$car_year = htmlspecialchars($this_userdata['user_car_year']);
$car_engine = htmlspecialchars($this_userdata['user_car_engine']);
$car_wheel = htmlspecialchars($this_userdata['user_car_wheel']);
$car_trans = htmlspecialchars($this_userdata['user_car_trans']);
$car_color = htmlspecialchars($this_userdata['user_car_color']);
$car_foto = htmlspecialchars($this_userdata['user_car_foto']);
#
#-----[ FIND ]---------------------------------------------------
#
$s_hidden_fields .= '<input type="hidden" name="interests" value="' . str_replace("\"", """, $interests) . '" />';
#
#-----[ ADD BELOW ]---------------------------------------------------
#
$s_hidden_fields .= '<input type="hidden" name="car_mark" value="' . str_replace("\"", """, $car_mark) . '" />';
$s_hidden_fields .= '<input type="hidden" name="car_model" value="' . str_replace("\"", """, $car_model) . '" />';
$s_hidden_fields .= '<input type="hidden" name="car_year" value="' . str_replace("\"", """, $car_year) . '" />';
$s_hidden_fields .= '<input type="hidden" name="car_engine" value="' . str_replace("\"", """, $car_engine) . '" />';
$s_hidden_fields .= '<input type="hidden" name="car_wheel" value="' . str_replace("\"", """, $car_wheel) . '" />';
$s_hidden_fields .= '<input type="hidden" name="car_trans" value="' . str_replace("\"", """, $car_trans) . '" />';
$s_hidden_fields .= '<input type="hidden" name="car_color" value="' . str_replace("\"", """, $car_color) . '" />';
$s_hidden_fields .= '<input type="hidden" name="car_foto" value="' . str_replace("\"", """, $car_foto) . '" />';
#
#-----[ FIND ]---------------------------------------------------
#
'INTERESTS' => $interests,
#
#-----[ ADD BELOW ]---------------------------------------------------
#
'CAR_MARK' => $car_mark,
'L_CAR_MARK' => $lang['Car_Mark'],
'CAR_MODEL' => $car_model,
'L_CAR_MODEL' => $lang['Car_Model'],
'CAR_YEAR' => $car_year,
'L_CAR_YEAR' => $lang['Car_Year'],
'CAR_ENGINE' => $car_engine,
'L_CAR_ENGINE' => $lang['Car_Engine'],
'CAR_WHEEL' => $car_wheel,
'L_CAR_WHEEL' => $lang['Car_Wheel'],
'CAR_TRANS' => $car_trans,
'L_CAR_TRANS' => $lang['Car_Trans'],
'CAR_COLOR' => $car_color,
'L_CAR_COLOR' => $lang['Car_Color'],
'CAR_FOTO' => $car_foto,
'L_CAR_FOTO' => $lang['Car_Foto'],
#
#-----[ OPEN ]------------------------------------------
#
# templates/xxx/profile_add_body.tpl
#
#-----[ FIND ]---------------------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_SIGNATURE}:</span><br /><span class="gensmall">{L_SIGNATURE_EXPLAIN}<br /><br />{HTML_STATUS}<br />{BBCODE_STATUS}<br />{SMILIES_STATUS}</span></td>
<td class="row2">
<textarea name="signature"style="width: 300px" rows="6" cols="30" class="post">{SIGNATURE}</textarea>
</td>
</tr>
#
#-----[ ADD BELOW ]---------------------------------------------------
#
<tr>
<td class="catSides" colspan="2" height="28"> </td>
</tr>
<tr>
<th class="thSides" colspan="2" height="25" valign="middle">{L_CAR}</th>
</tr>
<tr>
<td class="row1"><span class="gen">{L_CAR_MARK}:</span></td>
<td class="row2"> <input type="text" class="post"style="width: 200px" name="car_mark" size="35" maxlength="150" value="{CAR_MARK}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_CAR_MODEL}:</span></td>
<td class="row2"> <input type="text" class="post"style="width: 200px" name="car_model" size="35" maxlength="150" value="{CAR_MODEL}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_CAR_YEAR}:</span></td>
<td class="row2"> <input type="text" class="post"style="width: 200px" name="car_year" size="35" maxlength="150" value="{CAR_YEAR}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_CAR_ENGINE}:</span></td>
<td class="row2"> <input type="text" class="post"style="width: 200px" name="car_engine" size="35" maxlength="150" value="{CAR_ENGINE}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_CAR_WHEEL}:</span></td>
<td class="row2"> <input type="text" class="post"style="width: 200px" name="car_wheel" size="35" maxlength="150" value="{CAR_WHEEL}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_CAR_TRANS}:</span></td>
<td class="row2"> <input type="text" class="post"style="width: 200px" name="car_trans" size="35" maxlength="150" value="{CAR_TRANS}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_CAR_COLOR}:</span></td>
<td class="row2"> <input type="text" class="post"style="width: 200px" name="car_color" size="35" maxlength="150" value="{CAR_COLOR}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_CAR_FOTO}:</span></td>
<td class="row2"> <input type="text" class="post"style="width: 200px" name="car_foto" size="35" maxlength="150" value="{CAR_FOTO}" /> </td>
</tr>
#
#-----[ OPEN ]------------------------------------------
#
# templates/xxx/profile_view_body.tpl
#
#-----[ FIND ]---------------------------------------------------
#
<tr>
<td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_ICQ_NUMBER}:</span></td>
<td class="row1"><script language="JavaScript" type="text/javascript"><!--
if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 )
document.write(' {ICQ_IMG}');
else
document.write('<table cellspacing="0" cellpadding="0" border="0"><tr><td nowrap="nowrap"><div style="position:relative;height:18px"><div style="position:absolute">{ICQ_IMG}</div><div style="position:absolute;left:3px;top:-1px">{ICQ_STATUS_IMG}</div></div></td></tr></table>');
//--></script><noscript>{ICQ_IMG}</noscript></td>
</tr>
</table>
</td>
</tr>
#
#-----[ ADD BELOW ]---------------------------------------------------
#
<tr>
<td class="row1" valign="top" colspan="2"><table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_CAR_MARK}:</span></td>
<td class="row1" valign="middle" width="100%"><b><span class="gen">{CAR_MARK}</span></b></td>
</tr>
<tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_CAR_MODEL}:</span></td>
<td class="row1" valign="middle" width="100%"><b><span class="gen">{CAR_MODEL}</span></b></td>
</tr>
<tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_CAR_YEAR}:</span></td>
<td class="row1" valign="middle" width="100%"><b><span class="gen">{CAR_YEAR}</span></b></td>
</tr>
<tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_CAR_ENGINE}:</span></td>
<td class="row1" valign="middle" width="100%"><b><span class="gen">{CAR_ENGINE}</span></b></td>
</tr>
<tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_CAR_WHEEL}:</span></td>
<td class="row1" valign="middle" width="100%"><b><span class="gen">{CAR_WHEEL}</span></b></td>
</tr>
<tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_CAR_TRANS}:</span></td>
<td class="row1" valign="middle" width="100%"><b><span class="gen">{CAR_TRANS}</span></b></td>
</tr>
<tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_CAR_COLOR}:</span></td>
<td class="row1" valign="middle" width="100%"><b><span class="gen">{CAR_COLOR}</span></b></td>
</tr>
<tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_CAR_FOTO}:</span></td>
<td class="row1" valign="middle" width="100%"><b><span class="gen">{CAR_FOTO}</span></b></td>
</tr>
</table>
</td>
</tr>
#
#-----[ OPEN ]------------------------------------------
#
# templates/xxx/admin/user_edit_body.tpl
#
#-----[ FIND ]---------------------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_SIGNATURE}</span><br />
<span class="gensmall">{L_SIGNATURE_EXPLAIN}<br />
<br />
{HTML_STATUS}<br />
{BBCODE_STATUS}<br />
{SMILIES_STATUS}</span></td>
<td class="row2">
<textarea class="post" name="signature" rows="6" cols="45">{SIGNATURE}</textarea>
</td>
</tr>
#
#-----[ ADD BELOW ]---------------------------------------------------
#
<tr>
<td class="catSides" colspan="2" height="28"> </td>
</tr>
<tr>
<th class="thSides" colspan="2" height="25" valign="middle">{L_CAR}</th>
</tr>
<tr>
<td class="row1"><span class="gen">{L_CAR_MARK}:</span></td>
<td class="row2"> <input type="text" class="post" name="car_mark" size="35" maxlength="150" value="{CAR_MARK}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_CAR_MODEL}:</span></td>
<td class="row2"> <input type="text" class="post" name="car_model" size="35" maxlength="150" value="{CAR_MODEL}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_CAR_YEAR}:</span></td>
<td class="row2"> <input type="text" class="post" name="car_year" size="35" maxlength="150" value="{CAR_YEAR}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_CAR_ENGINE}:</span></td>
<td class="row2"> <input type="text" class="post" name="car_engine" size="35" maxlength="150" value="{CAR_ENGINE}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_CAR_WHEEL}:</span></td>
<td class="row2"> <input type="text" class="post" name="car_wheel" size="35" maxlength="150" value="{CAR_WHEEL}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_CAR_TRANS}:</span></td>
<td class="row2"> <input type="text" class="post" name="car_trans" size="35" maxlength="150" value="{CAR_TRANS}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_CAR_COLOR}:</span></td>
<td class="row2"> <input type="text" class="post" name="car_color" size="35" maxlength="150" value="{CAR_COLOR}" /> </td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_CAR_FOTO}:</span></td>
<td class="row2"> <input type="text" class="post" name="car_foto" size="35" maxlength="150" value="{CAR_FOTO}" /> </td>
</tr>
###################################################################################
ترجمه شده توسط : mohsen khan
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
موفق باشيد
محسن
اضافه كردن نام شهر و كشور به اختلاف زماني ( معرفي هك phpbb )
با سلام
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
با استفاده از اين هك مي توانيد ، وقتي كه مي خواهيد اختلاف زماني را تعيين كنيد براي مثال با انتخاب +3:30 اين عنوان ظاهر مي شود : ايران - تهران
كدراهنماي هك :
کد:
##############################################################
## MOD Title: Adds City/Country names to timezones.
## MOD Version: 1.0.0
## MOD Author: Brainz < mail@brainz.net > http://brainz.net
##
## MOD Description: This MOD will allow users to see city/country name in timezone
## selection.
##
## Installation Level: Easy
## Installation Time: 1 Minutes
##
## Files To Edit: 1
## language/lang_english/lang_main.php
## Included Files: n/a
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
##############################################################
## MOD History:
##
## 2005-09-18 - Version 1.0.0
## - First Release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
//
// Timezones ... for display on each page
//
$lang['All_times'] = 'All times are %s'; // eg. All times are GMT - 12 Hours (times from next block)
$lang['-12'] = 'GMT - 12 Hours';
$lang['-11'] = 'GMT - 11 Hours';
$lang['-10'] = 'GMT - 10 Hours';
$lang['-9'] = 'GMT - 9 Hours';
$lang['-8'] = 'GMT - 8 Hours';
$lang['-7'] = 'GMT - 7 Hours';
$lang['-6'] = 'GMT - 6 Hours';
$lang['-5'] = 'GMT - 5 Hours';
$lang['-4'] = 'GMT - 4 Hours';
$lang['-3.5'] = 'GMT - 3.5 Hours';
$lang['-3'] = 'GMT - 3 Hours';
$lang['-2'] = 'GMT - 2 Hours';
$lang['-1'] = 'GMT - 1 Hours';
$lang['0'] = 'GMT';
$lang['1'] = 'GMT + 1 Hour';
$lang['2'] = 'GMT + 2 Hours';
$lang['3'] = 'GMT + 3 Hours';
$lang['3.5'] = 'GMT + 3.5 Hours';
$lang['4'] = 'GMT + 4 Hours';
$lang['4.5'] = 'GMT + 4.5 Hours';
$lang['5'] = 'GMT + 5 Hours';
$lang['5.5'] = 'GMT + 5.5 Hours';
$lang['6'] = 'GMT + 6 Hours';
$lang['6.5'] = 'GMT + 6.5 Hours';
$lang['7'] = 'GMT + 7 Hours';
$lang['8'] = 'GMT + 8 Hours';
$lang['9'] = 'GMT + 9 Hours';
$lang['9.5'] = 'GMT + 9.5 Hours';
$lang['10'] = 'GMT + 10 Hours';
$lang['11'] = 'GMT + 11 Hours';
$lang['12'] = 'GMT + 12 Hours';
$lang['13'] = 'GMT + 13 Hours';
// These are displayed in the timezone select box
$lang['tz']['-12'] = 'GMT - 12 Hours';
$lang['tz']['-11'] = 'GMT - 11 Hours';
$lang['tz']['-10'] = 'GMT - 10 Hours';
$lang['tz']['-9'] = 'GMT - 9 Hours';
$lang['tz']['-8'] = 'GMT - 8 Hours';
$lang['tz']['-7'] = 'GMT - 7 Hours';
$lang['tz']['-6'] = 'GMT - 6 Hours';
$lang['tz']['-5'] = 'GMT - 5 Hours';
$lang['tz']['-4'] = 'GMT - 4 Hours';
$lang['tz']['-3.5'] = 'GMT - 3.5 Hours';
$lang['tz']['-3'] = 'GMT - 3 Hours';
$lang['tz']['-2'] = 'GMT - 2 Hours';
$lang['tz']['-1'] = 'GMT - 1 Hours';
$lang['tz']['0'] = 'GMT';
$lang['tz']['1'] = 'GMT + 1 Hour';
$lang['tz']['2'] = 'GMT + 2 Hours';
$lang['tz']['3'] = 'GMT + 3 Hours';
$lang['tz']['3.5'] = 'GMT + 3.5 Hours';
$lang['tz']['4'] = 'GMT + 4 Hours';
$lang['tz']['4.5'] = 'GMT + 4.5 Hours';
$lang['tz']['5'] = 'GMT + 5 Hours';
$lang['tz']['5.5'] = 'GMT + 5.5 Hours';
$lang['tz']['6'] = 'GMT + 6 Hours';
$lang['tz']['6.5'] = 'GMT + 6.5 Hours';
$lang['tz']['7'] = 'GMT + 7 Hours';
$lang['tz']['8'] = 'GMT + 8 Hours';
$lang['tz']['9'] = 'GMT + 9 Hours';
$lang['tz']['9.5'] = 'GMT + 9.5 Hours';
$lang['tz']['10'] = 'GMT + 10 Hours';
$lang['tz']['11'] = 'GMT + 11 Hours';
$lang['tz']['12'] = 'GMT + 12 Hours';
$lang['tz']['13'] = 'GMT + 13 Hours';
#
#-----[ REPLACE WITH ]------------------------------------------
#
//
// Timezones ... for display on each page
//
$lang['All_times'] = 'All times are %s'; // eg. All times are GMT - 12 Hours (times from next block)
$lang['-12'] = '(GMT -12:00) Eniwetok, Kwajalein';
$lang['-11'] = '(GMT -11:00) Midway Island, Samoa';
$lang['-10'] = '(GMT -10:00) Hawaii';
$lang['-9'] = '(GMT -9:00) Alaska';
$lang['-8'] = '(GMT -8:00) Pacific Time (US & Canada)';
$lang['-7'] = '(GMT -7:00) Mountain Time (US & Canada)';
$lang['-6'] = '(GMT -6:00) Central Time (US & Canada), Mexico City';
$lang['-5'] = '(GMT -5:00) Eastern Time (US & Canada), Bogota, Lima';
$lang['-4'] = '(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz';
$lang['-3.5'] = '(GMT -3:30) Newfoundland';
$lang['-3'] = '(GMT -3:00) Brazil, Buenos Aires, Georgetown';
$lang['-2'] = '(GMT -2:00) Mid-Atlantic';
$lang['-1'] = '(GMT -1:00 hour) Azores, Cape Verde Islands';
$lang['0'] = '(GMT) Western Europe Time, London, Lisbon, Casablanca';
$lang['1'] = '(GMT +1:00 hour) Brussels, Copenhagen, Madrid, Paris';
$lang['2'] = '(GMT +2:00) Kaliningrad, South Africa';
$lang['3'] = '(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg';
$lang['3.5'] = '(GMT +3:30) Tehran';
$lang['4'] = '(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi';
$lang['4.5'] = '(GMT +4:30) Kabul';
$lang['5'] = '(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent';
$lang['5.5'] = '(GMT +5:30) Bangalore, Calcutta, Hyderabad, New Delhi';
$lang['6'] = '(GMT +6:00) Almaty, Dhaka, Colombo';
$lang['6.5'] = '(GMT + 6.30) Rangoon';
$lang['7'] = '(GMT +7:00) Bangkok, Hanoi, Jakarta';
$lang['8'] = '(GMT +8:00) Beijing, Perth, Singapore, Hong Kong';
$lang['9'] = '(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk';
$lang['9.5'] = '(GMT +9:30) Adelaide, Darwin';
$lang['10'] = '(GMT +10:00) Eastern Australia, Guam, Vladivostok';
$lang['11'] = '(GMT +11:00) Magadan, Solomon Islands, New Caledonia';
$lang['12'] = '(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka';
$lang['13'] = '(GMT + 13 Hours) Zulu';
// These are displayed in the timezone select box
$lang['tz']['-12'] = '(GMT -12:00) Eniwetok, Kwajalein';
$lang['tz']['-11'] = '(GMT -11:00) Midway Island, Samoa';
$lang['tz']['-10'] = '(GMT -10:00) Hawaii';
$lang['tz']['-9'] = '(GMT -9:00) Alaska';
$lang['tz']['-8'] = '(GMT -8:00) Pacific Time (US & Canada)';
$lang['tz']['-7'] = '(GMT -7:00) Mountain Time (US & Canada)';
$lang['tz']['-6'] = '(GMT -6:00) Central Time (US & Canada), Mexico City';
$lang['tz']['-5'] = '(GMT -5:00) Eastern Time (US & Canada), Bogota, Lima';
$lang['tz']['-4'] = '(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz';
$lang['tz']['-3.5'] = '(GMT -3:30) Newfoundland';
$lang['tz']['-3'] = '(GMT -3:00) Brazil, Buenos Aires, Georgetown';
$lang['tz']['-2'] = '(GMT -2:00) Mid-Atlantic';
$lang['tz']['-1'] = '(GMT -1:00 hour) Azores, Cape Verde Islands';
$lang['tz']['0'] = '(GMT) Western Europe Time, London, Lisbon, Casablanca';
$lang['tz']['1'] = '(GMT +1:00 hour) Brussels, Copenhagen, Madrid, Paris';
$lang['tz']['2'] = '(GMT +2:00) Kaliningrad, South Africa';
$lang['tz']['3'] = '(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg';
$lang['tz']['3.5'] = '(GMT +3:30) Tehran';
$lang['tz']['4'] = '(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi';
$lang['tz']['4.5'] = '(GMT +4:30) Kabul';
$lang['tz']['5'] = '(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent';
$lang['tz']['5.5'] = '(GMT +5:30) Bangalore, Calcutta, Hyderabad, New Delhi';
$lang['tz']['6'] = '(GMT +6:00) Almaty, Dhaka, Colombo';
$lang['tz']['6.5'] = '(GMT + 6.30) Rangoon';
$lang['tz']['7'] = '(GMT +7:00) Bangkok, Hanoi, Jakarta';
$lang['tz']['8'] = '(GMT +8:00) Beijing, Perth, Singapore, Hong Kong';
$lang['tz']['9'] = '(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk';
$lang['tz']['9.5'] = '(GMT +9:30) Adelaide, Darwin';
$lang['tz']['10'] = '(GMT +10:00) Eastern Australia, Guam, Vladivostok';
$lang['tz']['11'] = '(GMT +11:00) Magadan, Solomon Islands, New Caledonia';
$lang['tz']['12'] = '(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka';
$lang['tz']['13'] = '(GMT + 13 Hours) Zulu';
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
ترجمه شده توسط : mohsen khan
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
موفق باشيد
محسن
اضافه كردن لينك مربوط به cpanel و phpMyAdmin ( معرفي هك phpbb )
با سلام
Add cPanel and phpMyAdmin to Admin Panel
با استفاده از اين هك مي توانيد ، لينك مربوط به cpanel و phpMyAdmin را در كنترل پانل مديريت انجمن خود قرار دهيد .
كدراهنماي هك :
کد:
##############################################################
# MOD Title: Add cpanel/phpmyadmin links
# MOD Author: Oleh dynamok@gmail.com http://www.sovietsoccer.com
# MOD Description: Adds links to cpanel & phpmyadmin to the Admin Control Panel
# MOD Version: Modified "Add cpanel link" by Griff
#
# Installation Level: Easy
# Installation Time: 5 Minutes
# Files To Edit: includes/constants.php,
# language/lang_english/lang_main.php, admin/index.php,
# templates/subSilver/admin/index_navigate.tpl
# Included Files: n/a
##############################################################
# Authors Notes:
# When making the changes to constants.php, be sure to follow the one simple
# instruction in the code you add to that file. See readme.txt for other notes.
##############################################################
# BEFORE ADDING THIS TO YOUR FORUM, YOU SHOULD BACK UP ALL RELATED FILES.
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
includes/constants.php
#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
//
// MOD: Add cpanel Link
//
// Replace url_to_your_cpanel with the *full* URL to your
define('CPANEL', 'https://www.yoursite.com/cpanel/');
define('PHPMYADMIN', 'http://www.yoursite.com/phpmyadmin/');
//
// MOD: -END-
//
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
//
// MOD: Add cpanel Link
//
$lang['cpanel'] = 'Cpanel';
$lang['phpmyadmin'] = 'phpMyAdmin';
//
// MOD: -END-
//
#
#-----[ OPEN ]------------------------------------------
#
admin/index.php
#
#-----[ FIND ]------------------------------------------
#
"U_ADMIN_INDEX" => append_sid("index.$phpEx?pane=right"),
#
#-----[ AFTER, ADD ]------------------------------------------
#
// MOD: Add cpanel Link
//
'U_CPANEL' => CPANEL,
'L_CPANEL' => $lang['cpanel'],
'U_PHPMYADMIN' => PHPMYADMIN,
'L_PHPMYADMIN' => $lang['phpmyadmin'],
//
// MOD: -END-
//
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/admin/index_navigate.tpl
#
#-----[ FIND ]------------------------------------------
#
<!-- BEGIN catrow -->
#
#-----[ BEFORE, ADD ]------------------------------------------
#
<tr>
<td class="row1"><span class="genmed"><a href="{U_CPANEL}" target="main" class="genmed">{L_CPANEL}</a></span></td>
</tr>
<tr>
<td class="row1"><span class="genmed"><a href="{U_PHPMYADMIN}" target="main" class="genmed">{L_PHPMYADMIN}</a></span></td>
</tr>
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# End
ترجمه شده توسط : mohsen khan
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
موفق باشيد
محسن
اضافه كردن افكت هايي با استفاده از css براي رتبه هاي كاربران ( معرفي هك phpbb )
با سلام
Add CSS Effects to Ranks
با استفاده از اين هك مي توانيد ، افكت هايي با استفاده از css را براي رتبه هاي كاربران در نظر بگيريد ومتن آنها را درخشان و سايه دار كنيد .
كدراهنماي هك :
کد:
Version 1.4.0
-Removed one code change each from viewtopic.php and usercp_viewprofile.php. It
was the first change from version 1.3.0 in each file.
-Rewrote the other code changes for those files.
-Added code change to includes/functions.php.
-Fixed a bug in display of ranks in profiles.
-Improved formatting of ----.
-Increased difficulty rating to Advanced, due to the complexities of CSS to the
unexperienced.
-Updated contact information.
Changed Files List:
viewtopic.php, includes/functions.php, includes/usercp_viewprofile.php
Version 1.3.0
Added some new files to the download as part of a restructing process.
Added instructions for "This file modified for Add CSS Effects to Ranks" labels
in each file.
Added instructions for simple_header.tpl, just for completeness.
Split the overall_header.tpl and subSilver.css instructions up into separate
sets for strict 2.0.10 compliance (no actual code changes needed!).
Edited the notes in file_edits.txt to help less experienced users more.
Changed Files List:
All files, but no real code changes needed if you're upgrading.
Version 1.2.0
To eliminate problems caused when HTML or BBCode are used in rank names, the CSS
class names will now contain only lowercase letters and numbers.
Added readme.txt, gpl.txt, auto-insert file for Hacks/Mods List, and new notes
in install.txt.
Don't forget to change the names of your classes in overall_header.tpl or
xxx.css.
See the FAQ section of readme.txt if you need help with that.
Version 1.1.1
Fixed an error that caused extra HTML code to be inserted into ranks.
Version 1.1.0
Added support for rank names in viewing profile, and expanded from only special
ranks to all ranks.
Version 1.0.1
Modified CSS examples so that a straight cut & paste from the instructions
works. Also modified the code so that spaces in the CSS name are removed instead
of replaced with an underscore. The CSS is more valid this way.
Version 1.0.0
First release. Also labeled as 0.0.1.
ترجمه شده توسط : mohsen khan
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
موفق باشيد
محسن
قرار دادن لينك ديتابيس در پانل مديريت انجمن ( معرفي هك phpbb )
با سلام
Add Database Administration Link
با استفاده از اين هك مي توانيد لينك هاي مربوط به ديتابيس خود و مديريت آن را در كنترل پانل مديريت انجمن خود درج كنيد .
لينكهاي زير :
phpMyAdmin, phpOraAdmin, phpPgAdmin, phpMsAdmin
براي استفاده از اين هك ، فايل زير را در يافت كنيد ،ان را از حالت فشرده خارج سازيد و در بين فايل هاي خود كپي كنيد
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
ترجمه توسط : mohsen khan
منبع :
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
موفق باشيد
محسن
قرار دادن لينك در هدر انجمن ( معرفي هك phpbb )
با سلام
Add Forum Index Link to Overall Header
با استفاده از اين هك مي توانيد يك لينك در بالاي انجمن خود و در قسمت header سايت خود قرار دهيد .
براي استفاده از اين هك ، فايل زير را در يافت كنيد ،آن را از حالت فشرده خارج سازيد و در بين فايل هاي خود كپي كنيد
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
ترجمه توسط : mohsen khan
منبع :
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
موفق باشيد
محسن
اضافه كردن فيلد آخرين فعاليت كاربر ( معرفي هك phpbb )
با سلام
Add Last User Post Date to Memberlist
با نصب اين هك ، يك فيلد به قسمت مشخصات اعضاي شما اضافه مي شود كه آخرين فعالين و آخرين پستي را كه كاربر نوشته است را ، نمايش مي دهد
براي نصب اين هك ، مطابق دستورالعمل زير عمل كنيد .
کد:
$Id: last_post_date.txt,v 1.2 2003/07/03 12:10:25 nivisec Exp $
###############################################
## ---- Title: Add Last User Post Date to Members List
## (A phpBB2 Quickie)
## Author: Nivisec (support@nivisec.com)
## http://www.nivisec.com
## Description: Adds a new field in the members list that displays the date
## that the user last posted on. "None" will be displayed if
## the user has never posted.
##
## Compatibility: 2.0.x
##
## Support: http://www.phpbbhacks.com/forums
## Copyright: ©2003 Billy Sauls
##
###############################################
#
#-----[ OPEN ]------------------------------------------
#
memberlist.php
#
#-----[ FIND ]------------------------------------------
#
'L_POSTS' => $lang['Posts'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_POST_TIME' => $lang['Last_Post'] . ' ' . $lang['Time'],
#
#-----[ FIND ]------------------------------------------
#
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
$post_time_sql = "SELECT post_time
FROM " . POSTS_TABLE . "
WHERE poster_id = " . $user_id . "
ORDER BY post_time DESC
LIMIT 1";
if ( !($post_time_result = $db->sql_query($post_time_sql)) )
{
message_die(GENERAL_ERROR, 'Error getting user last post time', '', __LINE__, __FILE__, $post_time_sql);
}
$post_time_row = $db->sql_fetchrow($post_time_result);
$last_post_time = ( isset($post_time_row['post_time']) ) ? create_date($board_config['default_dateformat'], $post_time_row['post_time'], $board_config['board_timezone']) : $lang['None'];
#
#-----[ FIND ]------------------------------------------
#
'YIM' => $yim,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'LAST_POST_TIME' => $last_post_time,
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/memberlist_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<th class="thTop" nowrap="nowrap">{L_JOINED}</th>
<th class="thTop" nowrap="nowrap">{L_POSTS}</th>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<th class="thTop" nowrap="nowrap">{L_POST_TIME}</th>
#
#-----[ FIND ]------------------------------------------
#
<td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gensmall">{memberrow.JOINED}</span></td>
<td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.POSTS}</span></td>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.LAST_POST_TIME}</span></td>
#
#-----[ FIND ]------------------------------------------
#
<td class="catbottom" colspan="8" height="28"> </td>
#
#-----[ REPLACE ]------------------------------------------
#
<td class="catbottom" colspan="9" height="28"> </td>
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
#End
ترجمه شده توسط :mohsen khan
منبع : باشگاه موفقيت
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
اضافه كردن فيلد آخرين تاريخ فعاليت كاربر ( معرفي هك phpbb )
با سلام
Add Last User Visit Date to Memberlist
با نصب اين هك ، يك فيلد به قسمت مشخصات اعضاي شما اضافه مي شود كه آخرين تاريخي را كه كاربر مورد نظر به انجمن مراجعه كرده است را ، نشان مي دهد .
براي نصب اين هك ، مطابق دستورالعمل زير عمل كنيد .
کد:
$Id: last_visit_date.txt,v 1.2 2003/07/03 12:10:25 nivisec Exp $
###############################################
## ---- Title: Add Last User Visit Date to Members List
## (A phpBB2 Quickie)
## Author: Nivisec (support@nivisec.com)
## http://www.nivisec.com
## Description: Adds a new field in the members list that displays the date
## that the user last visited on. "Never" will be displayed if
## the user has never logged in.
##
## Compatibility: 2.0.x
##
## Support: http://www.phpbbhacks.com/forums
## Copyright: ©2003 Billy Sauls
##
###############################################
#
#-----[ OPEN ]------------------------------------------
#
memberlist.php
#
#-----[ FIND ]------------------------------------------
#
'L_POSTS' => $lang['Posts'],
#
#-----[ AFTER, ADD ]------------------------------------------
# Change 'Last Visited' to your desired language.
#
'L_LAST_VISITED' => 'Last Visited',
#
#-----[ FIND ]------------------------------------------
#
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
#
#-----[ AFTER, ADD ]------------------------------------------
# Change 'Never' on the end of the $last_visit_time = (!empty....
# line to your desired language.
#
$visit_time_sql = "SELECT user_lastvisit
FROM " . USERS_TABLE . "
WHERE user_id = " . $user_id . "
LIMIT 1";
if (!$visit_time_result = $db->sql_query($visit_time_sql))
{
message_die(GENERAL_ERROR, 'Error getting user last visit time', '', __LINE__, __FILE__, $visit_time_sql);
}
$visit_time_row = $db->sql_fetchrow($visit_time_result);
$last_visit_time = (!empty($visit_time_row['user_lastvisit'])) ? create_date($lang['DATE_FORMAT'], $visit_time_row['user_lastvisit'], $board_config['board_timezone']) : 'Never';
#
#-----[ FIND ]------------------------------------------
#
'YIM' => $yim,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'LAST_VISIT_TIME' => $last_visit_time,
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/memberlist_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<th class="thTop" nowrap="nowrap">{L_JOINED}</th>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<th class="thTop" nowrap="nowrap">{L_LAST_VISITED}</th>
#
#-----[ FIND ]------------------------------------------
#
<td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gensmall">{memberrow.JOINED}</span></td>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gensmall">{memberrow.LAST_VISIT_TIME}</span></td>
#
#-----[ FIND ]------------------------------------------
# If you have added other columns to your member list, this
# will look different. Just change the colspan="#" part to
# be one greater if it isn't 8. (ie if it is 10, change it
# to 11).
#
<td class="catbottom" colspan="8" height="28"> </td>
#
#-----[ REPLACE WITH ]------------------------------------------
#
<td class="catbottom" colspan="9" height="28"> </td>
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
#End
ترجمه شده توسط :mohsen khan
منبع : باشگاه موفقيت
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
اضافه كردن فيلد آخرين تاريخ فعاليت كاربر ( معرفي هك phpbb )
با سلام
Add Last User Visit Date to User Profiles
با نصب اين هك ، يك فيلد به قسمت مشخصات اعضاي شما اضافه مي شود كه آخرين تاريخي را كه كاربر مورد نظر به انجمن مراجعه كرده است را ، نشان مي دهد .
براي نصب اين هك ، مطابق دستورالعمل زير عمل كنيد .
ابتدا فايل مورد نظر را دانلود كنيد
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
سپس مطابق دستورالعمل زير ، عمل كنيد .
کد:
--------------------------------------------------------------------------------
IMPORTANT READ BEFORE INSTALLING IMPORTANT
--------------------------------------------------------------------------------
If you need support or have questions during the installation process, please
check the Mini FAQ section of the readme.txt file. Many of the more common
questions have already been answered there.
--------------------------------------------------------------------------------
PRE-INSTALL INSTRUCTIONS
--------------------------------------------------------------------------------
Before continuing with the installation of this ----, you should complete this
checklist:
[ ] Do you have a previously installed version of this ---- on your forum?
- If you intend to upgrade from an older version to this version, then you
should use the upgrade instructions in upgrade.txt instead of the
instructions below, unless otherwise noted in that file.
- If you intend to downgrade from a higher level version, uninstall that
version first.
[ ] Are you installing this ---- on a phpBB package that has been modified, has
non-subSilver templates installed, or is a different version than the one
official supported?
- You may have some trouble with some of the installation instructions,
especially if code you are told to FIND has already been changed. Try
searching for partial lines using key words or characters.
[ ] Are you installing this ---- on a phpBB port, such as the one for PHP Nuke?
- The installation instructions are written for use with an unmodified
version of the original phpBB, which can be obtained from www.phpbb.com.
They may or may not work with ports of phpBB. As the author of this
----, I may not be able to provide support for it when installed on a
phpBB port.
--------------------------------------------------------------------------------
INSTALLATION INSTRUCTIONS
--------------------------------------------------------------------------------
To install this ---- on a phpBB forum, follow these steps.
1) If you have not done so already, unpack ZIP file you have downloaded. This
will create new directories and files as described the readme.txt file.
But, you've probably already done this step since you're reading this file,
right?
2) In this step, you will prepare to edit your previously existing forum files.
All of the instructions for doing this are listed in the file_edits.txt file.
Open this file in your favorite text editor, such as Notepad, Wordpad,
PHPEdit, or EditPlus. If you use Dreamweaver for this step, be CERTAIN that
you have activated the "Code" mode of that program, or you will have problems
later.
Check the file for an Author's Notes section near the top for any special
instructions that you may need to follow. If there are none, or no Author's
Notes at all, look near the top for a section labeled "Files To Edit." This
is a list of the files you'll be editing. Obvious, huh? Before you do
anything else, make certain you have two local copies of each of these files.
One copy is for editing and the other is for a backup of the unchanged file.
If there is a problem later, you can restore the backup file(s) as needed.
If you don't have two local copies, make them. When you don't have *any*
local copies, download a copy from your web site via FTP, SSH, or another
file transfer method.
Special Note on this Step:
- The local copy of the file(s) you're editing should NOT be the actual
files being used on your site. An exact copy of them, yes, but not the
real thing. Changes should not be appear on your site as you edit the
files.
3) You now need to edit your local copy of each file in the "Files to Edit"
list. The instructions for editing these files are stored in file_edits.txt.
If you do not understand the format used, check the Mini FAQ in readme.txt.
Finish this step up by uploading the edited version of the files to your web
site.
Special Note on this Step:
- If you have non-subSilver templates installed, remember that you need to
adapt the subSilver file instructions for editing those templates. The
features of this ---- will not be available on other templates until they
are edited appropriately.
4) That's it, you're officially done.
5) This is an optional step.
If the ---- has an .hl file in the docs/ directory, you may be able to use
that. If you don't know how to use it or what an .hl file is, check the
Mini FAQ in readme.txt.
ترجمه شده توسط :mohsen khan
منبع : باشگاه موفقيت
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]