[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

ccassie
Registered User
Posts: 4
Joined: Thu Jun 03, 2004 5:16 am

Post by ccassie »

ccassie wrote: Xore,

I love the mod its excellent and I hope you continue your development and contributions. I am very very new to phpBB and your CashMod. I wanted to know if there was any restrictions on the images that can be used for CashMod?

I have added one.. but it doesn't appear to show up anywhere.

Your help would be most appreciated.

I am running phpBB 2.0.8 cashmod 2.2.1

Hope you can help me.

8) Frost


Its ok I worked it out. But wanted to see if I could have a Picture and the Name... Might just have to create an image that says that instead
Xore
Former Team Member
Posts: 2594
Joined: Wed Apr 16, 2003 7:42 pm
Location: the wastelands between insomnia and clairvoyance
Contact:

Post by Xore »

Percu.org wrote: juts one thing : how can i remove Cash Mod to be displayed for anonymous user ?


open up includes/classes_cash.php
around line 349, you should see a line

Code: Select all

			if ( $board_config['cash_disable'])
replace it with

Code: Select all

			if ( $board_config['cash_disable'] || ($postdata['user_id'] == ANOMYMOUS ))
Camels in the Mist
<noise type="random" source="camel" />
Cash Mod
Xore
Former Team Member
Posts: 2594
Joined: Wed Apr 16, 2003 7:42 pm
Location: the wastelands between insomnia and clairvoyance
Contact:

Post by Xore »

ccassie wrote: Its ok I worked it out. But wanted to see if I could have a Picture and the Name... Might just have to create an image that says that instead


open up includes/functions_cash.php

find (around line 816)

Code: Select all

			return '<img src="' . $phpbb_root_path . $this->currency['cash_imageurl'] . '" alt="' . quoteslash($this->currency['cash_name'],'"') . '" />';
replace with

Code: Select all

			return '<img src="' . $phpbb_root_path . $this->currency['cash_imageurl'] . '" alt="' . quoteslash($this->currency['cash_name'],'"') . '" />' . (( !$quotes ) ? $this->currency['cash_name'] : quoteslash($this->currency['cash_name'],$quotes));
Camels in the Mist
<noise type="random" source="camel" />
Cash Mod
Andy_Wilson
Registered User
Posts: 221
Joined: Thu Apr 22, 2004 6:02 pm
Location: England
Contact:

Post by Andy_Wilson »

PsYpEr wrote: There is a section on how to interface with the cash system in deducting money for certain cash events etc.

Where is this section???

Andy Wilson
Image
marigold
Registered User
Posts: 6
Joined: Sat Jun 12, 2004 9:00 am

Post by marigold »

I have literally been working on getting this cash mod to work properly all day. Now, 2 am and 30 pages into this thread, I have given up looking.

I have the cash mod installed, and I am able to access all portions of the cash mod, but when I post, it doesn't show reflect in the post. Or the profile. And I can't donate. So, it's basically pretending not to be there.

