You can ask for support in the boards:
https://smftricks.com/index.php?board=60.0
https://smftricks.com/index.php?board=60.0
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Quote from: flasidito on July 31, 2025, 07:29:10 AMyo tengo el link de la imagen que es: https://i.postimg.cc/m2f5rWz8/sasa.jpg pero cuando lo pongo no sale nada, tengo que poner algun codigo ? ayuda please
$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';
English
Russian by Bugo
Italian by ParmaU
Romanian by Aimond