• Welcome to Simple Machines Community Forum. Please login or sign up.
December 06, 2021, 01:25:47 AM

News:

SMF 2.1 RC4 has been released! Try it out and help us test! :) Read more.


Thumbnail on Topic Listing

Started by SMFHacks.com Team, April 04, 2008, 01:05:48 PM

Previous topic - Next topic

natasa (NT)

Hello!
Is it possible to change image backgrounds (on topic list)
of sticky and locked topics in corresponding colors?
If it is possible, how can I do that?
Thanks.

City Builder

Quote from: vbgamer45 on March 15, 2011, 04:54:31 PM
Haven't had time to look at maybe in a couple months only focused on major issues/problems.

Any chance of getting this fixed now?  I still get no image for the topics that do NOT have an image as the first attachment and so don't use the mod but really really want to use it, but it just looks too sloppy when some topic rows have an image and some don't.

Would be really great if you can get some time to make this mod pull the first image in the attachments instead of only trying to pull the first attachment to display on the index.  Or maybe make it so that if it can't find an image in the first attachment slot, then it gets a generic image of our own choosing and displays that instead.  Although it would be preferable for it to pull the first available image attachment instead of giving up and displaying none if an image isn't the first attachment.

Thanks

afcbob

April 11, 2012, 03:14:08 PM #302 Last Edit: April 11, 2012, 03:49:58 PM by afcbob
Got it sorted now great Mod

Biology Forums

April 14, 2012, 04:28:56 PM #303 Last Edit: April 14, 2012, 04:58:05 PM by Liam_michael
What if there are multiple attachments, could you limit it to the first one?

Answer: Only the first one!

Excellent modification, my topics look so colourful now ;)

http://biology-forums.com/index.php?board=17.40

mageguild

In the MessageIndex.template, I would prefer to show all attached images on the thread instead of just one.  What's the best way to support this?

vbgamer45

Currently doesn't support that. You would have to loop though all the image attachments in the topic and echo each one.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

City Builder

Okay, so is there anybody around that can mod this mod so that it pulls the first image in a list of attachmenents instead of only looking at the first attachment to see if it's an image?  Basically have it display the first image that are attached to a topic, instead of not displaying anything if the first attachment on a topic isn't an image?

Thanks

Biology Forums

Quote from: City Builder on April 17, 2012, 07:25:26 PM
Okay, so is there anybody around that can mod this mod so that it pulls the first image in a list of attachmenents instead of only looking at the first attachment to see if it's an image?  Basically have it display the first image that are attached to a topic, instead of not displaying anything if the first attachment on a topic isn't an image?

Thanks

That's interesting, never knew of this limitation. You could put a notice to all your members so that if someone is uploading a file and they want their image displayed in the message board, then post the image first and all other files after.

City Builder

April 17, 2012, 09:25:47 PM #308 Last Edit: April 17, 2012, 09:54:32 PM by City Builder
Quote from: Liam_michael on April 17, 2012, 09:05:32 PM
Quote from: City Builder on April 17, 2012, 07:25:26 PM
Okay, so is there anybody around that can mod this mod so that it pulls the first image in a list of attachmenents instead of only looking at the first attachment to see if it's an image?  Basically have it display the first image that are attached to a topic, instead of not displaying anything if the first attachment on a topic isn't an image?

Thanks

That's interesting, never knew of this limitation. You could put a notice to all your members so that if someone is uploading a file and they want their image displayed in the message board, then post the image first and all other files after.
One of the problems with that is we've already got over 10,000 topics with images and other files attached.  The other problem is that when you have over 100,000 members, you find that there is a huge amount of people that can't figure out how to follow instructions, always best to try to fool proof the system to help those that have a hard time following instructions, even something as simple as saying, Upload your images files first, then your other files.

I'd use it the way that it is, but it really just makes the topic indexes look too sloppy with so many missing thumbnail images.  I'm not ocd or anything like that but it just drives me batty to see so many missing thumbnail images.  Which is why it would also be nice if this mod were to use an image that the admin can choose in the admin settings somewhere that could use a default image for those topics that don't have any images attached.  On some of those 10,000 topics there are no images, just other files attached, so while they are not that many, to keep things neat with this mod it would be good to have a default image as well.



Biology Forums

Very true, then do what I've done:

http://biology-forums.com/index.php?board=17.0

When there is no image uploaded, it gives the original icon.

SMFHacks.com Team

Quote from: Liam_michael on April 17, 2012, 09:34:50 PM
Very true, then do what I've done:

http://biology-forums.com/index.php?board=17.0

When there is no image uploaded, it gives the original icon.
Good idea put it done as feature request.
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.

http://ForumRankings.net - Get Forum Ranked!
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

City Builder

Quote from: Liam_michael on April 17, 2012, 09:34:50 PM
Very true, then do what I've done:

http://biology-forums.com/index.php?board=17.0

When there is no image uploaded, it gives the original icon.
The thing is that it works well on your forum as your image icons are not much larger than the forums icons, so it looks right at home, but we need to have image icons that people can at least get an idea for what the image is else theres no point to having the image there at all.  I was trying to have images on the index to be about the same size as the users avatars which I think at the time that I was trying to get this to work were about 100x100 or 150x150

Biology Forums

Quote from: City Builder on May 12, 2012, 12:12:10 PM
Quote from: Liam_michael on April 17, 2012, 09:34:50 PM
Very true, then do what I've done:

http://biology-forums.com/index.php?board=17.0

When there is no image uploaded, it gives the original icon.
The thing is that it works well on your forum as your image icons are not much larger than the forums icons, so it looks right at home, but we need to have image icons that people can at least get an idea for what the image is else theres no point to having the image there at all.  I was trying to have images on the index to be about the same size as the users avatars which I think at the time that I was trying to get this to work were about 100x100 or 150x150

Then what you could do it have a tooltip where if a member moves the mouse over the image, it enlarges it in a popup.

Fearless Freap

I am experiencing an odd occurrence with this mod... First off, let me say... I love it... it is essential for my forum. 

Here's my problem... 

I run a website featuring cheerleaders, and squad rosters.  I want the group photo 1st to become the topic thumbnail, I then post all the individual cheerleaders afterwards.  When I have to finish the post, the thumbnail changes from the group photo to one of the individual photos.

Link to thumbnail : http://www.myfavoritecheerleader.com/index.php?board=179.0

Is there a way to keep it the first file regardless of the number of attachments or modifications to the starting topic?

Thanks,

-Steve

LadyAngel

My space and bandwidth are severely limited...is there a way to take the first linked image and show this instead of an attachment?

vbgamer45

Quote from: ladyengland on April 16, 2013, 03:25:43 AM
My space and bandwidth are severely limited...is there a way to take the first linked image and show this instead of an attachment?
Not at the moment.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Neol

Would be possible to show the thumnails on boardindex instead on topic listing?

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Neol


vbgamer45

Sure it can be done but would need to be coded.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Advertisement: