Customizing SMF > Modifications and Packages

Thumbnail on Topic Listing

<< < (93/98) > >>

confuseamuse:
I did manage to get this working on my forum. The functionality to add thumbnails from [img] tags didn't work, but it does for attachments.

Is there a way to add an NSFW tag to attachments? People like to take liberties on the internet.

vbgamer45:
There is not. This mod just focuses on attachments and image tags in posts.

natasa (NT):
I can not see thumbnails on mobile phone, only empty spaces?
How can I fix that?
Thanks.

vbgamer45:
It should work do you have a responsive mode installed?

natasa (NT):
Yes, I have responsive mode installed, and there was a little problem with Thumbnail on topic listing package when installed,
I have to change peace of code manually, on: Themes/default/MessageIndex.template.php, maybe I did that wrong?

Before installing mods it looked like:


--- Code: ---// Are there actually any topics to show?
if (!empty($context['topics']))
{
echo '
<th scope="col" class="first_th" width="8%" colspan="2">&nbsp;</th>

--- End code ---

now it is:


--- Code: ---// Are there actually any topics to show?
if (!empty($context['topics']))
{
echo '
<th scope="col" class="first_th hidden" width="8%" colspan="', $context['show_thumbnails'] ? 3 : 2, '">&nbsp;</th>

--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version