News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

ST Shop

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

Previous topic - Next topic

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 -___-

DELHI_BOY

Thanks, No problem whatsoever !

Sakae

Awesome!! I was hoping for this SMF Shop MOD for 2.0 for so long!!

In exchange, Modifications.portuguese_brazilian-utf8.php

//shop Start
$txt['whoall_shop_bank'] = 'Vendo o <a href="' . $scripturl . '?action=shop;sa=bank">Banco do Shopping</a>';
$txt['whoall_shop_gift'] = 'Enviando um <a href="' . $scripturl . '?action=shop;sa=gift">Presente</a>';
$txt['whoall_shop_inventory2'] = 'Vendo o <a href="' . $scripturl . '?action=shop;sa=inventory2">invent&aacute;rio</a> de algum usu&aacute;rio';
$txt['whoall_shop_inventory'] = 'Vendo o seu <a href="' . $scripturl . '?action=shop;sa=inventory">Invent&aacute;rio</a>';
$txt['whoall_shop_buy'] = 'Comprando itens no <a href="' . $scripturl . '?action=shop;sa=buy">Shopping do F&oacute;rum</a>';
$txt['whoall_shop'] = 'Vendo o <a href="' . $scripturl . '?action=shop">Shopping do F&oacute;rum</a>';
$txt['whoall_gameroom'] = 'Jogando no <a href="' . $scripturl . '?action=shop;sa=gameroom">Sal&atilde;o de jogos</a>';   

$txt['shop_settingsm'] = 'Configura&ccedil;&otilde;es';
$txt['MoneySettings'] = 'Cr&eacute;ditos';
$txt['shop_admin_invent'] = 'Invent&aacute;rio';
$txt['itemsssss'] = 'Itens';
$txt['AddItems'] = 'Adicionar itens';
$txt['RestockItems'] = 'Repor itens';
$txt['shop_admin_catlist'] = 'Categorias';
$txt['MainSettings'] = 'Configura&ccedil;&otilde;es';
$txt['shop_procredit'] = 'Cr&eacute;ditos';
$txt['shop_shop2'] = 'SA Shopping';
$txt['shop_tab_main'] ='Shopping';

$txt['permissionname_view_shop'] = 'Acessar o shopping';
$txt['permissionname_view_buy'] = 'Autorizado a comprar itens';
$txt['permissionhelp_view_buy'] = 'Se o usu&aacute;rio &eacute; autorizado a comprar itens';
$txt['cannot_view_buy'] = 'Voc&ecirc; n&atilde;o pode comprar itens.';
$txt['permissionhelp_view_shop'] = 'Se o usu&aacute;rio &eacute; autorizado a acessar o shopping';
$txt['cannot_view_shop'] = 'Voc&ecirc; n&atilde;o pode acessar o shopping.';
$txt['permissiongroup_shop'] = 'Shopping';
$txt['permissionname_view_gameroom'] = 'Acesso ao sal&atilde;o de jogos';
$txt['permissionhelp_view_gameroom'] = 'Se o usu&aacute;rio &eacute; autorizado a acessar o sal&atilde;o de jogos';
$txt['cannot_view_gameroom'] = 'Voc&ecirc; n&atilde;o pode acessar o sal&atilde;o de jogos.';
$txt['permissionname_view_trade'] = 'Acesso ao centro de trocas';
$txt['permissionhelp_view_trade'] = 'Se o usu&aacute;rio &eacute; autorizado a acessar o centro de trocas';
$txt['cannot_view_trade'] = 'Voc&ecirc; n&atilde;o pode acessar o centro de trocas.';

$txt['permissionname_view_bank'] = 'Acesso ao banco';
$txt['permissionhelp_view_bank'] = 'Se o usu&aacute;rio &eacute; autorizado a acessar o banco';
$txt['cannot_view_bank'] = 'Voc&ecirc; n&atilde;o pode acessar o banco.';

$txt['permissionname_view_gift'] = 'Autorizado a dar presentes';
$txt['permissionhelp_view_gift'] = 'Se o usu&aacute;rio &eacute; autorizado a dar presentes';
$txt['cannot_view_gift'] = 'Voc&ecirc; n&atilde;o pode dar presentes.';

$txt['permissionname_view_othersinv'] = 'Autorizado a ver o invent&aacute;rio dos outros usu&aacute;rios';
$txt['permissionhelp_view_othersinv'] = 'Se o usu&aacute;rio &eacute; autorizado a ver o invent&aacute;rio dos outros usu&aacute;rios';
$txt['cannot_view_othersinv'] = 'Voc&ecirc; n&atilde;o pode ver este invent&aacute;rio.';
//shop End
http://www.tigrelog.com.br
l: simple p: machines

Sakae

I believe encountered a bug/error.

When I add more than 10 itens at one category, when I click to go to second page, it goes to the second page of DEFAULT (root) category.

See for yourself the category "Camisas" (use l: simple p: machines): http://www.tigrelog.com.br/index.php?action=shop;sa=buy;cat=6
http://www.tigrelog.com.br
l: simple p: machines

SA™

#24
thank you for the report here the fix ill also add it to beta 5 when i release it

shop2/shop_db.php

find
// Now create the page index.
$context['page_index'] = constructPageIndex($scripturl . '?action=shop;sa=buy;sort=' . $_REQUEST['start'] . (isset($_REQUEST['desc']) ? ';desc' : ''), $_REQUEST['start'], $kittens, 10);
$context['start'] = $_REQUEST['start'];



replace with

// Now create the page index.
$context['page_index'] = constructPageIndex($scripturl . '?action=shop;sa=buy;cat='.$cat.';sort=' . $_REQUEST['start'] . (isset($_REQUEST['desc']) ? ';desc' : ''), $_REQUEST['start'], $kittens, 10);
$context['start'] = $_REQUEST['start'];




by the way is Modifications.portuguese_brazilian-utf8 one language or two different ones ? like is it Modifications.brazilian-utf8 and Modifications.portuguese-utf8 or just Modifications.portuguese_brazilian-utf8??
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 -___-

Sakae

Thanks for the fix, but let's warn users this code is duplicated, so I changed twice...

Quote from: sleepy-arcade.ath.cx on June 19, 2009, 08:43:44 PM
by the way is Modifications.portuguese_brazilian-utf8 one language or two different ones ? like is it Modifications.brazilian-utf8 and Modifications.portuguese-utf8 or just Modifications.portuguese_brazilian-utf8??

It's one language.

SMF 1.1.x = Modifications.brazilian-utf8.php
SMF 2.0 = Modifications.portuguese_brazilian-utf8.php

Don't know why this happens on SMF 2 version, but it did.

Also, I believe this translation can be used to Modifications.portuguese-utf8.php too, since there's not a lot differences between then.

Also (part II), here's the Modifications.brazilian.php (SMF 1.1.x) and Modifications.portuguese_brazilian.php (SMF 2.0) :

//shop Start
$txt['whoall_shop_bank'] = 'Vendo o <a href="' . $scripturl . '?action=shop;sa=bank">Banco do Shopping</a>';
$txt['whoall_shop_gift'] = 'Enviando um <a href="' . $scripturl . '?action=shop;sa=gift">Presente</a>';
$txt['whoall_shop_inventory2'] = 'Vendo o <a href="' . $scripturl . '?action=shop;sa=inventory2">inventário</a> de algum usuário';
$txt['whoall_shop_inventory'] = 'Vendo o seu <a href="' . $scripturl . '?action=shop;sa=inventory">Inventário</a>';
$txt['whoall_shop_buy'] = 'Comprando itens no <a href="' . $scripturl . '?action=shop;sa=buy">Shopping do F&oacute;rum</a>';
$txt['whoall_shop'] = 'Vendo o <a href="' . $scripturl . '?action=shop">Shopping do F&oacute;rum</a>';
$txt['whoall_gameroom'] = 'Jogando no <a href="' . $scripturl . '?action=shop;sa=gameroom">Sal&atilde;o de jogos</a>';   

$txt['shop_settingsm'] = 'Configurações';
$txt['MoneySettings'] = 'Créditos';
$txt['shop_admin_invent'] = 'Inventário';
$txt['itemsssss'] = 'Itens';
$txt['AddItems'] = 'Adicionar itens';
$txt['RestockItems'] = 'Repor itens';
$txt['shop_admin_catlist'] = 'Categorias';
$txt['MainSettings'] = 'Configurações';
$txt['shop_procredit'] = 'Créditos';
$txt['shop_shop2'] = 'SA Shopping';
$txt['shop_tab_main'] ='Shopping';

$txt['permissionname_view_shop'] = 'Acessar o shopping';
$txt['permissionname_view_buy'] = 'Autorizado a comprar itens';
$txt['permissionhelp_view_buy'] = 'Se o usuário é autorizado a comprar itens';
$txt['cannot_view_buy'] = 'Você não pode comprar itens.';
$txt['permissionhelp_view_shop'] = 'Se o usuário é autorizado a acessar o shopping';
$txt['cannot_view_shop'] = 'Você não pode acessar o shopping.';
$txt['permissiongroup_shop'] = 'Shopping';
$txt['permissionname_view_gameroom'] = 'Acesso ao salão de jogos';
$txt['permissionhelp_view_gameroom'] = 'Se o usuário é autorizado a acessar o salão de jogos';
$txt['cannot_view_gameroom'] = 'Você não pode acessar o salão de jogos.';
$txt['permissionname_view_trade'] = 'Acesso ao centro de trocas';
$txt['permissionhelp_view_trade'] = 'Se o usuário é autorizado a acessar o centro de trocas';
$txt['cannot_view_trade'] = 'Você não pode acessar o centro de trocas.';

$txt['permissionname_view_bank'] = 'Acesso ao banco';
$txt['permissionhelp_view_bank'] = 'Se o usuário é autorizado a acessar o banco';
$txt['cannot_view_bank'] = 'Você não pode acessar o banco.';

$txt['permissionname_view_gift'] = 'Autorizado a dar presentes';
$txt['permissionhelp_view_gift'] = 'Se o usuário é autorizado a dar presentes';
$txt['cannot_view_gift'] = 'Você não pode dar presentes.';

$txt['permissionname_view_othersinv'] = 'Autorizado a ver o inventário dos outros usuários';
$txt['permissionhelp_view_othersinv'] = 'Se o usuário é autorizado a ver o inventário dos outros usuários';
$txt['cannot_view_othersinv'] = 'Você não pode ver este inventário.';
//shop End
http://www.tigrelog.com.br
l: simple p: machines

SA™

Quote from: softcore on June 20, 2009, 02:07:18 AM
Thanks for the fix, but let's warn users this code is duplicated, so I changed twice...

no only once you need change one is for the shop buy and the other is for yout inventory
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 -___-

Sakae

Quote from: sleepy-arcade.ath.cx on June 20, 2009, 02:13:11 AM
Quote from: softcore on June 20, 2009, 02:07:18 AM
Thanks for the fix, but let's warn users this code is duplicated, so I changed twice...

no only once you need change one is for the shop buy and the other is for yout inventory

Oh man... I changed it twice, didn't noted. Okidoki, fixed now, thank you :)
http://www.tigrelog.com.br
l: simple p: machines

SA™

SA Shop 0.3 Beta 5 Released
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 -___-

Sakae

Right on time, lol!

Should I uninstall version 0.3 beta 4 before?
http://www.tigrelog.com.br
l: simple p: machines

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 -___-

Sakae

Sleepy, the translations are inverted.

Modifications.portuguese_brazilian-utf8.php

//shop Start
$txt['whoall_shop_bank'] = 'Vendo o <a href="' . $scripturl . '?action=shop;sa=bank">Banco do Shopping</a>';
$txt['whoall_shop_gift'] = 'Enviando um <a href="' . $scripturl . '?action=shop;sa=gift">Presente</a>';
$txt['whoall_shop_inventory2'] = 'Vendo o <a href="' . $scripturl . '?action=shop;sa=inventory2">invent&aacute;rio</a> de algum usu&aacute;rio';
$txt['whoall_shop_inventory'] = 'Vendo o seu <a href="' . $scripturl . '?action=shop;sa=inventory">Invent&aacute;rio</a>';
$txt['whoall_shop_buy'] = 'Comprando itens no <a href="' . $scripturl . '?action=shop;sa=buy">Shopping do F&oacute;rum</a>';
$txt['whoall_shop'] = 'Vendo o <a href="' . $scripturl . '?action=shop">Shopping do F&oacute;rum</a>';
$txt['whoall_gameroom'] = 'Jogando no <a href="' . $scripturl . '?action=shop;sa=gameroom">Sal&atilde;o de jogos</a>';   

