![]() |
Ok, I'm getting sick of waiting for a "Conversion Tool". Here is what I've come up with so far...
First, I went in the DB and exported the vb_vbimghost table as a CSV. I then edited the CSV to have the following columns (userid, imageName, imageURL) With the new CSV in hand, I wrote the following script to download all of the users' images in to a separate directory matching their userid. Code:
#!/bin/bash This is as far as I've gotten. If someone knows how to force an upload in to the Albums portion of VB4 as a specific userid, please feel free to update. *EDIT* At this point, I'm not at all worried about breaking existing links on other websites. I'd rather take the heat for that than not being able to upgrade my board because of a heavily used mod. |
Anyone got this working on 4.2? Only think I can't sort is the navbar
|
could make it functional for 4.2?
fails, and no panel to gain many pictures. Please |
how to make this work on vb 4.20
|
Where can I go to view the path to my forums so I can just copy and paste the path in the settings? Yes I got the 404 error
|
I found my path and still getting the message 404 not found is this thread active?
|
Ok, since its pretty evident that no one is working on this mod anymore and it breaks with the install of 4.2, I am providing how I am transitioning my users away from this mod so that I can upgrade my board.
Follow the instructions I posted above to get a directory structure of all of your users images inside the image hosting mod. Next, I ran the following script and input the parent directory holding all of the userid directories as an input to script. Code:
#!/bin/bash Code:
./zipSEDSM.sh SEDSMConversion Now that we have the backup done, it's time to give the users access to their zip files. Go to AdminCP -> Styles & Templates -> Style Manager Select Edit Template for each style you are offering your users. Expand Member Info Templates and double click MEMBERINFO Search for: Code:
<vb:if condition="$show['contactlinks'] AND $show['pmlink']"> Code:
<li> Change: Code:
<li><a href="vbimghost.php?do=upload">{vb:phrase vbimghost_menuupimg}</a></li> Code:
<!--<li><a href="vbimghost.php?do=upload">{vb:phrase vbimghost_menuupimg}</a></li>--> Now go to AdminCP -> Plugins & Products -> Plugin Manager Scroll down to the VB Image Hosting section and uncheck all of the checkboxes except for vbimghost_navbits and click Save Active Status. VB Image Host should now be somewhat disabled/restricted so that users will only be able to look at the contents of it. They will also now have a link to download the archive of their hosting information. I basically told my users that they can download their images and reupload them into their albums if they want to reuse them. Albums also provides the external link for them. |
Quote:
|
Quote:
|
Is there still any interest in a converter?
I'm in the middle of writing one for my board because it is necessary. It's probably still a couple of weeks away depending on how much time I get to work on it, and it will be ugly. I'm at a point that I need to decide if I write for one time use for my site only or if it is going to be released into the wild. |
All times are GMT. The time now is 05:00 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|