vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - vBulletin Link-Fetch, similar to facebook (https://vborg.vbsupport.ru/showthread.php?t=271513)

Vossi 10-05-2011 10:00 PM

vBulletin Link-Fetch, similar to facebook
 
1 Attachment(s)
What does this addon do?

It shows thumbnails and informations to links, which got entered in the posts, just like attachments at the end of a post, similar to facebook.

This addon is early beta, so please give me some feedback :)

Installation:

Copy all files and directories of '/upload' into your forumroot, afterwards import the product file 'product-vblinkfetch.xml' in AdminCP.

If you don't use TMS, you need to change a template manually:

Name of tempate: postbit_legacy

Search for:
PHP Code:

<vb:if condition="$show['attachments']"

Above this insert:
PHP Code:

<vb:if condition="$show['linkfetch']">
    <
div class="attachments">
        <
fieldset class="postcontent">
            <
legend><img src="{vb:stylevar imgdir_misc}/paperclip.png" class="inlineimg" alt="{vb:rawphrase vblinkfetch_attached_links}" /> {vb:rawphrase vblinkfetch_attached_links}</legend>
            {
vb:raw post.linkfetch}
        </
fieldset>
    </
div>
</
vb:if> 

Of coz you can put this below the attachment fields or any other place you like in that template.

Now you can configure the addon under:

'Settings' -> 'Otions' -> 'vBulletin-Linkfetch'

That's it :)

v123shine 10-06-2011 07:56 AM

great idea! Waiting for vb 3.8.x

voglermc 10-06-2011 12:07 PM

Please upload some real size screenshots. These are unreadable. Thanks

Scalemotorcars 10-06-2011 01:13 PM

Vossi I get this error if "Additional informations" is set to yes. If I turn it off it seems to work fine.

Quote:

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in [path]/includes/functions_vblinkfetch.php on line 141

Warning: file_get_contents(http://tehnoart.eu/russobalt-model.html) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in [path]/includes/functions_vblinkfetch.php on line 141
Please add the ability to exclude forums. Thank you...

Scalemotorcars 10-06-2011 02:01 PM

Just an update. Ive tried all thumbnail sites and they all kick back the same error if that option is selected.

LOGECT 10-06-2011 02:16 PM

Gret job Vossi, i would love to see an option for ignoring or blocking some custom domains.

Scalemotorcars 10-06-2011 04:02 PM

Found another issue Vossi.

When using artviper.net it fails to create a thumbnail if the link is internal. Say to another post on the same forum. Also with artviper.net a PDF link is ignored and a missing attachment is displayed.

On an up-note I noticed dead links to pages no longer available now displayed the websites homepage if one was available.

Feature request. Many members have websites that they link to on their profiles. It would be nice to include this.

Vossi 10-06-2011 04:40 PM

Sometimes it takes a while until the thumbnail is build by the thumbnail services. That's why a kind of 'waiting' screen ist getting shown sometimes.

I was concentrating on the german thumbnail services, but there should also be others available which can be added as user defined.

I'm working on this right now like select for single posts, forums etc. Maybe Im done with it by tomorrow.

laebshade 10-06-2011 04:56 PM

You had me until it required manual edits. Tagged until it uses hooks.

Scalemotorcars 10-06-2011 05:09 PM

Its not the delay while the thumb builds but an actual problem loading an internal link and the pdf. Other external links on the same page work just fine.


All times are GMT. The time now is 02:49 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.01131 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)pagenav_pagelink
  • (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