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
Just one point from me. If there are other novices out there (like me) they may find a small problem. I cant seem to find anything about CHMOD the imagehosting directory in your install instructions. It might be an idea to add the details. Or I could be wrong, but when I tried the system out I got the obvious errors untill I done the CHMOD.
Thanks again.
Kind regards.
Sorry i must have forgoten it while writing the doc
i have updated the installation file and reuploaded the file
One thing before I install it on myetalk.com, does this work with Image Magick? Meaning does this modification require Apache for it to work correctly?
One thing before I install it on myetalk.com, does this work with Image Magick? Meaning does this modification require Apache for it to work correctly?
Thanks!
looks great, btw!
it uses GD library if you have it, it will work
i didn't support image magick cuz i didn't have it on my testing server
it uses GD library if you have it, it will work
i didn't support image magick cuz i didn't have it on my testing server
but i will in future releases
I hope you include it rather soon, as I am using lighttpd, and it's a software that makes your server load alot faster the only downfalls is that Apache doesn't work, which means no GD
I hope you include it rather soon, as I am using lighttpd, and it's a software that makes your server load alot faster the only downfalls is that Apache doesn't work, which means no GD
got everything installed ok but when i click "host it!" the page will load then i come to a blank screen at http://www.mysite.net/forum/vbimghost.php ,i reuploader the vbimghost.php file but still comes up blank...any know why?
On the user side of things the mod is working great. It seems though that the problems for me start when in admin.
For example:
I get this error when I try to delete and image from the admin panel:
Code:
Warning: unlink(): open_basedir restriction in effect. File(/imagehosting/144a6366f2bf64.gif) is not within the allowed path(s): (/home/*****/:/usr/lib/php:/usr/local/lib/php:/tmp) in /myadmin/vbimghost.php on line 311
got everything installed ok but when i click "host it!" the page will load then i come to a blank screen at http://www.mysite.net/forum/vbimghost.php ,i reuploader the vbimghost.php file but still comes up blank...any know why?
did you do a anew install or update ?
can you pm me with the fourm link and access if posible ..
On the user side of things the mod is working great. It seems though that the problems for me start when in admin.
For example:
I get this error when I try to delete and image from the admin panel:
Code:
Warning: unlink(): open_basedir restriction in effect. File(/imagehosting/144a6366f2bf64.gif) is not within the allowed path(s): (/home/*****/:/usr/lib/php:/usr/local/lib/php:/tmp) in /myadmin/vbimghost.php on line 311
And also when I rebuild thumbnails all I get is:
Thumbnail Not created for blah.gif
Any ideas?
Kind regards.
well this happens if you didn't set the forum path in the config.php file , did you se it ?
as for the Thumbnail not created
there is severals reasons one of it is the the image is smaller than the thumbnail so it won't creae one for it .