dopetalk

Technology => SMF Forum Code Modifications => Topic started by: Chip on August 19, 2017, 06:39:39 AM

Title: Avatars on Board and/or MessageIndex
Post by: Chip on August 19, 2017, 06:39:39 AM
https://custom.simplemachines.org/mods/index.php?mod=4107

This mod will display the avatar of last poster in Board(Child)Index and or the avatar of first and or last poster of topics in MessageIndex.
 
Extra setting: Display topic starter time in MessageIndex.

This caused system issues once before but i am going to run it again and see if the bugs have been sorted.

it is possible that the system may become unstable so please contact me, Candy or Nick.

best to email smfadmin@forum.drugs-and-users.org
Title: Re: Avatars on Board and/or MessageIndex
Post by: Chip on March 12, 2020, 10:19:26 PM
updating to the latest version as errors are being generated in SMF 2.0.17 ... but also turning off the "Define (global) other smf avatars with rounded borders?" option.
Title: Re: Avatars on Board and/or MessageIndex
Post by: Chip on May 04, 2021, 07:56:19 AM
Bug report at https://www.simplemachines.org/community/index.php?topic=544924.msg4087814#msg4087814

./Sources: cp abm_code.php abm_code.php-orig

find:
Code: [Select]
if ($row['id_parent'])
replace:
Code: [Select]
if (isset($row['id_parent']))
loses the avatars and still errors logged. fix undone.
Title: Re: Avatars on Board and/or MessageIndex
Post by: Chip on May 07, 2021, 08:16:04 AM
second try with the new code being:

replace:
Code: [Select]
                                        if (!empty($row['id_parent']))
That's a little better (less errors); it only happens every time I select "Forum" to view all the boards.
Title: Re: Avatars on Board and/or MessageIndex
Post by: Chip on June 11, 2021, 12:20:01 PM
Bug fix:

see https://www.simplemachines.org/community/index.php?topic=544924.msg4089879#msg4089879

Latest unofficial package is attached ...
SimplePortal 2.3.6 © 2008-2014, SimplePortal