requires GD 2.0.1 or later (2.0.28 or later is recommended).
PHP ver 4.3.x or later (newer ver is better).
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:
Image hosting
Restrict # of file upload for each group
Allow/disallow group from upload
Restrict file uploaded based on file extention, dimensions and size
Users can manage their uploaded files
Users can set the view permission for each uploaded images
Admin can mange all members images
Admin can set the number of images/users per page.
Image thump is set to 320 * 240 if the image dimension is bigger.
Admin can mange images uploaded by the members
Admin can set the default upload permission
Thumbnail system admin can turn it on/off.
Allow multiple uploads.
Admin can set upload slots for each group
Admin can recreate thumbnails from admin cp
Fully using the phrase system.
Time required to install :
1-2 min max.
Updates:
1.0.1:Fixed an error when listing the users also removed a line that causes the script to generate a java script error, fixed viewing members files redirect error to profile
1.2.0:
Added thumbs option to generate thumbs
Fixed viewing other members pics result in error
Fixed cached template to reduce quary
Fix for sites that uses content management systems ( variabls doen't get pass correctly )
hack is now fully using the phrase system. ( easy to translate )
1.2.1:
Fixed minor bug when viewing the images ( just replace vimghost.php with the one in the attached file no need to import the xml )
1.3.0:
Fixed the thumbnail working 100% ok with GD1 & GD2.
Added the ability to upload multiple files.
Admin can control max upload slots for each group.
Admin can view member images.
Admin can set the default permission for viewing.
Admin can rebuild thumbnail for all images.
Fixed some bugs regarding uploading images.
1.3.1:
Fixed the getimagesize error.
Fixed Guest upload / view.
Added abillity to turn on/off the imagehosting ( the group who can admin still can access it though ).
Added Watermark function. (thx to TomasDR ).
Added Resize Function.
Added Admin can view all images from admincp.
Added Display image in forum page.
1.3.1a:
Remodified the information showed in the image
Fixed resize issue with small images
1.4.0:
Remodified the way images are shown.
Fixed some security issues with the script
Prevent showing the images when it's priviate ( members uses to browse private images with imgids )
Prevent uploading any files that not an image ( prevent uploading scripts to the site).
added text watermarking.
added filmstrip.
added 3 adons (show last 5 imgaes in member info, show number of images in postbit and Quck upload / gallary insert in the thread / reply post).
1.4.1
Added old view image style ( now you can chose either row or column view )
Fixed filmstrip not showing ( template was not included )
Fixed filmstrip condition ( to chose either to show or not)
Fixed gallery view in new thread/post ( thumbs were not showing )
Fixed last 5 images in member info ( was working in the old way ).
added font size for text water marking.
1.4.2:
fixed security issue with image deletion
fixed minor mysql problem
To update to the latest ver (1.4.2) just replace the files and import the product make sure you select overwrite when you import it.
Download track: ver 1 - 1.4.0 : no tracks ver 1.4.1: 673 downloads
Known Issues:
no known issues
Special thanks to :
loneranger since it's his main idea.
Psionic Vision: for his tutorials
Screen shots :
Check screenshot.zip file / New screen shot in screenshot2.zip
Hi great hack by the way i have installed this hack, all seems to work apart from to problems
first, when I upload an Image I get this error on the redirect
Quote:
Warning: imagecreatefromjpeg(homepages/22/d122080877/htdocs/mkpitstop/forums/imagehosting/145082abd1be75.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 176
Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177
Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177
Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /includes/vbimghost_include.php on line 177
Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 178
Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 178
Warning: imagecopy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 178
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 190
Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 199
Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 200
Warning: imagestring(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 202
Warning: imagejpeg(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 210
Warning: imagedestroy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 211
But the image does load, can you help on this.
Also all I am using this for is just to allow my users to host images and post these images anywhere, but I have set the watermark to text and my domain name, but this didnt show when I tested it, can you help on this matter also?
Beautiful Hack. I installed it for me to play with as admin, love it. Now, I wonder if you can add the following:
1. Instead of private, can we make the "private" fall back on registered users only, or certain user groups that can view the thumbs and images? I would like to have images that anyone can see but the option to restrict images to registered only members, or various member groups, like forum permissions.
2. Can we have it where it shows how many times an image has been viewed? My members will love this hack, but will hate it if they can't see how many times their images were viewed.
3. Can we make it were only certain members can hot link there images, in other words, only premium and not free members can use the actual image hosting on other sites. This would be a member permission radio button.
4. Can we have it where we can turn off the "file size", "Image Dimensions" and "Date Uploaded" in the Admin CP?
5. Can we have the option to "pay you" for "brand free?"
6. Can we get a slideshow mode?
I'm willing to pay you for custom work with your program. I would also like the ability to add some search features, such as zip code proximity, state and category search fields. Would need a search menu/page. Thanks, rg sends!
Sample: http://www.glamour1.com/forums/vbimg...iewimages&id=1
Hi great hack by the way i have installed this hack, all seems to work apart from to problems
first, when I upload an Image I get this error on the redirect
But the image does load, can you help on this.
Also all I am using this for is just to allow my users to host images and post these images anywhere, but I have set the watermark to text and my domain name, but this didnt show when I tested it, can you help on this matter also?
Thanks.
The image host requires GD 2 to be installed on the server to show up the images
as for the errors it's path error
if you still have problems PM me and i'll help you out
Beautiful Hack. I installed it for me to play with as admin, love it. Now, I wonder if you can add the following:
1. Instead of private, can we make the "private" fall back on registered users only, or certain user groups that can view the thumbs and images? I would like to have images that anyone can see but the option to restrict images to registered only members, or various member groups, like forum permissions.
2. Can we have it where it shows how many times an image has been viewed? My members will love this hack, but will hate it if they can't see how many times their images were viewed.
3. Can we make it were only certain members can hot link there images, in other words, only premium and not free members can use the actual image hosting on other sites. This would be a member permission radio button.
4. Can we have it where we can turn off the "file size", "Image Dimensions" and "Date Uploaded" in the Admin CP?
5. Can we have the option to "pay you" for "brand free?"
6. Can we get a slideshow mode?
I'm willing to pay you for custom work with your program. I would also like the ability to add some search features, such as zip code proximity, state and category search fields. Would need a search menu/page. Thanks, rg sends!
Sample: http://www.glamour1.com/forums/vbimg...iewimages&id=1
I'll have a look and try to get most of your request done in the next release