inherit
220772
0
Mar 24, 2023 21:43:23 GMT -8
Tiffy-Bean
I support plugin and theme makers rights to create themes and plugins that are paid for.
1,052
April 2015
tiffythecodingwhiz
|
Post by Tiffy-Bean on Nov 11, 2015 11:43:24 GMT -8
Thank you Peter.
|
|
Former Member
inherit
guest@proboards.com
225992
0
May 4, 2024 3:54:15 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 11, 2015 14:48:44 GMT -8
Hey PeterIs there anyway you could update the "monetary.shop.checkout" function to take a callback as a parameter and apply the bought items array to it, when the "confirm" dialog has returned true. Or create an event trigger('onAfterPurchase') for it that I can bind to the button ?. Right now I can hook the function and look at the "monetary.shop.lookup" object but this gives no indicated to me if the user confirms the dialog, so really it would be trivial just to guess at it. The lookup seems to be the only place you are caching the cart items and the confirm dialog is scoped to the function, so there is no way to access it. Cheers, Phil
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 11, 2015 17:02:26 GMT -8
|
|
Former Member
inherit
guest@proboards.com
225992
0
May 4, 2024 3:54:15 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 11, 2015 17:11:16 GMT -8
Peter Your a gentleman, cheers!
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 12, 2015 3:03:14 GMT -8
I have submitted the plugins, will post once they have been updated. In the mean time you can see the events and how to use them from the docs. pixeldepth.net/proboards/plugins/monetary_system/docs/- after_apply_posting_money - before_apply_posting_money - on_close_edit_money - on_open_edit_money - stock_market.data_request_done - bank.deposit - bank.withdraw - shop.before_purchase - shop.after_purchase$(monetary.event).on("shop.after_purchase", function(event, data){ console.log(data.total); console.log(data.items); }); $(monetary.event).on("shop.before_purchase", function(event, data){ console.log(data.items); });
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 24, 2015 16:11:17 GMT -8
|
|
Former Member
inherit
guest@proboards.com
225992
0
May 4, 2024 3:54:15 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 24, 2015 18:14:18 GMT -8
Peter Niceone mate!! Much appreciated!
|
|
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 29, 2015 8:28:32 GMT -8
Peter, Is it possible to change the "layout (template)" of the way the shop is displayed? For example, as it sits, everything is listed one item at a time... Would there be a way to do something, say, like this? 3 column layout for items on tab that would include the following as a "list-like" visual: Item Title Item Image (description on hover) Price | Link To: Add to Cart
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 29, 2015 8:36:29 GMT -8
I'm not releasing anymore updates or supporting (even though I have been responding lately) any of my plugins for now.
There are 2 possible ways you can get this done.
1. Get someone to modify the plugin for you. 2. Request a plugin to rebuild the shop the way you want.
|
|
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 29, 2015 8:39:32 GMT -8
I'm not releasing anymore updates or supporting (even though I have been responding lately) any of my plugins for now. There are 2 possible ways you can get this done. 1. Get someone to modify the plugin for you. 2. Request a plugin to rebuild the shop the way you want. Peter, I know how to code a template, but your plugin is not "modify-able" through the build option in plugin settings, or I'd of done that already. How else would I be able to modify the plugin?
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 29, 2015 8:46:24 GMT -8
I'm not releasing anymore updates or supporting (even though I have been responding lately) any of my plugins for now. There are 2 possible ways you can get this done. 1. Get someone to modify the plugin for you. 2. Request a plugin to rebuild the shop the way you want. Peter, I know how to code a template, but your plugin is not "modify-able" through the build option in plugin settings, or I'd of done that already. How else would I be able to modify the plugin? You don't have the ability or knowledge to make the modifications yourself, hence why I gave you those 2 options, it has nothing to do with a "template".
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Dec 16, 2015 7:19:50 GMT -8
Boy_Wonder , I noticed a UI issue that bothers me when I was testing on your forum. Take notice of where the "Update Status" container is, and where the shop items container is. While it's not a big problem, it bugs me a little, as I feel they should be above it. Do you agree? If so, I might put out a release after the Trophies plugin is released to fix it.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Dec 16, 2015 7:26:51 GMT -8
Boy_Wonder , I noticed a UI issue that bothers me when I was testing on your forum. Take notice of where the "Update Status" container is, and where the shop items container is. While it's not a big problem, it bugs me a little, as I feel they should be above it. Do you agree? If so, I might put out a release after the Trophies plugin is released to fix it. I get more bugged by the fact there's no title (I'd love the option to have it labelled inventory) but I do agree it looks odd being between status and recent status
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Dec 16, 2015 12:58:15 GMT -8
I get more bugged by the fact there's no title (I'd love the option to have it labelled inventory) but I do agree it looks odd being between status and recent status Will do it for the Shop when I next work on it
|
|
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 Jan 7, 2016 8:50:21 GMT -8
If I wanted to add more than one instance of the shop, say for three separate Shops, could I do that? So say I'd like one for Diagon Alley and it contains categories, then one for Knocturn Alley, and it contains categories and one for Hogsmead that contains it's own categories. I'd assume that I'd have to install three separate instances of the shop, which would be okay, I just want to be able to link to each one separately. So based on which shop they'd go to it would load that shop. If it is possible, how do I do it? Peter, Brian, or David Clarkif anyone could answer this for me I'd be grateful.
|
|