Page 44 of 798

Posted: Fri Sep 12, 2003 7:13 pm
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. ;)

Posted: Sat Sep 13, 2003 7:40 am
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:

Posted: Sat Sep 13, 2003 7:42 am
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

Posted: Sat Sep 13, 2003 9:20 am
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 :?

Posted: Sat Sep 13, 2003 9:23 am
by Xore
you should be able to do that by changing from prefix to postfix in the Cash Settings, on a per currency basis.

Posted: Sat Sep 13, 2003 11:44 am
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. :)

Posted: Sat Sep 13, 2003 12:28 pm
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 :)

Posted: Sat Sep 13, 2003 5:21 pm
by Q-Zar
It worked just fine Xore, thanks :)

Posted: Sat Sep 13, 2003 5:46 pm
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?

Posted: Sat Sep 13, 2003 6:01 pm
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.

Posted: Sat Sep 13, 2003 6:03 pm
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

Posted: Sat Sep 13, 2003 10:13 pm
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.

Posted: Sat Sep 13, 2003 10:16 pm
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.

Posted: Sat Sep 13, 2003 10:29 pm
by busterblader103
where do i save it to?

(sorry, im new, and bad) lol

Posted: Sat Sep 13, 2003 10:37 pm
by A_Jelly_Doughnut
busterblader103 wrote: where do i save it to?

(sorry, im new, and bad) lol
Save what to?