[ABD] Cash Mod 1.0.0 Beta 1

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
Ratmaster
Registered User
Posts: 163
Joined: Sun Feb 12, 2006 3:14 pm
Location: New Jersey, USA

Re: [BETA] Cash Mod 0.3.2

Post by Ratmaster »

Will you keep the EasyMOD format with it? I have a special way of using EasyMOD to update my files on my phpBB3 via a phpBB2.
User avatar
Handyman`
Former Team Member
Posts: 1751
Joined: Thu Feb 03, 2005 8:44 pm
Contact:

Re: [BETA] Cash Mod 0.3.2

Post by Handyman` »

Ratmaster wrote:Will you keep the EasyMOD format with it? I have a special way of using EasyMOD to update my files on my phpBB3 via a phpBB2.
it will be in MODX format.
MODX is required for all phpBB3 MODs, so will use MODX in the future.
http://startrekguide.com My Mod Queue || 1/16/10 Display Posts Anywhere 1.2.0 RC5, Cash MOD 1.0.0 b1, MOD Version Check, AJAX Chat, SEO MOD, AJAX QR, Photo Gallery
MOD Development Manager (version 0.2.0-dev with MODX Generator)
User avatar
PorkoWog
Registered User
Posts: 80
Joined: Fri Oct 08, 2004 1:16 pm
Location: Sydney, Australia
Name: Gary
Contact:

Re: [BETA] Cash Mod 0.3.2

Post by PorkoWog »

Handyman` wrote:
PorkoWog wrote:If you were to release an update right now, how would the update go ahead? Will you provide the updated code via a post or would we have to upload the whole modification again?
There will be update instructions.
Where will they be found, via a post on this topic or will you edit the original/first post?
User avatar
Handyman`
Former Team Member
Posts: 1751
Joined: Thu Feb 03, 2005 8:44 pm
Contact:

Re: [BETA] Cash Mod 0.3.2

Post by Handyman` »

PorkoWog wrote:
Handyman` wrote:
PorkoWog wrote:If you were to release an update right now, how would the update go ahead? Will you provide the updated code via a post or would we have to upload the whole modification again?
There will be update instructions.
Where will they be found, via a post on this topic or will you edit the original/first post?
they will be included in the zip.
http://startrekguide.com My Mod Queue || 1/16/10 Display Posts Anywhere 1.2.0 RC5, Cash MOD 1.0.0 b1, MOD Version Check, AJAX Chat, SEO MOD, AJAX QR, Photo Gallery
MOD Development Manager (version 0.2.0-dev with MODX Generator)
User avatar
PorkoWog
Registered User
Posts: 80
Joined: Fri Oct 08, 2004 1:16 pm
Location: Sydney, Australia
Name: Gary
Contact:

Re: [BETA] Cash Mod 0.3.2

Post by PorkoWog »

Awesome, so it looks like I've gotta keep an eye on this topic to ensure I am updated with the latest. :)

Thanks a lot for your time and sorry for the hassle and questions Handyman', I appreciate it.
User avatar
Handyman`
Former Team Member
Posts: 1751
Joined: Thu Feb 03, 2005 8:44 pm
Contact:

Re: [BETA] Cash Mod 0.3.2

Post by Handyman` »

PorkoWog wrote:Awesome, so it looks like I've gotta keep an eye on this topic to ensure I am updated with the latest. :)

Thanks a lot for your time and sorry for the hassle and questions Handyman', I appreciate it.
well, it wouldn't be a problem except ---> ' != ` :P
I'm just finishing up the Posts Anywhere MOD, which means I'm going to start working on this MOD this week… I'll post updates as I have them.

Handyman` (note the ` not the ' ) :P
http://startrekguide.com My Mod Queue || 1/16/10 Display Posts Anywhere 1.2.0 RC5, Cash MOD 1.0.0 b1, MOD Version Check, AJAX Chat, SEO MOD, AJAX QR, Photo Gallery
MOD Development Manager (version 0.2.0-dev with MODX Generator)
issjut
Registered User
Posts: 113
Joined: Tue Oct 09, 2007 5:02 am
Location: Berlin, Germany

Re: [BETA] Cash Mod 0.3.2

Post by issjut »

Hi Handyman,

It would be great, if the users also would receive an amount for writing a message...
Is there a easy way to do this?

I don't need any additional settings...
eg. the points can be the same as the points that users get for a post...


btw.. the ucp module dont work on my board..

Code: Select all

$user->add_lang('mods/cash');
No more changes in ucp.php, is this right?
Last edited by issjut on Mon Apr 21, 2008 11:24 pm, edited 1 time in total.
sorry for my bad English ;-)
User avatar
*Christian*
I've Been Banned!
Posts: 884
Joined: Sat Nov 03, 2007 1:35 pm
Location: Location, Location.

Re: [BETA] Cash Mod 0.3.2

Post by *Christian* »

Hello,

just installed [MOD] on 3.0.1 forum and get the following errors...

When posting a new topic, in the header i get:

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions_posting.php on line 1555: submit_post(./includes/mods/functions_cash.php) [function.submit-post]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /includes/functions_posting.php on line 1555: submit_post(./includes/mods/functions_cash.php) [function.submit-post]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /includes/functions_posting.php on line 1555: submit_post() [function.include]: Failed opening './includes/mods/functions_cash.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')

Warning: Cannot modify header information - headers already sent by (output started at /home/power100/public_html/forum/includes/functions.php:2956) in /home/power100/public_html/forum/includes/functions.php on line 3526

Warning: Cannot modify header information - headers already sent by (output started at /home/power100/public_html/forum/includes/functions.php:2956) in /home/power100/public_html/forum/includes/functions.php on line 3528

Warning: Cannot modify header information - headers already sent by (output started at /home/power100/public_html/forum/includes/functions.php:2956) in /home/power100/public_html/forum/includes/functions.php on line 3529

Warning: Cannot modify header information - headers already sent by (output started at /home/power100/public_html/forum/includes/functions.php:2956) in /home/power100/public_html/forum/includes/functions.php on line 3530
Once the page redirects i get:

Code: Select all

[phpBB Debug] PHP Notice: in file /viewtopic.php on line 20: main(./includes/mods/functions_cash.php) [function.main]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 20: main(./includes/mods/functions_cash.php) [function.main]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 20: main() [function.include]: Failed opening './includes/mods/functions_cash.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')

Fatal error: Call to undefined function: viewtopic_cash() in /home/power100/public_html/forum/viewtopic.php on line 921

This is the error message i get when trying to view a post:

Code: Select all

[phpBB Debug] PHP Notice: in file /viewtopic.php on line 20: main(./includes/mods/functions_cash.php) [function.main]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 20: main(./includes/mods/functions_cash.php) [function.main]: failed to open stream: No such file or directory
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 20: main() [function.include]: Failed opening './includes/mods/functions_cash.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php')

Fatal error: Call to undefined function: viewtopic_cash() in /home/power100/public_html/forum/viewtopic.php on line 921
Here is line 921 of viewtopic.php

Code: Select all

viewtopic_cash($sql);

A bit more code form the surrounding area:

Code: Select all

	'WHERE'		=> $db->sql_in_set('p.post_id', $post_list) . '
		AND u.user_id = p.poster_id'
));
viewtopic_cash($sql);

$result = $db->sql_query($sql);
Help please :?
Proud owner of Bertie 3.0
:: No support via PM or IM ::
User avatar
Handyman`
Former Team Member
Posts: 1751
Joined: Thu Feb 03, 2005 8:44 pm
Contact:

Re: [BETA] Cash Mod 0.3.2

Post by Handyman` »

issjut wrote:Hi Handyman,

It would be great, if the users also would receive an amount for writing a message...
Is there a easy way to do this?

I don't need any additional settings...
eg. the points can be the same as the points that users get for a post...


btw.. the ucp module dont work on my board..

Code: Select all

$user->add_lang('mods/cash');
No more changes in ucp.php, is this right?
Could you explain this a bit more? I don't understand where the difference is between "message" and "post"
http://startrekguide.com My Mod Queue || 1/16/10 Display Posts Anywhere 1.2.0 RC5, Cash MOD 1.0.0 b1, MOD Version Check, AJAX Chat, SEO MOD, AJAX QR, Photo Gallery
MOD Development Manager (version 0.2.0-dev with MODX Generator)
issjut
Registered User
Posts: 113
Joined: Tue Oct 09, 2007 5:02 am
Location: Berlin, Germany

Re: [BETA] Cash Mod 0.3.2

Post by issjut »

Yes... I can try ;-)

Now my users get 4 points for posting a replay or creating a new topic.
I want to give them the same number of points for writing a private message, too.

I don't know much about php coding, but as far as I know is posting.php also responsible for writing private messages, isn't it? Therefore, I thought it would be possible without much effort.

-----------------------------------------------------------------------------

My other problem. UCP module don't works
I have made all the edits from the installation instructions.
In ucp.php there was only one change to make.

Code: Select all

#-----[ OPEN ]----------------------
#
ucp.php
#
#-----[ FIND ]----------------------
#
$user->setup('ucp');
#
#-----[ AFTER, ADD ]----------------------
#
$user->add_lang('mods/cash');
#
Is that right? Thats all?

I get this error:
Allgemeiner Fehler
Module not accessible
Using v. 0.3.2
-----------------------------------------------------------------------------


Thanks in advance
sorry for my bad English ;-)
User avatar
Handyman`
Former Team Member
Posts: 1751
Joined: Thu Feb 03, 2005 8:44 pm
Contact:

Re: [BETA] Cash Mod 0.3.2

Post by Handyman` »

Adding a language file wouldn't cause that… you can remove the language file and the module would still not be accessible.
Seems like something happened to your modules… you may want to check them in the ACP.

Note: I just finished Beta 2 of the Display Posts Anywhere MOD, so I'm starting on this MOD this week… I'll post progress reports as I finish parts of it.
http://startrekguide.com My Mod Queue || 1/16/10 Display Posts Anywhere 1.2.0 RC5, Cash MOD 1.0.0 b1, MOD Version Check, AJAX Chat, SEO MOD, AJAX QR, Photo Gallery
MOD Development Manager (version 0.2.0-dev with MODX Generator)
User avatar
PorkoWog
Registered User
Posts: 80
Joined: Fri Oct 08, 2004 1:16 pm
Location: Sydney, Australia
Name: Gary
Contact:

Re: [BETA] Cash Mod 0.3.2

Post by PorkoWog »

Handyman` wrote:Note: I just finished Beta 2 of the Display Posts Anywhere MOD, so I'm starting on this MOD this week… I'll post progress reports as I finish parts of it.
Great to hear man, can't wait! :)
User avatar
*Christian*
I've Been Banned!
Posts: 884
Joined: Sat Nov 03, 2007 1:35 pm
Location: Location, Location.

Re: [BETA] Cash Mod 0.3.2

Post by *Christian* »

Hello handyman,
thanks for the heads up on STG, turns out i uploaded one of the files to ucp/mods rather than make a new Mods directory in the includes file.

Anyway that's all sorted, final problem..

is there any reason this code:

Code: Select all

<!-- IF postrow.CASH_AMT -->
			<dd>
				<strong>{postrow.CASH_NAME}:</strong>
				<!-- IF postrow.U_MANAGE_ACCOUNT -->
					<a href="{postrow.U_MANAGE_ACCOUNT}">{postrow.CASH_AMT}</a>
				<!-- ELSE -->{postrow.CASH_AMT}<!-- ENDIF -->
			</dd>
		<!-- ENDIF -->
Wont display a user's cash Amount under their profile in their topic? Thanks :)

Using Prosilver based template.
Proud owner of Bertie 3.0
:: No support via PM or IM ::
User avatar
Handyman`
Former Team Member
Posts: 1751
Joined: Thu Feb 03, 2005 8:44 pm
Contact:

Re: [BETA] Cash Mod 0.3.2

Post by Handyman` »

*Christian* wrote:Hello handyman,
thanks for the heads up on STG, turns out i uploaded one of the files to ucp/mods rather than make a new Mods directory in the includes file.

Anyway that's all sorted, final problem..

is there any reason this code:

Code: Select all

<!-- IF postrow.CASH_AMT -->
			<dd>
				<strong>{postrow.CASH_NAME}:</strong>
				<!-- IF postrow.U_MANAGE_ACCOUNT -->
					<a href="{postrow.U_MANAGE_ACCOUNT}">{postrow.CASH_AMT}</a>
				<!-- ELSE -->{postrow.CASH_AMT}<!-- ENDIF -->
			</dd>
		<!-- ENDIF -->
Wont display a user's cash Amount under their profile in their topic? Thanks :)

Using Prosilver based template.
It should only NOT display their cash amount if they don't have any… other than that, it should display.
Though I will change that so it always displays even if there is only 0.
http://startrekguide.com My Mod Queue || 1/16/10 Display Posts Anywhere 1.2.0 RC5, Cash MOD 1.0.0 b1, MOD Version Check, AJAX Chat, SEO MOD, AJAX QR, Photo Gallery
MOD Development Manager (version 0.2.0-dev with MODX Generator)
User avatar
*Christian*
I've Been Banned!
Posts: 884
Joined: Sat Nov 03, 2007 1:35 pm
Location: Location, Location.

Re: [BETA] Cash Mod 0.3.2

Post by *Christian* »

Well the thing is...

It still doesn't display, and users have been posting for some time. The memberlist shows that users are earning cash, and the ACP says the Mod is enabled :?

Edit: Cash per post is set to 2

Link to board: http://power-ads.org/forum
Proud owner of Bertie 3.0
:: No support via PM or IM ::
Locked

Return to “[3.0.x] Abandoned MODs”