ST Shop

Started by Diego Andrés, June 13, 2009, 06:06:35 AM

Previous topic - Next topic

Diego Andrés

Not easily.
So far all you could do is add your items to a category for the users to get, but the inventory does not have category filters, only sorting and only inside the shop.

There's no other shop mods for 2.1 that I'm aware of. I think I saw the garage mod somewhere on GitHub, but that's it.

SMF Tricks - Free & Premium Responsive Themes for SMF.

TeamPD

Hello Diego,
Thanks again!

From my collegue the additional information:

"We want that out of X items random one automaticly given to the members" (sorry for my bad English and bad knowledge, I'm pretty new with SMF)

With kind regards,
Chris de Boer
On behalf of PotterDome

Diego Andrés

It doesn't have that feature.
You could use a custom module so that they "use" it and they get a random item from the shop.

SMF Tricks - Free & Premium Responsive Themes for SMF.

TeamPD

Hello Diego,

Thanks again!
I hope you are not going crazy by now.

First off I asked a colleague who is better in English than I am to explain things better.

How do we build the module within the shop itself, it would be nice if we are able to do it in the shop itself, as we are using it for the RPG in itself as well. We do know some PHP but this is too high of a level for us to do.

Our RPG is quite unique. As I said we already use your shop and are really happy with it.
So to explain it as clear as possible. We have an X amount card (chocolate frog cards) and would love it as, if one is bought, it would be given out randomly. It doesn't matter if the player gets a double card. Kind off like a trading card/collect them all feature.

We have studied the separate files in the costum folder, but we can't figure it out. Could you please help us?

Regards,
Chris de Boer
On behalf of PotterDome

Diego Andrés

So hopefully I understood correctly, please verify with me.

You want an item to be usable and give another random item?

SMF Tricks - Free & Premium Responsive Themes for SMF.

TeamPD

Hello Diego,

If they buy one card, we want that to be a random card they can collect. It doesn't need to do anything further.

Thanks again!

Regards,
Chris de Boer
on behalf of PotterDome

TeamPD

Hello Diego,

I'm sorry if double posting isn't allowed.

But I was wondering if you are able to help us out or that what we want isn't possible at all?

Thanks in advance

Kind regards,

Chris de Boer
on behalf of PotterDome

Diego Andrés

I can do a new module like the one I proposed in my message.
From the admin:
- Select the chances (percentage) of the user getting an item.
- Choose a category or all items
For the user when "using":
- Getting the random item.

It might take some time before I can get to it.

SMF Tricks - Free & Premium Responsive Themes for SMF.

TeamPD

Hello Diego,

Thanks for the quick reply.

That would be lovely and is exactly what we need. (For us the chance of getting the (random) item from the (card) cat would be 100%.) Do you need anything from us?

Thank you so much again,

Kind regards,
Chris de Boer
on behalf of PotterDome

Advertisement: