Advertisement:

Author Topic: Thumbnail on Topic Listing  (Read 181250 times)

Offline mikeymx5

  • Semi-Newbie
  • *
  • Posts: 63
Re: Thumbnail on Topic Listing (SMF 2 RC2 Support Added!)
« Reply #240 on: February 23, 2010, 05:18:18 PM »
Is it possible to make the first image show up in the calendar is it is linked to a post as an event? O:)

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,618
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Thumbnail on Topic Listing (SMF 2 RC2 Support Added!)
« Reply #241 on: February 23, 2010, 05:19:51 PM »
Not currently.
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

Offline sinnedobi

  • Semi-Newbie
  • *
  • Posts: 47
    • njoftime
Re: Thumbnail on Topic Listing (SMF 2 RC2 Support Added!)
« Reply #242 on: February 25, 2010, 09:37:10 AM »
Hello,
I have install this mod but it don't work on my site, i have a buy and sell site and using smf. I want to make some cahnges to my site and if you can help me tell me how much is the damage,  and my e-mail sinnedobi@yahoo.it thank you

Dennis

Offline sinnedobi

  • Semi-Newbie
  • *
  • Posts: 47
    • njoftime
Re: Thumbnail on Topic Listing (SMF 2 RC2 Support Added!)
« Reply #243 on: March 05, 2010, 05:09:32 AM »
Hello

I need a modification for my site ******blerje.info, if you can t see the link search on google Gazeta ******blerje all i need is a modification to display thumbnail on board where topics are listed, Can any one help me, my e-mail is sinnedobi@yahoo.it and i can pay something for this mod.

Thank you

Ps I have try all modifications on modifications section but they don t workon my site

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,618
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Thumbnail on Topic Listing (SMF 2.0 RC3 Support Added!)
« Reply #244 on: March 08, 2010, 07:50:05 PM »
Updated for SMF 2.0 RC3!
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

Offline carajo

  • Semi-Newbie
  • *
  • Posts: 40
Re: Thumbnail on Topic Listing (SMF 2.0 RC3 Support Added!)
« Reply #245 on: March 14, 2010, 04:10:23 AM »
work's perfect in RC3,

  Thanks for this mod!!
SMF 2.0 RC3

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,618
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Thumbnail on Topic Listing (SMF 2.0 RC3 Support Added!)
« Reply #246 on: March 14, 2010, 10:46:22 AM »
No problem glad you enjoy it.
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

Offline Tanks

  • Full Member
  • ***
  • Posts: 583
  • Gender: Male
  • Danish Dude
Re: Thumbnail on Topic Listing (SMF 2.0 RC3 Support Added!)
« Reply #247 on: March 29, 2010, 08:20:06 AM »
is there possibility to fix thumbnail size, as example 80*80? may be change some thing in code ?

It will output the same thumbnail size as you the attachment thumbnails that are shown below a post.

Best thing is to set a fixed width and leave the height alone. this will look best in your design.

You can change the thumbnail size under #  Administration Center »  Attachments and Avatars » Attachment Settings

Offline madman71

  • Full Member
  • ***
  • Posts: 652
Re: Thumbnail on Topic Listing (SMF 2.0 RC3 Support Added!)
« Reply #248 on: March 29, 2010, 11:06:56 AM »
Can anyone give me some assistance?

Im running SMF 2.0 RC3 with a custom theme (BlackRain2)

This theme has it's own Messageindex.Template  file.  I can not locate the code in it to replace.

Can i have a second set of eyes look at mine (attached) to verify that im not going blind?

thanks
« Last Edit: March 29, 2010, 02:30:39 PM by madman71 »

Offline madman71

  • Full Member
  • ***
  • Posts: 652
Re: Thumbnail on Topic Listing (SMF 2.0 RC3 Support Added!)
« Reply #249 on: March 29, 2010, 02:56:57 PM »

Offline flashsteam

  • Semi-Newbie
  • *
  • Posts: 90
    • flashsteam.com
