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)
-   -   Administrative and Maintenance Tools - Import External Images (https://vborg.vbsupport.ru/showthread.php?t=253309)

Scalemotorcars 10-06-2011 03:44 PM

Quote:

Originally Posted by DaffyDuck (Post 2244113)
One additional observation / request / question -- this script seems to work on the FORUM section, yet doesn't touch images in the CMS section. Is there some way to make it include those?

I would like to see this also.. :up:

y2ksw 10-07-2011 07:51 AM

Quote:

Originally Posted by Scalemotorcars (Post 2253977)
Ive noticed this is missing some photos. It seems images with this structure or at least from this site are not being imported.

Code:

http://www.hostingpics.net/viewer.php?id=335914DSC0001.jpg
This is my ignore list.



Any ideal why?

That's a HTML page and not an image :)

Scalemotorcars 10-07-2011 12:25 PM

Since it only displays the actual image on my site is there still a way to import it?

nhawk 10-07-2011 12:40 PM

Quote:

Originally Posted by Scalemotorcars (Post 2254324)
Since it only displays the actual image on my site is there still a way to import it?

On your site, change the picture url to http://img11.hostingpics.net/pics/335914DSC0001.jpg

Scalemotorcars 10-07-2011 04:59 PM

Forgive my ignorance but how exactly would I do that? Is it a white-list setting or ???

y2ksw 10-07-2011 09:15 PM

Quote:

Originally Posted by nhawk (Post 2254327)
On your site, change the picture url to http://img11.hostingpics.net/pics/335914DSC0001.jpg

Quote:

Originally Posted by Scalemotorcars (Post 2254400)
Forgive my ignorance but how exactly would I do that? Is it a white-list setting or ???

You would do this with a query from phpmyadmin, such as:

Code:

UPDATE post SET pagetext=REPLACE(pagetext, 'http://www.hostingpics.net/viewer.php?id=', 'http://img11.hostingpics.net/pics/')
This can be time consuming and a server killer, but then you would be able to import the pictures normally. Maybe you will have to run this query locally with a very large timeout. It isn't however a guarantee to work, and the img11 suggests there are at least 11 different solutions for one problem ...

Normally you would first run a script to see if all the images are coming from the same server and then apply a global query which solves links in bunches.

Manoel J?nior 10-10-2011 11:29 PM

Broker with images:

Code:

http://forumcom.detonaleech.com.br/files/John_Denver_-_Country_Roads-oN86d0CdgHQ_s.jpg
Not record the image, how to fix?

y2ksw 10-11-2011 03:30 PM

Quote:

Originally Posted by Manoel J?nior (Post 2255745)
Broker with images:

Code:

http://forumcom.detonaleech.com.br/files/John_Denver_-_Country_Roads-oN86d0CdgHQ_s.jpg
Not record the image, how to fix?

There is no way to download images which need authorisation or which are hotlink-protected.

yahooooh 10-21-2011 08:15 AM

Quote:

Originally Posted by y2ksw (Post 2186556)
Could you please make examples? I'm not sure what you want to have added.

i ask for adding thread url as link for image
when image is hosted and change the url address to my site
i want to make the image itself can be clicked with url of the thread itself

so if one copy the thread the images will be clicked to my forum thread

y2ksw 10-22-2011 07:50 AM

Quote:

Originally Posted by yahooooh (Post 2259681)
i ask for adding thread url as link for image
when image is hosted and change the url address to my site
i want to make the image itself can be clicked with url of the thread itself

so if one copy the thread the images will be clicked to my forum thread

It already works this way. It copies the image to your site and renames the URL to the image. If somebody copies the message, they also copy the correct URL.

If, one day, you change your domain name, just reinstall the product and the images are reimported with the new domain name's URL (if the old domain is still accessible).


All times are GMT. The time now is 01:57 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.01832 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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