TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 312
  • Total: 312

[bugtracker] Multiple Posts Shown on FP with Layout Type #4

Started by ZarPrime, April 12, 2010, 09:54:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ZarPrime

When Layout Type 4 (Picture + Article) is selected and "Use first post
attachment preview as illustration?" is set to "Yes" and the actual post has
more than 1 picture attachment, a post will be shown on the FP for each
attachment.  Example is as follows (at least temporarily available) ...

On my test site -->
http://talesofthehavenexpanse.com/smf2test/index.php

1.  The post "PIX Attachment Test #2" is shown twice because 2 pictures
are attached to the actual Forum post.

2.  Another example, same site.  The post called "Test with Multiple PIX
Attachments" shows 4 posts on the FP, each with a different picture
because 4 pictures were attached to the actual Forum post.  Each post
shown on the FP is the same post, but each one is shown with a different
picture.

In both cases above, only 1 Forum post should be shown on the FP, each
with the "first post attachment" shown.

ZarPrime

bloc

Indeed a tough bug to locate lol, but it seems a "GROUP BY" helped, as the reason was that any topic could match several attachments.

Fixed for TP 1.0 beta5.2

This website is proudly hosted on Crocweb Cloud Website Hosting.