Re: Thumbnail on Topic Listing (SMF 2.0 RC3 Support Added!)
« Reply #250 on: April 20, 2010, 04:22:34 PM »
I need some help with this mod,

 In trying to find (from comment #6) in the script

Quote
For that you'll need to go here /index.php?action=manageattachments and change the
Maximum width of thumbnails:     
Maximum height of thumbnails:

That should do it.

Where exactly do I look for this. Im trying to control the size of the images in the topic list, to 50 pixels height and 60 width. Ive made this type of change before, but I just cant seem to locate /index.php?action=manageattachments  My forum version is 1.1.11


Offline iosys

  • Semi-Newbie
  • *
  • Posts: 20
    • AAF
Re: Thumbnail on Topic Listing (SMF 2.0 RC3 Support Added!)
« Reply #251 on: April 20, 2010, 06:03:54 PM »
To change the maximum size of posted images:
As an Administrator » Configuration » Features and Options » Basic Features

To change the maximum size of attached images:
As an Administrator » Forum » Attachments and Avatars Manager » Attachment Settings

I remember I had to have a tradeoff with the attached images mod but cant remember which of these I had to set.  Anyway try them and you should be right.

The online manual for smf is here:
http://docs.simplemachines.org/index.php?board=7.0
AAF [nofollow]

Offline flashsteam

  • Semi-Newbie
  • *
  • Posts: 90
    • flashsteam.com
Re: Thumbnail on Topic Listing (SMF 2.0 RC3 Support Added!)
« Reply #252 on: April 20, 2010, 08:20:57 PM »
Hi iosys,

 Thanks for the reply. Ya, last night I was all over the ACP. Before I go any further I should mention that I had to install a mod a while back, in order to use inline attachments. The link to my topic in 1.x support is here-

http://www.simplemachines.org/community/index.php?topic=364410.0

After the mod was installed, there was a problem with the images mirroring under the post's. So inturn I had to change the script a little. Actually the change was very minor. It was changing this- if ($attachment['is_image'])  to this- if ($attachment['is_image'] && 1 != 1) pretty simple, I used ftp to do it.

However I do not believe this is causing my problem. But it could be related.

 I must keep the box checked "Display image attachments as pictures under post: "  in "Attachment Settings" in order to see the inline attachments at all, or they will disppear without that box checked.

Here's whats acting weird, in "attachment settings" if I check the box for "Resize images when showing under posts: " Then if I click on those images with that box checked, in the topic list, both the inline attachments and the images will be set to what I have set in "Attachment Settings" under max height and width of thumbnails. Then once I veiw both images (from topic list and inline, then uncheck that box [resize under posts]) the topic list images will stay at my thumbnail setting, and the inline attachments will be full size as they should be. Im other words, everything looks how I would like, after I do that. like I said, weird.

For what is worth I would still like to find the script that-

Quote
For that you'll need to go here /index.php?action=manageattachments and change the
Maximum width of thumbnails:     
Maximum height of thumbnails:

That should do it.

I just need to be able to find it with ftp, which directory its in, etc.

Best

Jeremy

 

Offline Snogmarr

  • Jr. Member
  • **
  • Posts: 289
  • Gender: Male
  • 2RC3
Re: Thumbnail on Topic Listing (SMF 2.0 RC3 Support Added!)
« Reply #253 on: April 20, 2010, 09:07:59 PM »
Can somebody alter my php file attached it causes errors in my forum because i have different code and when I edit it; it will not work.

Never mind I have done it!
« Last Edit: April 21, 2010, 11:22:47 AM by xnathansxdadx »

Offline Snogmarr

  • Jr. Member
  • **
  • Posts: 289
  • Gender: Male
  • 2RC3
Re: Thumbnail on Topic Listing (SMF 2.0 RC3 Support Added!)
« Reply #254 on: April 20, 2010, 09:22:57 PM »
To change the maximum size of posted images:
As an Administrator » Configuration » Features and Options » Basic Features

To change the maximum size of attached images:
As an Administrator » Forum » Attachments and Avatars Manager » Attachment Settings

I remember I had to have a tradeoff with the attached images mod but cant remember which of these I had to set.  Anyway try them and you should be right.

The online manual for smf is here:
http://docs.simplemachines.org/index.php?board=7.0





this  is fine but if you wish to enlarge the size of the posted image then the image in the topic enlarges as well

the best way is to open the message index template php in themes your theme  and find this

 echo '<a href="', $topic['first_post']['href'], '"><img src="', $image['url'], '" width="', $image['width'], '" height="', $image['height'], '" alt="" /></a>';



and simply replace to the size you wish,, this way it stays fixed

so replace with this

 echo '<a href="', $topic['first_post']['href'], '"><img src="', $image['url'], '" width=20"', $image['width'], '" height=20"', $image['height'], '" alt="" /></a>';



« Last Edit: April 21, 2010, 07:48:56 AM by xnathansxdadx »

Offline flashsteam

  • Semi-Newbie
  • *
  • Posts: 90
    • flashsteam.com
Re: Thumbnail on Topic Listing (SMF 2.0 RC3 Support Added!)
« Reply #255 on: April 20, 2010, 10:23:37 PM »
Ahhh, not to sure about that.

Im looking for

Quote
/index.php?action=manageattachments and change the
Maximum width of thumbnails:     
Maximum height of thumbnails:

Also I am using a custom theme, never the less, im looking in the "default" theme for this code, a simple confermation that its there would be nice. I plan on going thru the whole file/script tommorrow, looking for it. After that im not sure where to look.

In doing what I mentioned above, I am getting the result I want, so I may just do nothing, I checked my forum on a remote/different computer and the forum looks good/ sofar the change seems to stick.. So, I do have a work-around at this time. Just being nitpicky I guess. I had a guy make my custom theme as a gift, for my forum, he has both Admin and ftp access, nice fellow, can't thank him enough. He's also been helping me with a gif animation control slider, and possibly a flash animation fer my main site.

Best

Jeremy
« Last Edit: April 20, 2010, 10:35:14 PM by flashsteam »

Offline iosys

  • Semi-Newbie
  • *
  • Posts: 20
    • AAF
Re: Thumbnail on Topic Listing (SMF 2.0 RC3 Support Added!)
« Reply #256 on: April 21, 2010, 02:37:10 AM »
Yeah Id leave it alone for two reasons.  1. If it aint broke dont try to fix it and 2. I have done a number of different smf sites now in 1.1.x and 2.0 and Ive come to the conclusion that custom coding isnt the way to go unless youre fully committed to the extra time and headaches.  The first site I did I custom coded everything but then any mod I wanted to install after that came up with errors cause the code had changed lines.  Anyway if you can achieve the result without touching the back end thats ideal.  :)  happy days
AAF [nofollow]

