SMF icon indicating copy to clipboard operation
SMF copied to clipboard

last/first post preview on the message index does not work

Open Hristo- opened this issue 12 years ago • 11 comments

I remember it worked a year ago. Set the characters to 100/200 with no effect, that is - there is no Preview. Using Wamp if that plays a role.

Hristo- avatar Dec 10 '13 01:12 Hristo-

What browser are you using? It works fine for me on my test board (http://smfgit.oldiesmann.us) using the latest version of Firefox.

Oldiesmann avatar Dec 10 '13 02:12 Oldiesmann

Hmm, probably it is due to Wamp/localhost. Tried it on 5 browsers, so it's not the browser. Or maybe there is more than one "switch". I only set the characters, is this enough?

Hristo- avatar Dec 10 '13 02:12 Hristo-

Admin -> Configuration -> Current Theme

Scroll down to the bottom and make sure "Show post previews on the message index" is checked.

Oldiesmann avatar Dec 10 '13 02:12 Oldiesmann

Ah, my bad. Works well. Wanted to test whether or not the preview still includes the quotes. As I see there is no change.

BTW Using the admin search for "preview" showed only the other setting, while searching for "previews" says "No results found."

Hristo- avatar Dec 10 '13 02:12 Hristo-

Yeah, theme settings don't show up in the admin search. I'll have to see if there's a way I can change that though.

Oldiesmann avatar Dec 10 '13 04:12 Oldiesmann

The theme setting system needs an overhaul in an ideal world. But there's really no good way to do that with the current architecture of admin search.

Arantor avatar Dec 10 '13 05:12 Arantor

In that case do you mind to add a hint to the help menu of "Maximum length of last/first post preview" setting. Something similar to the one bellow, but of course with a better English :)

This option sets the number of available characters for the first and last message topic preview. Note this only makes the information available to the theme, the theme must support the message_index_preview setting. If it does then you can enable/disable it from Admin -> Configuration -> Current Theme.

Hristo- avatar Dec 10 '13 22:12 Hristo-

Can someone write the proper hint sentence so it can be added.

MissAllSunday avatar Feb 16 '14 15:02 MissAllSunday

Honestly, I think Hristo's suggestions works well IMHO.

PhuriousGeorge avatar Feb 17 '14 16:02 PhuriousGeorge

I also ain't a native English speaker so I always ask for further assistance with strings :)

MissAllSunday avatar Feb 17 '14 18:02 MissAllSunday

Fair enough, though you seem to write in English effectively :)

PhuriousGeorge avatar Feb 17 '14 22:02 PhuriousGeorge