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)

GraphicPlanet 05-07-2006 11:48 AM

My VBulletin Version is 3.5.4
i can not user
what can i do? plz Coder Help me :confused:

993ti 05-08-2006 10:51 PM

It's working fine with 3.5.4 for me.
Did you edit this line in the plugin for the forums you want the thumbnails to show?
Code:

<phpcode><![CDATA[$tt_thumbsforums = array(22, 70);
Change 22 and 70 to the forum id's you want the thumbnails to show.
If you want more forums, just add them like 1, 2, 3, 4

SaN-DeeP 05-08-2006 11:38 PM

gives a nice look to your forumdisplay :)

NemoTech 05-12-2006 06:59 PM

Is there a way to enable ALL forums to display thumbnails.

993ti 05-12-2006 11:42 PM

Yep, just add all forum id's in the plugin file.

NemoTech 05-13-2006 08:22 PM

Quote:

Originally Posted by 993ti
Yep, just add all forum id's in the plugin file.

I have nearly 400 forums set up. I was hoping I wouldn't have to manually insert them.

NemoTech 05-13-2006 08:24 PM

This is a great hack. One thing though... its not w3c

I receive the following error
cannot generate system identifier for general entity "stc" .

rc="attachment.php?attachmentid=1948&stc=1&thumb=1 " alt="" border="0" height=

w3c doesn't like the usage of the andpersand & - I think. Any help would be appreatiated.

ramone_johnny 05-28-2006 07:36 AM

Im running v3.5.4 and im getting "No Available Image" on posts with attachements. I have thumbnails turned on, not sure on GD stuff and I also have hundreds of forums to put in the array. *sigh

Could someone help with this?

RJ

ramone_johnny 05-28-2006 09:59 AM

Ok ive managed to get this working, however...

The images are not resized to a standard thumbnail image. The images infact show as their original size, which gets messy. Also, for images that are above the allowed thumbnail size set within the AdminCP it reverts to "No Available Image" - which is pretty pointless really.

Any chance someone could modify the code so that it shows an image titled "Thread Contains Images" or something to that nature?

RJ

GrendelKhan{TSU 06-04-2006 12:09 PM

any chance of modifying this hack to display "lastest attachments" thumbnails on FORUMHOME!
(like many gallery that have a forumhome hack showing lastest 5 images).


that would be so l33t. ;)

Sandy-XXX 06-12-2006 10:51 AM

I have a problem with this plugin...

The option for the users can turn off/on the images dont work, if you select no, the thumbails stills shows.

And I have the unregistered users gruop without permissions to download attachments, but when they see the forum like a guest the thumbails shows the x error... The only way is give to guests permissions so can download / view attachments.

I would like a option so the guests can see the thumbails threads, but when they go into the thread, dont let they see and dont cant download the attachment if they not register first. Thats is possible to do editing the code?

Excuse my english but im from Spain, I have the 3.5.4 version.

Aceman 06-13-2006 01:40 PM

I'm investigating a method of displaying the LAST attachment the thread ORGINAL POSTER uploads to display on forumdisplay.

Would anyone know how to modify the code to do this?

Show the LAST ATTACHMENT made to the thread FROM the ORGINAL thread CREATOR.

Any help would be appreciated.
Aceman

FOZ13 06-15-2006 01:58 AM

Guys what am I missing here? I went to upload the plugin and it came back with: XML Error: not well-formed (invalid token) at Line 1

pspcrazy 06-15-2006 04:22 AM

Awesome hacvk, anway to make it work only in certain forums?

Sandy-XXX 06-15-2006 06:46 PM

Hi,

I detect a new bug, if we move a thread to other forum or subforum, the defect redirect link of the move thread shows a diferent thumbs and thats only registered users, the unregistered users see x error...

Some help please? I like so much this plugin :(

tienkhom 06-18-2006 08:34 AM

Great hack, thanks, installed and work well

vktechnology 07-01-2006 05:37 PM

Quote:

Originally Posted by Bernd
Has someone been able to install this using vbulletin 3.54?

No thumbnails are being displayed on my forum (just the general thread icons).

I installed on 3.5.4
I didnlt see thumbnail and when I go to enable plugin and then it work


admin CP > Enable Plugin/Hook System

GNDI 07-14-2006 02:32 PM

thanks, nice mod :)

ThomasR 07-22-2006 10:45 AM

I'm also looking for the original 3.0.x feature that display the last image attached to the original post, which is used as the thread thumbnail.

It was a very cool systeme.. you upload all the images you want (then, the vb will create the thumbnail) and then, you can, if the user want, upload a 100x100 picture (which is the size of my Thread thumbnail) and it was -always- this image which was used as the forum thumbnail.

If I'm not wrong, it was not a part of the original hack in 3.0.x, but an edit made by someone else in the hack thread.

ThomasR 07-22-2006 11:47 AM

Found the post: https://vborg.vbsupport.ru/showthrea...660#post586660

aceofspades 07-27-2006 04:57 PM

Im getting a little fed up here. I have 3.5.4, i installed the mod and every thread has 'no attachment' when it does. In the attachment section on the admincp i enabled tumbnails for jpg's (which is what format my image is in) but it still says no image. Please help, i really need this working

MikeGK 07-27-2006 10:07 PM

Can anyone show me how to implement this plugin for VBAdvanced V2 on NEWS ARCHIVE FRONTPAGE to show thumbnail? thnx

Infante 07-28-2006 07:33 PM

I'm confused. I installed the hack, tried to upload an attactment, and the new image wouldn't show. Just the default "no image avaliable" jpg does.

How do I add a thumbnail to the thread?

GNDI 07-29-2006 03:29 AM

make shure you have activeted "Enable Thumbnails" in vBulletin Options -> Message Attachment Options

unitedpunjab 07-30-2006 11:25 AM

This is my Template Code:
Code:

<if condition="$show['threadicons']">
    <td class="alt2" align="center" valign="middle">
    <if condition="$show['threadicon']">
            <if condition="$displaythumbs">
                <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="$stylevar[imgdir_misc]/nothumb.jpg" alt="" border="0" />
                    </if>
            <else />
                    <img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" />
            </if>
    </if>
</td>
</if>

And This is My Plug IN Code:
Code:

$tt_thumbsforums = array(67, 74, 12);
$tt_displaythumbs = false;
if (in_array($forumid, $tt_thumbsforums)) {
    $tt_displaythumbs = true;
    $hook_query_fields .= ", attachment.thumbnail_filesize AS thumbsize , MIN(attachment.attachmentid) AS attachmentid ";
    $hook_query_joins .= "LEFT JOIN " . TABLE_PREFIX . "attachment as attachment ON(attachment.postid = thread.firstpostid) ";
    $hook_query_where .= "GROUP BY thread.threadid ";
}

Followed Every Single Instruction Given in Installation file But Nothing Happened. Nor it showing any attachment image as a Thumbnail or neither any "No Image" Thumbnail.

And I m using vB 3.6.0 RC 3

Jda 08-02-2006 07:08 AM

Quote:

Originally Posted by Aceman
I'm investigating a method of displaying the LAST attachment the thread ORGINAL POSTER uploads to display on forumdisplay.

Would anyone know how to modify the code to do this?

Show the LAST ATTACHMENT made to the thread FROM the ORGINAL thread CREATOR.

Any help would be appreciated.
Aceman

I didnt know what happened with my forum, i didnt touch anything and its showing the Last Attachment as you would like your forum do.


I would like to fix it, but how do i fix something i have never changed?

htrshgytrs 08-08-2006 04:29 AM

i've been messing around with this, attempting to add the thumbnails to the search results/newposts page (but failed miserably...)

Is this possible, or any tips where to start?

Love the mod by the way, looks great!

GNDI 08-08-2006 05:53 AM

have anyone tried this on the 3.6 version?

htrshgytrs 08-08-2006 05:56 AM

Quote:

Originally Posted by GNDI
have anyone tried this on the 3.6 version?


yup, works fine on 3.6

Aceman 08-09-2006 03:18 PM

Works fine for me.

Aceman

GNDI 08-09-2006 03:37 PM

thanks :)