Offline Snogmarr

  • Jr. Member
  • **
  • Posts: 289
  • Gender: Male
  • 2RC3
Re: Thumbnail on Topic Listing (SMF 2.0 RC3 Support Added!)
« Reply #257 on: April 21, 2010, 04:24:07 AM »
Quote
Im looking for

index.php?action=manageattachments and change the
Maximum width of thumbnails:     
Maximum height of thumbnails:

Also I am using a custom theme, never the less, im looking in the "default" theme for this code,

This is not a piece of code and in relation to this mod it exists nowhere apart from inside somebody's head.

this is a link into the admin panel.
Ie admin manage attachments change size.

If you really want to find this then look in manageattachments.php
heaven knows what you are going to do when you find it,,,, have fun!
« Last Edit: April 21, 2010, 11:27:10 AM by xnathansxdadx »

Offline ajrl

  • Semi-Newbie
  • *
  • Posts: 22
    • Ceiling Fans
Re: Thumbnail on Topic Listing (SMF 2.0 RC3 Support Added!)
« Reply #258 on: June 09, 2010, 07:43:07 PM »
I agree with a comment above.  This is a good mod, but it would be so much better if you could choose which boards get the thumbnails.

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,618
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Thumbnail on Topic Listing (SMF 2.0 RC3 Support Added!)
« Reply #259 on: June 09, 2010, 08:08:36 PM »
Maybe one day
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