[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
Brf
Support Team Member
Support Team Member
Posts: 51985
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Post by Brf »

tacofish wrote: I am still having a problem with cash not showing up in profiles.


Read up two posts from yours. jerx has the template_plus patch up there. That should fix the profile view problem.


jerx, be careful, or you might just inherit this thread :twisted:

tacofish
Registered User
Posts: 51
Joined: Sat Dec 23, 2006 4:05 pm

Post by tacofish »

Okay, never mind, I have it working now, thanks!!
tacofish wrote: I am still having a problem with cash not showing up in profiles. Here is
what my code looks like:

<tr>
<td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_BANK}:</span></td>
<td> <span class="gen">{BANK_GOLD} {L_POINTS_NAME}</span></td>
</tr>

{CASH}

</table>
</td>
</tr>

So, it seems like it should be working right? What else could be wrong?

KasLimon
Registered User
Posts: 26
Joined: Tue Oct 10, 2006 9:32 pm

Post by KasLimon »

Xore wrote: Compatibility


Hi, PsYpEr's page doesn't work, can someone tell me another site to find it? (I mean, the PCP's adaptation of this mod) I searched at Ptirhiik demo board and at the google but I cannot find anything.

Thanks to all ;)
Last edited by KasLimon on Mon Jan 22, 2007 4:49 pm, edited 1 time in total.

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

Post by Brf »

This is the Cash Mod support thread, not the PCP one.

KasLimon
Registered User
Posts: 26
Joined: Tue Oct 10, 2006 9:32 pm

Post by KasLimon »

In one hand think it shouldn't mutter be here because we're talking about something that Xore said in this topic... But in the other hand you'll be right.

Sorry :oops:

Myzery
Registered User
Posts: 2
Joined: Mon Jan 22, 2007 8:47 pm

Post by Myzery »

Code: Select all

Fatal error: Call to a member function post_vars() on a non-object in /home/.nelo/wj/currency.bertwagner.com/phpBB/includes/usercp_viewprofile.php on line 245
I just installed the cash mod with easy mod and did all the manual steps afterward. I created my own currency and it shows in the memberlist but not in the profile. I get the error seen above when I even try to look at the profile of anyone.

My usercp_viewprofile.php looks like so (lines 242-250)

Code: Select all

	'S_PROFILE_ACTION' => append_sid("profile.$phpEx"))
);

$cm_viewprofile->post_vars($template,$profiledata,$userdata);
$template->pparse('body');

include($phpbb_root_path . 'includes/page_tail.'.$phpEx);

?>

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

Post by Brf »

Did the correct edit get done to the top of profile.php?

bark
Registered User
Posts: 8
Joined: Wed Apr 19, 2006 12:18 am

Post by bark »

I've installed this no probs !

But now I can't edit posts, it just resets the page.
and every time someone is credited with cash it gives them double.

Anyone know some quick fixes.

Oh and on the confirmation page when it says "you just got x many cash" it is written twice.

:?:
Last edited by bark on Tue Jan 23, 2007 3:36 am, edited 1 time in total.

Myzery
Registered User
Posts: 2
Joined: Mon Jan 22, 2007 8:47 pm

Post by Myzery »

Code: Select all

 ***************************************************************************/

define('IN_PHPBB', true);
if ( (isset($HTTP_GET_VARS['mode']) && ($HTTP_GET_VARS['mode'] == 'viewprofile')) || (isset($HTTP_POST_VARS['mode']) && ($HTTP_POST_VARS['mode'] == 'viewprofile')) )
{
	define('IN_CASHMOD', true);
	define('CM_VIEWPROFILE',true);
}

$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
IF that is the correct code, then yes.

pattyjean78
Registered User
Posts: 102
Joined: Tue Jan 23, 2007 2:20 am
Location: riding a dragon

Post by pattyjean78 »

I am new to installing mods. I just tried to install this cash mod and I'm getting the following error message on my forum:

Fatal error: Class 'Template' not found in /fpgs/fpgshttpd/flamingpixels/phpBB2/includes/classes_cash.php on line 40

I get this when I try to view or post a message and when I click on the cash links in the administration area. Anyone have any ideas what I might have done? I don't want to start over unless I have to.

User avatar
sciguy
Registered User
Posts: 152
Joined: Thu Oct 20, 2005 4:17 pm
Contact:

Post by sciguy »

Hello, just installed the mod. It works wonderfully! I just had one little issue. For the group admin, I try to tell it to add a certain amount when they advance to a certain rank, but after i hit update, it doesn't update it...it just defaults. Any suggestions?
UltimateComputers.net
^A website and forum for computer building enthusiasts and newbs!^

User avatar
sciguy
Registered User
Posts: 152
Joined: Thu Oct 20, 2005 4:17 pm
Contact:

Post by sciguy »

Let me rephrase my question above. I figured out that the group settings is a one time thing. Is there a way to make it so that when a user advances to a certain rank they they will get a "cash bonus?"
UltimateComputers.net
^A website and forum for computer building enthusiasts and newbs!^

bark
Registered User
Posts: 8
Joined: Wed Apr 19, 2006 12:18 am

Post by bark »

Oh, this double crediting is killing me !

How do I fix it ?

bark
Registered User
Posts: 8
Joined: Wed Apr 19, 2006 12:18 am

Post by bark »

Fixed It !!

Don't know what the problem was but I just restored the old files then reuploaded the edited files and all was good.

Weird !

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

Post by Brf »

pattyjean78 wrote: Fatal error: Class 'Template' not found in /fpgs/fpgshttpd/flamingpixels/phpBB2/includes/classes_cash.php on line 40


You have the edit to common.php in the wrong place. It should be after the other includes.

Post Reply

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