08-15-2010, 03:52 AM
08-15-2010, 07:10 AM
Hi RateU, this is the code I tried:
Code:
|
But its giving me a syntax error. I tried putting the group thing in other places in the code but failed :/
08-15-2010, 07:28 AM
Try to put it above the $mnxtigp_lr variable?
Code:
|
08-15-2010, 08:01 AM
Aha - that kind of worked - but see my profile page result:
http://easycaptures.com/fs/uploaded/426/5949684533.jpg
It seems that only the last post is showing in the preset format - and then with no picture...
BTW, I like fixing it like this - helps me to learn
http://easycaptures.com/fs/uploaded/426/5949684533.jpg
It seems that only the last post is showing in the preset format - and then with no picture...
BTW, I like fixing it like this - helps me to learn
08-15-2010, 08:30 AM
It seems the URL lead to your download attachment (.rar file). Try to change the query like this:
PHP Code:
|
08-15-2010, 09:01 AM
aha, that got it to work. Is that because the a.thumbs is now BEFORE the implode function?
08-15-2010, 09:11 AM
Yes. The a.thumbs there will "order" the query to find the attachments in that thread which has thumbnail. Because file "doesn't have" a thumbnail, so, it will try to find another attachment in the thread which has thumbnail. And the query find an image which has a thumbnail, then pull it to profile. I think like that (sorry if I'm wrong ).
08-15-2010, 09:20 AM
I see, and then the group by tid makes it so that IF there was a thread with two images it first goes finds the first images and then goes through again?
So if I was to select MORE images in the plug in settings than I have threads then it would show some threads twice?
So if I was to select MORE images in the plug in settings than I have threads then it would show some threads twice?
08-15-2010, 09:35 AM
(08-15-2010 09:20 AM)leefish Wrote: [ -> ]I see, and then the group by tid makes it so that IF there was a thread with two images it first goes finds the first images and then goes through again?
It will go to another thread if the query already find an image there.
(08-15-2010 09:20 AM)leefish Wrote: [ -> ]So if I was to select MORE images in the plug in settings than I have threads then it would show some threads twice?
Nope (I think). It will make the thread id "unique" in profile.
08-16-2010, 07:47 AM
Hi RateU, here is what I did with the code you posted. Thank you very much again.
http://www.leefish.nl/mybb/member.php?ac...http://www.leefish.nl/mybb/member.php?action=pro
http://www.leefish.nl/mybb/member.php?ac...http://www.leefish.nl/mybb/member.php?action=pro