News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

agregar un boton

Started by hocs22, August 11, 2019, 02:40:56 PM

Previous topic - Next topic

d3vcho

Creo que se podría hacer con la variable $message['id']. Actúa de la misma forma que $GLOBALS['board']. Si por ejemplo quieres poner un botón en el mensaje con ID 48, deberías hacer algo como:

if($message['id'] == 48)
    <li class="..."><a href="...">...


No te recomiendo hacer esto sobre demasiados mensajes, ralentizará la navegación del foro.
"Greeting Death as an old friend, they departed this life as equals"

hocs22

eso miismo hice xd per ocomo son pocos es soportable

muchas gracias

Advertisement: