Recent posts

#1
Free Themes & MODs / ModRe: ST Shop
Last post by Diego Andrés - February 08, 2025, 11:30:08 AM
Debería funcionar, utiliza hooks.
#2
Free Themes & MODs / ModRe: ST Shop
Last post by Zzaza - February 06, 2025, 07:17:47 AM
QuoteQuote from: Diego Andrés 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.
#3
Chit Chat / Re: Hello!
Last post by Zzaza - February 06, 2025, 07:16:06 AM
Hi all  ;)
#4
Premium Themes / Re: Darkec
Last post by ivodev45 - January 21, 2025, 02:49:30 AM
Where can I buy this theme, it's no longer available for purchase?
@Boban ツ
#5
Pre-sale Questions / Re: Demo site and themes
Last post by Diego Andrés - December 22, 2024, 10:01:39 AM
For 2.1 it's only direct links at the moment.
I will try to add the switcher soon.
#6
Pre-sale Questions / Demo site and themes
Last post by DenDen60 - December 22, 2024, 09:44:38 AM
Hi, didn't you have a demo site where we could change the themes? I can't find it.
#7
Premium Themes / Re: Comet
Last post by Diego Andrés - November 22, 2024, 09:55:17 PM
Sí, simplemente es una opción configurable.
Del perfil no se a que te refieres, sería como aparece en el demo.
#8
Premium Themes / Re: Comet
Last post by AppleCrazy - November 22, 2024, 09:06:06 PM
Se puede usar las secciones en lista como nativamente se usan en lugar de bloques? y el area de perfil me sale diferente a la mostrada aquì, pregunto ya que ando buscando un buen theme para un proyecto y este me intereso.
#9
Free Themes & MODs / ModRe: ST Shop
Last post by dubanblack - October 20, 2024, 02:07:32 PM
Muchas gracias, funciona bien, de momento no se han reportado nuevamente esos errores.
#10
Free Themes & MODs / ModRe: ST Shop
Last post by Diego Andrés - October 18, 2024, 05:21:14 PM
Intenta lo siguiente:

Sources/Shop/View/Home.php

Code (Search) Select
$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);

Code (Replace) Select
// 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';