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
IFS=$'\n'
for f in $(find "$1" -mindepth 1 -maxdepth 1 -type d ); do
zip -r "$f" "$f"
done
Here is my command to run the script:
Code:
./zipSEDSM.sh SEDSMConversion
After the script runs, you will have a zip file of each of the userid directories. Now move all of these zip files into a directory on your server that is preferably inside your forum directory. In my case I put all of the zip files in to a folder called IHBackup so that my url to access it would be
http://www.domain.com/IHBackup/xxx.zip.
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']">
and add above it:
Code:
<li>
<a href="IHBackup/{vb:raw prepared.userid}.zip"><img src="{vb:stylevar imgdir_siteicons}/homepage.png" class="inlineimg" />Download Image Hosting Archive</a>
</li>
While we are in the template editor, scroll down to vbimghost_navbits and edit it.
Change:
Code:
<li><a href="vbimghost.php?do=upload">{vb:phrase vbimghost_menuupimg}</a></li>
to
Code:
<!--<li><a href="vbimghost.php?do=upload">{vb:phrase vbimghost_menuupimg}</a></li>-->
This will prevent users from uploading new images in to the mod and force them to use the Gallery/Album feature.
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.