$txt['shop_settingsm'] = 'Configura&ccedil;&otilde;es';
$txt['MoneySettings'] = 'Cr&eacute;ditos';
$txt['shop_admin_invent'] = 'Invent&aacute;rio';
$txt['itemsssss'] = 'Itens';
$txt['AddItems'] = 'Adicionar itens';
$txt['RestockItems'] = 'Repor itens';
$txt['shop_admin_catlist'] = 'Categorias';
$txt['MainSettings'] = 'Configura&ccedil;&otilde;es';
$txt['shop_procredit'] = 'Cr&eacute;ditos';
$txt['shop_shop2'] = 'SA Shopping';
$txt['shop_tab_main'] ='Shopping';

$txt['permissionname_view_shop'] = 'Acessar o shopping';
$txt['permissionname_view_buy'] = 'Autorizado a comprar itens';
$txt['permissionhelp_view_buy'] = 'Se o usu&aacute;rio &eacute; autorizado a comprar itens';
$txt['cannot_view_buy'] = 'Voc&ecirc; n&atilde;o pode comprar itens.';
$txt['permissionhelp_view_shop'] = 'Se o usu&aacute;rio &eacute; autorizado a acessar o shopping';
$txt['cannot_view_shop'] = 'Voc&ecirc; n&atilde;o pode acessar o shopping.';
$txt['permissiongroup_shop'] = 'Shopping';
$txt['permissionname_view_gameroom'] = 'Acesso ao sal&atilde;o de jogos';
$txt['permissionhelp_view_gameroom'] = 'Se o usu&aacute;rio &eacute; autorizado a acessar o sal&atilde;o de jogos';
$txt['cannot_view_gameroom'] = 'Voc&ecirc; n&atilde;o pode acessar o sal&atilde;o de jogos.';
$txt['permissionname_view_trade'] = 'Acesso ao centro de trocas';
$txt['permissionhelp_view_trade'] = 'Se o usu&aacute;rio &eacute; autorizado a acessar o centro de trocas';
$txt['cannot_view_trade'] = 'Voc&ecirc; n&atilde;o pode acessar o centro de trocas.';

$txt['permissionname_view_bank'] = 'Acesso ao banco';
$txt['permissionhelp_view_bank'] = 'Se o usu&aacute;rio &eacute; autorizado a acessar o banco';
$txt['cannot_view_bank'] = 'Voc&ecirc; n&atilde;o pode acessar o banco.';

$txt['permissionname_view_gift'] = 'Autorizado a dar presentes';
$txt['permissionhelp_view_gift'] = 'Se o usu&aacute;rio &eacute; autorizado a dar presentes';
$txt['cannot_view_gift'] = 'Voc&ecirc; n&atilde;o pode dar presentes.';

$txt['permissionname_view_othersinv'] = 'Autorizado a ver o invent&aacute;rio dos outros usu&aacute;rios';
$txt['permissionhelp_view_othersinv'] = 'Se o usu&aacute;rio &eacute; autorizado a ver o invent&aacute;rio dos outros usu&aacute;rios';
$txt['cannot_view_othersinv'] = 'Voc&ecirc; n&atilde;o pode ver este invent&aacute;rio.';
//shop End


Modifications.portuguese_brazilian.php

