[2.0.18] Cash Mod

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
1036
66%
Very Good
239
15%
Good
121
8%
Fair
36
2%
Poor
126
8%
 
Total votes: 1558

groundfighter
Registered User
Posts: 1909
Joined: Sat Nov 08, 2003 2:15 am
Location: Las Vegas, NV
Contact:

Post by groundfighter »

Then you didn't do something right. Be sure to edit the install file in the ezmod directory and put exactly what you are looking for in there no extra spaces line breaks or hard returns.

totokan
Registered User
Posts: 4
Joined: Mon Mar 06, 2006 1:52 am

Post by totokan »

The file posting.php does not contain the code the install text wants me to edit...

groundfighter
Registered User
Posts: 1909
Joined: Sat Nov 08, 2003 2:15 am
Location: Las Vegas, NV
Contact:

Post by groundfighter »

totokan wrote: The file posting.php does not contain the code the install text wants me to edit...


You have to find the closest match, Ezmod is a dumb process you have to be a little smarter than it. :wink:

DISON
Registered User
Posts: 3
Joined: Mon Mar 06, 2006 1:15 am

Post by DISON »

Why can I GET CASH MOD lang chinese traditional uft-8 file?

mamee
Registered User
Posts: 7
Joined: Mon Mar 06, 2006 8:18 am

Post by mamee »

Hello there...em...i hav a problem with this cash mod...ive read the support thing but cannot get it right

the prob is users didnt get any points

is it because i've installed the attachment mod?

anyway...my link is

http://manganova.co.nr

User avatar
ccessex
Registered User
Posts: 399
Joined: Sat May 15, 2004 2:04 pm
Location: Furneux Pelham
Contact:

Earnings for some??

Post by ccessex »

Recently installed a fresh copy of 2.0.19.

Installed cash mod 223 without any problems.

It seems that not everybody is earning points by posting?

I have checked the Troubleshooting pages and have double checked the includes/functions_post.php file, and all is in order.

Anybody have any idea why some are earning points, and some are not?
They are all posting in a point earning forum.

Baffled!
Cliff

PS I had no problems with this with the 2.0.18 version, I haven't done anything different, just knew I should have stuck with 2.0.18...bloomin upgrades!!!!!!!

dark_killer
Registered User
Posts: 6
Joined: Sun Jan 01, 2006 11:50 pm

Post by dark_killer »

hi guys i am trying to install cashmod with easymod butte i get this error ( i am working with ftp)

this is the error i get

Warning: mkdir() [function.mkdir]: Permission denied in /home/detclan/public_html/admin/em_includes/em_modio.php on line 184

Warning: chmod() [function.chmod]: No such file or directory in /home/detclan/public_html/admin/em_includes/em_modio.php on line 185

Warning: mkdir() [function.mkdir]: Permission denied in /home/detclan/public_html/admin/em_includes/em_modio.php on line 213

Warning: chmod() [function.chmod]: No such file or directory in /home/detclan/public_html/admin/em_includes/em_modio.php on line 214

Installation Failed
EasyMOD encountered the following error(s). A general error could be ABC. A critical error means D and you should do XYZ.


Error Detail

Critical Error

Function Trace: open_files[5]->modio_open[3]

Could not open [./mods/CashMod223/processed/common.php.txt] for writing.
MOD script line #148 :: FAQ :: Report


and there something strange there is already a cash mod in my admin control but then i get this error
functions_cash.php has not been included.

Please make sure you have properly installed Cash Mod, including all the necessary file edits as found in cm_install_22x.txt


can someone help me i already readed faq etc.

soulcop
Registered User
Posts: 327
Joined: Fri Oct 22, 2004 2:14 am
Location: Penguin Paradise
Contact:

Post by soulcop »

Ok for some odd reason my currencies have a decimal...

So it looks like "181.0 cubes"
How do I get rid of it so it's just a whole number?

totokan
Registered User
Posts: 4
Joined: Mon Mar 06, 2006 1:52 am

Post by totokan »

Jost set the currency settings to decimal place 0.

dark_killer
Registered User
Posts: 6
Joined: Sun Jan 01, 2006 11:50 pm

Post by dark_killer »

pleae guys help me ! i dont know what to do now !

User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Post by Gremlinn »

dark_killer wrote: pleae guys help me ! i dont know what to do now !


It looks like your permissions aren't set to allow the web server to create directories and probably also to edit files. Set the permissions to rwx on the directories for everyone and rw for everyone on the files. If you own the server, then you can make the server own all the phpbb files and folders. Or, if you can get the server to run under your id.

dark_killer
Registered User
Posts: 6
Joined: Sun Jan 01, 2006 11:50 pm

Post by dark_killer »

i tryed to do so at that file in the ftp but its say i am not allowed to do so , so i must go to my host ?

seadoger
Registered User
Posts: 4
Joined: Thu Feb 23, 2006 8:08 pm

Post by seadoger »

How to integrate Cash mod with PureFTP?

DISON
Registered User
Posts: 3
Joined: Mon Mar 06, 2006 1:15 am

Post by DISON »

HELLO!!
MY PHPBB language IS USE chinese traditional UFT-8,so i was change to uft-8,then it have this error,HAVE GUYS KNOW HOW TO FIX IT?

Warning: Cannot modify header information - headers already sent by (output started at K:\phpBB\language\lang_chinese_traditional\lang_cash.php:1) in K:\phpBB\includes\page_header.php on line 486

Warning: Cannot modify header information - headers already sent by (output started at K:\phpBB\language\lang_chinese_traditional\lang_cash.php:1) in K:\phpBB\includes\page_header.php on line 492

Warning: Cannot modify header information - headers already sent by (output started at K:\phpBB\language\lang_chinese_traditional\lang_cash.php:1) in K:\phpBB\includes\page_header.php on line 493


this is my page_header.php code

<?php
/***************************************************************************
* page_header.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
* $Id: page_header.php,v 1.106.2.25 2005/10/30 15:17:14 acydburn Exp $
*
*
***************************************************************************/

/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/

if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}

define('HEADER_INC', TRUE);

//
// gzip_compression
//
$do_gzip_compress = FALSE;
if ( $board_config['gzip_compress'] )
{
$phpver = phpversion();

$useragent = (isset($HTTP_SERVER_VARS['HTTP_USER_AGENT'])) ? $HTTP_SERVER_VARS['HTTP_USER_AGENT'] : getenv('HTTP_USER_AGENT');

if ( $phpver >= '4.0.4pl1' && ( strstr($useragent,'compatible') || strstr($useragent,'Gecko') ) )
{
if ( extension_loaded('zlib') )
{
ob_start('ob_gzhandler');
}
}
else if ( $phpver > '4.0' )
{
if ( strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip') )
{
if ( extension_loaded('zlib') )
{
$do_gzip_compress = TRUE;
ob_start();
ob_implicit_flush(0);

header('Content-Encoding: gzip');
}
}
}
}

//
// Parse and show the overall header.
//
$template->set_filenames(array(
'overall_header' => ( empty($gen_simple_header) ) ? 'overall_header.tpl' : 'simple_header.tpl')
);

//
// Generate logged in/logged out status
//
if ( $userdata['session_logged_in'] )
{
$u_login_logout = 'login.'.$phpEx.'?logout=true&sid=' . $userdata['session_id'];
$l_login_logout = $lang['Logout'] . ' [ ' . $userdata['username'] . ' ]';
}
else
{
$u_login_logout = 'login.'.$phpEx;
$l_login_logout = $lang['Login'];
}

$s_last_visit = ( $userdata['session_logged_in'] ) ? create_date($board_config['default_dateformat'], $userdata['user_lastvisit'], $board_config['board_timezone']) : '';

//
// Get basic (usernames + totals) online
// situation
//
$logged_visible_online = 0;
$logged_hidden_online = 0;
$guests_online = 0;
$online_userlist = '';
$l_online_users = '';

if (defined('SHOW_ONLINE'))
{

$user_forum_sql = ( !empty($forum_id) ) ? "AND s.session_page = " . intval($forum_id) : '';
$sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, u.user_level, s.session_logged_in, s.session_ip
FROM ".USERS_TABLE." u, ".SESSIONS_TABLE." s
WHERE u.user_id = s.session_user_id
AND s.session_time >= ".( time() - 300 ) . "
$user_forum_sql
ORDER BY u.username ASC, s.session_ip ASC";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain user/online information', '', __LINE__, __FILE__, $sql);
}

$userlist_ary = array();
$userlist_visible = array();

$prev_user_id = 0;
$prev_user_ip = $prev_session_ip = '';

while( $row = $db->sql_fetchrow($result) )
{
// User is logged in and therefor not a guest
if ( $row['session_logged_in'] )
{
// Skip multiple sessions for one user
if ( $row['user_id'] != $prev_user_id )
{
$style_color = '';
if ( $row['user_level'] == ADMIN )
{
$row['username'] = '<b>' . $row['username'] . '</b>';
$style_color = 'style="color:#' . $theme['fontcolor3'] . '"';
}
else if ( $row['user_level'] == MOD )
{
$row['username'] = '<b>' . $row['username'] . '</b>';
$style_color = 'style="color:#' . $theme['fontcolor2'] . '"';
}

if ( $row['user_allow_viewonline'] )
{
$user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'>' . $row['username'] . '</a>';
$logged_visible_online++;
}
else
{
$user_online_link = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'><i>' . $row['username'] . '</i></a>';
$logged_hidden_online++;
}

if ( $row['user_allow_viewonline'] || $userdata['user_level'] == ADMIN )
{
$online_userlist .= ( $online_userlist != '' ) ? ', ' . $user_online_link : $user_online_link;
}
}

$prev_user_id = $row['user_id'];
}
else
{
// Skip multiple sessions for one user
if ( $row['session_ip'] != $prev_session_ip )
{
$guests_online++;
}
}

$prev_session_ip = $row['session_ip'];
}
$db->sql_freeresult($result);

if ( empty($online_userlist) )
{
$online_userlist = $lang['None'];
}
$online_userlist = ( ( isset($forum_id) ) ? $lang['Browsing_forum'] : $lang['Registered_users'] ) . ' ' . $online_userlist;

$total_online_users = $logged_visible_online + $logged_hidden_online + $guests_online;

if ( $total_online_users > $board_config['record_online_users'])
{
$board_config['record_online_users'] = $total_online_users;
$board_config['record_online_date'] = time();

$sql = "UPDATE " . CONFIG_TABLE . "
SET config_value = '$total_online_users'
WHERE config_name = 'record_online_users'";
if ( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not update online user record (nr of users)', '', __LINE__, __FILE__, $sql);
}

$sql = "UPDATE " . CONFIG_TABLE . "
SET config_value = '" . $board_config['record_online_date'] . "'
WHERE config_name = 'record_online_date'";
if ( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not update online user record (date)', '', __LINE__, __FILE__, $sql);
}
}

if ( $total_online_users == 0 )
{
$l_t_user_s = $lang['Online_users_zero_total'];
}
else if ( $total_online_users == 1 )
{
$l_t_user_s = $lang['Online_user_total'];
}
else
{
$l_t_user_s = $lang['Online_users_total'];
}

if ( $logged_visible_online == 0 )
{
$l_r_user_s = $lang['Reg_users_zero_total'];
}
else if ( $logged_visible_online == 1 )
{
$l_r_user_s = $lang['Reg_user_total'];
}
else
{
$l_r_user_s = $lang['Reg_users_total'];
}

if ( $logged_hidden_online == 0 )
{
$l_h_user_s = $lang['Hidden_users_zero_total'];
}
else if ( $logged_hidden_online == 1 )
{
$l_h_user_s = $lang['Hidden_user_total'];
}
else
{
$l_h_user_s = $lang['Hidden_users_total'];
}

if ( $guests_online == 0 )
{
$l_g_user_s = $lang['Guest_users_zero_total'];
}
else if ( $guests_online == 1 )
{
$l_g_user_s = $lang['Guest_user_total'];
}
else
{
$l_g_user_s = $lang['Guest_users_total'];
}

$l_online_users = sprintf($l_t_user_s, $total_online_users);
$l_online_users .= sprintf($l_r_user_s, $logged_visible_online);
$l_online_users .= sprintf($l_h_user_s, $logged_hidden_online);
$l_online_users .= sprintf($l_g_user_s, $guests_online);
}

//
// Obtain number of new private messages
// if user is logged in
//
if ( ($userdata['session_logged_in']) && (empty($gen_simple_header)) )
{
if ( $userdata['user_new_privmsg'] )
{
$l_message_new = ( $userdata['user_new_privmsg'] == 1 ) ? $lang['New_pm'] : $lang['New_pms'];
$l_privmsgs_text = sprintf($l_message_new, $userdata['user_new_privmsg']);

if ( $userdata['user_last_privmsg'] > $userdata['user_lastvisit'] )
{
$sql = "UPDATE " . USERS_TABLE . "
SET user_last_privmsg = " . $userdata['user_lastvisit'] . "
WHERE user_id = " . $userdata['user_id'];
if ( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not update private message new/read time for user', '', __LINE__, __FILE__, $sql);
}

$s_privmsg_new = 1;
$icon_pm = $images['pm_new_msg'];
}
else
{
$s_privmsg_new = 0;
$icon_pm = $images['pm_new_msg'];
}
}
else
{
$l_privmsgs_text = $lang['No_new_pm'];

$s_privmsg_new = 0;
$icon_pm = $images['pm_no_new_msg'];
}

if ( $userdata['user_unread_privmsg'] )
{
$l_message_unread = ( $userdata['user_unread_privmsg'] == 1 ) ? $lang['Unread_pm'] : $lang['Unread_pms'];
$l_privmsgs_text_unread = sprintf($l_message_unread, $userdata['user_unread_privmsg']);
}
else
{
$l_privmsgs_text_unread = $lang['No_unread_pm'];
}
}
else
{
$icon_pm = $images['pm_no_new_msg'];
$l_privmsgs_text = $lang['Login_check_pm'];
$l_privmsgs_text_unread = '';
$s_privmsg_new = 0;
}

//
// Generate HTML required for Mozilla Navigation bar
//
if (!isset($nav_links))
{
$nav_links = array();
}

$nav_links_html = '';
$nav_link_proto = '<link rel="%s" href="%s" title="%s" />' . "\n";
while( list($nav_item, $nav_array) = @each($nav_links) )
{
if ( !empty($nav_array['url']) )
{
$nav_links_html .= sprintf($nav_link_proto, $nav_item, append_sid($nav_array['url']), $nav_array['title']);
}
else
{
// We have a nested array, used for items like <link rel='chapter'> that can occur more than once.
while( list(,$nested_array) = each($nav_array) )
{
$nav_links_html .= sprintf($nav_link_proto, $nav_item, $nested_array['url'], $nested_array['title']);
}
}
}

// Format Timezone. We are unable to use array_pop here, because of PHP3 compatibility
$l_timezone = explode('.', $board_config['board_timezone']);
$l_timezone = (count($l_timezone) > 1 && $l_timezone[count($l_timezone)-1] != 0) ? $lang[sprintf('%.1f', $board_config['board_timezone'])] : $lang[number_format($board_config['board_timezone'])];

