The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Vbimghost ver 2.0.0 Details »» | |||||||||||||||||||||||||||
VB Image Hosting Version 2.0.0
This is the port for my hack to vb 4.0.x You can see the old ver of vbimghost 1.0.1 Note: I don't not recommend using it as a new hack, since Albums in the vbulletin does the same thing even better. this is mainly to people who used vbimghost on previous version and want to use it on vb 4.0.x The port is just modification to the the template ( Not fully CSS ) and supporting the new plug ins . A converter for vbimghost to vbulletin albums is under development. and will be included here when it's done. Requirements:
Introduction: What does it do ? VB Image Hosting is a similar feature to imageshak and photopoket and online free image hosting, but this is for your members. it will allow them to upload and host their images on your servers, you can still manage the permissions and set the number of files for each group. Main Features:
Time required to install Update instruction : Just replace the old files with the new ones and import the product file don't forget to select overwrite. Update vbimghost options Note: [best thumb size width * hight = 100 * 200] NOTE: before you post any error here : Set that path to your forums correctly in the vbimghost options. if you getting the error ""supplied argument is not a valid" that's because you didn't set the path correctly URGENT ISSUES: you may contact me on e-mail : waiel[at]waieleid.com replace [at] with @ ok? -_- Download Now
Show Your Support
|
Comments |
#82
|
|||
|
|||
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 INPUT=./inputfile2.csv OLDIFS=$IFS IFS=, testCol=222 [ ! -f $INPUT ] && { echo "$INPUT file not found"; exit 99; } while read col1 col2 col3 do curl --create-dirs $col3 -o ./$col1/$col2 done < $INPUT IFS=$OLDIFS 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. |
#83
|
|||
|
|||
Anyone got this working on 4.2? Only think I can't sort is the navbar
|
#84
|
|||
|
|||
could make it functional for 4.2?
fails, and no panel to gain many pictures. Please |
#85
|
|||
|
|||
how to make this work on vb 4.20
|
#86
|
||||
|
||||
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
|
#87
|
||||
|
||||
I found my path and still getting the message 404 not found is this thread active?
|
#88
|
|||
|
|||
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 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> <a href="IHBackup/{vb:raw prepared.userid}.zip"><img src="{vb:stylevar imgdir_siteicons}/homepage.png" class="inlineimg" />Download Image Hosting Archive</a> </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. |
#89
|
|||
|
|||
Quote:
|
#90
|
||||
|
||||
Quote:
|
#91
|
||||
|
||||
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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|