vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Thumbnail of Attachments on forum display (https://vborg.vbsupport.ru/showthread.php?t=73220)

memobug 01-04-2005 08:19 PM

Dear Aceman,

The conditional looks like it is working well. I think rather than the repeated text you might consider an icon of some kind with an alt text that says "Only members can view thumbnails"

it would clean up the layout a lot.

Dear Dechevious,

You might want to add this behavior (broken thumbs if you are logged out) to the known behaviors list.

Regards,

Matt

Nordinho 01-04-2005 11:39 PM

Heya,

The hack works great, but I have 1 weird issue...if a new post is made, the thumbnail doesn't show up, even though it's attached, it shows the 'no thumbnail available'. If I rebuild the attachments after posting it shows up fine. If I attach a attachment to an existing post it shows up fine, without rebuilding the attachments. Any ideas??

gkar 01-05-2005 09:13 AM

Thanks aceman for the code, now it works but with a little change.
This code
PHP Code:

 // The next line after this should be:
                // while ($thread = $DB_site->fetch_array($threads)) 

I've change to this
PHP Code:

 // The next line after this should be:
                 
while ($thread $DB_site->fetch_array($threads)) 

and it works fine, don't know why, but it works.
Thanks for the hack guys.

rnmcd 01-05-2005 04:28 PM

HI. Sorry I'm a little lost...are we installing the Dechevious hack or is there one that Delphy has modded that we are using?

Thanks.

Harald_T 01-10-2005 12:17 PM

I've a little problem here, too:

The hack always displays the last attachment of a post, not the first one. Strange, isn't?

Harald_T 01-12-2005 09:46 PM

I used the code to build up a simple gallery, but changed it so, that allways five thumbs are displayed in one row. Now i'm checking how to change the templates, so i can use this hack completly as a gallery.

Lee Wilde 01-13-2005 05:40 AM

I love this hack. The thumbnails don't show up in search results, but I'm not too concerned about that.

memobug 01-13-2005 08:22 AM

Quote:

Originally Posted by Lee Wilde
I love this hack. The thumbnails don't show up in search results, but I'm not too concerned about that.

Just wondering how the thumbnails would show up in search results? Like Google Images or something?

Regards,

Matt

Harald_T 01-13-2005 11:06 AM

Has anyone an idea, how to integrate the condition $displaythumbs in postbit?

Harald_T 01-13-2005 11:21 PM

Here, that's what i've got so far. What do you think of it?
(it's a german site, but i think for showing it, it's enough, isn't it?)


http://www.scifi-fan.net/forumdispla...=60&styleid=19


All times are GMT. The time now is 01:10 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.01326 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (1)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