I have already reviewed the troubleshooting guide, and to the best of my knowledge done what I needed to do. (It's enabled, I have set currency, etc etc) Thing is, this is day 2 of my phpbb and sql experience, so I am a lame newb.

Help?
Grattier
Registered User
Posts: 25
Joined: Mon Feb 02, 2004 2:45 am

Recount Cash amounts

Post by Grattier »

I have a question about Recount Cash amounts:

If some users exhange points or Admin remove/add points to some users for some reasons... When you Recount Cash amounts... all thos modif disappear.......... it's really annoying because I'm building my own RPG mods that work with Cash mods and I would like, when i recount cash, that the forum remember all transaction...
Xore
Former Team Member
Posts: 2594
Joined: Wed Apr 16, 2003 7:42 pm
Location: the wastelands between insomnia and clairvoyance
Contact:

Post by Xore »

marigold wrote: I have literally been working on getting this cash mod to work properly all day. Now, 2 am and 30 pages into this thread, I have given up looking.

I have the cash mod installed, and I am able to access all portions of the cash mod, but when I post, it doesn't show reflect in the post. Or the profile. And I can't donate. So, it's basically pretending not to be there.

I have already reviewed the troubleshooting guide, and to the best of my knowledge done what I needed to do. (It's enabled, I have set currency, etc etc) Thing is, this is day 2 of my phpbb and sql experience, so I am a lame newb.

Help?


are you using templates other than subSilver? and if so, did you update them also with the required changes, or not?
Camels in the Mist
<noise type="random" source="camel" />
Cash Mod
Xore
Former Team Member
Posts: 2594
Joined: Wed Apr 16, 2003 7:42 pm
Location: the wastelands between insomnia and clairvoyance
Contact:

Re: Recount Cash amounts

Post by Xore »

Grattier wrote: I have a question about Recount Cash amounts:

If some users exhange points or Admin remove/add points to some users for some reasons... When you Recount Cash amounts... all thos modif disappear.......... it's really annoying because I'm building my own RPG mods that work with Cash mods and I would like, when i recount cash, that the forum remember all transaction...


let me get this straight: you want cash mod to remember all the transactions that other mods, built on top of cash mod, have generated?
Camels in the Mist
<noise type="random" source="camel" />
Cash Mod
Grattier
Registered User
Posts: 25
Joined: Mon Feb 02, 2004 2:45 am

Post by Grattier »

No ... what i want is: when someone donate cash to someone else, when you recount the cash on the forum for some reasy, this donation didn't disappear...


Also, if admin remove points to someone for some reasons, I don't want this user get those points because we recount...

Also, when you post on a forum where cash is disabled, you got this messsage: Vous avez gagnez pour ce topic ou cette réponse ... it should be: Aucuns points n'est donné sur ce forum or something like that that inform that there is no points for this forum
marigold
Registered User
Posts: 6
Joined: Sat Jun 12, 2004 9:00 am

Post by marigold »

Xore wrote:
marigold wrote:I have literally been working on getting this cash mod to work properly all day. Now, 2 am and 30 pages into this thread, I have given up looking.

I have the cash mod installed, and I am able to access all portions of the cash mod, but when I post, it doesn't show reflect in the post. Or the profile. And I can't donate. So, it's basically pretending not to be there.

I have already reviewed the troubleshooting guide, and to the best of my knowledge done what I needed to do. (It's enabled, I have set currency, etc etc) Thing is, this is day 2 of my phpbb and sql experience, so I am a lame newb.

Help?


are you using templates other than subSilver? and if so, did you update them also with the required changes, or not?


I am using subSilver, and installing the cash mod is the only thing I have done to the board. I have not changed colors, images, nothing. Just installed the cash mod and I have 3 users that are all just 'beta testing' accounts.
Comrade Admiral
Registered User
Posts: 13
Joined: Fri May 14, 2004 5:18 pm
Location: Kirkland Lake, Ontario
Contact:

Post by Comrade Admiral »

I'm getting this a lot.
Warning: Cannot modify header information - headers already sent by (output started at /forum/includes/functions.php:865) in /forum/includes/sessions.php on line 293

Warning: Cannot modify header information - headers already sent by (output started at /forum/includes/functions.php:865) in /forum/includes/sessions.php on line 294

Warning: Cannot modify header information - headers already sent by (output started at /forum/includes/functions.php:865) in /forum/includes/page_header.php on line 474

Warning: Cannot modify header information - headers already sent by (output started at /forum/includes/functions.php:865) in /forum/includes/page_header.php on line 476

Warning: Cannot modify header information - headers already sent by (output started at /forum/includes/functions.php:865) in /forum/includes/page_header.php on line 477


Now I can't even get into my admin panel to reactivate the board, let alone figure out what I messed up.

I modified the relevant files not from SubSilver, but from the default theme on my board, however, all lines in the tpl files remained the same.

I realize I'll probably be blasted for posting a question that has probably been asked a million times regarding every mod on the site, but this isn't the first time this has happened, and as someone with no PHP experience, all I'm asking for are some answers if anyone knows what I should do to fix my board. :D
Q-Zar
Registered User
Posts: 779
Joined: Sun Nov 17, 2002 8:30 pm
Location: Brussels
Contact:

Post by Q-Zar »

Grattier wrote: Also, when you post on a forum where cash is disabled, you got this messsage: Vous avez gagnez pour ce topic ou cette réponse ... it should be: Aucuns points n'est donné sur ce forum or something like that that inform that there is no points for this forum


Please keep in mind that French isn't Xore's first language, so keep your messages in English as often as possible ;)
I think he said this will be fixed in the next release of Cash Mod.
Xore : if you didn't understand him, he's talking about the "You have gained for this message" with no amount of money in forums where the mod is disabled or when you have received the maximum amount already.
Traductions : Cash Mod v2.2.2 (Getting Started) / Dice Mod v1.2.3 / Activity Mod Plus 1.0.8
Remember this. Please read the F.A.Q/Troubleshooting of a mod before asking questions.
Image
Andy_Wilson
Registered User
Posts: 221
Joined: Thu Apr 22, 2004 6:02 pm
Location: England
Contact:

Post by Andy_Wilson »

Andy_Wilson wrote:
PsYpEr wrote:There is a section on how to interface with the cash system in deducting money for certain cash events etc.

Where is this section???

Andy Wilson


This should be an easy question, please can someone answer it before it get's lost in other posts :?

Tanx,
Andy Wilson
Image
Xore
Former Team Member
Posts: 2594
Joined: Wed Apr 16, 2003 7:42 pm
Location: the wastelands between insomnia and clairvoyance
Contact:

Post by Xore »

marigold wrote:
Xore wrote:
marigold wrote:I have literally been working on getting this cash mod to work properly all day. Now, 2 am and 30 pages into this thread, I have given up looking.

I have the cash mod installed, and I am able to access all portions of the cash mod, but when I post, it doesn't show reflect in the post. Or the profile. And I can't donate. So, it's basically pretending not to be there.

I have already reviewed the troubleshooting guide, and to the best of my knowledge done what I needed to do. (It's enabled, I have set currency, etc etc) Thing is, this is day 2 of my phpbb and sql experience, so I am a lame newb.

Help?


are you using templates other than subSilver? and if so, did you update them also with the required changes, or not?


I am using subSilver, and installing the cash mod is the only thing I have done to the board. I have not changed colors, images, nothing. Just installed the cash mod and I have 3 users that are all just 'beta testing' accounts.


A couple of questions: have you double checked that you've made [all] the proper changes to the following files:
  • posting.php
  • viewtopic.php
  • profile.php
  • includes/functions_post.php
  • includes/usercp_viewprofile.php
?

also, did you apply the cash.php fix (located in troubleshooting) ?

Note, reading the first 30 pages of this thread probably wasn't a smart idea, considering near the bottom of page 1, i tell people that it's pointless to read on...
Camels in the Mist
<noise type="random" source="camel" />
Cash Mod
Xore
Former Team Member
Posts: 2594
Joined: Wed Apr 16, 2003 7:42 pm
Location: the wastelands between insomnia and clairvoyance
Contact:

Post by Xore »

Comrade Admiral wrote: I'm getting this a lot.
Warning: Cannot modify header information - headers already sent by (output started at /forum/includes/functions.php:865) in /forum/includes/sessions.php on line 293


check the bottom of your functions.php and make sure you don't have any extra lines/spaces after the ?>
Now I can't even get into my admin panel to reactivate the board, let alone figure out what I messed up.


The error you described won't do that... are you recieving another error of some sort when you try to access your admin panel?
I modified the relevant files not from SubSilver, but from the default theme on my board,


you need to modify the relevant tpl files across _all_ templates on your board, not just subSilver, not just your board default.
however, all lines in the tpl files remained the same.


what does this mean? when you viewed your forum, you didn't see any changes, or that when you viewed the .tpl files with an editor, there were no changes? (if the later... that can only mean that you didn't edit them... or forgot to upload the new version) ... also, you won't really see any changes on your site from cash mod until after you've created your first currency
I realize I'll probably be blasted for posting a question that has probably been asked a million times regarding every mod on the site, but this isn't the first time this has happened, and as someone with no PHP experience, all I'm asking for are some answers if anyone knows what I should do to fix my board. :D
Camels in the Mist
<noise type="random" source="camel" />
Cash Mod
Post Reply

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