vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Thread Thumbnail (https://vborg.vbsupport.ru/showthread.php?t=98651)

Demo16 09-10-2006 03:40 PM

I've tried exactly this mod but it doesn't work for me :-(
the only I change is on and off button (I put si no) cause it's an italian forum and obviously I change also this line in this way:

<if condition="($tt_displaythumbs) AND ($bbuserinfo['field5'] <> 'no' OR $show['guest'])">

What can it be the problem? Other particular things if the language is different?

I can't see the preview outside any post
In the user profile is all ok and I've also uploaded the nothumb.jpg image

HELP!!!! :-(

Demo16 09-12-2006 04:28 PM

no one can help me?

jyajay 09-17-2006 07:45 PM

Can I use this mod with vB 3.6.x?

konabiker47 09-22-2006 08:55 PM

How do you make the thumbnail show up? I have everything installed.....

GNDI 09-23-2006 09:12 AM

enable thumbnails in your admincp

ThomasR 09-23-2006 04:43 PM

Then, does it works under 3.6? without this mod, I can't switch to 3.6... :)

ThomasR 09-23-2006 06:30 PM

Just installed a test forum, this plugin is working with vb 3.6.1!

jyajay 09-27-2006 01:20 PM

Okay I installed it on 3.6.1 and it is working.

My question is, can I use the normal posticons on threads where no thumb was uploaded instead of this "no thumb" picture?

GNDI 09-27-2006 03:02 PM

then you'll make something like this

PHP Code:

<if>
<if 
condition="($tt_displaythumbs) AND ($bbuserinfo['field5'] <> 'Off' OR $show['guest'])">

<else />

<if 
condition="$tt_displaythumbs">

</if> 

PS. haven't tested it but could give you an idear about howto

jyajay 09-28-2006 07:34 PM

Your tip is not exactly doing what I had in mind but you gave me the idea to do what I planned. I just replaced the

PHP Code:

<img src="$stylevar[imgdir_misc]/nothumb.jpg" alt="" border="0" /> 

..with
PHP Code:

<img src="$thread[threadiconpath]alt="$thread[threadicontitle]border="0" /> 

Now want to add a function that allows users to deactivate the display of the thumbnail and show the regular posticon instead.

I am not sure how big this change has to be for this to work.

GNDI 09-28-2006 07:42 PM

then you have to play with <if>userfieldx</if> where x is the number off the useroption from "User Profile Fields" in admincp

jyajay 09-28-2006 09:11 PM

I forgot that I overwrote the addon. Thanks again.

Working fine!

jyajay 10-06-2006 12:00 PM

If somebody moves a thread there is a X behind instead of the correct icon.

How can I correct that?

Currently threadbit (from 1st line) looks like this:

PHP Code:

<tr>
    <
td class="alt1" id="td_threadstatusicon_$thread[realthreadid]">
        
$thread[openclose_editable]
        <
img src="$stylevar[imgdir_statusicon]/thread$thread[statusicon].gif" id="thread_statusicon_$thread[realthreadid]alt="<if condition="$show['threadcount']"><phrase 1="$thread[dot_count]" 2="$thread[dot_lastpost]">$vbphrase[have_x_posts_in_thread_last_y]</phrase></if>" border="" />
    </
td>
    
    <if 
condition="$show['threadicons']">
    <
td class="alt2" align="center" valign="middle">
            <if 
condition="($tt_displaythumbs) AND ($bbuserinfo['field5'] <> 'Off' OR $show['guest'])">
                <if 
condition="($thread['attachmentid']) AND ($thread['thumbsize'])">
                     <
a href="showthread.php?$session[sessionurl]t=$thread[threadid]">
                          <
img src="attachment.php?attachmentid=$thread[attachmentid]&stc=1&thumb=1" alt="" border="0" />
                    </
a>
                 <else />
                    <
img src="$thread[threadiconpath]alt="$thread[threadicontitle]border="0" />
                 </if>
            <else />
                <if 
condition="$show['threadicon']">
                 <
img src="$thread[threadiconpath]alt="$thread[threadicontitle]border="0" />
                 </if>
            </if>
    </
td>
    </if> 


Edog 10-06-2006 10:50 PM

Doesnt work for me and now after installing this It wont let me make new posts. it keeps saying I didnt add enough characters when I have..

nnjj.net 10-31-2006 04:59 PM

is it working on 3.6.2?

JohnBee 11-02-2006 03:49 PM

It would be very usful if members(select usergroups) could turn this feature on or off. I know there is a small mod to allow users to turn it on or off in there profiles etc. but what I mean is during the posting process.

The reason I say this is because there are times when an admin would like t o post a sticky in the forum(instructions or reminders) and the MOD assigns a no attachment icon instead of the default posting icon.

Is this possible?

mktrilogy 11-03-2006 02:39 AM

i think it would be cool if it does not show on the thread but will show the thumbs on mouse over only :)

crishel 11-17-2006 12:21 AM

Has anyone gotten this to display on the actual forum home page. I must have searched VB.org for an hour tonight, simply looking for a way to post an icon on the main forum page for any forum I select.

Is this possible. Take a look at this forum, and notice the icon on the main forum on the main page, can anyone do this?

Look here: http://www.inkjetgarmentprinters.com/forums/forums.html

Notice a little ways down there are pictures of printers on some of the forums. Can anyone do this?

Trana 11-26-2006 11:08 PM

Anyone have this working on 3.6.4?

ThomasR 11-27-2006 04:42 AM

It's working perfectly on 3.6.1, I don't see why it wouldn't do in 3.6.4 (I do the update today)

Floris 12-11-2006 02:52 AM

I've used the default code (attached .xml) on 3.6.4 and changed the array to point to 15 forums, and it works just fine! Thanks for this.

rstarke 12-27-2006 10:05 PM

Quote:

Originally Posted by katholic (Post 865704)
Can something be added or changed so the thumbnail size it displays is smaller than the actual thumbnail size in the thread itself? I run a gaming forum where people are constantly uploading new creations for download. We have the thumbnails set to 300 to give people a clearer view of what said item is however having it set at 300 on the forum display is a bit large.

Has anyone found a solution for this situation?
My forum is here http://www.paint-sculpt.com/forum/index.php
you can see that my thumbnails are set to 400 pix. I want to keep this size on the actual thread page
but I'd A like smaller thumbnail (say 80px or so) on the forum display page
I love this mod and I'm dieing to get it to work on my forum!
thanks for any help that you can give me
-Richard

giza 01-03-2007 08:45 AM

man thanks a lot
u saved me :)

peterpigman 01-03-2007 11:44 AM

Where in the template do you add 'height = xx' and 'width = xx' to change the thumbsize?

Edit: It's ok i figured it out




Quote:

<img src="attachment.php?attachmentid=$thread[attachmentid]&stc=1&thumb=1" alt="" width=80 height=80 border="0" />

Trana 01-05-2007 06:02 AM

So there is no way to enable thumbnails for use by this hack without turning them on for every post in the site? My users like the full photos so I can't use the generic thumbnail option in admincp.

peterpigman 01-06-2007 08:51 PM

Quote:

Originally Posted by Trana (Post 1151188)
So there is no way to enable thumbnails for use by this hack without turning them on for every post in the site? My users like the full photos so I can't use the generic thumbnail option in admincp.

I just thought of something about that, i'll get back if it works.

Resn 02-05-2007 03:28 AM

Would it be easy to mod this, so that the attachment used as the thumbnail is hidden when you view the actual post?

Mutt 02-27-2007 12:09 PM

this worked really well on 3.64 and was amazingly easy. thanks.

kafi 03-06-2007 12:07 PM

This is wonderfull.
Is it possible to put more than one thumbnails? I will put them below thread name.

rasterbox 03-07-2007 04:01 AM

Hi i just installed this great plugin in my forum... Thank you!!!

I just have a questions:

Is there a way to fix the size of the thumbnail like if i set 70x70px if the thumb size will be 70x50px. The image will convert/resize to 70x70px.

Thank you..

P.S. Excuse my english, not my native tongue.

b65ran 03-13-2007 02:37 AM

I have one problem with this hack. Some of the thumbnail doesn't show even though I have thumbnail image in that thread. I have different attachment rather than image. Is there anyway I can show the image attachment only. Any help will be appreciated.

Thanks

tspore 03-25-2007 06:20 AM

I don't see how it would be possible, but would there be an option to add to the WYSIWYG editor, a place to link in an thumbnail?
Then I could disable attachements.

casa 04-14-2007 03:11 AM

Please tell me how to:
1. show the LAST attachment, rather than the first.

2. how to show thumb of image in https://vborg.vbsupport.ru/ tag in the thread in case there are no attachments.

thanks
www.fordmuscle.com

casa 04-14-2007 02:27 PM

Does not work well in 3.6.5, only shows thumbs if you are logged in. Not logged in and you get red X in IE and no image in Firefox.

kafi 04-14-2007 09:34 PM

Quote:

Originally Posted by casa (Post 1227192)

2. how to show thumb of image in https://vborg.vbsupport.ru/ tag in the thread in case there are no attachments.

that would be awesome!!!!

rasterbox 04-17-2007 12:20 PM

I have the same problem casa. If you are not logged in there will be no thumbnails. Is there a fix for this problem?

Whether the user is logged in or not the thumbnail should always be displayed... Can this be done?


Thanks in advance...

www.3dpinoy.com

dannylin3000 04-21-2007 02:59 PM

this is really awesome - but was just wondering can you also add a feature to show a thumb of the first images in a post using [img] tag but not attachment?

Aery 04-30-2007 08:11 AM

There is a way to add a custom thumb (different from the attachment) ?

flup 05-14-2007 03:04 PM

Great hack! Just what I needed!

dannylin3000 05-21-2007 06:58 AM

how can I modify this to also work for inline images? (ex. displaying thumbs for images using [ img ] tag)


All times are GMT. The time now is 06:24 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01520 seconds
  • Memory Usage 1,835KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete