Recent posts

#31
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.
#32
Chit Chat / Re: Hello!
Last post by Zzaza - February 06, 2025, 07:16:06 AM
Hi all  ;)
#33
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 ツ
#34
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.
#35
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.
#36
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.
#37
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.
#38
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.
#39
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';
#40
Free Themes & MODs / ModRe: ST Shop
Last post by dubanblack - October 18, 2024, 04:40:55 PM
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?