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)

y2ksw 08-18-2012 08:34 AM

Quote:

Originally Posted by alhidaya (Post 2357545)
Hello,

Thanks for a great mod.

How do I add more tags into this mod ? Right now we can only use [img] tag. I do have :

[FLOAT=left] and [/FLOAT]
[FLOAT=right] and [/FLOAT]

on my forum to align images to the left or to the right of the post.

This is very IMPORTANT What should I do to install the images BB Code ?

For these tags there is no automatic solution. You will have to trasform these tags manually with the MySQL REPLACE function (backup first!!!), for example:
Code:

UPDATE post SET pagetext=REPLACE(pagetext, '[FLOAT=left]', '[IMG]')
UPDATE post SET pagetext=REPLACE(pagetext, '[/FLOAT]', '[/IMG]')

I reccomend not to use image modifications in vbulletin if you want to use this product.

To enable IMG you will have to change your vbulletin options at several places: show all options and search for IMG ;)

spencerp 08-20-2012 07:36 AM

Quote:

Originally Posted by y2ksw (Post 2148352)
Theorically it can be changed in order to download the source images and the thumbnails. However, each system has different ways and changes them from time to time, in order to avoid direct downloading. Since this is freeware and I have no income with it, nor are there enough customers for asking this feature, it is unlikely it will be ever implemented.

Similarily, the file server/gallery issue has been discussed before. If there was a consistent number of users requesting to move files to another server, I may look into moving files via FTP and/or PHP's fopen and updating queries and so stuff. But until now you are only about the third person asking for this feature. Instead, you may use fsftp for Linux, which transparently links another server to a symbolic link of your forum root subfolder of your choice. There may be other solutions too. I do not support any of those solutions ;)

Basically, this is what I need though. The forums were started for when the members would go to some image hosting site like; imagevenue.com, imgbox.com, and so forth... Select and Copy the BBCode for thumbnails that link to full size images... and paste the codes into the forum threads/posts.

I'd love to be able to have this run, and automatically parse/convert all imagevenue.com and imgbox.com and etc BBCodes to default vbulletin ... or import them as attachments with thumbnails and full size images automatically. Is there anything for vbulletin (if not your plugin/modification maybe another one?) that can maybe do this? Thanks

y2ksw 08-20-2012 10:03 AM

Quote:

Originally Posted by spencerp (Post 2358382)
Basically, this is what I need though. The forums were started for when the members would go to some image hosting site like; imagevenue.com, imgbox.com, and so forth... Select and Copy the BBCode for thumbnails that link to full size images... and paste the codes into the forum threads/posts.

I'd love to be able to have this run, and automatically parse/convert all imagevenue.com and imgbox.com and etc BBCodes to default vbulletin ... or import them as attachments with thumbnails and full size images automatically. Is there anything for vbulletin (if not your plugin/modification maybe another one?) that can maybe do this? Thanks

The Linux File System FTP feature is called curlftpfs and I have briefly discussed it here. For making it work perfectly well, you will have to ask a top-techy, which may be able to tweak your system in a way that imported images are going somewhere else.

There is no inbuilt feature and software solutions would be far over the top of this, maybe any product :)

spencerp 08-20-2012 01:01 PM

Quote:

Originally Posted by y2ksw (Post 2358402)
The Linux File System FTP feature is called curlftpfs and I have briefly discussed it here. For making it work perfectly well, you will have to ask a top-techy, which may be able to tweak your system in a way that imported images are going somewhere else.

There is no inbuilt feature and software solutions would be far over the top of this, maybe any product :)

ahhh okay... Hmm, maybe I'll get one of the support techs on live chat then. but stupid me, i ran that plugin and it started parsing/importing images from THIS MONTH.. cause i made it so they go into /attachments/2012/08/ ... and alot of images were going there... but when viewing threads.. it still showed or seemed to link to imagevenue.com anyway.. so i went and deleted the 2012/08 folders.. and now alot of the threads for this month aren't showing images at all. :( and plus it made the database HUGE... its like 78MB!!! :(

is there anyway to have this plugin import the images... but just have it to filesystem automatically? I didn't want to put all that load into database in first place. the disk space i need not worry about, its the database size that's issue. and now it's STILL 78MB.. >_<. and on top of it, alot of August's threads are image-less... :(

also... when viewing threads in advanced edit.. its like
Code:

[U R L="http://img156.imagevenue.com/img.php?image=79993_12708391_122_34lo.jpg"][I M G]http://footish.xxx/attachments/2012/08/376.jpg[/I MG ][/U RL ]
of course the attachments/2012/08/blahblah.jpg arent showing anything.. but still have the imagevenue.com thumbnail preview links.. is there to remove the external thumbnail preview links when parsing from get go? or.. have those imported too, not just the full image?

y2ksw 08-20-2012 02:43 PM

This plugin doesn't add size to your database. It imports external images to the local file system. But I understood you would like to keep the images elsewhere and for this reason there is the article about curlftpfs.

Only img tags are imported unless you add other tags (and you understand what the option does). There is no such thing as capturing wrapping images, too.

Krusty1231 08-25-2012 11:21 AM

I am confused. I can run it just fine, but it gives me this when I try to enable the cron job.

Quote:

This scheduled task cannot be enabled. vB4 Import External Images, the product associated with this task, is currently disabled. It must be enabled before this task can be enabled.
What am I doing wrong? I can see the images being created in the /imported folder just fine.

It just will not enable the cron job for me.

y2ksw 08-26-2012 09:13 AM

Looks like the product is disabled ;)

Krusty1231 08-27-2012 07:20 AM

LOL - so it is..... Doh!

Thanks for the hint! I feel retarded now! :)

y2ksw 08-27-2012 11:34 AM

welcome back from holidays! :)

vvlo 09-01-2012 08:58 PM

tnk u, but this mod for my forum not work : link


All times are GMT. The time now is 05:58 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.01823 seconds
  • Memory Usage 1,752KB
  • 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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