For 2.1 it's only direct links at the moment.
I will try to add the switcher soon.
I will try to add the switcher soon.
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.
$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';
Quote from: gatesco on July 09, 2024, 08:42:19 AMHi,
just bought. I await the files that need to be replaced
Thank you
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?
// 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']);