[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

_SMOOTH_
Registered User
Posts: 18
Joined: Thu Aug 28, 2003 1:17 am

Post by _SMOOTH_ »

put a dot ( . ) after $cash_message in the third edit


Should I put the DOT right after $cash_message or where?

Code: Select all

$cash_message. = "";
plz explain....sry I am kinda new
_SMOOTH_
Registered User
Posts: 18
Joined: Thu Aug 28, 2003 1:17 am

Post by _SMOOTH_ »

ok...its still didn't work...I don't understand these errors...

Code: Select all

}
		$cash_message. = "";
		if ( !$board_config['cash_disable'] )
	{
		$cash_message = cash_update($mode,$forum_id,$post_id,$post_message,$current_time);
	}
	$meta = '<meta http-equiv="refresh" content="3;url=' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">';
	$message = $lang['Stored'] . '<br />' . $cash_message '<br /><br />' . sprintf($lang['Click_view_message'], '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_forum'], '<a href="' . append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id") . '">', '</a>');

	return false;
that is my new entry...I updated my html drectory with it...and I stilll get the same errors.....plus my Cash Help page is empty...and I have alot of blank fields all through my cash pages. Are they suppose to be blank?
gurukast
Registered User
Posts: 230
Joined: Fri Aug 29, 2003 4:13 pm

Post by gurukast »

arrrgh


done modded up pnphpbb 1.2 to work with points 2..
then i found this cash mod and they released 1.2a

sigh
soulie2002
Registered User
Posts: 1
Joined: Fri Aug 29, 2003 4:58 pm

Post by soulie2002 »

does this mod work with the latest 2.06 phpbb?
fateorfantasy
Registered User
Posts: 318
Joined: Tue Jul 01, 2003 6:54 pm
Location: Canada
Contact:

Post by fateorfantasy »

soulie2002 wrote: does this mod work with the latest 2.06 phpbb?

Yes, there aren't that many changes between 2.0.5 and 2.0.6, so most (I think) mods that work with 2.0.5 should work with 2.0.6.
_SMOOTH_
Registered User
Posts: 18
Joined: Thu Aug 28, 2003 1:17 am

Post by _SMOOTH_ »

is there another cash mod besides this one that is easier to install and operate? I have limited PHP skills....
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 »

_SMOOTH_ wrote: ok...its still didn't work...I don't understand these errors...

}
$cash_message. = "";
if ( !$board_config['cash_disable'] )
{
$cash_message = cash_update($mode,$forum_id,$post_id,$post_message,$current_time);
}
$meta = '<meta http-equiv="refresh" content="3;url=' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">';
$message = $lang['Stored'] . '<br />' . $cash_message . '<br /><br />' . sprintf($lang['Click_view_message'], '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $post_id) . '#' . $post_id . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_forum'], '<a href="' . append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id") . '">', '</a>');

return false;


that is my new entry...I updated my html drectory with it...and I stilll get the same errors.....plus my Cash Help page is empty...and I have alot of blank fields all through my cash pages. Are they suppose to be blank?


The blue dot ( . ) is the one that you missed.

Code: Select all

$cash_message. = ""; 
should be

Code: Select all

$cash_message = ""; 
Camels in the Mist
<noise type="random" source="camel" />
Cash Mod
McLR
Registered User
Posts: 95
Joined: Thu Aug 21, 2003 12:51 pm

Post by McLR »

Hi
I want to ask you if you can give me a script that give points to user
for refer users by referral mod
i asked it abela , but he doesnt answer me :(
verry verry tnx , it verry important to me
tnx
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 »

McLR wrote: Hi
I want to ask you if you can give me a script that give points to user
for refer users by referral mod
i asked it abela , but he doesnt answer me :(
verry verry tnx , it verry important to me
tnx


Well, John tends to be fairly busy, and i suspect he doesn't like answering questions that have already been answered. Likewise, this probably means he hasn't been able to put a lot of time into modding.

The issue at hand, i guess, is that if either myself or John were to take on this project, it would mean that we'd have to learn how the other's system works to a fair degree, and currently neither of us has the time for it.

When I release CM 2.1, it will be sporting an interfact that's significantly more intuitive for other MOD authors, and perhaps John and I can collaborate on such a MOD, since with my (pseudo) API, figuring things out will be significantly easier.

With that said, i'm rushing to get 2.1 out asap.
Camels in the Mist
<noise type="random" source="camel" />
Cash Mod
_SMOOTH_
Registered User
Posts: 18
Joined: Thu Aug 28, 2003 1:17 am

Post by _SMOOTH_ »

Hey,

thnx a bunch forthe help..everything kinda works now....I can actually get the bux...now I just wonder about the bux settings and configuration page with the text fields and nothing writing beside them.....its kinda hard to configure something ya can't read right....help
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 »

_SMOOTH_ wrote: Hey,

thnx a bunch forthe help..everything kinda works now....I can actually get the bux...now I just wonder about the bux settings and configuration page with the text fields and nothing writing beside them.....its kinda hard to configure something ya can't read right....help


henceforth, check first if your problems are addressed in Cash Mod Support -> Troubleshooting (see my signature), where your problem is addressed

If you have problems after applying the fixes you see there, feel free to ask for more help, but always check there first.
Camels in the Mist
<noise type="random" source="camel" />
Cash Mod
_SMOOTH_
Registered User
Posts: 18
Joined: Thu Aug 28, 2003 1:17 am

Post by _SMOOTH_ »

yeah, but that doesn't tell me how to fix it...can someone just tell me what every field means...I'm not worried about the exchange page being blank...I just need to know what those fields are!...THNX
limitless
Registered User
Posts: 28
Joined: Wed Aug 27, 2003 9:56 pm

Post by limitless »

What do I put for the Cash Currencies config?
i put

Currency: Cash
Database field for currency: user_cash
Default Value: 10

and i get this error...

phpBB : Critical Error

Could not update user table

DEBUG MODE

SQL Error : 1044 Access denied for user: 'srt4@localhost' to database 'srt4'

ALTER TABLE srt_users ADD user_cash INT(11) NOT NULL DEFAULT '10'

Line : 319
File : /home/sites/site58/web/members/admin/admin_cash_currencies.php
Xore
Former Team Member
Posts: 2594
Joined: Wed Apr 16, 2003 7:42 pm
Location: the wastelands between insomnia and clairvoyance
Contact:

Re: Troubleshooting

Post by Xore »

  • No text/words appear/missing in Admin Panels (or exchange page)

    Problem: Those words are provided by the language files (language/*/lang_main.php and language/*/lang_admin.php. If they aren't showing up, it means that those words aren't there.
    Fix: Check Cashmod202.txt and follow the instructions to edit lang_admin.php and lang_main.php properly.


it seems to me that it tells you how to fix it.
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 »

limitless wrote: What do I put for the Cash Currencies config?
i put

Currency: Cash
Database field for currency: user_cash
Default Value: 10

and i get this error...

phpBB : Critical Error

Could not update user table

DEBUG MODE

SQL Error : 1044 Access denied for user: 'srt4@localhost' to database 'srt4'

ALTER TABLE srt_users ADD user_cash INT(11) NOT NULL DEFAULT '10'

Line : 319
File : /home/sites/site58/web/members/admin/admin_cash_currencies.php


Are you using mysql? if not, what DBMS are you using?
Camels in the Mist
<noise type="random" source="camel" />
Cash Mod
Post Reply

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