[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

Emberem
Registered User
Posts: 98
Joined: Fri Aug 08, 2003 11:17 am
Location: UK
Contact:

Post by Emberem »

I undid the changes and sorry to everyone, I don't think I could cope aith all that again. I'll see if my course this year teaches me anything. ;)
Q-Zar
Registered User
Posts: 779
Joined: Sun Nov 17, 2002 8:30 pm
Location: Brussels
Contact:

Post by Q-Zar »

Emberem wrote: can you tell me which files those fixes were for?


functions_post.php
Also, the installation isn't difficult, but it looks like you messed up doing it, for example the place where you added the code isn't the one mentionned in the installation file.
If you don't follow the instructions correctly, you won't get it installed by next year :roll:
Traductions : Cash Mod v2.2.2 (Getting Started) / Dice Mod v1.2.3 / Activity Mod Plus 1.0.8
Remember this. Please read the F.A.Q/Troubleshooting of a mod before asking questions.
Image
Emberem
Registered User
Posts: 98
Joined: Fri Aug 08, 2003 11:17 am
Location: UK
Contact:

Post by Emberem »

No I won'r. but someone is helping me with it. I don't honestly know how I got so confused. Maybe I was tired and stressed. I hate script alterations. :P
Q-Zar
Registered User
Posts: 779
Joined: Sun Nov 17, 2002 8:30 pm
Location: Brussels
Contact:

Post by Q-Zar »

Xore, little question :

Do you remember in which file the code that shows your posting earnings is located ?

Because it says for example "you have earned Gold 17 for this message", and I'd prefer if it said "you have earned 17 Gold for this message".
My guess is, all I need to do is switch 2 parts of that code (the amount + the currency's name), but I can't find where it is :?
Traductions : Cash Mod v2.2.2 (Getting Started) / Dice Mod v1.2.3 / Activity Mod Plus 1.0.8
Remember this. Please read the F.A.Q/Troubleshooting of a mod before asking questions.
Image
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 »

you should be able to do that by changing from prefix to postfix in the Cash Settings, on a per currency basis.
Camels in the Mist
<noise type="random" source="camel" />
Cash Mod
Earthk
Registered User
Posts: 19
Joined: Wed Aug 13, 2003 7:21 am

Post by Earthk »

Just installed 2.0.2 and got an error when viewing a topic.
SQL Error : 1064 You have an error in your SQL syntax near ' u.user_allow_viewonline, u.user_session_time, u.user_gender, p.*, pt.post_text' at line 1

SELECT u.username, u.user_id, u.user_posts, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, u.user_sig_bbcode_uid, u.user_avatar, u.user_avatar_type, u.user_allowavatar, u.user_allowsmile, user_crystal, , u.user_allow_viewonline, u.user_session_time, u.user_gender, p.*, pt.post_text, pt.post_subject, pt.bbcode_uid FROM gbabb_posts p, gbabb_users u, gbabb_posts_text pt WHERE p.topic_id = 234 AND pt.post_id = p.post_id AND u.user_id = p.poster_id ORDER BY p.post_time ASC LIMIT 0, 15

Line : 414
File : /home/melon/phpBB/viewtopic.php

I've to replace the backup file for viewtopic.php. Other than that,
everything works fine. Any idea what went wrong?

---Edit---
It works now. I put the $cash_field after u.user_allowsmile with a
coma since it is not the end of the line. Removing the coma fixed the problem. :)
Q-Zar
Registered User
Posts: 779
Joined: Sun Nov 17, 2002 8:30 pm
Location: Brussels
Contact:

Post by Q-Zar »

Earthk wrote: SELECT u.username, u.user_id, u.user_posts, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, u.user_sig_bbcode_uid, u.user_avatar, u.user_avatar_type, u.user_allowavatar, u.user_allowsmile, user_crystal, , u.user_allow_viewonline, u.user_session_time, u.user_gender, p.*, pt.post_text, pt.post_subject, pt.bbcode_uid FROM gbabb_posts p, gbabb_users u, gbabb_posts_text pt WHERE p.topic_id = 234 AND pt.post_id = p.post_id AND u.user_id = p.poster_id ORDER BY p.post_time ASC LIMIT 0, 15


You might want to check that double comma.
Also, you can make your life easier by replacing all the u.xxxx part with u.* (that way you don't even need the $cash_field ) ;)
Xore : I'll try it as soon as I can, I'll let you know if it works :)
Traductions : Cash Mod v2.2.2 (Getting Started) / Dice Mod v1.2.3 / Activity Mod Plus 1.0.8
Remember this. Please read the F.A.Q/Troubleshooting of a mod before asking questions.
Image
Q-Zar
Registered User
Posts: 779
Joined: Sun Nov 17, 2002 8:30 pm
Location: Brussels
Contact:

Post by Q-Zar »

It worked just fine Xore, thanks :)
Traductions : Cash Mod v2.2.2 (Getting Started) / Dice Mod v1.2.3 / Activity Mod Plus 1.0.8
Remember this. Please read the F.A.Q/Troubleshooting of a mod before asking questions.
Image
ETaB685
Registered User
Posts: 2
Joined: Sat Sep 13, 2003 5:43 pm
Location: Allentown PA

Post by ETaB685 »

I just uploaded the files and ran the mysql_install.php file. Can someone please tell me in one post what to do now to get it working, please?
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 »

There are a set of instructions in cashmod202.txt that you need to follow. If you have any problems consult Cash Mod Support (my signature) -> Troubleshooting. It covers any problems you are likely to encounter if you mess up parts of the install.
Camels in the Mist
<noise type="random" source="camel" />
Cash Mod
ETaB685
Registered User
Posts: 2
Joined: Sat Sep 13, 2003 5:43 pm
Location: Allentown PA

Post by ETaB685 »

Thank you, I should have read that file. :)

EDIT: That's really hard to understand, I can barely read it. :( Can someone please send me the updated files through email?

If that is possible, my email is dcm07@entermail.net
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 »

ETaB685 wrote: Thank you, I should have read that file. :)

EDIT: That's really hard to understand, I can barely read it. :( Can someone please send me the updated files through email?


If you've opened it with notepad, try opening i with wordpad or some other text editor that properly recognizes the newlines.
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: your problem is that you have a ' in your spam message. unfortunately, this causes some issues at present.

Having a message without a ' will solve your problem.

I've already fixed this for the next version of Cash Mod.
Camels in the Mist
<noise type="random" source="camel" />
Cash Mod
busterblader103
Registered User
Posts: 80
Joined: Sun Sep 07, 2003 6:08 pm

Post by busterblader103 »

where do i save it to?

(sorry, im new, and bad) lol
User avatar
A_Jelly_Doughnut
Former Team Member
Posts: 34457
Joined: Sat Jan 18, 2003 1:26 am
Location: Where the Rivers Run
Contact:

Post by A_Jelly_Doughnut »

busterblader103 wrote: where do i save it to?

(sorry, im new, and bad) lol
Save what to?
A Donut's Blog
"Bach's Prelude (Cello Suite No. 1) is driving Indiana country roads in Autumn" - Ann Kish
Post Reply

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