inherit
114253
0
Apr 1, 2024 6:38:35 GMT -8
Teg
Can't Wait for V6
3,138
November 2007
teg
|
Post by Teg on Nov 2, 2015 8:32:45 GMT -8
Does it need to be extending the "Monetary Shop" plugin? I fear that plugin would take the required(super key) needed for storing things like the "pot". I would also need to create an additional "user" key for storing the "tickets" for each user. Building it into the "Monetary" plugin should be fine. There is a max number of super keys(2) allowed on most forums and "Yootil", "Monetary Shop" would be using those. Unless i could append some data into one those super keys(i would need to re-search that) I've purchased Superkeys and will continue to do so if needed
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 3, 2015 3:27:52 GMT -8
Does it need to be extending the "Monetary Shop" plugin? I fear that plugin would take the required(super key) needed for storing things like the "pot". I would also need to create an additional "user" key for storing the "tickets" for each user. Building it into the "Monetary" plugin should be fine. There is a max number of super keys(2) allowed on most forums and "Yootil", "Monetary Shop" would be using those. Unless i could append some data into one those super keys(i would need to re-search that) Yootil does not use a key.
|
|
Former Member
inherit
guest@proboards.com
225992
0
May 17, 2024 1:49:53 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 3, 2015 5:03:42 GMT -8
Peter I stand corrected. Is it possible to append data to one of the monetary keys, ie: would I need to know an object_id to do this?
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 3, 2015 5:08:13 GMT -8
@synthtec, Sorry, I give no permission to anyone to add or remove new data to the key. The only thing people are allowed to do is use the API to modify existing values (i.e increase money). The key can get quite populated with all the modules, so having other people adding new data to it would risk maxing out its limit, this is why I am saying no to this. API Docs: pixeldepth.net/proboards/plugins/monetary_system/docs/
|
|
Former Member
inherit
guest@proboards.com
225992
0
May 17, 2024 1:49:53 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 3, 2015 5:18:27 GMT -8
Thanks for the confirmation Peter.
|
|
inherit
224902
0
Feb 15, 2017 12:50:39 GMT -8
Matt
2,940
September 2015
mattyboo1
|
Post by Matt on Nov 3, 2015 6:35:03 GMT -8
I realize there's already a "Lottery" type plugin. That being said I'm looking for something a bit different and was wondering if anyone could hook me up I'd appreciate any help or anything you could do as I'm not great with js and don't understand enough of it to make plugins myself at this time. So, here is what I'm looking for. A monetary add on that allows me to place a "ticket" in the shop for members to purchase. They can purchase as many as they want for the price that I set and/or as many as I allow per each user for each drawing. For each ticket a member buys the lottery pot will increase in amount by a certain degree. Each week, on a certain day, the randomized drawing will take place. IF a winner's ticket has been chosen, it will automatically award their account and notify the admin, OR it will notify the admin so the admin can give out the award. There shouldn't be a winner every drawing, and during that time, the pot would roll over into the next week while user's continue to purchase tickets until the next drawing. Additionally, I'd like a way to display the total pot amount somewhere on the main forum page so that users can see how much is in it. Maybe allow the text for that to be customizable. So yeah... That's what I'd like to see if anyone could do this, that would be great! I'd forever love them Hopefully this could be done someday.
|
|
inherit
224902
0
Feb 15, 2017 12:50:39 GMT -8
Matt
2,940
September 2015
mattyboo1
|
Post by Matt on Nov 3, 2015 6:36:02 GMT -8
Thanks for the confirmation Peter. Is it possible this could be done with a completely new plugin then?
|
|
inherit
201984
0
Sept 11, 2023 1:23:07 GMT -8
P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓
Using My Talents Elsewhere
3,314
November 2013
pastuleo23
|
Post by P̌̓aͧś̀t̀u͒le͆o͂2̀3̃̓ on Nov 4, 2015 13:43:23 GMT -8
Thanks for the confirmation Peter. Is it possible this could be done with a completely new plugin then? Yes that could be done with a new plugin. I've been making plugins using monetary system for years.
|
|