[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

dOoBiX
Registered User
Posts: 27
Joined: Wed Dec 28, 2005 8:37 pm
Contact:

Post by dOoBiX »

in the includes/functions_post.php, I'm on this step:

Code: Select all

# 
#-----[ 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);

however, in the file there are two places with

Code: Select all

include($phpbb_root_path . 'includes/functions_search.'.$phpEx);
I don't know where to add the new code... in the function delete_post or function submit_post :?
Aftershock_024
Registered User
Posts: 1
Joined: Wed Jul 12, 2006 3:51 am

Reply:

Post by Aftershock_024 »

Is there a way to "dontate" or "pay" another member with your credits w/out an admin having to do it?
-Thanks!
Huggy_b69
Registered User
Posts: 25
Joined: Mon May 02, 2005 5:00 pm

Post by Huggy_b69 »

Hi,

is there a mod of this mod which allows the user to earn money when his topic is moved from a non-earning forum to an earning one and lose money in the other way ?

Thanks
WhiteGoodman
Registered User
Posts: 1
Joined: Wed Jul 12, 2006 6:32 pm

Post by WhiteGoodman »

I have a portal and i was wondering, how do i show the user their own "points"? Like you there is {CURRENT_TIME} is there one for {DISPLAY_CASH} or soemthing?
christiansongwriter
Registered User
Posts: 102
Joined: Tue May 24, 2005 2:53 am

Post by christiansongwriter »

christiansongwriter wrote: OK, can live w/o ACP functionality...and thinking further there are three total forums where I would like the capability to 'charge' for new posts, yet replies would 'pay'. At this point I'm thinking the amount charged for new posts can be 5, and the amount paid for replies can be 10. What this essentially does for my forum is that every song/lyric critique (reply) gains a user the ability to create two new posts (requests for critique) in our songcrafting forums. Mods would need to be excluded from this arrangement, but I think that's a given...

EDITS/AFTERTHOUGHTS:

1) A reply to one's own post should not earn any credit (just thought of that)!

2) New users need to get 10 'talents' on registration.

Is any of this doable? :)

Thanks so much for any help!
James


I found a mod on another site that allows you to charge for new topics (and replies, but hopefully I could disable the reply part)...so it seems like some of the work is already done. Would need to figure out how to prevent replying to one's own topic from creating income, though. A former mod writer told me I could possibly wrap something in reply.php in an iff statement to do this, but right now I have no idea how to do that. :( Any suggestions, anyone?

Thanks,
James
sprion
Registered User
Posts: 2
Joined: Thu Jul 13, 2006 12:20 pm

Post by sprion »

Jayso wrote:
CobraCards wrote:Also, I can't get cash info to show up in profiles at all. Anyone else have that problem?


yeah.. i think it's about 5 pages back now...

However i had an error for mine - whether or not you have an error or you just didn't do something right is another question

If no error (or even with i guess), Just check you've done the right modifications in usercp_profile.php and profile.php (not sure if you changed that one... i think you do)


If you're using eXtreme Styles MOD.. replace classes_cash.php from Cash MOD with the one included in eXtreme Styles MOD package.
locuspoint
Registered User
Posts: 3
Joined: Sat Mar 25, 2006 7:18 pm

Post by locuspoint »

How come all the addons dont work? Their links are down.
Can anyone fix that?
User avatar
alh31
Registered User
Posts: 72
Joined: Fri May 05, 2006 4:21 pm

Post by alh31 »

