vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - ICash, Simple, stand alone point system. (https://vborg.vbsupport.ru/showthread.php?t=119086)

Blaine0002 08-02-2007 12:10 PM

Updated..

Enjoy!

mrpaint 08-02-2007 12:33 PM

Nice! I hope the new version works well
Very quick work!

Thank you, Blaine

Blaine0002 08-02-2007 12:45 PM

No problem, Might want to grab 1.1.1 while your here!

Caseyjr86 08-02-2007 03:28 PM

I see some guy has a similar error, but maybe its not completely fixed, as I have re downloaded everything and reuploaded and over written, unless there is something for me to do.


Quote:

Database error in vBulletin 3.6.7:

Invalid SQL:
update user set money = money +150 WHERE username = User;

MySQL Error : Unknown column 'User' in 'where clause'
Error Number : 1054
Date : Thursday, August 2nd 2007 @ 11:26:03 AM
Script : http://www.domain.com/donate.php?do=doadmindonate
Referrer : http://www.domain.com/donate.php?to=User
IP Address : *******
Username : RandoM
Classname : vb_database

fitnesshealth 08-02-2007 04:13 PM

Quote:

Originally Posted by Caseyjr86 (Post 1308144)
I see some guy has a similar error, but maybe its not completely fixed, as I have re downloaded everything and reuploaded and over written, unless there is something for me to do.

My problem is eliminated after using 1.1.1.

What i did is to completely uninstall the product and deleted all the relevant icash files.

Then i uploaded all the new files from 1.1.1.

I do not know if it is safe to overwrite everything.


New Problems discovered:

However, i discovered some new problems (or maybe they are not problems afterall).


Donate negative amount - Not working
(Successfully Donated 0 Points To nickname.)

Donate amount less than 1.0 (e.g. 0.5) - Not working
(Successfully Donated 0 Points To nickname.)

Donate more than 1.0 - Working fine.

fitnesshealth 08-02-2007 04:27 PM

The 'Points negated when deleted.' is also not working well. Does not deduct the correct points when post or thread is deleted.

Blaine0002 08-02-2007 05:08 PM

Thanks for the bug reports, ill look into them :)

Blaine0002 08-02-2007 05:16 PM

Fixed! update :)

fitnesshealth 08-02-2007 06:14 PM

Thanks for the quick fix!

Just wondering will my points settings for individual forums or members be reset after installation (overwrite) files/product?

Blaine0002 08-02-2007 06:18 PM

no they shouldnt.

TalkBolts 08-02-2007 06:28 PM

Cool, everything seems to be working perfectly now. Thank you Blaine.

fitnesshealth 08-02-2007 06:43 PM

Ok, i have tried to upload/overwrite all the files and overwrite the product. Now it's displaying as ICash 1.1.2 under Vbulletin Installed Products.

However, the negative amount donation problem still exists.

Any idea which part have i done wrong since TalkBolts mentioned that everything is working perfectly now?

I'm still getting "Successfully Donated 0 Points To nickname."



I do not dare to uninstall/remove everything and install again because i guess the points settings might be gone after doing that.


Please advise. Thank you. :)

Blaine0002 08-02-2007 07:24 PM

You must have uploaded donate.php incorrectly because it is working fine for me :)

fitnesshealth 08-02-2007 07:27 PM

Hmm ok. I will take note of it because i've tried uploading in both ascii and binary mode and it's still the same. Perhaps the web server is reading the cached file. I have no idea.

fitnesshealth 08-02-2007 07:35 PM

Hi,

I have just tried again.

I donated -2 and it deducted correctly. "Successfully Donated -2 Points To nickname."

I donated -0.50 and it says "Successfully Donated 0 Points To nickname."

I donated 0.50 and it says "Successfully Donated 0 Points To nickname."

Do you still have this problem?

Blaine0002 08-02-2007 08:20 PM

ok, so i guess i fixed the negatives but not the decimals... ill look into it.

TalkBolts 08-07-2007 05:10 PM

Is there any way to tell who donated money to whom? I think I have some people already trying to job the system by creating new accounts using proxy IP addresses just to get more points, then donating their points to their regular account.

Blaine0002 08-07-2007 06:41 PM

I plan on making it so theres an option to pm an admin when somone donates, would that do the job for you?

TalkBolts 08-08-2007 07:03 PM

Quote:

Originally Posted by Blaine0002 (Post 1312102)
I plan on making it so theres an option to pm an admin when somone donates, would that do the job for you?

Best would be some sort of transaction log, but PMing the admin would at least make the info available.

TalkBolts 08-08-2007 07:09 PM

Ok, I found a bug. A bad one.

If a user has zero posts, but has points, that user can donate the points to someone esle with out losing any points. They can give the same points over and over repeatedly basicaly creating an unlimited supply of points for whoever they want to give points to.

Blaine, if you need any help testing any fixes for this, please let me know.

TalkBolts 08-08-2007 08:34 PM

Leave it to the users on my forum to try everything possible to cheat the system. :mad:

Is there any way to disable the abiltiy of users to donate money to each other?

Blaine0002 08-08-2007 08:43 PM

Delete your donate.php file :)

How exactly are they cheating the system?

TalkBolts 08-08-2007 10:33 PM

Quote:

Originally Posted by Blaine0002 (Post 1313048)
Delete your donate.php file :)

How exactly are they cheating the system?

