News:

SMF 2.1.2 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

SA™

realy i cant replicate this any way point is an integer not a string i think float will be better ill do sommore testing wioth that jusdtm to make sure
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 -___-

SkyLineR34

Quote from: Sleepy Arcade on November 13, 2009, 02:35:46 PM
realy i cant replicate this any way point is an integer not a string i think float will be better ill do sommore testing wioth that jusdtm to make sure

Yes I know its an integer...But I have tried to post with it going into the database as int and errors galore.  I've been toying with the script a little...and haven't been able to figure out why the errors are there.

SA™

ok ill have to look into it
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 -___-

Croco

I recommend to use in Shop.template.php
die($string)
instead of
fatal_error($string,$log)


because the last one won't print an error message unless the $txt is empty or undefined. While I think you wanted the die method effect.


If you try to run or enter a disabled area you won't get the error message. But if you change it to die method then it should be exactly as you wanted.


Cheers,
Croco
I am back. I will try to catch up with some stuff soon.
Regards,
Croco

My sites
Andareena.com
Andareen.net(Under Constraction :P)

New plans coming soon


Good links for you to visit:
Docs
Search

SA™

yes ive noticed that mysefl but you cant use die smf dont allow it in the coding guid lines

fatal_error() should work it used to in previus version of smf idk why it ont now works in some places but not others

ie for my battle mod that uses fatal_error() if the user has no hp atk and what not and that works try going to a disalbed area and it dont lol

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

Croco

I checked the implementation and what they do if $txt is not defined then die($msg) otherwise just do other stuff which is logging the error in the error report. But you are passing false to not logged in error log. Hence nothing is happening. If fatal_error was working before then I see a potential bug that if the flag is false it should print the message.
I am back. I will try to catch up with some stuff soon.
Regards,
Croco

My sites
Andareena.com
Andareen.net(Under Constraction :P)

New plans coming soon


Good links for you to visit:
Docs
Search

perplexed

Quote from: Sleepy Arcade on June 13, 2009, 06:06:35 AM

ast3r1x Games Room Images


hey SA, I was looking at your shop mod again and I wondered what the games room part of the shop is supposed to do?

~thanks

Croco

Quote from: quiteperplexed on December 07, 2009, 10:00:59 PM
Quote from: Sleepy Arcade on June 13, 2009, 06:06:35 AM

ast3r1x Games Room Images


hey SA, I was looking at your shop mod again and I wondered what the games room part of the shop is supposed to do?

~thanks
You need to buy a ticket to able to access it even if you are the admin.
It contains games where you can increase or lose your credits.
I am back. I will try to catch up with some stuff soon.
Regards,
Croco

My sites
Andareena.com
Andareen.net(Under Constraction :P)

New plans coming soon


Good links for you to visit:
Docs
Search

perplexed

ah ok I see it now.  Actually I thought the games pass for was for the arcade mod.  I bought a pass to test it out but there are some display problems, see the text behind the HOME BUY ITEMS YOUR INVENTORY etc below



after buying



about to use item



after using item

Is this a bug?

Clean install, no errors, no other mods except SA Battle and SA shop installed

SA™

yes it a bug i will fix next week would of done it sooner but i have been to busy
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 -___-


DoctorMalboro

excelent shop, i will try to use it for mi web site  8)

Spanish translation

//shop Start
$txt['Shop_ver'] = 'Versión/Creditos';

$txt['whoall_shop_bank'] = 'Viendo el <a href="' . $scripturl . '?action=shop;sa=bank">Banco</a>';
$txt['whoall_shop_gift'] = 'Enviando un<a href="' . $scripturl . '?action=shop;sa=gift">Regalo</a>';
$txt['whoall_shop_inventory2'] = 'Miembros viendo el <a href="' . $scripturl . '?action=shop;sa=inventory2">Inventorio</a>';
$txt['whoall_shop_inventory'] = 'Viendo su <a href="' . $scripturl . '?action=shop;sa=inventory">Inventorio</a>';
$txt['whoall_shop_buy'] = 'Comprando items en <a href="' . $scripturl . '?action=shop;sa=buy">la Tienda</a>';
$txt['whoall_shop'] = 'Viendo la <a href="' . $scripturl . '?action=shop">Tienda</a>';
$txt['whoall_gameroom'] = 'Jugando en la <a href="' . $scripturl . '?action=shop;sa=gameroom">Sala de juegos</a>';

$txt['shop_mainten'] = 'Mantenimiento';
$txt['shop_admin_usergroup'] = 'Funciones de rangos';
$txt['View_Inventory2'] ='Ver inventorio';
$txt['View_Inventory'] ='Ver inventorio';
$txt['shop_settingsm'] = 'Configuraci&oacute;n principal';
$txt['MoneySettings'] = 'Configuraci&oacute;n de dinero';
$txt['shop_admin_invent'] = 'Inventario';
$txt['itemsssss'] = 'Items';
$txt['AddItems'] = 'A&nacute;adir Items';
$txt['RestockItems'] = 'Restaurar Items';
$txt['shop_admin_catlist'] = 'Categor&iacute;as';
$txt['MainSettings'] = 'Car. Principales';
$txt['shop_procredit'] = 'Creditos';
$txt['shop_shop2'] = 'Tienda SA';
$txt['shop_tab_main'] ='Tienda';

$txt['permissiongroup_simple_shop'] = 'Tienda';
$txt['permissionname_view_shop'] = 'Acceso a la Tienda';
$txt['permissionname_view_buy'] = 'Permitirles comprar items';
$txt['permissionhelp_view_buy'] = 'El usuario tiene permiso de comprar items';
$txt['cannot_view_buy'] = 'No puedes comprar items';
$txt['permissionhelp_view_shop'] = 'Tiene acceso a la Tienda';
$txt['cannot_view_shop'] = 'No puedes ver la tienda.';
$txt['permissiongroup_shop'] = 'Tienda';
$txt['permissionname_view_gameroom'] = 'Acceder a la Sala de Juegos';
$txt['permissionhelp_view_gameroom'] = 'Los usuarios tienen acceso a la Sala de Juegos';
$txt['cannot_view_gameroom'] = 'No puedes entrar a la Sala de Juegos.';
$txt['permissionname_view_trade'] = 'Acceder al Centro de Intercambios';
$txt['permissionhelp_view_trade'] = 'El usuario tiene acceso al Centro de Intercambios';
$txt['cannot_view_trade'] = 'No puedes entrar al Centro de Intercambios.';
$txt['permissionname_view_bank'] = 'Acceder al Banco';
$txt['permissionhelp_view_bank'] = 'Los usuarios tienen acceso al Banco';
$txt['cannot_view_bank'] = 'No puedes acceder al Banco.';
$txt['permissionname_view_gift'] = 'Permitir enviar regalos';
$txt['permissionhelp_view_gift'] = 'El usuario tiene acceso a enviar Regalos';
$txt['cannot_view_gift'] = 'No puedes enviar Regalos.';
$txt['permissionname_view_othersinv'] = 'Acceder al inventario de otros usuarios';
$txt['permissionhelp_view_othersinv'] = 'Si el usuario tiene acceso a ver el inventario de otros usuarios';
$txt['cannot_view_othersinv'] = 'No puedes acceder al inventario de otros.';
//shop End


Thank you a lot, it works  :D

SA™

thank you ill try to update the package next week and ill also add you to the credits for the translation in admin :)
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 -___-

CTRicardo

Hi Sleepy, i need help with SA Shop. I need to know how to add space for the items and how to increase the space for the text of the description of the items

Regards

SA™

SA Shop 0.4.2 Realsed

!fixed ff errors
!fixed fatal error messages
+added spanish tranlation
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 -___-

Bob Perry of Web Presence Consulting

Quote from: Sleepy Arcade on December 13, 2009, 08:57:34 PM
SA Shop 0.4.2 Realsed


Heads up, you need to check the version number of what's reported in package manager, zip file says 0.4.2, but package manager says 0.4.1
Best Regards,
Bob Perry



"The world is moving so fast these days that the man who says it can't be done is generally interrupted by someone doing it." Elbert Hubbard

SA™

thx :) i updated 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 -___-

lelkins

How can I get the number of credits a user has to display in the profile section next to a post, so under their avatar and links, etc.
Thanks

By the way, this seems like a fantastic mod!

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

lelkins

Doesn't seem to for me. I uninstalled and then reinstalled but still no job.
I am on SMF2.0 RC2 using the default template.
I have put the following code into display.template.php but it won't show the number of credits. If I put the code to show Prefix and Suffix then it shows so not sure why it won't show the number of credits.
<li class="postcount">',$txt['shop_procredit'],':', $context['member']['cash'], '</li>';
Thanks

Advertisement: