SMFHacks.com

Modifications/Themes => Modifications Talk => Latest Mods => Topic started by: SMFHacks on April 05, 2008, 07:49:56 pm

Title: [Mod] Thumbnail on Topic Listing
Post by: SMFHacks on April 05, 2008, 07:49:56 pm
Thumbnail on Topic Listing
SMF Version: 1.1.x

Description:This modification takes a thumbnail attachment attached to the first post of the topic and shows this thumbnail on the topic listing page of a forum.

Link to Mod (http://www.smfhacks.com/hacks/Thumbnail-on-Topic-Listing.html)
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: propyl on May 12, 2008, 12:11:46 pm
Hey Hacks,

Is there a way to modify the thumbnail size?

Mine are massive and pretty much make navigating the board a visual mess.

If I could get the thumbs down to 100x100 maybe I think this mod would look really slick.

On a different note. I also saw a phpbb mod that shows thumb previews at the top of the page above the main boads listing. It was pretty sexy sweet. Take a look here to see what i mean. If you click the thumb it takes you to the topic.

http://www.tsplines.com/forum/

I would love to do something like that as well (like you aren't busy enough)  :P

Title: Re: [Mod] Thumbnail on Topic Listing
Post by: SMFHacks on May 12, 2008, 07:10:04 pm
I believe it uses the thumbnail settings that you have under attachments and avatars.
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: propyl on May 12, 2008, 11:19:17 pm
Yeah, I noticed that after I posted. I was skimming through the code and realized that you weren't actually making any thumbs. Which makes sense.

Did you check out that link by chance?

PS, i am twiddling my thumbs for the downloads mod man. Can't wait to get my grubby paws on it. I would be using it already but it doesnt support pics and thumbs. Once it does sign me up! That has been my biggest problem with TP Downloads. No preview thumbs. It's brutal when your site is all digital content and people would like to see what it is without clicking on each and every single item to see the larger photo cause there's no thumb preview. The idea of search is very nice too.. Pretty much Gallery Pro with an attached download! Can't wait man!




Title: Re: [Mod] Thumbnail on Topic Listing
Post by: kai920 on June 13, 2008, 11:08:57 pm
Could this code be adapted to pull thumbnails for use with ssi_boardNews()?
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: daniel.black on August 21, 2008, 01:33:07 pm
I can only get these images to show up in the default SMF theme.  How do I get them to show in other themes?
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: SMFHacks on August 21, 2008, 06:57:35 pm
You have to modify the messageindex.template.php of the other themes.
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: daniel.black on August 21, 2008, 07:08:44 pm
You have to modify the messageindex.template.php of the other themes.

Could you elaborate please?
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: madman71 on October 09, 2008, 02:49:59 pm
Vb,

Thanks again for this mod. It's running great on my main forum.  I have installed a 2nd forum and im having a bit of an issue.  Is it possible for this mod to cause the issue below? if so, how would i fix this?

Im running 1.1.6

fresh copy of SMF

Im using RRR theme
(issues also happens with SMF default them)

only 1 mod installed (Thumbnail on topic)
 (manually installed and working)

The problem:

Im missing the "started by" user name for posts.  See image (pictures worth 1000 words) :)


 (http://img208.imagevenue.com/loc593/th_67770_1_122_593lo.JPG) (http://img208.imagevenue.com/img.php?image=67770_1_122_593lo.JPG)

 (http://img137.imagevenue.com/loc1193/th_67776_2_122_1193lo.JPG) (http://img137.imagevenue.com/img.php?image=67776_2_122_1193lo.JPG)

This error did not exist before i installed the mod, so this leads me to believe that it could be the mod causing this.  Is this possible?

Is there a simple fix for this?


I have this in my forum error log. Not sure if it helps:

http://xxxxxxxxxxxxxxxx.com/shotgunsisters/index.php?action=manageattachments
Apply Filter: Only show the errors with the same message
Administration login attempt!
Referer: http://xxxxxxxxxxxxxxxx.com/shotgunsisters/index.php?action=manageattachments
User agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3


Title: Re: [Mod] Thumbnail on Topic Listing
Post by: SMFHacks on October 09, 2008, 07:43:08 pm
Haven't seen that occur before. Umm where there any errors when installing the mod? Does uninstalling the mod fix the issue?
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: madman71 on October 12, 2008, 12:14:07 am
Thanks for the reply.

I installed it manually, so im not sure if there were any errors.


Ok, i've uninstalled it and the prob still exists.  Even after i uninstalled and and went to the default theme the user names are still not showing up.  I guess it wasnt  your mod after all.

Something went wacky.

thanks.  I'll probably just reinstall SMF since i havent really went live with the forum yet.
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: webking on October 22, 2008, 02:15:08 am
How can I add this to SSI.php under function ssi_recentTopics or some other functions in SSI so I can use it in a block.

Thanks.
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: fotografo74 on October 23, 2008, 03:11:49 am
Nice modification, thanks!
For expert:
if a user add not a thumbnail, it's possibile create automatically a thumbnail like the attached image?
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: webking on October 26, 2008, 11:22:36 am
Can someone help me to add this to the SSI.php in the recentPosts area? I do appreciate your effort. Thanks very much.
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: spikeweb on October 26, 2008, 05:01:39 pm
Hi, this is my first message here as I encounter a problem installing this mod.
I did several tests and as soon as the mod is installed (no warning), when I browse a section page, I get this message, whatever the theme is (even default SMF theme) :

Not unique table/alias: 'big'
Fichier: /mypath/Sources/MessageIndex.php
Ligne: 484

Note : Il semble que votre base de données puisse nécessiter d'une mise à jour. Actuellement, la version des fichiers du forum est SMF 1.1.6, tandis que votre base de données est à la version SMF 1.1.4. Les erreurs précédentes peuvent peut-être disparaître si vous exécutez la dernière version de upgrade.php.

The note means that the database should be upgraded but I installed this forum recently and just did the last upgrade from 1.1.5 to 1.1.6 ??

Any advice will be appreciated as this is a really required feature by my members ;)
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: SMFHacks on October 26, 2008, 05:57:35 pm
Could be from another mod that was installed that modified the same area.
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: spikeweb on October 27, 2008, 04:32:05 am
Thanks for the answer. Here are the mods installed :

   
1.    Ad Managment    2.3
2.    SMF 1.0.14 / 1.1.6 Update
3.    Thumbnail Topic Mod    1.1
4.    The Rules    1.06
5.    Welcome Topic Mod    1.1

What kind of test or information may I provide here to go to a resolution ?
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: webking on October 28, 2008, 10:23:48 pm
What about Version 2 beta 4  ???

Or can I use the 1.1.6 for manual installation?

Please advise.
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: SMFHacks on October 28, 2008, 11:42:28 pm
Does not support 2 beta 4 yet have not checked what has changed in regards to that code.
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: spikeweb on October 29, 2008, 04:04:43 am
Thanks for the answer. Here are the mods installed :

   
1.    Ad Managment    2.3
2.    SMF 1.0.14 / 1.1.6 Update
3.    Thumbnail Topic Mod    1.1
4.    The Rules    1.06
5.    Welcome Topic Mod    1.1

What kind of test or information may I provide here to go to a resolution ?

Up, is there any upgrade file I can use to try to update the DB ? I did not see any SQL file to apply when installing this mod ??
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: webking on November 01, 2008, 08:49:18 pm
Desperately need this for version 2 beta 4. Please assist.
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: webking on November 03, 2008, 06:30:19 pm
Anyone in this smfhacks.com would update this hack? Much Appreciated!
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: SMFHacks on November 03, 2008, 06:35:26 pm
Planned for the future but currently do not have time. Would update it for a donation though.
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: webking on November 04, 2008, 09:02:12 pm
If I could donate a dollar via paypal? I m a student, I dont have lots of money.
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: SMFHacks on November 05, 2008, 07:14:45 pm
Yeah that would work.
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: webking on November 11, 2008, 08:57:24 pm
Ahhh, I have trouble with paypal. Couldn't do it at this time. Can you work on this and when I can get my paypal to work again, i'll try to donate. Thanks man.
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: webking on February 02, 2009, 10:35:25 am
I hope it will be available soon. Thanks all.
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: SMFHacks on February 02, 2009, 07:55:02 pm
Once 2.0 goes final it will be released.
Title: Re: [Mod] Thumbnail on Topic Listing
Post by: marc tucker on April 03, 2009, 09:27:43 am
just curious, any idea when this will be updated?
thanks!