I started everyone out with 1000.00 points. Users have found that if they find someone with zero posts, that person can donate the 1000.00 to them without losing the 1000.00. This only seems to work if the user donating has zero posts.

The zero post user will repeatedly give the points to another user as to create a virtually unlimited supply of points.

Black Tiger 08-08-2007 11:00 PM

Quote:

Hope you like it, please request some features!
Well... I have one. Wrote about it earlier, but maybe you forgot.

Suppose something goes wrong and users lose all their points.
I would like to request a possibility, to give users their points back related to their postcount.

F.e. If they have a postcount of 25 posts, they get 25 times a configurable amount of points back, if all points are lost in de database, by running some option in the ACP.

I don't know if such thing can be made related to the forums, so they won't get points for forumparts which do not give points, but maybe something like that is possible to build related to the search index or something like that, I don't know.

Personally I would already be happy with a kind of point restore options f.e. via the postcount.

Blaine0002 08-09-2007 01:39 PM

i Could do something like that, it would be hard to do it using points per character though.

Black Tiger 08-09-2007 02:08 PM

That would be difficult indeed, but it would already be nice if there was some kind of restore possibility. Points per new thread/per reply would be a nice start.:)

wickland 08-09-2007 06:38 PM

Can you describe the referral system in regards to your software?

I am wondering how automatic it would be for a referrer to get credits for bringing in new members and also how they can exchange those credits for services.

Thanks

TalkBolts 08-09-2007 09:42 PM

Blaine, any ideas about this bug that allows users to cheat the system?

TalkBolts 08-10-2007 08:29 PM

Blaine, are you at least able to reproduce this problem?

Blaine0002 08-11-2007 09:18 PM

ill look into it, your giving it to the users upon registration?

McCarroll21 08-12-2007 02:16 AM

Is there a way you can manually put in their amount of iCash so we can manually take some away?

I know you can manually donate through the Admin Donate, but can you manually take away too? If so, how? If not, can it be implemented?

TalkBolts 08-12-2007 09:11 AM

Quote:

Originally Posted by Blaine0002 (Post 1315465)
ill look into it, your giving it to the users upon registration?

Yes, that's correct. They were getting points at registration. Thank you very much for checking into this.

TalkBolts 08-12-2007 09:12 AM

Quote:

Originally Posted by McCarroll21 (Post 1315597)
Is there a way you can manually put in their amount of iCash so we can manually take some away?

I know you can manually donate through the Admin Donate, but can you manually take away too? If so, how? If not, can it be implemented?

Just give the person a negative dollar amount and it'll take it away from them.

vitnuce 08-13-2007 08:24 AM

New bug: People can send the bigger amount than they have. Ex: A have 1 point on hand, and he can donate to B with amount: 1000; After that, A have -999 points.

Because this code doesn't work:
Code:

    if ($vbulletin->userinfo[$vbulletin->options['icashf']] - $vbuletin->GPC['amount'] < 0){
        eval(standard_error(fetch_error('error_icash_donthave')));
    }

change it to

Code:

    if ($vbulletin->userinfo[$vbulletin->options['icashf']] - $vbulletin->GPC['amount'] < 0){
        eval(standard_error(fetch_error('error_icash_donthave')));
    }

or

Code:

    if ($vbulletin->userinfo[$vbulletin->options['icashf']] < $vbulletin->GPC['amount'] ){
        eval(standard_error(fetch_error('error_icash_donthave')));
    }


Blaine0002 08-13-2007 02:42 PM

Doh! thanks for pointing that out :)

vitnuce 08-14-2007 09:37 AM

Update: User may donate negative amout to other. Replace

Code:

    if ($vbulletin->userinfo[$vbulletin->options['icashf']] - $vbuletin->GPC['amount'] < 0){
        eval(standard_error(fetch_error('error_icash_donthave')));
    }

by
Code:

    if ($vbulletin->userinfo[$vbulletin->options['icashf']] < $vbulletin->GPC['amount'] ){
        eval(standard_error(fetch_error('error_icash_donthave')));
    }

    if ($vbulletin->GPC['amount'] < 0){
        eval(standard_error(fetch_error('error_icash_donthave')));
    }

:(

4newbies 08-20-2007 06:03 PM

Anyone know if Version 1.1.4 of this has been tested and works with older vB version 3.6.5?

Seems like there should also be a admin panel option to just disable member donations to for people who just wish to avoid the potencial exploits all together with this function.

Black Tiger 08-20-2007 09:46 PM

Quote:

Anyone know if Version 1.1.4 of this has been tested and works with older vB version 3.6.5?
Which 1.1.4? We are just at 1.1.2 so there isn't even a 1.1.4.

Maybe wrong thread? I have Icash running at 3.6.8 and in the ACP there is no option to disable member donations. I just deleted the "donate.php" from the forum home directory. And did not at the "donate" line to postbit and postbit-legacy. That works great.

MadKad 08-23-2007 04:46 PM

Please can some one help, I have tried this


https://vborg.vbsupport.ru/showpost....&postcount=914

and the problem is still there :(

4newbies 08-27-2007 05:22 PM

I just installed this along with the latest version of iShop over older versions of iCash & iShop to take advantage of the feature that supposedly removes points when posts are deleted. However, this function does not work for my forum. I tried both "soft-deleting" and "physically removing" posts but the member's amount of points stays the same.

What could be the problem?

I am using vB version 3.6.8


All times are GMT. The time now is 11:34 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01913 seconds
  • Memory Usage 1,825KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete