News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

ST Shop

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

Previous topic - Next topic

KensonPlays

How do you add or remove games from the games room?

SA™

http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

KensonPlays

Then I won't use the Games Room :(
I'll have to use the arcade mod :(
Thanks anyway!

SA™

the games room can be disabled it not like the arcade it is like a kinda simple casino nothing specil it was gonna be an adon to the shop but we ha vote about it and it endied being put into the mod
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

KensonPlays

Is there a way to integrate them? like the money stuffs?

SA™

http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

KensonPlays

You know, the arcade mod and your shop mod, to integrate the SMF Arcade (highscores maybe) and your shop? That would be awesome!!

SA™

that has been requested  before i might do it as mod for the shop just dont know when yet
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

KensonPlays

Ok, can't wait until you do!! Thanks!

SA™

hows this it give point only to the highe score points can be changed in  shop admin with the money settings also has an arcade pass wich can be enabled disabled arcade pass for shop included please try on a test site first
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

KensonPlays

Ok! I am downloading!

KensonPlays

One thing, I bought a pass for the arcade, refreshed, cleared cache, cleared cookies, and it says:
Quote
An Error Has Occurred!
You need a valid arcade pass to play in the arcade. Visit the store.

I don't have any games installed, as at school, when it reads a game site, it blockes it, the subdomain games.smfarcade.info is blocked, but rest of website isn't...

SA™

ill look into this some other time

sa shop 0.46 reased update for rc3
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

Diamond1444

Question please.  Is there any way to be able to delete items from the shop but not have them deleted from user's inventory?  Or even a way to hide certain items the way you can with smileys?  We offer certain things for sale for a limited time, but there is no expiration on when they can be used.  So we're stuck keeping them there and it gets very crowded and hard to find things.  Thanks!  :D

SA™

if you delete items from the shop and keep inventory it wont work cos the inv uses the shop items id from the shop_items tables in the database
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

KensonPlays

He was wondering how to do that, I believe, Diamond, correct me if I am wrong...

SA™

well you can enable disable items but it doesnt hide them but there still be usable in inventory

to hide when disabled rqires one small edit

sources/shop2/shop_db.php

find
// Now we need our items
$result = $smcFunc['db_query'] ('','
SELECT itemid, name, `description`, price, count, image, catid, status, input_needed, sold
FROM {db_prefix}shop_item
WHERE catid = {int:cat}
LIMIT {int:start}, 10',
array(
'cat' => $cat,
'start' => $context['start'],
)
);


replace with
// Now we need our items
$result = $smcFunc['db_query'] ('','
SELECT itemid, name, `description`, price, count, image, catid, status, input_needed, sold
FROM {db_prefix}shop_item
WHERE catid = {int:cat} AND status = {int:one}
LIMIT {int:start}, 10',
array(
'cat' => $cat,
'one' => 1,
'start' => $context['start'],
)
);
http://samods.github.io/SAChatBar/

Xbox Live: smokerthecheese 360 or xbone
My Work
Piano Movers / Delivery service
QuoteMy allies are dead.
I'm 'bout to be too.
Zombies are chasing me.
F*** it, I'm screwed -___-

LondonDragon

Hi, does this mod allow users to sell stuff or its just designed for the forum Admins?

perplexed

It's designed for virtual items that are created by Admin for sale in the virtual shop, bought with virtual money if that's what you mean

LondonDragon

Quote from: perplexed on March 15, 2010, 01:26:21 PM
It's designed for virtual items that are created by Admin for sale in the virtual shop, bought with virtual money if that's what you mean
Thanks, misunderstood the shop concept, thought it would be something I could use for members to sell and buy their own personal stuff.

Advertisement: