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)

Null Parameter 05-28-2009 05:44 PM

Quote:

Originally Posted by tlwwolfseye (Post 1818920)
I just wondered why you said when no URL then attachment. But it would be good if it would also mean that if no URL and no attachment, then just the NOIMAGE thing.

I just meant that both are supported, but if a URL isn't specified then the Attachment will be used.

Quote:

Originally Posted by Bernd (Post 1818922)
It would be nice if adding an image attachment is an optional REQUIREMENT. For example, one could create a simple gallery this way and have all the images hosted on their own site instead of annoying hosts like imageshack. Furthermore, image attachments can be automatically thumbnailed by simple adding &thumb=1 behind the url. This means, true resizing of the image using GD instead of scaling an external image using width or height (which should never be done).

Attachments can be filtered for images with the following query
WHERE (attachment.extension = 'jpg' OR attachment.extension = 'gif' OR attachment.extension = 'png')

In short,
-allow attachments.
-option that sets an image attachment as a requirement.
-allow external images.

Thanks for the bit about being able to automatically thumbnail the attachments, that will come in handy.

Quote:

Originally Posted by Bill from Cleve (Post 1818934)
Looks like a great feature! I'm going to wait for the Automatic Template Edits version though. :p

That will be out in the next version hopefully, so stay tuned. :)


Thanks everybody for the positive and helpful comments, I'll try to get these changes out as soon as possible.

mindhunter77 05-28-2009 05:57 PM

I'm not speaking to your MOD specifically, just mods that do this in general. This is a neat feature to have but unfortunately it ads some high overhead as all the thumbs on the page are usually served up by php, requiring more php processes and on large forums that's an issue.

If you could figure out how to serve the image thumbs through direct links, that would be much better.

Take a look at this, he has the right idea here, though this will only work with nginx

https://vborg.vbsupport.ru/showthread.php?t=207566

Null Parameter 05-28-2009 06:07 PM

Quote:

Originally Posted by mindhunter77 (Post 1818955)
I'm not speaking to your MOD specifically, just mods that do this in general. This is a neat feature to have but unfortunately it ads some high overhead as all the thumbs on the page are usually served up by php, requiring more php processes and on large forums that's an issue.

If you could figure out how to serve the image thumbs through direct links, that would be much better.

Take a look at this, he has the right idea here, though this will only work with nginx

https://vborg.vbsupport.ru/showthread.php?t=207566

If you use the URL option (which is actually the only option as we speak), then it is served through direct links. The only things that will go through PHP would be if you decided to use the Attachment Thumbnails (future feature).

Because right now, it is just an img html tag with the url for the src.
Like this:
HTML Code:

<img src="http://www.google.com/intl/en_ALL/images/logo.gif">
No PHP at all.

twitch 05-28-2009 08:33 PM

great idea. option to upload the thumbnail to be used would be perfect

Sayid 05-28-2009 08:43 PM

Wow I can't believe it @_@

I was searching today for something like this

installed+nominated :D

Dr.LoVe 05-28-2009 08:54 PM

thanx ,

good job

Etab 05-29-2009 01:15 AM

Great mod! It would be cool if it were also possible to have the thumbnail display in the RSS2 feed somehow, in addition to the forumdisplay page.

Null Parameter 05-29-2009 01:32 AM

Quote:

Originally Posted by Etab (Post 1819197)
Great mod! It would be cool if it were also possible to have the thumbnail display in the RSS2 feed somehow, in addition to the forumdisplay page.

Interesting idea! I'll look into it.

aztecboi2003 05-29-2009 01:49 AM

This mod looks sick, I will tag and wait for the auto template edits.

mktrilogy 05-29-2009 06:53 AM

It would be nice to show the preview image when you hover over the thread. And also auto assign image. gets the first image available, that would be really nice. subscribing to this thread.


All times are GMT. The time now is 01:40 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.01430 seconds
  • Memory Usage 1,742KB
  • 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_html_printable
  • (5)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