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
When I upload an image they are all located in the upper left corner which leaves an unattractive black area around the image. Please refer to this link for an example: http://currentday.com/forums/vbimgho...iewimages&id=2 is there anything I can do to fix this?
Thanks,
Gehanna
that is a bug in the thumbnail ( since i wrote a very simple one ) to avoide it just turn the thumbnail function off in the vbimghosting setting the admincp
I have another question about this, when I click on my forum page I can use the imagehosting, upload etc. When I click on the my gallery and them try to load anything in the imagehosting it gives me a page error.
The url goes to this http://www.rareclownfish.com/gallery...hp?do=myimages
And I get this error HTTP 404 - File not found
Internet Explorer
the file is not under the gallery
it under the main form durectory
so that link is poiting to the wrong location of the file
Cant wait for the next version though (ability to upload multiple images at once, and for an Admin to view all private images)
I do have a question though..
Would it be possible to make it so the default of the images is set at "public view", and not "private"? So, the user would have to make it private, instead of public. Thanks.
now i'm wondering about this the images are comming up off color and I'm recieving an error at the top of my page when I click "view all user images"
Warning: getimagesize(imagehosting/thum_24438430dd43d0.bmp): failed to open stream: No such file or directory in /vbimghost.php on line 299
also, the thumbnails are of the pictures are distorted and the colors are off. (attached file below), when I click the image the picture looks fine its just the pics here that are distorted and also a huge black box around it. whats the matter with it?
jake25's prob. is like mine but slightly different. I'm receiveing the error while only clicking the "view all user images" link. the images come up, its just that error on the top of the window.
Hey Ran or anyone that can help, I would like to change the wording VB IMAGE HOST to say somthing else on the forum say Pictures Hosting or somthing like that.
Thanks
just edit the phrase in the language and phrases
search for vb image host and change it to what ever you want
in the next release could u please have it so when a users secondary group's permission allows them to upload, but their primary doesnt, that they can still upload?
I have users who's primary usergroup says they cant, and they have 2 or more secondary, both of which say they can upload, but they cant because of their primary usergroup
it's should work this way ..
it will use the default inharitance in vb
i'm planning on improving it more
Question... is there a way to make this password protected?
In other words, all of the members who are posting pics will set theirs to public, but ONE universal password is needed to view each members pics.