//shop Start
$txt['whoall_shop_bank'] = 'Vendo o <a href="' . $scripturl . '?action=shop;sa=bank">Banco do Shopping</a>';
$txt['whoall_shop_gift'] = 'Enviando um <a href="' . $scripturl . '?action=shop;sa=gift">Presente</a>';
$txt['whoall_shop_inventory2'] = 'Vendo o <a href="' . $scripturl . '?action=shop;sa=inventory2">inventário</a> de algum usuário';
$txt['whoall_shop_inventory'] = 'Vendo o seu <a href="' . $scripturl . '?action=shop;sa=inventory">Inventário</a>';
$txt['whoall_shop_buy'] = 'Comprando itens no <a href="' . $scripturl . '?action=shop;sa=buy">Shopping do F&oacute;rum</a>';
$txt['whoall_shop'] = 'Vendo o <a href="' . $scripturl . '?action=shop">Shopping do F&oacute;rum</a>';
$txt['whoall_gameroom'] = 'Jogando no <a href="' . $scripturl . '?action=shop;sa=gameroom">Sal&atilde;o de jogos</a>';   

$txt['shop_settingsm'] = 'Configurações';
$txt['MoneySettings'] = 'Créditos';
$txt['shop_admin_invent'] = 'Inventário';
$txt['itemsssss'] = 'Itens';
$txt['AddItems'] = 'Adicionar itens';
$txt['RestockItems'] = 'Repor itens';
$txt['shop_admin_catlist'] = 'Categorias';
$txt['MainSettings'] = 'Configurações';
$txt['shop_procredit'] = 'Créditos';
$txt['shop_shop2'] = 'SA Shopping';
$txt['shop_tab_main'] ='Shopping';

$txt['permissionname_view_shop'] = 'Acessar o shopping';
$txt['permissionname_view_buy'] = 'Autorizado a comprar itens';
$txt['permissionhelp_view_buy'] = 'Se o usuário é autorizado a comprar itens';
$txt['cannot_view_buy'] = 'Você não pode comprar itens.';
$txt['permissionhelp_view_shop'] = 'Se o usuário é autorizado a acessar o shopping';
$txt['cannot_view_shop'] = 'Você não pode acessar o shopping.';
$txt['permissiongroup_shop'] = 'Shopping';
$txt['permissionname_view_gameroom'] = 'Acesso ao salão de jogos';
$txt['permissionhelp_view_gameroom'] = 'Se o usuário é autorizado a acessar o salão de jogos';
$txt['cannot_view_gameroom'] = 'Você não pode acessar o salão de jogos.';
$txt['permissionname_view_trade'] = 'Acesso ao centro de trocas';
$txt['permissionhelp_view_trade'] = 'Se o usuário é autorizado a acessar o centro de trocas';
$txt['cannot_view_trade'] = 'Você não pode acessar o centro de trocas.';

$txt['permissionname_view_bank'] = 'Acesso ao banco';
$txt['permissionhelp_view_bank'] = 'Se o usuário é autorizado a acessar o banco';
$txt['cannot_view_bank'] = 'Você não pode acessar o banco.';

$txt['permissionname_view_gift'] = 'Autorizado a dar presentes';
$txt['permissionhelp_view_gift'] = 'Se o usuário é autorizado a dar presentes';
$txt['cannot_view_gift'] = 'Você não pode dar presentes.';

$txt['permissionname_view_othersinv'] = 'Autorizado a ver o inventário dos outros usuários';
$txt['permissionhelp_view_othersinv'] = 'Se o usuário é autorizado a ver o inventário dos outros usuários';
$txt['cannot_view_othersinv'] = 'Você não pode ver este inventário.';
//shop End
http://www.tigrelog.com.br
l: simple p: machines

SA™

thaks i fixed the package :)
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 -___-

Lithriel

Any chance of allowing addition and subtraction on an individual basis instead of by group? 

SA™

you can do that by going to shop admin invetory enter the members name and hit enter
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 -___-

SA™

SA Shop 0.3 RC1 Realeased
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 -___-

Lithriel

Is there a way to let all members create their own items to sell in the shop?


SA™

i am developing user shops mod for shop have been for some time now dont know when it ready cos i have a lot on latly
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 -___-

leonardus

i'm sorry! i've installed correctly your mod in smf 2.0 rc1.1

i found sa shop in admin panel --> setting.

but... were i found my shop on the forum?

thanks. sorry for my english!

SA™

there will be a tab up top where all the other menu items are if it not showing is there any erros in error logs?
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 -___-

Advertisement: