[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

doomrok
Registered User
Posts: 2
Joined: Tue Dec 05, 2006 9:17 pm

Post by doomrok »

Hello, I browsed back the past 10 pages or so looking for an answer but was unable to find one. I recently installed [2.0.13] Categories Hierarchy (sub-forums) and I am now attempting to install this mod.

However, the install instructions ask me to make changes to code that was removed by Categories, are they compatable? Is there something I can do to get them both working..?

Thanks.
User avatar
felguard
Registered User
Posts: 68
Joined: Tue Oct 18, 2005 7:41 am
Contact:

Post by felguard »

Brf wrote:
felguard wrote:I have CashMod223a installed, everything's fine and stuff except for one thing.

When somone makes a topic/post they get 2 points for it, but if they delete the topic/post, they still keep the 2 points for posting it. How do you make it so that if they delete the post/topic, the 2 points will also be taken away from it?


Sorry I do not have that problem with my forum.
I just tested it.

Do you have the proper edits in includes/functions_post.php?


Wow, thank you man! I mean really, I've been troubled with this problem for a very long time and the solution was so simple. Thank you!

I found out the problem was with this code:

Code: Select all

		$GLOBALS['cm_posting']->update_delete($mode, $post_data, $forum_id, $topic_id, $post_id);
I was suppose to add it before:

Code: Select all

		include($phpbb_root_path . 'includes/functions_search.'.$phpEx);
I did, but it turns out I was suppose to add it before the 2nd one, not the first one.
iHeartLED.com - Love Your LED Endlessly
alextee_2000
Registered User
Posts: 4
Joined: Fri Oct 20, 2006 8:58 pm

Post by alextee_2000 »

hi all
any know how to do below?

please look at screen shot:
Image

i wish to change the CASH_NAME into front!!
and the value is behind

something like
{CASH_NAME} : {CASH_AMOUNT}

how to do ???

Please help mi and guide me
thank
gfaSkyRanger
Registered User
Posts: 3
Joined: Wed Dec 06, 2006 10:19 pm
Contact:

Post by gfaSkyRanger »

Are they any addons, where are working with this cash mod ?

those "moderators" are deleting all what could b interesting.
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53400
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Post by Brf »

alextee_2000 wrote: i wish to change the CASH_NAME into front!!
and the value is behind

something like
{CASH_NAME} : {CASH_AMOUNT}


In Cash Admin Cash Settings, change your "Currency Style" from "Postfix" to "Prefix".
idea
Registered User
Posts: 247
Joined: Mon Oct 20, 2003 8:29 am

Post by idea »

I'm currently using cash mod version 2.2.1 and would like to upgrade to 2.2.3

I don't need to edit any files ?? i just need to copy these files to my server
copy cash.php to cash.php
copy admin/admin_cash.php to admin/admin_cash.php
copy admin/cash_config.php to admin/cash_config.php
copy admin/cash_currencies.php to admin/cash_currencies.php
copy admin/cash_events.php to admin/cash_events.php
copy admin/cash_exchange.php to admin/cash_exchange.php
copy admin/cash_forums.php to admin/cash_forums.php
copy admin/cash_groups.php to admin/cash_groups.php
copy admin/cash_help.php to admin/cash_help.php
copy admin/cash_log.php to admin/cash_log.php
copy admin/cash_recount.php to admin/cash_recount.php
copy admin/cash_reset.php to admin/cash_reset.php
copy admin/cash_settings.php to admin/cash_settings.php
copy includes/classes_cash.php to includes/classes_cash.php
copy includes/functions_cash.php to includes/functions_cash.php
copy language/lang_english/lang_cash.php to language/lang_english/lang_cash.php
copy templates/subSilver/cash_donate.tpl to templates/subSilver/cash_donate.tpl
copy templates/subSilver/cash_exchange.tpl to templates/subSilver/cash_exchange.tpl
copy templates/subSilver/cash_modedit.tpl to templates/subSilver/cash_modedit.tpl
copy templates/subSilver/cash_viewprofile.tpl to templates/subSilver/cash_viewprofile.tpl
copy templates/subSilver/cash_viewtopic.tpl to templates/subSilver/cash_viewtopic.tpl
copy templates/subSilver/admin/cash_config.tpl to templates/subSilver/admin/cash_config.tpl
copy templates/subSilver/admin/cash_currencies.tpl to templates/subSilver/admin/cash_currencies.tpl
copy templates/subSilver/admin/cash_event.tpl to templates/subSilver/admin/cash_event.tpl
copy templates/subSilver/admin/cash_events.tpl to templates/subSilver/admin/cash_events.tpl
copy templates/subSilver/admin/cash_exchange.tpl to templates/subSilver/admin/cash_exchange.tpl
copy templates/subSilver/admin/cash_forum.tpl to templates/subSilver/admin/cash_forum.tpl
copy templates/subSilver/admin/cash_group.tpl to templates/subSilver/admin/cash_group.tpl
copy templates/subSilver/admin/cash_groups.tpl to templates/subSilver/admin/cash_groups.tpl
copy templates/subSilver/admin/cash_help.tpl to templates/subSilver/admin/cash_help.tpl
copy templates/subSilver/admin/cash_log.tpl to templates/subSilver/admin/cash_log.tpl
copy templates/subSilver/admin/cash_menu.tpl to templates/subSilver/admin/cash_menu.tpl
copy templates/subSilver/admin/cash_navbar.tpl to templates/subSilver/admin/cash_navbar.tpl
copy templates/subSilver/admin/cash_reset.tpl to templates/subSilver/admin/cash_reset.tpl
copy templates/subSilver/admin/cash_resetting.tpl to templates/subSilver/admin/cash_resetting.tpl
copy templates/subSilver/admin/cash_settings.tpl to templates/subSilver/admin/cash_settings.tpl


and update my sql ??

can someone help?
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53400
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Post by Brf »

There is an upgrade_221_223 folder in the mod zip. Read the cm_upgrade_221_223.txt in that directory for instructions.
idea
Registered User
Posts: 247
Joined: Mon Oct 20, 2003 8:29 am

Post by idea »

Brf wrote: There is an upgrade_221_223 folder in the mod zip. Read the cm_upgrade_221_223.txt in that directory for instructions.


Hi, i did

it says
## Files To Edit: common.php
## memberlist.php
## posting.php
## privmsg.php
## profile.php
## viewtopic.php
## includes/constants.php
## includes/functions.php
## includes/functions_post.php
## includes/usercp_viewprofile.php
## language/lang_english/lang_admin.php,
## language/lang_english/lang_main.php,
## templates/subSilver/memberlist_body.tpl
## templates/subSilver/profile_view_body.tpl
## templates/subSilver/viewtopic_body.tpl



but i don't see any instructions for editing these files ....

am i missing something?
User avatar
Scriptmaster10
Registered User
Posts: 107
Joined: Mon Aug 29, 2005 5:47 pm
Location: The Heart of England

Post by Scriptmaster10 »

witherwings.uni.cc

THe site has many mods installed, the first installed was the cashmod. All code was installed perfectly with easymod however cash does not display in the profile of members.

all the installation says is to place {CASH} into the profile which I have done and it isnt showing. i do not get any error.

This leads me to believe that {CASH} seems undefined elsewhere or something but do not have the knowledge to fix it.

Thankyou and any help would be appreciated.

NOTE: I had to impliment the GET_VARS adjustment, if that helps.
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53400
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Post by Brf »

You have CASH in there twice, and L_CASH once, which doesnt exist. Are you sure another mod is not clearing it out before it can be displayed?
User avatar
Scriptmaster10
Registered User
Posts: 107
Joined: Mon Aug 29, 2005 5:47 pm
Location: The Heart of England

Post by Scriptmaster10 »

Heres the code to profile_view_body.tpl. I have removed excess {CASH} bits I had

<<info removed>>
Last edited by Scriptmaster10 on Thu Dec 07, 2006 6:39 pm, edited 1 time in total.
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53400
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Post by Brf »

Yes. I have already seen your profile_view_body. Please remove it from your last post.

I was asking if there was anything in usercp_viewprofile that might be blanking out CASH, or if you have even put the proper cash edit in there.
K34nu
Registered User
Posts: 7
Joined: Thu Dec 07, 2006 11:55 am

Post by K34nu »

Hey,
I have 2 things, one question, one problem.

Question:
Is "Cash" for Real life currency, or can you change "Cash" for something else, and make it only forum-currency?


Also,
Iv tried installing this script with EasyMod Beta (0.3.0) but this is the error I get:
Critical Error

FIND FAILED: In file [posting.php] could not find:

$select_sql = ( !$submit ) ? ", t.topic_title, p.enable_bbcode, p.enable_html, p.enable_smilies, p.enable_sig, p.post_username, pt.post_subject, pt.post_text, pt.bbcode_uid, u.username, u.user_id, u.user_sig" : '';


Can someone help me?

Thanks in advance!
-Keanu
P.s. Reply ASAP!
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53400
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Post by Brf »

This mod is for play-money.

I dont use Easy-Mod. It is not reliable on modded files. You should be able to find that line by hand.
K34nu
Registered User
Posts: 7
Joined: Thu Dec 07, 2006 11:55 am

Post by K34nu »

Thanks for the reply. (I thought it was something like that, but just had to check.. Cause I really need this script...)

I cannot find the line thow?

I have a few mods already installed, would that interfere with it?
The mods I have installed are:
Simple Subforums MOD
eXtreme Styles mod 2
Moderator CP
EasyMOD


Should I just get an "Posting.php" from a new copy of PhpBB?

Thanks in advance!
-Keanu
Post Reply

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