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 - vb ImageHost to Album converter (https://vborg.vbsupport.ru/showthread.php?t=322153)

twistsol 03-17-2016 10:00 PM

vb ImageHost to Album converter
 
1 Attachment(s)
vbImageHost Converter

This is a one time use prodcut to convert the images uploaded with the vbImageHost product to native vBulletin albums and attachmets.

It reads through the vbimghost table and for each member creates an album and then converts the files for the user into attachments and places them in the album. vbImageHost had privacy settings at the image level, vBulletin has the privacy settings at the Album level. For this reason, if a member has both public and private images, a public and a private album will be created for that user. It will also create additional public or private albums for the user as necessary when an album is full.

Basically it will take your existing vbImageHost galleries and convert them into vBulletin albums.

I've added a redirection script that will redirect any displayimg requests for vbimagehost and will display the attachment created with the converter.

It allows you to upgrade to at least the most current version of VB4 with your vbImageHost images safe and sound as vBulletin attachments.

twistsol 03-20-2016 02:53 PM

It looks like I included and older version of the php file when zipped this.

1.0b2 - Fixed issue where the attachment file wasn't written to the attachments directory

vbuser2017 10-05-2017 05:32 PM

Can anyone confirm if this works with no ill effects?

twistsol 10-26-2017 02:05 AM

Quote:

Originally Posted by vbuser2017 (Post 2590290)
Can anyone confirm if this works with no ill effects?

I was hoping one of the small number of people who downloaded the to weigh in so you would get an independent verification.

There have been no ill effects on our site. I wrote it using the native VB data handlers to create the albums as well as the the attached image files so there shouldn't be any difference between files created with this program or uploaded from VB itself. No changes are made to the structure of any VB tables, just to the vbimagehost table.

That said, I will warn you that the redirect script doesn't work with VB5.3.0 and above. I haven't had time to get back to it and get it fixed but as stated in the docs, the redirect script certainly isn't my best work.

scottkoz20 10-27-2017 03:42 PM

honestly - I am not 100% sure what this mod would be doing? Is it only looking at images that are locally stored on the forums and creating a user album?

I want to understand this some more

twistsol 10-30-2017 12:58 PM

Quote:

Originally Posted by scottkoz20 (Post 2590800)
honestly - I am not 100% sure what this mod would be doing? Is it only looking at images that are locally stored on the forums and creating a user album?

I want to understand this some more

It is more limited than that. If you previously used the now dead mod vbImageHost, images were stored in a local directory along along with comments in a table.

This mod simply converts those to nativ VB albums. If you haven't previously used vbImageHost, then this mod serves no purpose.


All times are GMT. The time now is 11:49 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.00938 seconds
  • Memory Usage 1,723KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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