// MOD: Registration Stopper
if ( $board_config['registrations_accept'] && !$userdata['session_logged_in'] )
{
$template->assign_block_vars('switch_register', array());
}
// END MOD: Registration Stopper
//
// The following assigns all _common_ variables that may be used at any point
// in a template.
//
$template->assign_vars(array(
'SITENAME' => $board_config['sitename'],
'SITE_DESCRIPTION' => $board_config['site_desc'],
'PAGE_TITLE' => $page_title,
'LAST_VISIT_DATE' => sprintf($lang['You_last_visit'], $s_last_visit),
'CURRENT_TIME' => sprintf($lang['Current_time'], create_date($board_config['default_dateformat'], time(), $board_config['board_timezone'])),
'TOTAL_USERS_ONLINE' => $l_online_users,
'LOGGED_IN_USER_LIST' => $online_userlist,
'RECORD_USERS' => sprintf($lang['Record_online_users'], $board_config['record_online_users'], create_date($board_config['default_dateformat'], $board_config['record_online_date'], $board_config['board_timezone'])),
'PRIVATE_MESSAGE_INFO' => $l_privmsgs_text,
'PRIVATE_MESSAGE_INFO_UNREAD' => $l_privmsgs_text_unread,
'PRIVATE_MESSAGE_NEW_FLAG' => $s_privmsg_new,

'PRIVMSG_IMG' => $icon_pm,

'L_USERNAME' => $lang['Username'],
'L_PASSWORD' => $lang['Password'],
'L_LOGIN_LOGOUT' => $l_login_logout,
'L_LOGIN' => $lang['Login'],
'L_LOG_ME_IN' => $lang['Log_me_in'],
'L_AUTO_LOGIN' => $lang['Log_me_in'],
'L_INDEX' => sprintf($lang['Forum_Index'], $board_config['sitename']),
'L_REGISTER' => $lang['Register'],
'L_PROFILE' => $lang['Profile'],
'L_SEARCH' => $lang['Search'],
'L_PRIVATEMSGS' => $lang['Private_Messages'],
'L_WHO_IS_ONLINE' => $lang['Who_is_Online'],
'L_MEMBERLIST' => $lang['Memberlist'],
'L_FAQ' => $lang['FAQ'],
'L_USERGROUPS' => $lang['Usergroups'],
'L_SEARCH_NEW' => $lang['Search_new'],
'L_SEARCH_UNANSWERED' => $lang['Search_unanswered'],
'L_SEARCH_SELF' => $lang['Search_your_posts'],
'L_WHOSONLINE_ADMIN' => sprintf($lang['Admin_online_color'], '<span style="color:#' . $theme['fontcolor3'] . '">', '</span>'),
'L_WHOSONLINE_MOD' => sprintf($lang['Mod_online_color'], '<span style="color:#' . $theme['fontcolor2'] . '">', '</span>'),

'U_SEARCH_UNANSWERED' => append_sid('search.'.$phpEx.'?search_id=unanswered'),
'U_SEARCH_SELF' => append_sid('search.'.$phpEx.'?search_id=egosearch'),
'U_SEARCH_NEW' => append_sid('search.'.$phpEx.'?search_id=newposts'),
'U_INDEX' => append_sid('index.'.$phpEx),
'U_REGISTER' => append_sid('profile.'.$phpEx.'?mode=register'),
'U_PROFILE' => append_sid('profile.'.$phpEx.'?mode=editprofile'),
'U_PRIVATEMSGS' => append_sid('privmsg.'.$phpEx.'?folder=inbox'),
'U_PRIVATEMSGS_POPUP' => append_sid('privmsg.'.$phpEx.'?mode=newpm'),
'U_SEARCH' => append_sid('search.'.$phpEx),
'U_MEMBERLIST' => append_sid('memberlist.'.$phpEx),
'U_MODCP' => append_sid('modcp.'.$phpEx),
'U_FAQ' => append_sid('faq.'.$phpEx),
'U_VIEWONLINE' => append_sid('viewonline.'.$phpEx),
'U_LOGIN_LOGOUT' => append_sid($u_login_logout),
'U_GROUP_CP' => append_sid('groupcp.'.$phpEx),

'S_CONTENT_DIRECTION' => $lang['DIRECTION'],
'S_CONTENT_ENCODING' => $lang['ENCODING'],
'S_CONTENT_DIR_LEFT' => $lang['LEFT'],
'S_CONTENT_DIR_RIGHT' => $lang['RIGHT'],
'S_TIMEZONE' => sprintf($lang['All_times'], $l_timezone),
'S_LOGIN_ACTION' => append_sid('login.'.$phpEx),

'T_HEAD_STYLESHEET' => $theme['head_stylesheet'],
'T_BODY_BACKGROUND' => $theme['body_background'],
'T_BODY_BGCOLOR' => '#'.$theme['body_bgcolor'],
'T_BODY_TEXT' => '#'.$theme['body_text'],
'T_BODY_LINK' => '#'.$theme['body_link'],
'T_BODY_VLINK' => '#'.$theme['body_vlink'],
'T_BODY_ALINK' => '#'.$theme['body_alink'],
'T_BODY_HLINK' => '#'.$theme['body_hlink'],
'T_TR_COLOR1' => '#'.$theme['tr_color1'],
'T_TR_COLOR2' => '#'.$theme['tr_color2'],
'T_TR_COLOR3' => '#'.$theme['tr_color3'],
'T_TR_CLASS1' => $theme['tr_class1'],
'T_TR_CLASS2' => $theme['tr_class2'],
'T_TR_CLASS3' => $theme['tr_class3'],
'T_TH_COLOR1' => '#'.$theme['th_color1'],
'T_TH_COLOR2' => '#'.$theme['th_color2'],
'T_TH_COLOR3' => '#'.$theme['th_color3'],
'T_TH_CLASS1' => $theme['th_class1'],
'T_TH_CLASS2' => $theme['th_class2'],
'T_TH_CLASS3' => $theme['th_class3'],
'T_TD_COLOR1' => '#'.$theme['td_color1'],
'T_TD_COLOR2' => '#'.$theme['td_color2'],
'T_TD_COLOR3' => '#'.$theme['td_color3'],
'T_TD_CLASS1' => $theme['td_class1'],
'T_TD_CLASS2' => $theme['td_class2'],
'T_TD_CLASS3' => $theme['td_class3'],
'T_FONTFACE1' => $theme['fontface1'],
'T_FONTFACE2' => $theme['fontface2'],
'T_FONTFACE3' => $theme['fontface3'],
'T_FONTSIZE1' => $theme['fontsize1'],
'T_FONTSIZE2' => $theme['fontsize2'],
'T_FONTSIZE3' => $theme['fontsize3'],
'T_FONTCOLOR1' => '#'.$theme['fontcolor1'],
'T_FONTCOLOR2' => '#'.$theme['fontcolor2'],
'T_FONTCOLOR3' => '#'.$theme['fontcolor3'],
'T_SPAN_CLASS1' => $theme['span_class1'],
'T_SPAN_CLASS2' => $theme['span_class2'],
'T_SPAN_CLASS3' => $theme['span_class3'],

'NAV_LINKS' => $nav_links_html)
);

//
// Login box?
//
if ( !$userdata['session_logged_in'] )
{
$template->assign_block_vars('switch_user_logged_out', array());
//
// Allow autologin?
//
if (!isset($board_config['allow_autologin']) || $board_config['allow_autologin'] )
{
$template->assign_block_vars('switch_allow_autologin', array());
$template->assign_block_vars('switch_user_logged_out.switch_allow_autologin', array());
}
}
else
{
$template->assign_block_vars('switch_user_logged_in', array());

if ( !empty($userdata['user_popup_pm']) )
{
$template->assign_block_vars('switch_enable_pm_popup', array());
}
}

// Add no-cache control for cookies if they are set
//$c_no_cache = (isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_sid']) || isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_data'])) ? 'no-cache="set-cookie", ' : '';

// Work around for "current" Apache 2 + PHP module which seems to not
// cope with private cache control setting
if (!empty($HTTP_SERVER_VARS['SERVER_SOFTWARE']) && strstr($HTTP_SERVER_VARS['SERVER_SOFTWARE'], 'Apache/2'))
{
header ('Cache-Control: no-cache, pre-check=0, post-check=0');
}
else
{
header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
}
header ('Expires: 0');
header ('Pragma: no-cache');

$template->pparse('overall_header');

?>
Last edited by DISON on Tue Mar 07, 2006 4:59 pm, edited 1 time in total.

DISON
Registered User
Posts: 3
Joined: Mon Mar 06, 2006 1:15 am

Post by DISON »

this is my lang_cash.php code

<?php

/***************************************************************************
* lang_cash.php [Chinese Traditional Taiwan]
* -------------------
* begin : Sat Jul 20 2003
* copyright : (C) 2003 BlueSky_Ray
* email : blue_sky_ray@hotmail.com
*
* $Id: lang_cash.php 51 2006-02-12 03:06:05Z xore $
*
****************************************************************************/

/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/

//
// Admin menu
//
$lang['Cmcat_main'] = '主要功能';
$lang['Cmcat_addons'] = '附加功能';
$lang['Cmcat_other'] = '其他';
$lang['Cmcat_help'] = '幫助';

$lang['Cash_Configuration'] = '基本設置';
$lang['Cash_Currencies'] = '貨幣設定';
$lang['Cash_Exchange'] = '兌換';
$lang['Cash_Events'] = '事件';
$lang['Cash_Forums'] = '版區權限';
$lang['Cash_Groups'] = '群組';
$lang['Cash_Help'] = '幫助';
$lang['Cash_Logs'] = '記錄';
$lang['Cash_Settings'] = '細部設定';

$lang['Cmenu_cash_config'] = '所有貨幣的基本設定';
$lang['Cmenu_cash_currencies'] = '增加,刪除或,再定義貨幣';
$lang['Cmenu_cash_settings'] = '特殊設定每一個貨幣';
$lang['Cmenu_cash_events'] = '在用戶事件給用戶的貨幣總額';
$lang['Cmenu_cash_reset'] = '重整 / 重設貨幣總額';
$lang['Cmenu_cash_exchange'] = '開啟 / 關閉貨幣兌換以及兌換比率';
$lang['Cmenu_cash_forums'] = '開啟或關閉貨幣於每一個版區';
$lang['Cmenu_cash_groups'] = '設定群組,等級,封號的貨幣';
$lang['Cmenu_cash_log'] = '觀看 / 刪除已記錄的貨幣設定動作';
$lang['Cmenu_cash_help'] = '虛擬貨幣幫助';

// Config
$lang['Cash_config'] = '虛擬貨幣';
$lang['Cash_config_explain'] = '虛擬貨幣管理選項';

$lang['Cash_admincp'] = '管理員CP 模式';
$lang['Cash_adminnavbar'] = 'Cash Mod Navbar';
$lang['Sidebar'] = 'Sidebar';
$lang['Menu'] = '選單';

$lang['Messages'] = '訊息';
$lang['Spam'] = '灌水';
$lang['Click_return_cash_config'] = '點選%s這裡%s回到虛擬貨幣管理選項';
$lang['Cash_config_updated'] = '虛擬貨幣管理選項設定完成';
$lang['Cash_disabled'] = '關閉虛擬現金模組';
$lang['Cash_message'] = '在發表/回覆確認畫面顯示賺取金額';
$lang['Cash_display_message'] = '會員賺取金額時顯示的訊息';
$lang['Cash_display_message_explain'] = '其中必須包含一個"%s"';
$lang['Cash_spam_disable_num'] = '發文達此數量時(防止灌水)';
$lang['Cash_spam_disable_time'] = '多少時間內到達此發文數量停止獲得虛擬貨幣 (小時)';
$lang['Cash_spam_disable_message'] = '給過量發文者停止獲得虛擬貨幣的通告';


// Currencies
$lang['Cash_currencies'] = '流通貨幣';
$lang['Cash_currencies_explain'] = '以下表格可以設定你的論壇流通貨幣';

$lang['Click_return_cash_currencies'] = '點選%s這裡%s回到流通貨幣管理選項';
$lang['Cash_currencies_updated'] = '流通貨幣管理選項設定完成';
$lang['Cash_field'] = '欄位';
$lang['Cash_currency'] = '貨幣';
$lang['Name_of_currency'] = '貨幣名稱';
$lang['Default'] = '預設';
$lang['Cash_order'] = '順序';
$lang['Cash_set_all'] = '設定所有人金錢至此量';
$lang['Cash_delete'] = '刪除貨幣';
$lang['Decimals'] = '小數位數目';

$lang['Cash_confirm_copy'] = '複製用戶%s所有資料到%s?<br />執行後是無法復原的';
$lang['Cash_confirm_delete'] = '刪除%s?<br />執行後是無法復原的';

$lang['Cash_copy_currency'] = '複製貨幣資料';

$lang['Cash_new_currency'] = '開新貨幣';
$lang['Cash_currency_dbfield'] = '貨幣的資料庫欄位';
$lang['Cash_currency_decimals'] = '貨幣的小數位數目';
$lang['Cash_currency_default'] = '貨幣的開始值';

$lang['Bad_dbfield'] = '錯誤的資料庫欄位名稱, 必須是如下的。<br /><br />%s<br /><br/>例如:<br />user_points<br />user_cash<br />user_money<br />user_warnings<br /><br />';

// 0 currencies (most admin panels won't work... )
$lang['Insufficient_currencies'] = '你設定之前必須開新貨幣';

//
// Add-ons ?
//

// Events
$lang['Cash_events'] = '事件';
$lang['Cash_events_explain'] = '你可以設定一個事件,當你執行此事件可以增加 / 減少用戶一定的貨幣';

$lang['No_events'] = '沒有事件';
$lang['Existing_events'] = '事件';
$lang['Add_an_event'] = '增加事件';
$lang['Cash_events_updated'] = '事件設定完成';
$lang['Click_return_cash_events'] = '點選%s這裡%s回到事件設定';

//Reset
$lang['Cash_reset_title'] = '重設';
$lang['Cash_reset_explain'] = '你可以重設所有用戶現有的貨幣';

$lang['Cash_resetting'] = '重設中';
$lang['User_of'] = '%s個用戶於個%s用戶';

$lang['Set_checked'] = '設定重設貨幣於這個數值';
$lang['Recount_checked'] = '所有貨幣重新開始';

$lang['Cash_confirm_reset'] = '貨幣將要重設?<br />執行後是無法復原的';
$lang['Cash_confirm_recount'] = '所有貨幣將重新開始?<br />執行後是無法復原的。<br /><br />這個動作不適用於有大數值貨幣的用戶 或/和 主題。<br /><br />建議你先關閉你的虛擬貨幣。<br />關閉你的虛擬貨幣可到%s基本設定%s';

$lang['Update_successful'] = '更新完成';
$lang['Click_return_cash_reset'] = '點選%s這裡%s回到貨幣重設';
$lang['User_updated'] = '%s 已更新<br />';

//
// Others
//

// Exchange
$lang['Cash_exchange'] = '兌換';
$lang['Cash_exchange_explain'] = '你可以設定以及開啟你貨幣兌換的設定';

$lang['Exchange_insufficient_currencies'] = '你沒有一個以上的貨幣<br />你至少有兩種或以上貨幣';

// Forums
$lang['Forum_cm_settings'] = '版區權限';
$lang['Forum_cm_settings_explain'] = '你可以開啟 / 關閉版區是否可以增加用戶貨幣';