I'm sure the answer to this is in here somewhere, but I can't get it to search for me. :(

I installed using EM. Now at the top of view topic I get:
Warning: Cannot modify header information - headers already sent by (output started at /export/htdocs/Dept/Org/other/ccrr/Forum/phpBB2/includes/functions_cash.php:2860) in /export/htdocs/Dept/Org/other/ccrr/Forum/phpBB2/viewtopic.php on line 1699

Warning: Cannot modify header information - headers already sent by (output started at /export/htdocs/Dept/Org/other/ccrr/Forum/phpBB2/includes/functions_cash.php:2860) in /export/htdocs/Dept/Org/other/ccrr/Forum/phpBB2/includes/page_header.php on line 479

Warning: Cannot modify header information - headers already sent by (output started at /export/htdocs/Dept/Org/other/ccrr/Forum/phpBB2/includes/functions_cash.php:2860) in /export/htdocs/Dept/Org/other/ccrr/Forum/phpBB2/includes/page_header.php on line 485

Warning: Cannot modify header information - headers already sent by (output started at /export/htdocs/Dept/Org/other/ccrr/Forum/phpBB2/includes/functions_cash.php:2860) in /export/htdocs/Dept/Org/other/ccrr/Forum/phpBB2/includes/page_header.php on line 486


I'm hoping there is an easy fix for this?
User avatar
alh31
Registered User
Posts: 72
Joined: Fri May 05, 2006 4:21 pm

Post by alh31 »

Sorry-posted twice. :roll:
Last edited by alh31 on Fri Jul 14, 2006 8:18 pm, edited 1 time in total.
TheaDidia
Registered User
Posts: 2
Joined: Tue Jul 26, 2005 8:11 am

Post by TheaDidia »

CobraCards wrote: Still working on profile display... it's not an error message, just nothing.


Hi,

Have you (or anyone else out there) had any luck with solving this? I've just installed Cash mod on my new forum, and everything appears to be working but there is absolutely nothing displayed on user profiles. Any help is greatly appreciated! :)

I'm assuming that the user profiles is where people would normally go to get to the donate or exchange functions. If not, that could be another problem I'm having as I can't find anything anywhere that links to these. :?: :?
sprion
Registered User
Posts: 2
Joined: Thu Jul 13, 2006 12:20 pm

Post by sprion »

TheaDidia wrote:
CobraCards wrote: Still working on profile display... it's not an error message, just nothing.


Hi,

Have you (or anyone else out there) had any luck with solving this? I've just installed Cash mod on my new forum, and everything appears to be working but there is absolutely nothing displayed on user profiles. Any help is greatly appreciated! :)

I'm assuming that the user profiles is where people would normally go to get to the donate or exchange functions. If not, that could be another problem I'm having as I can't find anything anywhere that links to these. :?: :?


If you're using eXtreme Styles MOD.. replace classes_cash.php from Cash MOD with the one included in eXtreme Styles MOD package.
crazywaste
Registered User
Posts: 125
Joined: Sun Jun 25, 2006 1:16 pm

Post by crazywaste »

I tried installing this twice and to no luck or success. I keep getting this page.

http://nightcrawler.vectoredhost.com/posting.php
WarriorPrincess
Registered User
Posts: 163
Joined: Wed Feb 08, 2006 10:09 am
Location: Australia

Post by WarriorPrincess »

sprion wrote:
TheaDidia wrote:
CobraCards wrote: Still working on profile display... it's not an error message, just nothing.


Hi,

Have you (or anyone else out there) had any luck with solving this? I've just installed Cash mod on my new forum, and everything appears to be working but there is absolutely nothing displayed on user profiles. Any help is greatly appreciated! :)

I'm assuming that the user profiles is where people would normally go to get to the donate or exchange functions. If not, that could be another problem I'm having as I can't find anything anywhere that links to these. :?: :?


If you're using eXtreme Styles MOD.. replace classes_cash.php from Cash MOD with the one included in eXtreme Styles MOD package.


Thanks for this tip :) I managed to get the points to show up in the profile... but should they not also show in the view topic under the author under my post count??
angryhobbit
Registered User
Posts: 89
Joined: Fri Jul 07, 2006 4:20 am
Location: Missouri
Contact:

Post by angryhobbit »

I am receiving a fatal error when I try to post a new message. The most recent mod I installed that modifed the functions_post.php file which is where I am getting the error message is this one. I installed it using the newest version of easyMod and it installed fine.

Everything works except when I try to actually post a message on the forum. The Preview feature works, but when I actually click the Submit button I get the follow error message.

Code: Select all

Fatal error: Call to a member function on a non-object in /homepages/9/d153282895/htdocs/freak/phpBB2/includes/functions_post.php on line 215

And here is line 215 and the line before it in the specified file.

Code: Select all

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

$current_time = time();

Any assistance would be greatly appreciated and thanks in advance.
WarriorPrincess
Registered User
Posts: 163
Joined: Wed Feb 08, 2006 10:09 am
Location: Australia

Post by WarriorPrincess »

WarriorPrincess wrote:
sprion wrote:
TheaDidia wrote:
CobraCards wrote: Still working on profile display... it's not an error message, just nothing.


Hi,

Have you (or anyone else out there) had any luck with solving this? I've just installed Cash mod on my new forum, and everything appears to be working but there is absolutely nothing displayed on user profiles. Any help is greatly appreciated! :)

I'm assuming that the user profiles is where people would normally go to get to the donate or exchange functions. If not, that could be another problem I'm having as I can't find anything anywhere that links to these. :?: :?


If you're using eXtreme Styles MOD.. replace classes_cash.php from Cash MOD with the one included in eXtreme Styles MOD package.


Thanks for this tip :) I managed to get the points to show up in the profile... but should they not also show in the view topic under the author under my post count??


still need to fix this if someone can help....

but I have also discovered another problem...

I have made currency... and set the settings to allow users to donate cash to other users.

I as admin can donate... but a regular user doesn't seem to be able to.

Am I missing something somewhere else?? the setting are a little confusing.

Thanks
WP
Post Reply

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