You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 66 guest(s) and 2 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - phpBB Cash Mod [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
lost3
Lieutenant
Lieutenant


Joined: Aug 16, 2004
Posts: 163


PostPosted: Tue Apr 15, 2008 6:11 am Reply with quoteBack to top

I've installed the Cash Mod before and it worked but this time around I'm having major problems and I can't figure it out...

When I click any link like Cash Configuration, Cash Currencies, Cash Forums, Cash Settings, Cash Events, Cash Reset, Cash Exchange, Cash Groups, Cash Logs, or Cash Help from the Admin Control Panel all I get is an "The webpage cannot be found" error.

Only Link that works is the Cash Admin (admin_cash.php) link but it takes me to the page displaying the links mentioned above.

I tried changing the names to cash_config.php to admin_cash_config.php because if I don't it shows the link like this: modules/Forums/admin/modules.php?name=Forum&file=cash_config.php but then I receive an "Illegal Operation" error.

I noticed if the admin_cash.php.. was named cash.php it wouldn't show in the left pane.

Please help. I been doing this for a week and I'm about to give up.

Any help will be greatly appreciated.

Thank you for your time.
Find all posts by lost3View user's profileSend private message
movieman
Captain
Captain


Joined: Feb 29, 2004
Posts: 301

Location: New York

PostPosted: Wed Apr 16, 2008 4:40 am Reply with quoteBack to top

Did you edit all the files in the install docs? and install the database tables?
Quote:
root/adm/style/acp_cash.html to adm/style/acp_cash.html
root/cash_db.php to cash_db.php
root/includes/acp/acp_cash.php to includes/acp/acp_cash.php
root/includes/acp/info/acp_cash.php to includes/acp/info/acp_cash.php
root/includes/mods to includes/mods
root/ucp/ucp_bank.php to ucp/ucp_bank.php
root/ucp/info/ucp_bank.php to ucp/info/ucp_bank.php
root/language/en/mods/cash.php to language/en/mods/cash.php
#
#-----[ DIY ]----------------------
#
before you go any further, make sure you run the db script.
browse to cash_db.php?mode=install

Quote:

#
#-----[ OPEN ]----------------------
#
adm/index.php
#
#-----[ FIND ]----------------------
#
$user->setup('acp/common');
#
#-----[ AFTER, ADD ]----------------------
#
$user->add_lang('mods/cash');
#
#-----[ OPEN ]----------------------
#
includes/constants.php
#
#-----[ FIND ]----------------------
#
define('BOTS_TABLE', $table_prefix . 'bots');
#
#-----[ AFTER, ADD ]----------------------
#
define('CASH_TABLE', $table_prefix . 'cash');
define('CASH_AMT_TABLE', $table_prefix . 'cash_amt');
#
#-----[ OPEN ]----------------------
#
includes/functions_posting.php
#
#-----[ FIND ]----------------------
#
// We do not handle erasing posts here
#
#-----[ BEFORE, ADD ]----------------------
#
//include the cash mod functions file here
include("{$phpbb_root_path}includes/mods/functions_cash.$phpEx");
#
#-----[ FIND ]----------------------
#
$sql_data[USERS_TABLE]['stat'][] = "user_lastpost_time = $current_time" . (($auth->acl_get('f_postcount', $data['forum_id'])) ? ', user_posts = user_posts + 1' : '');
#
#-----[ IN-LINE FIND ]----------------------
#
+ 1' : '')
#
#-----[ IN-LINE AFTER, ADD ]----------------------
#
. cash_post($data['forum_id'])
#
#-----[ FIND ]----------------------
#
$sql_data[USERS_TABLE]['stat'][] = "user_lastpost_time = $current_time" . (($auth->acl_get('f_postcount', $data['forum_id'])) ? ', user_posts = user_posts + 1' : '');
#
#-----[ IN-LINE FIND ]----------------------
#
+ 1' : '')
#
#-----[ IN-LINE AFTER, ADD ]----------------------
#
. cash_post($data['forum_id'])
#
#-----[ OPEN ]----------------------
#
language/en/acp/permissions_phpbb.php
#
#-----[ FIND ]----------------------
#
'actions' => 'Actions',
#
#-----[ AFTER, ADD ]----------------------
#
'bank' => 'Bank',
#
#-----[ OPEN ]----------------------
#
language/en/memberlist.php
#
#-----[ FIND ]----------------------
#
'ABOUT_USER' => 'Profile',
#
#-----[ AFTER, ADD ]----------------------
#
'ACCOUNT' => 'Account',
#
#-----[ OPEN ]----------------------
#
memberlist.php
#
#-----[ FIND ]----------------------
#
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
#
#-----[ AFTER, ADD ]----------------------
#
include($phpbb_root_path . 'includes/mods/functions_cash.' . $phpEx);
#
#-----[ FIND ]----------------------
#
$user_id = (int) $member['user_id'];
#
#-----[ AFTER, ADD ]----------------------
#
$member['cash'] = member_cash($user_id);
#
#-----[ FIND ]----------------------
#
WHERE ' . $db->sql_in_set('user_id', $user_list);
#
#-----[ AFTER, ADD ]----------------------
#
cash_sql($sql, $user_list);
#
#-----[ FIND ]----------------------
#
// Generate page
#
#-----[ BEFORE, ADD ]----------------------
#
cash_vars();
#
#-----[ FIND ]----------------------
#
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(
#
#-----[ FIND ]----------------------
#
'L_VIEWING_PROFILE' => sprintf($user->lang['VIEWING_PROFILE'], $username),
);
#
#-----[ IN-LINE FIND ]----------------------
#
);
#
#-----[ IN-LINE BEFORE, ADD ]----------------------
#
)
#
#-----[ OPEN ]----------------------
#
ucp.php
#
#-----[ FIND ]----------------------
#
$user->setup('ucp');
#
#-----[ AFTER, ADD ]----------------------
#
$user->add_lang('mods/cash');
#
#-----[ OPEN ]----------------------
#
viewtopic.php
#
#-----[ FIND ]----------------------
#
include($phpbb_root_path . 'includes/bbcode.' . $phpEx);
#
#-----[ AFTER, ADD ]----------------------
#
include($phpbb_root_path . 'includes/mods/functions_cash.' . $phpEx);
#
#-----[ FIND ]----------------------
#
'WHERE' => $db->sql_in_set('p.post_id', $post_list) . '
AND u.user_id = p.poster_id'
));
#
#-----[ AFTER, ADD ]----------------------
#
viewtopic_cash($sql);
#
#-----[ FIND ]----------------------
#
$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(
#
#-----[ FIND ]----------------------
#
'allow_pm' => 0,
);
#
#-----[ IN-LINE FIND ]----------------------
#
);
#
#-----[ IN-LINE BEFORE, ADD ]----------------------
#
)
#
#-----[ FIND ]----------------------
#
$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(
#
#-----[ FIND ]----------------------
#
'search_author=' . urlencode($row['username']) .'&showresults=posts') : '',
);
#
#-----[ IN-LINE FIND ]----------------------
#
);
#
#-----[ IN-LINE BEFORE, ADD ]----------------------
#
)
#
#-----[ FIND ]----------------------
#
$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(
#
#-----[ FIND ]----------------------
#
'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 . "&amp;p={$row['post_id']}&amp;view=show#p{$row['post_id']}" . '">', '</a>') : '',
);
#
#-----[ IN-LINE FIND ]----------------------
#
);
#
#-----[ IN-LINE BEFORE, ADD ]----------------------
#
)
Find all posts by moviemanView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressMSN Messenger
lost3
Lieutenant
Lieutenant


Joined: Aug 16, 2004
Posts: 163


PostPosted: Fri May 09, 2008 10:26 am Reply with quoteBack to top

Please do not take this the wrong way, because I appreciate any help I can get, but.. is this a joke?

None of that appears in any file.

Where did you get those instructions from?

Since this last post of mine I noticed that the version I was able to install with no problem was Cash Mod 2.0.2
Anyone know where I can get that one? I only find later versions.
Find all posts by lost3View user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Fri May 09, 2008 10:28 pm Reply with quoteBack to top

Looks like the mod he is referencing is designed for phpBB 3

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.242 Seconds - 339 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::