Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
Това е CashModFaraonqbg каза:Значи виждал съм на phpbb2 мод чрез който всяко мнение ти дава определени точки като в профила под аватара ти нали пише общия брой ... не е от най - умните неща , но мен лично ми трябва такова нещо![]()
Пич много ми помогна , но нещо не мога да го схвана .... защо не го преведе за WT :?: Все пак +1Black каза:Това е CashModFaraonqbg каза:Значи виждал съм на phpbb2 мод чрез който всяко мнение ти дава определени точки като в профила под аватара ти нали пише общия брой ... не е от най - умните неща , но мен лично ми трябва такова нещо![]()
http://www.phpbb.com/community/viewtopic.php?f=70&t=547021&st=0&sk=t&sd=a&hilit=cash
Версията е БЕТА
Можеш да си е свалиш от тук:
http://startrekguide.com/forum/download.php?id=1783
Надявам се да съм ти бил полезен.
Дано да съм ти помогнал!#
#-----[ Копирайте ]----------------------
#
root/adm/style/acp_cash.html в adm/style/acp_cash.html
root/cash_db.php в cash_db.php
root/includes/acp/acp_cash.php в includes/acp/acp_cash.php
root/includes/acp/info/acp_cash.php в includes/acp/info/acp_cash.php
root/includes/mods в includes/mods
root/ucp/ucp_bank.php в ucp/ucp_bank.php
root/ucp/info/ucp_bank.php в ucp/info/ucp_bank.php
root/language/en/mods/cash.php в language/en/mods/cash.php
#
#-----[ Отвори ]----------------------
#
adm/index.php
#
#-----[ Намери ]----------------------
#
$user->setup('acp/common');
#
#-----[ След него добави ]----------------------
#
$user->add_lang('mods/cash');
#
#-----[ Отвори ]----------------------
#
includes/constants.php
#
#-----[ Намери ]----------------------
#
define('BOTS_TABLE', $table_prefix . 'bots');
#
#-----[ След него добави ]----------------------
#
define('CASH_TABLE', $table_prefix . 'cash');
define('CASH_AMT_TABLE', $table_prefix . 'cash_amt');
#
#-----[ Отвори ]----------------------
#
includes/functions_posting.php
#
#-----[ Намери ]----------------------
#
// We do not handle erasing posts here
#
#-----[ Преди него добави ]----------------------
#
//include the cash mod functions file here
include("{$phpbb_root_path}includes/mods/functions_cash.$phpEx");
#
#-----[ Намери ]----------------------
#
$sql_data[USERS_TABLE]['stat'][] = "user_lastpost_time = $current_time" . (($auth->acl_get('f_postcount', $data['forum_id'])) ? ', user_posts = user_posts + 1' : '');
#
#-----[ На същия ред намери ]----------------------
#
+ 1' : '')
#
#-----[ На същия ред добави ]----------------------
#
. cash_post($data['forum_id'])
#
#-----[ Намери ]----------------------
#
$sql_data[USERS_TABLE]['stat'][] = "user_lastpost_time = $current_time" . (($auth->acl_get('f_postcount', $data['forum_id'])) ? ', user_posts = user_posts + 1' : '');
#
#-----[ На същия ред намери ]----------------------
#
+ 1' : '')
#
#-----[ На същия ред добави ]----------------------
#
. cash_post($data['forum_id'])
#
#-----[ Отвори ]----------------------
#
language/en/acp/permissions_phpbb.php
#
#-----[ Намери ]----------------------
#
'actions' => 'Actions',
#
#-----[ След него добави ]----------------------
#
'bank' => 'Bank',
#
#-----[ Отвори ]----------------------
#
language/en/memberlist.php
#
#-----[ Намери ]----------------------
#
'ABOUT_USER' => 'Profile',
#
#-----[ След него добави ]----------------------
#
'ACCOUNT' => 'Account',
#
#-----[ Отвори ]----------------------
#
memberlist.php
#
#-----[ Намери ]----------------------
#
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
#
#-----[ След него добави ]----------------------
#
include($phpbb_root_path . 'includes/mods/functions_cash.' . $phpEx);
#
#-----[ Намери ]----------------------
#
$user_id = (int) $member['user_id'];
#
#-----[ След него добави ]----------------------
#
$member['cash'] = member_cash($user_id);
#
#-----[ Намери ]----------------------
#
WHERE ' . $db->sql_in_set('user_id', $user_list);
#
#-----[ След него добави ]----------------------
#
cash_sql($sql, $user_list);
#
#-----[ Намери ]----------------------
#
// Generate page
#
#-----[ Преди него добави ]----------------------
#
cash_vars();
#
#-----[ Намери ]----------------------
#
return array(
#
#-----[ REPLACE WITH ]----------------------
#
//put this here… maybe somebody else can use it as well
$show_profile_ary = array();
$show_profile_ary = array_merge(cash_array($data, $user_id), $show_profile_ary);
return array_merge($show_profile_ary, array(
#
#-----[ Намери ]----------------------
#
'L_VIEWING_PROFILE' => sprintf($user->lang['VIEWING_PROFILE'], $username),
);
#
#-----[ На същия ред намери ]----------------------
#
);
#
#-----[ На същия ред преди него добави ]----------------------
#
)
#
#-----[ Отвори ]----------------------
#
ucp.php
#
#-----[ Намери ]----------------------
#
$user->setup('ucp');
#
#-----[ След него добави ]----------------------
#
$user->add_lang('mods/cash');
#
#-----[ Отвори ]----------------------
#
viewtopic.php
#
#-----[ Намери ]----------------------
#
include($phpbb_root_path . 'includes/bbcode.' . $phpEx);
#
#-----[ След него добави ]----------------------
#
include($phpbb_root_path . 'includes/mods/functions_cash.' . $phpEx);
#
#-----[ Намери ]----------------------
#
'WHERE' => $db->sql_in_set('p.post_id', $post_list) . '
AND u.user_id = p.poster_id'
));
#
#-----[ След него добави ]----------------------
#
viewtopic_cash($sql);
#
#-----[ Намери ]----------------------
#
$user_cache[$poster_id] = array(
#
#-----[ REPLACE WITH ]----------------------
#
//put this here... maybe somebody else can use it as well
$user_cache[$poster_id] = array();
$user_cache[$poster_id] = array_merge(user_cash($poster_id), $user_cache[$poster_id]);
$user_cache[$poster_id] = array_merge($user_cache[$poster_id], array(
#
#-----[ Намери ]----------------------
#
'allow_pm' => 0,
);
#
#-----[ Намери на същия ред ]----------------------
#
);
#
#-----[ На същия ред преди него добави ]----------------------
#
)
#
#-----[ Намери ]----------------------
#
$user_cache[$poster_id] = array(
#
#-----[ REPLACE WITH ]----------------------
#
//put this here... maybe somebody else can use it as well
$user_cache[$poster_id] = array();
$user_cache[$poster_id] = array_merge(user_cash($poster_id, $row), $user_cache[$poster_id]);
$user_cache[$poster_id] = array_merge($user_cache[$poster_id], array(
#
#-----[ Намери ]----------------------
#
'search_author=' . urlencode($row['username']) .'&showresults=posts') : '',
);
#
#-----[ Намери на същия ред ]----------------------
#
);
#
#-----[ На същия ред преди него добави ]----------------------
#
)
#
#-----[ Намери ]----------------------
#
$postrow = array(
#
#-----[ REPLACE WITH ]----------------------
#
//put this here... maybe somebody else can use it as well
$postrow = array();
$postrow = array_merge(postrow_cash($user_cache, $poster_id), $postrow);
$postrow = array_merge($postrow, array(
#
#-----[ Намери ]----------------------
#
'L_IGNORE_POST' => ($row['hide_post']) ? sprintf($user->lang['POST_BY_FOE'], get_username_string('full', $poster_id, $row['username'], $row['user_colour'], $row['post_username']), '<a href="' . $viewtopic_url . "&p={$row['post_id']}&view=show#p{$row['post_id']}" . '">', '</a>') : '',
);
#
#-----[ Намери на същия ред ]----------------------
#
);
#
#-----[ На същия ред преди него добави ]----------------------
#
)