![]() |
Transactions? (uCash & uShop)
I use to use the point system for phpbb...
Someone had made a little hack called "transaction mod" for the points sytem. What it does.... When you goto donate points to another user... Below the amount you want to donate... It has a box... Asking for the reason of the donation (Can't donate unless you put a reason in). Then once they've filled that out, they can donate... Then there's a seprate page you can goto.. And it shows all donations... That way you can keep track of who donated to who and why :) Thanks :D |
This Would Be Awesome!!!!!!!!!!
|
not much of a hacker, but im working on it :)
|
Ahaha, whats up bro :D
I helped you today on vbarcade :D If you need any ideas on it or w/e, lemme know :D |
Hey man whats going on...yea im gettin stuck only because i wanted to take this to the next step where it would PM the user (was also going to add that to other multi user ushop actions) I tried to adapt the arcade sendarcadepm function but i get an error. The reason and transaction log are pretty much complete the PM is my major hookup...so any suggestions?
BTW thanks for the help worked like a charm! |
Dang... Wish I could help you with the PM part... Only been using VB for about a month, lol.
But maybe someone out there reading this would be able to help you on that part :D:D:D hehe. |
Well I focused so much on the PMs i thought the rest would be simple but I'm hitting a few issues maybe today a fresh look will help.
|
Well I think i have taken this about as far as I can, I have added a PM feature when a donation is receieved and have a reason field, however, i get a division by 0 error, and I havnt quite yet figured out how to log the transaction properly...
http://www.limpkinw.com/forums/ushop...nhistory&aid=1 user tester pass test |
I have all of the multi user files set up to PM and logging donations the best I cant. At this point it needs to get into the hands of a better coder. Can I post it here or should i release in beta forum...what to do I duno?
|
Looking very good bro :D
I don't have a clue what to do now bro :P, lol. Anyone? :D |
1 Attachment(s)
The modified files can be found here they all seem to work error free exchange the standard donate gives me an error Warning: Division by zero in D:\site\limpkinw\forums\uttstore\action.donate.php on line 135 It still seems to function properly. The function_ushop.php is the EXACT same as function_arade.php taken from v3arcade (ty and if this is not acceptable I will remove it). The logging is in great need of help...help from someone who knows more about this would be greatly appreciated.
|
uCS already logs everything. All you need to do in 0.95 is add a field to the $fields array and then add it to to the log function.
PMing it isn't that difficult either. |
Why are you using the discount field for the reason? There is something made for things like this. ;)
This: PHP Code:
PHP Code:
|
Works like a charm, now all i gotta do is clean up my coding a lil then i will give it to ya plat.
|
Sweet sweet :D
|
This was just what I needed - thanks!
Works great. Just one thing. You talk about logging, but where do I go to see these logs, espacially the logs for donations? |
Look at the action history, I have made a couple fixes since this "release" and I will be posting that as an official add-on.
|
All times are GMT. The time now is 05:27 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|