[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

iggyman
Registered User
Posts: 4
Joined: Wed Dec 13, 2006 11:23 am

Post by iggyman » Wed Dec 13, 2006 11:25 am

kk ive installed the mod successfully..using easy mod..but now i cant see how to configure it..like where is the control panel for this mod..??

thanks

edit: actually it just magically appeared in the main menu :)

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

Post by Brf » Wed Dec 13, 2006 12:26 pm

No_Mercy wrote: One question I had, is there a way without tweaking it myself that there are groups based on how much of a currency they have?


No.... but maybe you could pose the question in one of the Auto Groups threads... Have a group determined by amount of cash, rather than amount of posts....

lucasdharo
Registered User
Posts: 11
Joined: Tue Jan 17, 2006 11:00 pm
Contact:

Post by lucasdharo » Wed Dec 13, 2006 4:07 pm

Exists one add-on for indications, where user that it indicates gains money?


Thanks

[]'s
Image

Granit
Registered User
Posts: 266
Joined: Sun Aug 27, 2006 3:17 pm

Post by Granit » Wed Dec 13, 2006 8:50 pm

After removing 22 mods today it works. :lol:

Just want to say thank you all for the help.

And i wonder one more thing, it seems like the cash dosent work in memberlist.

Is that something that only i have problem with, or is it something that anyone else has?

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

Post by Brf » Wed Dec 13, 2006 8:54 pm

cash should show fine in the memberlist, as long as you have done the proper edits to memberlist.php and memberlist_body.tpl. Also make sure you have your individual currencies set to show in memberlist.

Granit
Registered User
Posts: 266
Joined: Sun Aug 27, 2006 3:17 pm

Post by Granit » Wed Dec 13, 2006 11:30 pm

The cash field in the memberlist is showing, but not any cash in them.
The fields are empty.

And everything is set right in the acp, or cash panel to show in the memberlist, its like there is no conection between the memberlist and the cash or something.

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

Post by Brf » Thu Dec 14, 2006 12:31 am

Ah-ha! You did this part wrong then:

Code: Select all

# 
#-----[ FIND ]------------------------------------------ 
# 
			'U_VIEWPROFILE' => append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$user_id"))

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
		);

		$cm_memberlist->listing($template,$row
Notice the placement of the added line.... It should look like this when you are done:

Code: Select all

			'U_VIEWPROFILE' => append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$user_id"))
		);

		$cm_memberlist->listing($template,$row

		);

		$i++;
	}

Granit
Registered User
Posts: 266
Joined: Sun Aug 27, 2006 3:17 pm

Post by Granit » Thu Dec 14, 2006 1:17 am

No, that have i done right from the start.
The cash shows everywhere else, but not in memberlist.

User avatar
Jackanape
Registered User
Posts: 1076
Joined: Wed Oct 13, 2004 6:01 am
Location: Capitol of the Great State of New York
Name: Jack Drury
Contact:

Post by Jackanape » Thu Dec 14, 2006 5:10 am

No_Mercy wrote: I have 200 points. I am 'upperclass'
I have 3 points. I am 'lowerclass'


Ha ha ha.

I love that idea! If you get it working, let us know!
~Extending the rule of meticulous exactitude to exaspirating punctillio...still.~
Treat your phpBB like a member of the family--Update and MOD her by hand, with HTML-Kit
: : Wanna Talk Poker? : : Image : :

No_Mercy
Registered User
Posts: 115
Joined: Mon Dec 11, 2006 8:33 pm

Post by No_Mercy » Thu Dec 14, 2006 5:51 am

God I wish Jackanape.

I'm code-challenged. I honestly have no clue how about doing this!

xD

Would it be possible to make a usergroup with like 100 points above and your;re in this group.

Then in the php or whatever change from posts to cash.


This would eliminated your optioni of having regular usergroups if it worked.

Anyone smarter than me want to tell me if this would work and how I would go aabout doing it?

Lukage
Registered User
Posts: 28
Joined: Mon Jul 17, 2006 8:19 pm

Post by Lukage » Thu Dec 14, 2006 5:56 am

So I've installed this and have a few questions. I was hoping I could have it display on posts the point amount for each of the two types I have, and also if I can get this looking a little cleaner...the images aren't big enough to force themselves to position like they are.

EDIT: One more question. How would I remove the icons for each user in the Memberlist? I would love to just see the images at the top.

Here's a link to a thread on the forum in question: http://www.gb2gt.com/forum/viewtopic.php?t=75

Otherwise, it's pretty awesome and thanks in advance for any assistance!

Blisk
Registered User
Posts: 270
Joined: Wed Aug 20, 2003 10:43 am
Location: Slovenia

Post by Blisk » Thu Dec 14, 2006 9:01 am

I found a solution to work this cash MOD with a ajax mod.

If someone have better solution please post, I don't know nothing about php.

If this line is in functio_post.php

Code: Select all

#-----[ OPEN ]------------------------------------------ 
#
includes/functions_post.php

# 
#-----[ FIND ]------------------------------------------ 
# 
		include($phpbb_root_path . 'includes/functions_search.'.$phpEx);

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
#
		$GLOBALS['cm_posting']->update_delete($mode, $post_data, $forum_id, $topic_id, $post_id);

Then deleting doesn't work

I move this line to here

Code: Select all

#-----[ OPEN ]------------------------------------------ 
#
includes/functions_post.php

# 
#-----[ FIND ]------------------------------------------ 
# 
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);


# 
#-----[ BEFORE, ADD ]------------------------------------------ 
#
		$GLOBALS['cm_posting']->update_delete($mode, $post_data, $forum_id, $topic_id, $post_id);
And now works all.

I think so :roll:

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

Post by Brf » Thu Dec 14, 2006 12:05 pm

Blisk wrote: I found a solution to work this cash MOD with a ajax mod.

#
#-----[ FIND ]------------------------------------------
#
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);


The only spot in functions/post with page_tail is the smilies box. What does the smilies box have to do with cash?

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

Post by Brf » Thu Dec 14, 2006 12:15 pm

Lukage wrote: I was hoping I could have it display on posts the point amount for each of the two types I have


I am guessing you are not awarding head-crabs in that particular forum, so its amount is not showing.
One more question. How would I remove the icons for each user in the Memberlist? I would love to just see the images at the top.


in classes_cash, look for this line:

Code: Select all

$template->assign_block_vars('memberrow.cashrow', array('CASH_DISPLAY' => $c_cur->display($row[$c_cur->db()])));
and replace it with:

Code: Select all

$template->assign_block_vars('memberrow.cashrow', array('CASH_DISPLAY' => $row[$c_cur->db()]));

User avatar
Jackanape
Registered User
Posts: 1076
Joined: Wed Oct 13, 2004 6:01 am
Location: Capitol of the Great State of New York
Name: Jack Drury
Contact:

Post by Jackanape » Thu Dec 14, 2006 1:17 pm

Lukage wrote: So I've installed this and have a few questions. I was hoping I could have it display on posts the point amount for each of the two types I have, and also if I can get this looking a little cleaner...the images aren't big enough to force themselves to position like they are.

I presume you know that this is because one of those cash types is disabled for that forum, so that cash amount doesn't show in posts in that forum.

If memory serves correctly, there's a fix for that within the last 10-20 pages of this topic. Take a look, you should find it.

(And I see brf's already answered you on this one...LOL...sorry, Good Luck!)
~Extending the rule of meticulous exactitude to exaspirating punctillio...still.~
Treat your phpBB like a member of the family--Update and MOD her by hand, with HTML-Kit
: : Wanna Talk Poker? : : Image : :

Post Reply

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