vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   New Posting Features - Thread Thumbnails (https://vborg.vbsupport.ru/showthread.php?t=214755)

Zaki Shafqat 08-23-2009 04:46 PM

great job i loved this MOD

but its not showing the thumbnail for the sticky posts? what do i edit to show so it shows for sticky posts too? please help

CGhostGroup 09-02-2009 03:55 PM

Nice Plugin but where can I find one with Attachments? I Only found one for 3.6* but with that I can't exclude the Forum-IDs

Canadians360 09-08-2009 12:09 AM

Quote:

Originally Posted by Zaki Shafqat (Post 1872814)
great job i loved this MOD

but its not showing the thumbnail for the sticky posts? what do i edit to show so it shows for sticky posts too? please help

This is what you have...
Code:

<if condition="$show[threadicons]">
    <td class="alt2" align="center" valign="middle">
            <if condition="$thread[thumbnaildisplay] AND !$thread[sticky]">
                    <a href="showthread.php?$session[sessionurl]t=$thread[threadid]">
                      <img src="$thread[thumbnailurl]" alt="" border="0" width="$thread[thumbnailwidth]"/>
                    </a>
            <else />
                <if condition="$show[threadicon]">
                <img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" />
                </if>
            </if>
    </td>
</if>



This is what you need. All I did was delete the "is not a sticky" part of the conditional wich is bold and red above.
Code:

<if condition="$show[threadicons]">
    <td class="alt2" align="center" valign="middle">
            <if condition="$thread[thumbnaildisplay]">
                    <a href="showthread.php?$session[sessionurl]t=$thread[threadid]">
                      <img src="$thread[thumbnailurl]" alt="" border="0" width="$thread[thumbnailwidth]"/>
                    </a>
            <else />
                <if condition="$show[threadicon]">
                <img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" />
                </if>
            </if>
    </td>
</if>

That was the threadbit template by the way.

Note: This will make all forums with thumbnails enabled have thread stickies with thumbnails. So you cant have some thumbnail threads with icons for stickies and some thumbnail threads with thumbnails for stickies.

elenh 09-09-2009 12:45 PM

how do i make this addon working with the first [IMG] tag from the topic too?

Great hack thanks!

ravi_9793 09-10-2009 07:14 PM

Hi,
great mod, just installed and its working with no problem. Thanks for the MOD.

Is there any way to show same thumbnail as Post Icons at very first post of the thread.

SoloX 09-17-2009 03:51 PM

Quote:

Originally Posted by elenh (Post 1882013)
how do i make this addon working with the first [IMG] tag from the topic too?

Great hack thanks!

i want this as well. [IMG] tag thumbnail.

Charged 09-25-2009 11:13 PM

Would it be possible to do either of the following:

When a user selects a thread prefix, automatically use a predefined thumbnail image, with a diff thumbnail per prefix.

or

have a selection of radio buttons under the box where they can just click on one of them and it puts the predtermined thumbnail img url into the thumbnail box for them?

this would greatly avoid users not putting one in

Null Parameter 09-26-2009 06:00 PM

Hey guys, sorry for the very long delay, but don't worry, I've returned.
Been doing things in life, like work and having a beautiful daughter, hopefully you can forgive me. ;)


I'm working on a new version at this very moment, including the following features:
  • Option to use Thumbnail from First Attachment
  • Option to use Thumbnail from First Image in Thread
  • Option to include/exclude Sticky Threads
  • Automatic Template Edits
Still contemplating adding in
  • Displaying Thumbnail in Search
  • Displaying Thread Icon instead of requiring No Thumbnail Image
Hoping to get this out relatively soon, for all of your enjoyment, because I know a lot of you have been asking for many of these features!

SoloX 09-26-2009 06:02 PM

Quote:

Originally Posted by Null Parameter (Post 1890958)
[*]Option to use Thumbnail from First Image in Thread

yaaay!!!!

Null Parameter 09-26-2009 06:07 PM

Almost forgot, also thinking about adding in an option to specify CSS for the image, or something similar, so you get a lot more flexibility instead of just the standard "Set Width".

And I also have custom code that I might adapt that makes a Media RSS Feed using the thumbnails, which gives you the ability to have built in Cooliris support.

Despite those being cool features to add in, I might put it off for a while to get these more pertinent features out to you more quickly.

John69Steph 09-27-2009 07:56 AM

Is it possible to have the thumbnail when i see the result of searh, like this

http://www.imagefacile.com/img/zolly_image_4.png

Null Parameter 09-28-2009 05:01 PM

Quote:

Originally Posted by John69Steph (Post 1891226)
Is it possible to have the thumbnail when i see the result of searh, like this

Yep, that will be in the new version coming out.



I've got almost all of the functionality complete, but I've run into an issue.

For some reason, I can't get attachments working on my local test server, so if somebody would like to volunteer to test the attachment part, then we can make sure that is working the same as everything else and I can get the new version released.

John69Steph 09-29-2009 04:25 AM

Thank's for your answer. I wait for the new version with display thumbnail in search

Sayid 09-29-2009 06:57 AM

Happy to see you back :)

We are ready to test new features, I liked all them all

regards to the first image thumb or the attachment one , we will encounter a problem if someone posts very big image in his first post , it will be hard to display the forumdisplay page! correct me If i am wrong

I have a small idea to solve it , can you add an image input field with browse button to upload thumbnails of threads from the desktop? and if the thumb is bigger than x width and y length, it automatically resize it using gd library.

nh.vu 09-29-2009 07:30 AM

This Mod is not run with vbb v3.8.2

I was try my best!

:((

Null Parameter 09-29-2009 02:18 PM

Quote:

Originally Posted by Sayid (Post 1892172)
Happy to see you back :)

We are ready to test new features, I liked all them all

regards to the first image thumb or the attachment one , we will encounter a problem if someone posts very big image in his first post , it will be hard to display the forumdisplay page! correct me If i am wrong

I have a small idea to solve it , can you add an image input field with browse button to upload thumbnails of threads from the desktop? and if the thumb is bigger than x width and y length, it automatically resize it using gd library.

Right now there is a "Image Width" Property available in the Settings.
If you set this to 100, then all of the images will be resized to 100 pixels wide.
This is done at the html img tag level, so it doesn't decrease the load time for the image, but it won't mess up the page at all, because all of the images will be the same width.

My site people use very large images all of the time, and we haven't had any issues at all.

Quote:

Originally Posted by nh.vu (Post 1892183)
This Mod is not run with vbb v3.8.2

I was try my best!

:((

I know somebody who is using it on 3.8.3, so I assume it will work on 3.8.2 as well.
Make sure that you did the template edits (or just wait for this new version that does them for you) and make sure that you have Thread Icons enabled for your forums, because the Thumbnails simply replace those icons. Lastly, make sure that the mod is set to active in the options.

angeljs 10-06-2009 01:48 PM

I would really love to see the thumbnails in search feature :)

Null Parameter 10-08-2009 07:06 PM

Quote:

Originally Posted by angeljs (Post 1895632)
I would really love to see the thumbnails in search feature :)

Yep, that'll be there, don't you worry. ;)


Seeing as how nobody has volunteered to test out the attachment part (since I can't get attachments working for unknown reasons), I might have to remove support for that feature, or release it with that part not fully tested.

realdx 10-10-2009 09:57 PM

my 2c, it would be nice having a library of thumbs where users could pick up one.. :)

jkcerda 10-11-2009 03:17 AM

cool

mrthe 10-11-2009 01:47 PM

when i edit the post the thumbnails disappeare i use the version 3.6.8 of vb and don0t save the url if i edit the post,why?

Cerbero1000 10-21-2009 08:58 AM

Is there a way to thumbs working in showthread template?

Lietha 10-22-2009 01:35 PM

Is there any way to set this to show the last attachment rather than the first?

Canadians360 10-22-2009 07:13 PM

Quote:

Originally Posted by Cerbero1000 (Post 1903094)
Is there a way to thumbs working in showthread template?