// Groups
$lang['Cash_groups'] = '群組設定';
$lang['Cash_groups_explain'] = '你可以設定每一個群組可得的貨幣數量等等的設定';

$lang['Click_return_cash_groups'] = '點選%s這裡%s回到群組設定';
$lang['Cash_groups_updated'] = '群組設定更新完成';

$lang['Set'] = '設定';
$lang['Up'] = '上';
$lang['Down'] = '下';

// Help
$lang['Cmh_support'] = 'Cash Mod支援';
$lang['Cmh_troubleshooting'] = '排解疑難';
$lang['Cmh_upgrading'] = '升級';
$lang['Cmh_addons'] = '附加功能';
$lang['Cmh_demo_boards'] = '演示';
$lang['Cmh_translations'] = '語系翻譯';
$lang['Cmh_features'] = 'Cash Mod 資訊';

$lang['Cmhe_support'] = 'Cash Mod 的資料';
$lang['Cmhe_troubleshooting'] = '如果你有問題,你可以在這裡來修正你的Cash Mod';
$lang['Cmhe_upgrading'] = '你的版本是%s,最新版本會貼在這裡';
$lang['Cmhe_addons'] = 'Cash Mod 的附加功能一覽';
$lang['Cmhe_demo_boards'] = 'Cash Mod 的演示論壇一覽';
$lang['Cmhe_translations'] = 'Cash Mod 的語系一覽';
$lang['Cmhe_features'] = 'Cash Mod 的版本資訊';

// Logs
$lang['Logs'] = '記錄';
$lang['Logs_explain'] = '你可以看到你曾經更改貨幣的記錄';

// Settings
$lang['Cash_settings'] = '設定';
$lang['Cash_settings_explain'] = '你可以設定你的每個貨幣在論壇中的仔細設定';


$lang['Display'] = '顯示';
$lang['Implementation'] = '貨幣加減設定';
$lang['Allowances'] = '定期貨幣加減設定';
$lang['Allowances_explain'] = '定期貨幣加減設定是Cash Mod定期貨幣加減外掛';
$lang['Click_return_cash_settings'] = '這裡%s這裡%s回到細部設定';
$lang['Cash_settings_updated'] = '細部設定更新完成';

$lang['Cash_enabled'] = '開啟貨幣';
$lang['Cash_custom_currency'] = '貨幣的名稱';
$lang['Cash_image'] = '貨幣名稱以圖片顯示';
$lang['Cash_imageurl'] = '圖片 (PHPBB的根目錄):';
$lang['Cash_imageurl_explain'] = '使用後你的貨幣名稱要變成圖片';
$lang['Prefix'] = '字首';
$lang['Postfix'] = '字尾';
$lang['Cash_currency_style'] = '圖片顯示風格';
$lang['Cash_currency_style_explain'] = '顯示於 ' . $lang['Prefix'] . ' 或 ' . $lang['Postfix'];
$lang['Cash_display_usercp'] = '在個人資料中顯示擁有金額';
$lang['Cash_display_userpost'] = '在文章旁簡介中顯示擁有金額';
$lang['Cash_display_memberlist'] = '在會員列表顯示擁有金額';

$lang['Cash_amount_per_post'] = '每篇發文可獲得的金額 (開新主題)';
$lang['Cash_amount_post_bonus'] = '每篇回文中開題作者可得到的紅利金額';
$lang['Cash_amount_per_reply'] = '每篇回文可獲得的金額';
$lang['Cash_amount_per_character'] = '每個字元可獲得的金額';
$lang['Cash_maxearn'] = '每篇發文可獲得金額最大值';
$lang['Cash_include_quotes'] = '引言是否包含在字元計算中';
$lang['Cash_allow_donate'] = '允許會員將金錢贈送給其它會員';
$lang['Cash_allow_mod_edit'] = '允許版面管理員修改會員持有的現金';
$lang['Cash_allow_negative'] = '允許會員呈現負債';
$lang['Cash_amount_per_pm'] = '私人訊息是否可獲得的金額';
$lang['Cash_exchangeable'] = '允許用戶可以兌換此貨幣';

$lang['Cash_allowance_enabled'] = '開始定期貨幣加減';
$lang['Cash_allowance_amount'] = '可得到貨幣總額';
$lang['Cash_allownace_frequency'] = '得到貨幣時期';
$lang['Cash_allownace_frequencies'][CASH_ALLOW_DAY] = '日';
$lang['Cash_allownace_frequencies'][CASH_ALLOW_WEEK] = '星期';
$lang['Cash_allownace_frequencies'][CASH_ALLOW_MONTH] = '月';
$lang['Cash_allownace_frequencies'][CASH_ALLOW_YEAR] = '年';
$lang['Cash_allowance_next'] = '下一次定期貨幣加減時間相距';

// Groups
$lang['Cash_status_type'][CASH_GROUPS_DEFAULT] = '預設';
$lang['Cash_status_type'][CASH_GROUPS_CUSTOM] = '預設';
$lang['Cash_status_type'][CASH_GROUPS_OFF] = '關閉';
$lang['Cash_status'] = 'Status';

// Cash Mod Log Text
// Note: there isn't really a whole lot i can do about it, if languages use a
// grammar that requires these arguments (%s) to be in a different order, it's stuck in
// this order. The up side is that this is about 10x more comprehensive than the
// last way i did it.
//

/* argument order: [donater id][donater name][currency list][receiver id][receiver name]

eg.
Joe donated 14 gold, $10, 3 points to Peter
*/
$lang['Cash_clause'][CASH_LOG_DONATE] = '<a href="' . $phpbb_root_path . 'profile.' . $phpEx . '?mode=viewprofile&u=%s" target="_new"><b>%s</b></a> donated <b>%s</b> to <a href="' . $phpbb_root_path . 'profile.' . $phpEx . '?mode=viewprofile&u=%s" target="_new"><b>%s</b></a>';

/* argument order: [admin/mod id][admin/mod name][editee id][editee name][Added list][removed list][Set list]

eg.
Joe modified Peter's Cash:
Added 14 gold
Removed $10
Set 3 points
*/
$lang['Cash_clause'][CASH_LOG_ADMIN_MODEDIT] = '<a href="' . $phpbb_root_path . 'profile.' . $phpEx . '?mode=viewprofile&u=%s" target="_new">%s</a> edited <a href="' . $phpbb_root_path . 'profile.' . $phpEx . '?mode=viewprofile&u=%s" target="_new"><b>%s</b></a>\'s Cash:<br />Added <b>%s</b><br />Removed <b>%s</b><br />Set to <b>%s</b>';

/* argument order: [admin/mod id][admin/mod name][currency name]

eg.
Joe created points
*/
$lang['Cash_clause'][CASH_LOG_ADMIN_CREATE_CURRENCY] = '<a href="' . $phpbb_root_path . 'profile.' . $phpEx . '?mode=viewprofile&u=%s" target="_new"><b>%s</b></a> created <b>%s</b>';

/* argument order: [admin/mod id][admin/mod name][currency name]

eg.
Joe deleted $
*/
$lang['Cash_clause'][CASH_LOG_ADMIN_DELETE_CURRENCY] = '<a href="' . $phpbb_root_path . 'profile.' . $phpEx . '?mode=viewprofile&u=%s" target="_new"><b>%s</b></a> deleted <b>%s</b>';

/* argument order: [admin/mod id][admin/mod name][old currency name][new currency name]

eg.
Joe renamed silver to gold
*/
$lang['Cash_clause'][CASH_LOG_ADMIN_RENAME_CURRENCY] = '<a href="' . $phpbb_root_path . 'profile.' . $phpEx . '?mode=viewprofile&u=%s" target="_new"><b>%s</b></a> renamed <b>%s</b> to <b>%s</b>';

/* argument order: [admin/mod id][admin/mod name][copied currency name][copied over currency name]

eg.
Joe copied users' gold to points
*/
$lang['Cash_clause'][CASH_LOG_ADMIN_COPY_CURRENCY] = '<a href="' . $phpbb_root_path . 'profile.' . $phpEx . '?mode=viewprofile&u=%s" target="_new"><b>%s</b></a> copied users\' <b>%s</b> to <b>%s</b>';

$lang['Log'] = '記錄';
$lang['Action'] = '動作';
$lang['Type'] = '種類';
$lang['Cash_all'] = '所有';
$lang['Cash_admin'] = '管理員';
$lang['Cash_user'] = '用戶';
$lang['Delete_all_logs'] = '刪除所有記錄';
$lang['Delete_admin_logs'] = '刪除管理員記錄';
$lang['Delete_user_logs'] = '刪除用戶記錄';
$lang['All'] = '全部';
$lang['Day'] = '日';
$lang['Week'] = '星期';
$lang['Month'] = '月';
$lang['Year'] = '年';
$lang['Page'] = '頁';
$lang['Per_page'] = '每頁';

//
// Now for some regular stuff...
//

//
// User CP
//
$lang['Donate'] = '贈與貨幣';
$lang['Mod_usercash'] = '修改%s貨幣';
$lang['Exchange'] = '兌換';

//
// Exchange
//
$lang['Convert'] = '轉換';
$lang['Select_one'] = '選擇';
$lang['Exchange_lack_of_currencies'] = '你沒有可以足夠兌換的一種以上貨幣<br />如果你要兌換的話,管理員必須發行兩種貨幣以上。';
$lang['You_have'] = '你共有';
$lang['One_worth'] = '一個 %s 價值:';
$lang['Cannot_exchange'] = '現在你不能兌換 %s';

//
// Donate
//
$lang['Amount'] = '總額';
$lang['Donate_to'] = '贈與 %s';
$lang['Donation_recieved'] = '你收到了 %s 贈與的貨幣。';
$lang['Has_donated'] = '%s 贈與 %s 給你。 \n\n%s 對你說:\n';

//
// Mod Edit
//
$lang['Add'] = '增加';
$lang['Remove'] = '移除';
$lang['Omit'] = '忽略';
$lang['Amount'] = '總額';
$lang['Donate_to'] = '贈與 %s';
$lang['Has_moderated'] = '%s 節制你的 %s';
$lang['Has_added'] = '[*]增加: %s\n';
$lang['Has_removed'] = '[*]移除: %s\n';
$lang['Has_set'] = '[*]設為: %s\n';

// That's all folks!

?>

Post Reply

Return to “[2.0.x] MOD Database Releases”

cron