vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Display Enhancements - Thread Thumbnail (https://vborg.vbsupport.ru/showthread.php?t=158396)

rayphua 09-23-2007 06:12 AM

I have your previous version installed and working fine, and I need to know what are the steps I need to take to get it upgraded to this current version. Please advice! Thanks.

Mecho 09-23-2007 08:05 AM

ok thanks Jason . hope u will be free soon and add img tag option too ;)

cheers

InTeNsE-HuMoR 09-23-2007 09:30 AM

Please can we have the option to allow admins to specify a custom thumbnail? For example; if a thread does not have an attachment but has embeded content like a Youtube video, I want to be able to take a screenshot and then uploaded it as the thumbnail.

snapshotz 09-23-2007 04:09 PM

is there a way to set a custom size for the thumbs in the threadbit, would like to make the thumbs a bit smaller, rather than using the default thumbnail size.

peterpigman 09-23-2007 07:12 PM

Quote:

Originally Posted by snapshotz (Post 1345243)
is there a way to set a custom size for the thumbs in the threadbit, would like to make the thumbs a bit smaller, rather than using the default thumbnail size.

I|t is in the threadbit template

Quote:

<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="" width=120 height=100 border="0" />
</a>
<else />
<img src="$stylevar[imgdir_misc]/nothumb.jpg" alt="" border="0" />
</if>
<else />
<if condition="$show['threadicon']">

snapshotz 09-24-2007 12:59 AM

awesome, thanks for the tip

htrshgytrs 09-24-2007 03:37 AM

Quote:

Originally Posted by peterpigman (Post 1344506)
The only problem with the search thumbs is if you don't use thumbs in all forums you get a load of no thumb available. Could you not make it so it would only work if someone is searching a section that has it active?

I'd like to add my vote to the above as well, thanks again :)

rolfw1 09-24-2007 07:27 AM

Thanks, just what I needed, really looks good on this section. :)

I've only set it up for one section at the moment, do I change the XML file and re-import it to add new sections, or is there another way?


Sorry scratch that, just edit it in the plugin manager. :)

htrshgytrs 09-24-2007 11:00 PM

Quote:

Originally Posted by peterpigman (Post 1344506)
The only problem with the search thumbs is if you don't use thumbs in all forums you get a load of no thumb available. Could you not make it so it would only work if someone is searching a section that has it active?

i think i've worked around this. I wrapped the no thumb section in a thisscript condition, works well enough for me. Thumbs will only be displayed on the search pages if a thumbnail exists.

ie Find -

Quote:

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

Quote:

<if condition="THIS_SCRIPT != 'search'">
<img src="$stylevar[imgdir_misc]/nothumb.jpg" alt="" border="0" />
</if>

jasonmerchant 09-25-2007 05:30 AM

Trana:

Did you have any success with the code I posted before?

rayphua:

There isn't a clean upgrade, so you will need to uninstall the previous version and reinstall the new version. The template changes are the same as the previous version, so you don't have to change those, just reinstall the plugin and add your forum id's.

htrshgytrs:

...That script will not work, it will prevent all thumbnails from showing on the search page. Are thumbnails are showing up?


All times are GMT. The time now is 01:46 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.02141 seconds
  • Memory Usage 1,738KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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