Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/mybb-es.com/html/inc/plugins/avatarep.php on line 1102

Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/mybb-es.com/html/inc/class_language.php on line 201
Threads Icons
chack1172   17 Jul, 2016, 1:39 pm
#1
[Imagen: ticon_cover.png]

¿Qué es Threads Icons?
Threads Icon es un plugin que permite a los usuarios introducir un icono personalizado a las discusiones.

Creador
@ chack1172

Versión
1.0

Imágenes
[Imagen: ticon_edit.png]

[Imagen: ticon_newthread.png]

[Imagen: ticon_threads.png]

[Imagen: ticon_1470659851_plugin_delete.png]

Download
Threads Icons - chack1172
Última modificación: 8 Aug, 2016, 6:15 am por chack1172.
Omar G.   19 Jul, 2016, 1:23 pm
#2
Esta modificación agrega una consulta por cada tema mostrado en la paginad e foro (forum display). Posiblemente debido a la mala decisión de agregar una tabla nueva a la base de datos cuando simplemente se hubiera podido agregar una columna a la tabla threads.

Es lo único criticable que alcance a notar, por el resto parece ser una modificación aceptable.
chack1172   26 Jul, 2016, 4:03 pm
#3
@"Omar G.", yo nunca editar archivos oficiales o tablas de la base de MyBB

I never change offical files or database tables of MyBB
Última modificación: 26 Jul, 2016, 4:03 pm por chack1172.
Omar G.   27 Jul, 2016, 11:44 am
#4
Why not? It shouldn't be a taboo. But even if you add your own table, you don't need to query the DB for every single thread that is loaded, you can fetch them all at the same time.

I could recommend a plugin that adds their own tables, but never one that runs this quantity of queries per page.
chack1172   28 Jul, 2016, 11:36 am
#5
Thank you for the suggestion Omar, I'll add it in the next release.
When I make plugin, I don't think about these things Sad
chack1172   8 Aug, 2016, 6:14 am
#6
Updated to version 1.1
Changelog:


Código:
Threads List

  - Now only one query will be executed for take custom icons (Thanks to Omar G. for the advice)

Admin

  - Added link for Delete the plugin (The plugin will be uninstalled and its files will be deleted)
  - Modified the url of the plugin

Misc

  - Improved code
  - Added comments to files and functions
Última modificación: 8 Aug, 2016, 6:15 am por chack1172.
  
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.