Link to the mod (https://custom.simplemachines.org/index.php?mod=1794)
(https://smftricks.com/logos/logo.png) (https://smftricks.com/)
(https://img.shields.io/badge/License-MPL%202.0-248049) (https://img.shields.io/badge/Hooks%20Only-Yes-6041a3) (https://img.shields.io/badge/SMF-2.1-3f73a0)
ST Shop for SMFDeveloped by: Diego Andrés (https://smftricks.com/index.php?action=profile;u=1)Original Developer: Sleepy Arcade™ (https://www.simplemachines.org/community/index.php?action=profile;u=84438)Original Idea: Daniel15 (https://www.simplemachines.org/community/index.php?action=profile;u=9547)
IntroductionST Shop allows you to add a shop to your forum and gives you a wide variety of options to customize your shop for your users experience.Features- Enable shop
- You can use the shop features as a standalone points system
- Custom credits/currency
- Add/Edit shop items
- Image
- Price
- Categories
- Stock
- Purchase items from the shop
- Custom categories
- Trade center
- Shop logs
- Transaction logs
- Bank logs
- Trade logs
- Gift logs
- Sent credits logs
- Casino/games room
- Special game pass access to play
- Inventories
- Display inventories in your profile post
- Select your favorite items to display
- Shop stats
Localization(https://www.simplemachines.org/site_images/lang/english.gif) English
Changelog (https://github.com/SMFTricks/ST-Shop/blob/master/CHANGELOG.md)GitHub (https://github.com/SMFTricks/ST-Shop)
ST Shop Modules (https://github.com/SMFTricks/ST-Shop-Modules)Modules and Addons Discussion (https://smftricks.com/index.php?board=109.0)
Diego me gustaria saber como traducirla al español?
Buenas, me gustaría saber si en la creación de objetos se podrían subir iconos personalizados, sólo puedo usar los de por defecto, lo que limita mucho el juego del mod.
Kindly help,..when installing this awesome mod in wrap theme,...error occured :(
"./Themes/Wrap/Display.template.php" test failed :'(
Kindly guide me.
You're trying to add that line manually?
You're going in a good way, just add it before
// Show how many blah blah
Quote from: Diego Andrés on July 23, 2014, 07:04:10 PM
You're trying to add that line manually?
You're going in a good way, just add it before
// Show how many blah blah
the line before or replace it ?
and i have to put the single line before or full code ? :-\
Just find
// Show how many posts they have made.
And BEFORE, add this
// Begin shop Mod
echo '
<li>', $modSettings['shopprefix'], $message['member']['cash'], $modSettings['shopsurfix'], ' </li>';
echo'<li><a href="', $scripturl, '?action=shop;sa=inventory;next2=', $message['member']['username'], '">',$txt['View_Inventory'],'</a></li>
<li><a href="', $scripturl, '?action=shop;sa=gift;u=', $message['member']['username'], '">Send '.$modSettings['shopsurfix'].'/Gift </a></li>';
echo '<li>';
if ($modSettings['ShopIpDis'] == 1 && $modSettings['ShopIpPos'] == 0)
{
if (count($message['member']['shopitems']) != 0)
{
foreach ($message['member']['shopitems'] as $shopitem)
{
echo '<img src="',$settings['images_url'], '/shopimg/item_images/',$shopitem['image'],' " alt ="',$shopitem['desc'],'" /> ';
}
}
}
echo '</li>';
// End shop Mod
Ok,..it worked and installed successfully.
but may i know how to use this thing ?
means where i can get full description to use this shop ?
it's really nice mod. kindly help me to use it.
Like after installing, i visited shop,..and found that there are Shown richest members [pocket], so there are 10 members who have 1000 credits,..so what it means ?
only 10 members have credit ?
===========
And suppose we buy items,..like Games Room Pass,..for xxx days,..so will pass be automatically for xxx days or we have to disable after xxx days ? :-\
I don't have any full description.
Maybe for the next version which is coming for SMF 2.1
Quote from: Diego Andrés on July 24, 2014, 01:14:15 AM
I don't have any full description.
Maybe for the next version which is coming for SMF 2.1
Next version ;D ;D
may i know the changes and will it need this version to remove first ? :-\
Quote from: GamePersia on July 24, 2014, 01:29:20 AM
Next version ;D ;D
may i know the changes and will it need this version to remove first ? :-\
That's obvious, because you'll also lost all your themes and mods, because as I said, is coming for the Next version of SMF, which is SMF 2.1, so you'll need to upgrade. Anyway, there's not a release date for SMF 2.1, is going to be ready when it's ready.
You can check how things are going in the repo at GitHub: https://github.com/SimpleMachines/SMF2.1
And you can find a "monthly" update here: http://www.simplemachines.org/community/index.php?board=129.0
Regards
PD: This topic was about SA Shop, we went too far from it.
Quote from: Diego Andrés on July 24, 2014, 09:43:51 AM
That's obvious, because you'll also lost all your themes and mods, because as I said, is coming for the Next version of SMF, which is SMF 2.1, so you'll need to upgrade. Anyway, there's not a release date for SMF 2.1, is going to be ready when it's ready.
You can check how things are going in the repo at GitHub: https://github.com/SimpleMachines/SMF2.1
And you can find a "monthly" update here: http://www.simplemachines.org/community/index.php?board=129.0
Regards
PD: This topic was about SA Shop, we went too far from it.
yes we went too far ;D ;D
como comprar ticke para entrar al GAMEROOMS
algun tutoriald e como usar la ST Shop 4.1??
Tienes que crear un ítem que utilice el módulo de games pass.
Después hay que comprar el ítem y usarlo desde el inventario.
Saludos
Hello Diego!
One quick question - what is the maximum amount a credits that a user can have? Thanks!
Columns are not currently unsigned so 8388607 in pocket, and probably around 1 billion in bank.
¡Qué onda Diego Andrés! ;D
Me gustó mucho tu MOD sobre esta Tienda ST. Me gustaría saber ¿si hay traducción al Español de este MOD? y en caso de que exista una traducción al español ¿cómo se instalaría o configuraría la traducción para el MOD?.
Esperando tus amables respuestas para saber si hay traducción o no de este excelente MOD que me interesa para mi Foro.
¡Saludos! 8)
De momento no se ha trabajado en una traducción, espero que más adelante lo pueda hacer.
QuoteDe momento no se ha trabajado en una traducción, espero que más adelante lo pueda hacer.
Espero que pronto se pueda trabajar en la traducción al Español de este MOD de la Tienda para poderlo descargar, configurar y montarlo en mi Foro. Y que ese pronto sea en cuanto se de en sus posibilidades de trabajar la traducción.
¡Saludos! y a la espera de tener estas buenas noticias sobre el MOD. 8)
Hola,
Tengo instalado el mod St shop y al querer eliminar artículos de los perfiles del usuario me aparecía este error:
$txt['Shop_inventory_'.$_REQUEST['sa']], '
2: Undefined array key "Shop_inventory_userinv2"
Definí la variable $txt['Shop_inventory_userinv2'] en el ShopAdmin.english.php y el error dejó de aparecer, sin embargo aún no puedo eliminar artículos de los usuarios.
¿Podrían por favor darme alguna pista de dónde debería editar?
Muchas gracias
Quote from: Rey Almeja on April 16, 2023, 12:54:41 AMEspero que pronto se pueda trabajar en la traducción al Español de este MOD de la Tienda para poderlo descargar, configurar y montarlo en mi Foro. Y que ese pronto sea en cuanto se de en sus posibilidades de trabajar la traducción.
¡Saludos! y a la espera de tener estas buenas noticias sobre el MOD. 8)
Yo tengo la versión traducida al español 100% , si me dan el conforme puedo compartir las plantillas.
Lo revisaré más tarde.
Cuál es el otro error que tienes una vez que arreglas tu archivo de idioma?
Quote from: Diego Andrés on July 04, 2024, 06:56:35 AMLo revisaré más tarde.
Cuál es el otro error que tienes una vez que arreglas tu archivo de idioma?
El error es que no se elimina ningún artículo del perfil del usuario, aparentemente se procesa pero en la práctica no se ejecuta.
Puedo darte un usuario de prueba si necesitas hacer validaciones en el mismo foro.
¡Muchas gracias por la respuesta!
Comenta esta línea: https://github.com/SMFTricks/ST-Shop/blob/16ef6f342c0367f31d1c38a22872bd3a52b9c8f5/Sources/Shop/Manage/Inventory.php#L344
Eso debería solucionar el problema, prueba y me dices.
Hola, gracias por la respuesta, he realizado lo que mencionas y el problema persiste, cuando le doy click a eliminar no tengo ninguna pantalla de confirmación exitosa y el ítem se mantiene en el perfil del usuario.
¿Puedo hacer una pregunta adicional? Quizás sea más sencillo de resolver.
Al comprar items, al hacer hover aparece en el title el nombre del item, lo cuál está perfecto.
(https://i.imgur.com/v92JNbO.png)
Sin embargo en los post al hacer hover en el title aparece la descripción del ítem, es posible editarlo para que en los post aparezca también el nombre del ítem en lugar de la descripción?
(https://i.imgur.com/ro5Xfn7.png)
Muchas gracias!
Quote from: dubanblack on July 04, 2024, 09:15:44 PMHola, gracias por la respuesta, he realizado lo que mencionas y el problema persiste, cuando le doy click a eliminar no tengo ninguna pantalla de confirmación exitosa y el ítem se mantiene en el perfil del usuario.
No lo puedo reproducir una vez que quito esa línea. Verifica que estés editando el archivo correcto
Sources/Shop/Manage/Inventory.php, linea 344.
Quote from: dubanblack on July 04, 2024, 09:15:44 PMSin embargo en los post al hacer hover en el title aparece la descripción del ítem, es posible editarlo para que en los post aparezca también el nombre del ítem en lugar de la descripción?
Themes/default/Shop/Inventory.template.php// Format items
foreach($inventory as $item)
$display_items .= Format::image($item['image'], $item['description']);// Format items
foreach($inventory as $item)
$display_items .= Format::image($item['image'], $item['name']);
Quote from: Diego Andrés on July 04, 2024, 11:10:05 PMNo lo puedo reproducir una vez que quito esa línea. Verifica que estés editando el archivo correcto Sources/Shop/Manage/Inventory.php, linea 344.
Tienes razón, había comentado el mismo código pero en otra línea.
Sobre el asunto del title, se ha solucionado.
Muchas gracias por la ayuda ;D
Hola, una consulta, es posible que los items se muestren por el tipo de categoría en lugar de por la fecha de compra?
Se podría editar este orden en alguna plantilla?
Muchas gracias desde ya
De momento no hay forma sencilla de implementar ese cambio, asumiendo que te refieres al inventario?
Así es, al inventario que se visualiza en el perfil en la zona de mensajes o en el perfil en general.
Hola,
Quería saber si existe alguna forma de solucionar este error que aparece constantemente:
bfe9d4f4ea00ea388c9e2526601ee4c6
https://harrypotterhead.com/foro/index.php?action=shop
/home/u964766853/domains/harrypotterhead.com/public_html/foro/Themes/default/Shop/Shop.template.php (Línea 41)
2: Trying to access array offset on value of type null
URL de la página causante del error
https://harrypotterhead.com/foro/index.php?action=shop
#0: smf_error_handler()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/Themes/default/Shop/Shop.template.php en línean 41
#1: template_shop_above()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/Sources/Load.php en línean 2778
#2: loadSubTemplate()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/Sources/Subs.php en línean 4554
#3: template_header()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/Sources/Subs.php en línean 4157
#4: obExit()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/Sources/Security.php en línean 143
#5: is_not_guest()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/Sources/Security.php en línean 1035
#6: isAllowedTo()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/Sources/Shop/View/Home.php en línean 176
#7: main()
Llamado desde /home/u964766853/domains/harrypotterhead.com/public_html/foro/index.php en línean 184
La línea 41 es esta:
foreach ($context['shop']['tabs'] as $action => $tab)
He notado que las ip que aparecen siempre usan VPN. Existe alguna forma de evitar ese error?
Intenta lo siguiente:
Sources/Shop/View/Home.php
$context['template_layers'][] = 'shop';
// What if the Shop is disabled? User shouldn't be able to access the Shop
if (empty($modSettings['Shop_enable_shop']))
fatal_error(Shop::getText('currently_disabled'), false);
// Are they allowed to Access the Shop? If not.. YOU SHALL NOT PASS.
// Anyway if user can Manage the Shop, there's no problem :).
if (!empty($modSettings['Shop_enable_shop']) && !allowedTo('shop_canAccess') && !allowedTo('shop_canManage'))
isAllowedTo('shop_canAccess');
// Maintenance. Only Shop admins can access.
if (!empty($modSettings['Shop_enable_shop']) && !empty($modSettings['Shop_enable_maintenance']) && allowedTo('shop_canAccess') && !allowedTo('shop_canManage'))
fatal_error(Shop::getText('currently_maintenance'), false);
// What if the Shop is disabled? User shouldn't be able to access the Shop
if (empty($modSettings['Shop_enable_shop']))
fatal_error(Shop::getText('currently_disabled'), false);
// Are they allowed to Access the Shop? If not.. YOU SHALL NOT PASS.
// Anyway if user can Manage the Shop, there's no problem :).
if (!empty($modSettings['Shop_enable_shop']) && !allowedTo('shop_canAccess') && !allowedTo('shop_canManage'))
isAllowedTo('shop_canAccess');
// Maintenance. Only Shop admins can access.
if (!empty($modSettings['Shop_enable_shop']) && !empty($modSettings['Shop_enable_maintenance']) && allowedTo('shop_canAccess') && !allowedTo('shop_canManage'))
fatal_error(Shop::getText('currently_maintenance'), false);
$context['template_layers'][] = 'shop';
Muchas gracias, funciona bien, de momento no se han reportado nuevamente esos errores.
QuoteQuote from: D (https://silverhanna.com/how-to-unblock-grindr-in-pakistan/)i (https://sahrzad.online/how-to-unblock-whatsapp-calls-in-egypt/)e (https://silverhanna.com/whatsapp-blocked-in-egypt-unblock-today/)g (https://aeroshield.me/how-to-watch-hotstar-in-uae-dubai/)o (https://x.com/roobet2025) A (https://sahrzad.online/how-to-unblock-badoo-in-uae-dubai-oman-saudi-arabia-and-others/)n (https://www.facebook.com/roobetpromoreferralcode777)d (https://aeroshield.me/how-to-unblock-tinder-in-uae-dubai/)r (https://aeroshield.me/duelbits-referral-promo-code/)é (https://aeroshield.me/rollbit-promo-codes/)s (https://relaska.com/how-to-open-tiktok-in-jordan/) on October 18, 2024, 05:21:14 PM
Intenta lo siguiente:
Sources/Shop/View/Home.php
...
Funcionará su mod con la última versión de smf?
Tengo miedo de romperlo y quiero obtener confirmación de compatibilidad por adelantado.
Gracias.
Debería funcionar, utiliza hooks.