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)

Cust0ms 03-03-2010 11:55 AM

1 Attachment(s)
@Null Parameter, please look @ the screenshot

Null Parameter 03-03-2010 01:54 PM

Quote:

Originally Posted by Cust0ms (Post 1995988)
@Null Parameter, please look @ the screenshot

The First Attachment option is known to be broken at the moment. I should probably release a fix for that since I'm already messing with the code.... :D

Null Parameter 03-03-2010 05:31 PM

Got everything updated to vB4! New mod is posted for your enjoyment.

Also update this version of the mod to fix the First Attachment DB Error as well as include the fix for using First Image in Post for new threads.


Thanks again to everybody that helped get this going again and those that assisted people in my absence.

motoxer311 03-04-2010 01:54 PM

Not working for me, just shows regular icons..

MrRem 03-05-2010 09:05 AM

Is there a way to make the Thread Thumbnail a requirement before submitting a post?

Null Parameter 03-05-2010 01:24 PM

Quote:

Originally Posted by MrRem (Post 1997621)
Is there a way to make the Thread Thumbnail a requirement before submitting a post?

That is currently an option in the vB4 version, but not in this one. If there's demand for it, I could probably port that functionality back here as well.

Xtrigit 03-06-2010 03:12 PM

How can I manually add this to a custom style? I have a custom style that has basic functionality and I would like to know what code this MOD is calling that my style does not have and therefore not displaying the thumbnails.

Works great on all fully functional styles.

Thanks in advance =]

Xtrigit 03-06-2010 04:42 PM

I was able to get it to work and this is my final code. I'd really appreaciate it if you could take a minute to review it and see if there is anything I could change to improve it.

Code:

<table cellpadding="0" cellspacing="0">
<if condition="$bg++"><!-- Row: $bg --></if>
<tr class="<if condition="$bg%2 == 0">alt2<else />alt1</if>" height="40px">
<td width="24">
                <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="61"/>
                          </a>
                  <else />
                      <if condition="$show[threadicon]">
                      <img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" />
                      </if>
                  </if>
          </td>
      </if>
        </td>
    <td width="100%">

Regards,
Xtrigit

Cerbero1000 03-30-2010 12:03 PM

All works fine except the "no thumbnail" images that appears as a red cross (/attachment.php?attachmentid=&stc=1&thumb=1). Can someone help me? If I select image url "no thumb" appear correctly but not for first attachment option.
Thanks

Null Parameter 03-30-2010 01:28 PM

Quote:

Originally Posted by Cerbero1000 (Post 2012819)
All works fine except the "no thumbnail" images that appears as a red cross (/attachment.php?attachmentid=&stc=1&thumb=1). Can someone help me? If I select image url "no thumb" appear correctly but not for first attachment option.
Thanks

Quote:

Originally Posted by Null Parameter (Post 1996084)
The First Attachment option is known to be broken at the moment.

The First Attachment option doesn't work well in general.


All times are GMT. The time now is 04:37 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.01480 seconds
  • Memory Usage 1,744KB
  • 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
  • (1)bbcode_code_printable
  • (4)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