[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

User avatar
Vampy
Registered User
Posts: 140
Joined: Mon May 12, 2003 4:25 pm

Post by Vampy »

Vampy wrote:
Also, the code below found in classes_cash.php:
if ($userdata['user_level'] != ADMIN && !$is_auth['auth_mod']) {
return $this->cash_update($mode, $poster_id, $first_post, $old_message, $post_message, $forum_id, $topic_id, $post_id, $new_bbcode, $topic_starter, $old_bbcode);
}

Am I right to say that only normal users will the cash of the user be updated. (i.e. admin and moderators will not have thier cash updated?) If this is so, then it doesn't seem to be correct cos' when I post as a moderator I get points added to my moderator account.


I am confused. This code is not in classes_cash.php


I'm sorry. I think I edited it. the original one was just:

Code: Select all

 return $this->cash_update($mode, $poster_id, $first_post, $old_message, $post_message, $forum_id, $topic_id, $post_id, $new_bbcode, $topic_starter, $old_bbcode);
I added the conditional statement. I know this isn't quite the place to ask for modified codes but I wa wondering what's wrong with it since I'm quite sure that the conditional statement is correct (i.e. No admin or moderators will get $this->cash_update).
Julian
fateorfantasy
Registered User
Posts: 318
Joined: Tue Jul 01, 2003 6:54 pm
Location: Canada
Contact:

Post by fateorfantasy »

my friend is getting this error whenever they try to access the cash mod part of the acp I don't see anything wrong with it... they're using 2.2.1

Code: Select all

Fatal error: Cannot instantiate non-existent class: cash_menucat in /home/phphost1/public_html/harrypotter/admin/admin_cash.php on line 31
jduyen
Registered User
Posts: 13
Joined: Sun Nov 16, 2003 6:04 am

Post by jduyen »

i got a same problem with him too. i'm using phpbb 2.0.6.

And how can uninstall it and install it back again?

thanks
andyshen
Registered User
Posts: 98
Joined: Tue Nov 11, 2003 9:07 pm
Contact:

PROBLEM NEEDED

Post by andyshen »

Code: Select all

Fatal error: Cannot instantiate non-existent class: cash_menucat in /home/phphost1/public_html/harrypotter/admin/admin_cash.php on line 31
I AM ALSO USING PHPBB 2.6
andyshen
Registered User
Posts: 98
Joined: Tue Nov 11, 2003 9:07 pm
Contact:

Post by andyshen »

is there any way to fix it because i need it real fast cause people are on the forum
andyshen
Registered User
Posts: 98
Joined: Tue Nov 11, 2003 9:07 pm
Contact:

Post by andyshen »

i installed everything with EasyMod with the help of FATEORFANTASY
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 »

Vampy wrote:
Vampy wrote:
Also, the code below found in classes_cash.php:
if ($userdata['user_level'] != ADMIN && !$is_auth['auth_mod']) {
return $this->cash_update($mode, $poster_id, $first_post, $old_message, $post_message, $forum_id, $topic_id, $post_id, $new_bbcode, $topic_starter, $old_bbcode);
}

Am I right to say that only normal users will the cash of the user be updated. (i.e. admin and moderators will not have thier cash updated?) If this is so, then it doesn't seem to be correct cos' when I post as a moderator I get points added to my moderator account.


I am confused. This code is not in classes_cash.php


I'm sorry. I think I edited it. the original one was just:

Code: Select all

 return $this->cash_update($mode, $poster_id, $first_post, $old_message, $post_message, $forum_id, $topic_id, $post_id, $new_bbcode, $topic_starter, $old_bbcode);
I added the conditional statement. I know this isn't quite the place to ask for modified codes but I wa wondering what's wrong with it since I'm quite sure that the conditional statement is correct (i.e. No admin or moderators will get $this->cash_update).


How about this: in your cash groups, set all the fields for moderator to negative the value in your default fields. that way, whenever a moderator posts, all those values get cancelled out. no additional coding necessary.
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 »

fateorfantasy wrote: my friend is getting this error whenever they try to access the cash mod part of the acp I don't see anything wrong with it... they're using 2.2.1

Code: Select all

Fatal error: Cannot instantiate non-existent class: cash_menucat in /home/phphost1/public_html/harrypotter/admin/admin_cash.php on line 31


please check to be sure that you've properly edited your common.php

this error should not be occurring if common.php has been properly updated.
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 »

for everyone who's getting the donation error, can you please let me know what version of phpbb you're using?
Camels in the Mist
<noise type="random" source="camel" />
Cash Mod
BlueSky_Ray
Registered User
Posts: 84
Joined: Fri Nov 14, 2003 4:59 am
Location: Hong Kong
Contact:

Post by BlueSky_Ray »

Hey, Xore~
I'm so sorry about the Chinese Traditional Taiwan translations
I have to fix it now ....
(exchange have some problem...2.0.2 upgrade to 2.2.1 can't exchange...[2.0.6])

Code: Select all

/*************************************************************************** 
*                            lang_cash.php [Chinese Traditional Taiwan] 
*                              ------------------- 
*     begin                : Sat Jul 20 2003 
*     copyright            : (C) 2003 BlueSky_Ray 
*     email                : bluesky_ray@hotmail.com 
* 
*     $Id: lang_cash.php,v 1.0.0.0 2003/10/08 00:55:17 Xore 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. 
* 
***************************************************************************/
Download Chinese Traditional Taiwan Translations
BlueSky_Ray
Registered User
Posts: 84
Joined: Fri Nov 14, 2003 4:59 am
Location: Hong Kong
Contact:

Post by BlueSky_Ray »

o yes, i forgot to tell you~
If i after edit the post , i can get Cash! Can you fix it?
swedevil
Registered User
Posts: 94
Joined: Wed Nov 05, 2003 7:10 am

Post by swedevil »

BlueSky_Ray wrote: o yes, i forgot to tell you~
If i after edit the post , i can get Cash! Can you fix it?



As so nicely pointed out my q-zar

Q-Zar wrote:
swedevil wrote:
Q-Zar wrote:Swedevil, there is a fix which makes it impossible to earn money by editing posts.
Wouldn't that solve your problem ?


yes, that's what I'm asking for.. but where is the fix?

Q-Zar wrote: There is a fix to stop users from gaining money by editing posts. Check the support if that's what you mean.


Ah if only man had been given a set of eyes there would be no need to repeat oneself. And just for the hell of it, I'll make you look for it instead of giving a direct link :twisted: It isn't hard to find anyway.
swedevil
Registered User
Posts: 94
Joined: Wed Nov 05, 2003 7:10 am

Post by swedevil »

german translation submitted...
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 »

just a repeat of what i said earlier...
Xore wrote: Just so that you understand, i really don't think this could ever be a good idea. Consider what would happen if a user creates a post that entirely fills the text field in your database and maxes out the points, then edits it to some small message. Then they'd get credit for the entire spam, instead of just for the small amount they posted for.
Camels in the Mist
<noise type="random" source="camel" />
Cash Mod
User avatar
tnntwister
Registered User
Posts: 25
Joined: Thu Nov 13, 2003 8:27 pm
Contact:

Post by tnntwister »

when someone posting a message, the screen after the validation of the message contains a blank tables : no cash gain appear, no message to confirm success, and no redirection. Seems nobody gain cash with posting messages in my forums. (http://www.oriflam.info/forums/)

Anyone can help ?
Post Reply

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