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)

The Geek 02-09-2005 08:47 AM

Quote:

Originally Posted by Dechevious
Actually, it adds no additional query, as it was merged with an existing query.

Hey guys. I was just doing something like this for a hack I am working on. The only problem that I found doing it this way was that it does in fact add additional queries: 1 for each image.
If your forum displays 30 threads, there are 30 additional queries as attachment.php queries the attachment table everytime its called.

It still didnt add too much overhead, but it may cause a problem on servers with heavy loads.

KTBleeding 02-12-2005 05:49 AM

I had a little bit of a hard time getting this to run.. but now I got it all working correctly. Just one question. How do I have the thumbnail be the first image uploaded only, rather than the last?

Delphy 02-14-2005 05:54 PM

The Geek,

Thats correct - no real way around that unfortunately :(

Lee Wilde 02-18-2005 02:34 PM

Quote:

Originally Posted by Harald_T
O.k., i've tried it, it's very easy to do. I'll write it down later.


Hi Harold. Would you mind letting me know how to have Delphy's thumbnail display in some forums and your gallery display in others?

Thank you, excellent work.

GeoffE 03-03-2005 07:13 AM

Does the original or Delphy's hack work under 3.06? Have tried installing both repeatedly and get the same result each time, no errors but no thumbnails at all. Spacing and everything else looks normal. Also I don't see thumbnails in the forum demo link in Dechevious' first post, is it just me or is that not working now?

thanks for your help

Delphy 03-04-2005 09:17 AM

Geoff,

Do you have thumbnails enabled? Did you setup the forum ids where the thumbnails are to appear? Do you have a link where I could take a look?

I have the thumbnails enabled on my site here: http://forums.modthesims2.com/forumdisplay.php?f=48

(I still run vb3.0.3)

Regards
Delphy

GeoffE 03-04-2005 09:26 AM

Hi Delphy, cheers for the quick reply.

Yup, have thumbnails enabled, definitely put the forum id's in, and I can see the thumbnails on your site fine. I've taken it off my site at the moment, will put it on again just now.

GeoffE 03-04-2005 09:47 AM

Installed again, checkout http://forum.clubdogma.com/forumdisplay.php?f=25

Delphy 03-09-2005 07:53 AM

You dont have post icons enabled :) Thats why the thumbnails aren't showing up

Harald_T 03-20-2005 03:28 PM

Quote:

Originally Posted by Lee Wilde
Hi Harold. Would you mind letting me know how to have Delphy's thumbnail display in some forums and your gallery display in others?

Thank you, excellent work.

Sorry for delay. Had some trouble with my job and no time to look after the hack in the last month. I'll explain how to do at the easter holidays.


All times are GMT. The time now is 11:37 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.01280 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)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