Yes the Image URL is still acessable in the showthread template. Use $thread[thumbnailurl]
Quote:

Originally Posted by Lietha (Post 1903688)
Is there any way to set this to show the last attachment rather than the first?

It does not show attatchments, not yet anyway acording to the developer.

dai-kun 10-22-2009 10:59 PM

You can get the full image to show when your hover over it by:

Edit MAIN CSS of style, at the bottom ADDITIONAL CSS DEFINITIONS (1st or 2nd box depending on how you use it), add in (or edit to your preference)
Quote:

.thumbnail{
position: relative;
z-index: 0;
}

.thumbnail:hover{
background-color: transparent;
z-index: 50;
}

.thumbnail span{ /*CSS for enlarged image*/
position:absolute;
left:-1000px;
background-color: black;
padding: 5px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: -200px;
left: 200%; /*position where enlarged image should offset horizontally */
}
Do the following template edits:
threadbit
Find
PHP Code:

<a href="showthread.php?$session[sessionurl]t=$thread[threadid]"

Replace with
PHP Code:

<class="thumbnail" href="showthread.php?$session[sessionurl]t=$thread[threadid]"


Null Parameter 10-23-2009 04:11 PM

Quote:

Originally Posted by mrthe (Post 1898050)
when i edit the post the thumbnails disappeare i use the version 3.6.8 of vb and don0t save the url if i edit the post,why?

I'm pretty sure I have a fix in for this when the newest version is released.

Quote:

Originally Posted by Cerbero1000 (Post 1903094)
Is there a way to thumbs working in showthread template?

Right now, there isn't a way to do that, but I could definitely add in a way to at least access the variable from the template.

Quote:

Originally Posted by Lietha (Post 1903688)
Is there any way to set this to show the last attachment rather than the first?

That isn't the in the plan at the moment, but I can definitely see the merit in having such a feature. I'll add it to the To Do List.

Quote:

Originally Posted by dai-kun (Post 1904007)
You can get the full image to show when your hover over it by:
....

Very nice addition! I'll see about possibly adding this into future versions, if you don't mind?

Null Parameter 10-23-2009 05:28 PM

Version 2 is Now Available!

New Features Include:
  • Automatic Template Edits
  • Search Integration
  • Get Thumbnail from First Image in Post
  • Get Thumbnail from First Attachment
  • Thumbnails on Sticky Threads
  • Use Status Icon if No Thumbnail is found

Lulubelle 10-23-2009 07:07 PM

installed this and for some reason when enabled it now only shows the first thread posted in the forum, all other threads disappear.

I'm using the 'Get thumbnail from first attachment' option.

If there is more than one page, it shows the first thread on that page. So I am getting a lot of pages with only one thread showing, and the other threads just aren't showing.

I'd love to use this is it isn't slowing my forum down like another thumbnail mod I tried, so please help :)

Thanks

On a side note, the thumbnail on that one thread looks great! :rolleyes:

Null Parameter 10-23-2009 07:50 PM

Quote:

Originally Posted by Lulubelle (Post 1904686)
installed this and for some reason when enabled it now only shows the first thread posted in the forum, all other threads disappear.

I'm using the 'Get thumbnail from first attachment' option.

If there is more than one page, it shows the first thread on that page. So I am getting a lot of pages with only one thread showing, and the other threads just aren't showing.

I'd love to use this is it isn't slowing my forum down like another thumbnail mod I tried, so please help :)

Thanks

On a side note, the thumbnail on that one thread looks great! :rolleyes:

Yep, I knew that there might be some bugs in that option, because I asked for testers for that feature and nobody took me up on the offer. But that bug I definitely didn't expect, it's a very interesting one.

I'll look into it and hopefully get a fix out very soon. Thanks for your patience.

TheLastSuperman 10-23-2009 08:06 PM

I simply overlooked this one! Huh lol I have been using the 3.6 version of this but downloading the new one thanks :D

Mike

Edit: NM apparently I'm just out of it today lol I looked up before DL'ing and saw "Mark as Uninstalled" so it must be this version I swear there was 3.6 or I found the info how to in a 3.6 area... ohh well it works and I love it, currently using on a gaming tournament forum, it shows animated .gif's of custom maps for BF2142 so you can view them and comes in handy for the Generals and Command staff of the armies to do map picks for the following week after the battle each sunday is over ;)

Thanks for the update!

Lulubelle 10-23-2009 08:14 PM

Quote:

Originally Posted by Null Parameter (Post 1904745)
Yep, I knew that there might be some bugs in that option, because I asked for testers for that feature and nobody took me up on the offer. But that bug I definitely didn't expect, it's a very interesting one.

I'll look into it and hopefully get a fix out very soon. Thanks for your patience.

Thanks :) I look forward to the fix so I can enable this baby on my forum!

BlessedFWI 10-23-2009 10:56 PM

This is such a great mod! Would there be any way that we could edit the thumbnail at a later time. On our boards we have a market place to sell items and it would be great to have an image that said SOLD that could be edited after the item has sold. So this would be very helpful if this could be done.

Again, great mod! :)

Thanks!

Canadians360 10-23-2009 11:32 PM

Quote:

Originally Posted by BlessedLAF (Post 1905019)
This is such a great mod! Would there be any way that we could edit the thumbnail at a later time. On our boards we have a market place to sell items and it would be great to have an image that said SOLD that could be edited after the item has sold. So this would be very helpful if this could be done.

Again, great mod! :)

Thanks!

Thats already an option, Just hit edit, then hit go advanced and you can change the thumbnail url, thats with the url system Im not sure about the first image post or attached image settings though.

BlessedFWI 10-23-2009 11:47 PM

Hmmmmm, it won't let me change the image once I put the original URL in. I have no clue what I am doing wrong.

EDIT: OK, I tried it again and it won't let me change it. :( It shows the original image and then when I edit it again it also shows the original URL. I would so love to get this to work...just not sure what I did wrong. Any help would be much appreciated.

Ghostt 10-24-2009 02:07 PM

that is the plan you do not have to link the image it will show automatically what it have to do

Canadians360 10-24-2009 09:01 PM

Hey Null the new update is great, I thought I might pitch in a few ideas myself

*Option to set thumbnails as a required field when thumbnails are enabled
*Prioritize the three forms of thumbnail fetching (ex: if I am a thumbnail forum and a thumbnail url was not given use the first image)
*Dont show thumbnails on closed threads

Those are the only three I have right now, Ill let you know if any more decent ideas cross my mind.

marianoblesa 10-25-2009 02:01 AM

Hello, install this hack and it works very well.

Just wanted to make a query you could suggest how I might do to the subjects who are already echos and I state x forum as it should do to make me appear.
Since I only put them in the new issues

the option that I would like to use is that of the first image of the item.

Greetings.

--------------------------------------

Hola, instale este hack y funciona muy bien.

Solo te queria hacer una consulta me podrias indicar como podria hacer para los temas que esten ya echos y yo indique x foro como deberia hacer para que me apareciera.
Ya que solo las pone en los temas nuevos

la opcion que me gustaria usar es la de la primera imagen del tema.

Saludos.

-----------------------

I am Spanish

aztecboi2003 10-25-2009 03:06 AM

I upgraded and everything went smooth. But after I switched from URL to first attachment I got a database error. I switched back to URL and my site was fine again. I didn't look to see what the eror was though. I can try and recreate it if you want me too.

Ghostt 10-25-2009 03:17 AM

ok ive tested the mod today. following bug: The first image is only showing if i make a Topic and after that i have to edit that the image is shown.. do you have the same bug? ive tested it with manuel template change and with automatic
best regards

aztecboi2003 10-25-2009 03:37 AM

I don't have the same bug as you Ghostt. But I did notice it gave me 2 Thumbnail URL boxes now.


All times are GMT. The time now is 12:54 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.01594 seconds
  • Memory Usage 1,856KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (17)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