source:
https://custom.simplemachines.org/mods/index.php?mod=1151Description:This modification takes a thumbnail attachment attached to the first post of the topic and shows this thumbnail on the topic listing page of a forum.
Settings:
Admin »Modification Settings »Miscellaneous to:
Thumbnail Topic Height: 30
Thumbnail Topic Width: 30
Admin > Boards > Modify Boards > Thumbnails: Display an thumbnail attachment that is attached to the first post of a topic > Check the box
Have to uninstall
Global Topics mod and the
MessagePreviewOnHover mod first and make one manual change to
./Sources/MessageIndex.php to manually accommodate the code between "
// Thumbnail Topic" and "
// End Thumbnail Topic Mod" after:
if ($row['id_poll'] > 0 && $modSettings['pollMode'] == '0')
continue;
Note: When reinstalling the
MessagePreviewOnHover mod you will need to go to Admin to set the preview length:
Admin > Forum > Posts and Topics > Length of Message Preview = 512
Bugs and notes:
https://www.simplemachines.org/community/index.php?topic=232539.msg4090329#msg4090329