dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse

This website has run out of funding so feel free to contribute if you can afford it (see footer)

Author Topic: Thumbnail on Topic Listing  (Read 2346 times)

Offline Chip (OP)

  • Server Admin
  • Hero Member
  • *****
  • Administrator
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 6648
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Today at 05:53:23 PM
  • Deeply Confused Learner
  • Profession: IT Engineer
Thumbnail on Topic Listing
« on: June 14, 2021, 12:57:25 PM »
source: https://custom.simplemachines.org/mods/index.php?mod=1151

Description:

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:

Code: [Select]
                        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
« Last Edit: June 14, 2021, 03:50:08 PM by Chip »
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
Our Discord Server invitation link is https://discord.gg/jB2qmRrxyD

Tags:
 


dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse





TERMS AND CONDITIONS

In no event will d&u or any person involved in creating, producing, or distributing site information be liable for any direct, indirect, incidental, punitive, special or consequential damages arising out of the use of or inability to use d&u. You agree to indemnify and hold harmless d&u, its domain founders, sponsors, maintainers, server administrators, volunteers and contributors from and against all liability, claims, damages, costs and expenses, including legal fees, that arise directly or indirectly from the use of any part of the d&u site.


TO USE THIS WEBSITE YOU MUST AGREE TO THE TERMS AND CONDITIONS ABOVE


Founded December 2014
SimplePortal 2.3.6 © 2008-2014, SimplePortal