vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Any way to make posted links show up with thumbnail preview like Facebook? (https://vborg.vbsupport.ru/showthread.php?t=288218)

SIINSI 09-24-2012 12:44 AM

Any way to make posted links show up with thumbnail preview like Facebook?
 
Would be pretty cool :)

kpmedia 10-14-2012 08:56 PM

You'd have to a write/edit a lot of code. Furthermore, you'd want to permanently cache the results.

The biggest issues with something like this is the server processing overhead, and the slowdown of your site due to slowness connecting to other sites. You could probably start out with leveraging some code out of the "other server image caching" plugins (I forget the exact name of it). Add in some GD image processing. And then finally edit the bbcode that wraps links.

I could probably do something like this, but I have no idea how long it would take. (No, sorry, not offering, too busy. I just wanted to confirm that something like this is surely possible, and by using already-existent code.)

It would be pretty cool, sure.
But it could also clutter up a forum and wonk out your post spacing. Therefore, not cool.

You'd want to apply it conservatively, maybe only in certain forums by certain user groups. But if that's the case, why not just manually create images on such a limited basis?

If you know PHP, this isn't impossible. :)


All times are GMT. The time now is 07:03 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.00997 seconds
  • Memory Usage 1,705KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete