vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Import external IMG's as attachment (https://vborg.vbsupport.ru/showthread.php?t=204383)

Realtime 02-05-2009 09:04 PM

Import external IMG's as attachment
 
Hello!


I'm searching for a tool who import external photos and store it as an internal attachment.

E.g.:

Serarch for
PHP Code:

[img]http://www.domain.com/picture.jpg[/img] 

Then import the pic as an attachment, get the ID (e.g. 1234) and replace the code above as
PHP Code:

[ATTACH]1234[/ATTACH

Does anyone know a mod who do this?

Please excuse my very bad english.

TIA!


Marc

Vaupell 02-06-2009 04:36 PM

i use the old photobucket plugin from 3.6 works great for 3.8
and im running it on my site atm, dont like imagashack thingy.

but there is a few mods out there that does this, but they dont make use
of the attachment system unless you actually upload the file to the server
which is proberly what your trying to prevent right ?

I recommend using that, theres also another similar mod just not happy about it.
Photobucket plugin

Alfa1 02-09-2009 03:37 AM

I want this as well, and like Reatime, I too want the files to be uploaded to my server.

Vaupell 02-09-2009 06:14 AM

Quote:

Originally Posted by Alfa1 (Post 1738345)
I want this as well, and like Reatime, I too want the files to be uploaded to my server.

if you want the files uploaded on your server, then this is a default feature!
depending on vb version ofcourse. but attachment ID's are default.

only reason i dont anymore, cause i disabled uploading content
well nevermind that all explained here
was tired of injections and hostile file uploads.

and im quite sure, what he is asking is the abilitiy to add img links to the attachment
thingy. ;)

Realtime 02-09-2009 06:40 AM

Hi!

You are right, NEW photos would be uploaded ... but if I disable the IMG-Tag, there are no photos shown.

I think, the best way is a two-step one:
1.: Upload all the attachments in an forumfolder
2.: Anly allow the forum-domain for attachments

Marc

Vaupell 02-09-2009 06:50 AM

1 Attachment(s)
well we all have the Table_predfix attachment database
and im sure the way to utilize the attachment feature in the postbit
it by populatin the database with data/links

but each user would have to know "his" current attachment id's for this to work.

Attachment 94451


Edit, just testet, all can acces the attachments while active,
just did with the picture i attached here, i just changed the ID
to a few numbers lower, and all sorts of other attachements came up.

7emper5i 03-08-2012 12:53 PM

I'd like to do this as well.

we want to switch from phpBB to vB and all the img-hoster delete their pictures after a while.

To prevent data- and informationloss, we want to transfer these pictures to the board as an attachement.

Is there a possibility to do so?

BirdOPrey5 03-10-2012 03:01 PM

The closest mod I've seen to this is: https://vborg.vbsupport.ru/showthread.php?t=253309

It imports external images and turns them into local images, but does not use the attachment system.


All times are GMT. The time now is 07: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.01346 seconds
  • Memory Usage 1,731KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (8)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