Show Posts

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.


Messages - GL700Wing

Pages: [1]
1
AutoIndex 3.0 and PHP 7.4 - Deprecated 'each' function

Datos importantes:
Url del foro: https://fjcc.com.au/forum_labs
Version de SMF: SMF 2.0.17
Theme del foro: SMF Default Theme - Curve

Descripcion del problema:
This mod uses the deprecated 'each()' function in ./Sources/AutoIndexHooks.php which causes the error 'The each() function is deprecated. This message will be suppressed on further calls' to be logged with PHP 7.4.

In ./Sources/AutoIndexHooks.php
Find:
Code: [Select]
while((list($key, $val) = each($buttons)) && $key != $boton)
$find_me++;

Replace With:
Code: [Select]
while (($key = key($buttons) && $val = current($buttons)) && $key != $boton)
$find_me++;
$find_me--;

2
Mods SMFSimple / Re:Automatic Index V3.0
« on: April 08, 2017 - 07:41 07:41 »
Hi there,

I use this mod on a forum with a lot of boards and child boards and I was wondering if it would be possible to have the boards listed in the Automatic Index drop-down list in the same order they are displayed on the Board Index.

This would be especially helpful because I have some child boards with the same name and I can't tell from the AutoIndex board list which parent board they belong to.

The attached images show a BoardIndex list and an AutoIndex list where child boards are not listed under the correct parent board.

Pages: [1]
top

Smfsimple.com es un sitio destinado a brindar un servicio de soporte y herramientas para foros realizados con el sistema de foros gratuito simplemachines.org. Contamos con un selecto equipo de desarrolladores y conocedores del sistema, sus foros estaran en buenas manos.
This site is not affiliated with or endorsed by Simple Machines