VaaKo 08-09-2006 06:07 PM

[high]* VaaKo clicks install
[/high]
check it out
http://www.onelebanon.com/forum/forumdisplay.php?f=118

carpzone 08-30-2006 04:27 PM

Quote:

Originally Posted by Sandy-XXX
I have a problem with this plugin...

The option for the users can turn off/on the images dont work, if you select no, the thumbails stills shows.

And I have the unregistered users gruop without permissions to download attachments, but when they see the forum like a guest the thumbails shows the x error... The only way is give to guests permissions so can download / view attachments.

I would like a option so the guests can see the thumbails threads, but when they go into the thread, dont let they see and dont cant download the attachment if they not register first. Thats is possible to do editing the code?

Excuse my english but im from Spain, I have the 3.5.4 version.

U do it like this :
Find in threadbit template
Code:

<if condition="($thread['attachmentid']) AND ($thread['thumbsize'])">
Replace
Code:

<if condition="($thread['attachmentid']) AND ($thread['thumbsize']) AND ($bbuserinfo['userid'])">

Samarande 09-03-2006 08:17 AM

Thanks for the mod.
Works perfectly with vb 3.6.0 :)

htrshgytrs 09-04-2006 12:19 AM

Quote:

Originally Posted by htrshgytrs
i've been messing around with this, attempting to add the thumbnails to the search results/newposts page (but failed miserably...)

Is this possible, or any tips where to start?

Love the mod by the way, looks great!


if i change the hook location to "search_results_query_threads" i can see the nothumbs image as expected. It doesn't seem to link up the attachment id though, so the thumbnail is not displayed.

Any help would be much appreciated

Demo16 09-08-2006 07:34 AM

Hi I'm installing this plugin but I have one question: can I decide in wich forum to use it or when it's on it works in every forum?
I don't want a no thumb image in every thread without attachments

Another thing: where is the threadbit template I have to modify?

K

thenetbox 09-09-2006 12:57 AM

great plug in :) Thank you

Does any one know how to get it to grab the first thumbnail in the thread? If the first post doesn't have an image then could it go down and grab the next image attachment?

Nothing urgent. I am just curious :)

Demo16 09-09-2006 10:11 AM

Hey Thenet where is the threadbit template I have to modify?

thenetbox 09-09-2006 04:07 PM

Quote:

Originally Posted by Demo16
Hey Thenet where is the threadbit template I have to modify?

Hi,

Go to styles and templates. Press the [<< >>] button of the style you want this mod to work with. Then you'll see a list of templates. Scroll down until you see something like Threadbit Templates. Double click it. Inside that you'll find threadbit and you can edit that accordingly :D

Demo16 09-10-2006 03:09 PM

tnx thenet, I have to use the mod as it is on the top of this page or there are some recent modifications?


All times are GMT. The time now is 12:42 AM.

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.01476 seconds
  • Memory Usage 1,820KB
  • 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
  • (5)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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