Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
VB image Hosting Details »»
VB image Hosting
Version: 1.4.2, by Ranma2k Ranma2k is offline
Developer Last Online: Oct 2017 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 01-22-2006 Last Update: 04-10-2007 Installs: 369
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

VB Image Hosting Version 1.4.2

Please note that next ver will not support older ver update.

Frensh ver is avilable to download Thanks to
tandy
Port to Vbulletin 3.6.0 can be found here

Requirements:
  1. requires GD 2.0.1 or later (2.0.28 or later is recommended).
  2. 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:
  1. Added thumbs option to generate thumbs
  2. Fixed viewing other members pics result in error
  3. Fixed cached template to reduce quary
  4. Fix for sites that uses content management systems ( variabls doen't get pass correctly )
  5. hack is now fully using the phrase system. ( easy to translate )
1.2.1:
  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:
  1. Fixed the thumbnail working 100% ok with GD1 & GD2.
  2. Added the ability to upload multiple files.
  3. Admin can control max upload slots for each group.
  4. Admin can view member images.
  5. Admin can set the default permission for viewing.
  6. Admin can rebuild thumbnail for all images.
  7. Fixed some bugs regarding uploading images.
1.3.1:
  1. Fixed the getimagesize error.
  2. Fixed Guest upload / view.
  3. Added abillity to turn on/off the imagehosting ( the group who can admin still can access it though ).
  4. Added Watermark function. (thx to TomasDR ).
  5. Added Resize Function.
  6. Added Admin can view all images from admincp.
  7. Added Display image in forum page.
1.3.1a:
  1. Remodified the information showed in the image
  2. Fixed resize issue with small images
1.4.0:
  1. Remodified the way images are shown.
  2. Fixed some security issues with the script
    1. Prevent showing the images when it's priviate ( members uses to browse private images with imgids )
    2. Prevent uploading any files that not an image ( prevent uploading scripts to the site).
  3. added text watermarking.
  4. added filmstrip.
  5. 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
  1. Added old view image style ( now you can chose either row or column view )
  2. Fixed filmstrip not showing ( template was not included )
  3. Fixed filmstrip condition ( to chose either to show or not)
  4. Fixed gallery view in new thread/post ( thumbs were not showing )
  5. Fixed last 5 images in member info ( was working in the old way ).
  6. added font size for text water marking.
1.4.2:
  1. fixed security issue with image deletion
  2. 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 :
  1. loneranger since it's his main idea.
  2. Psionic Vision: for his tutorials
Screen shots :
Check screenshot.zip file / New screen shot in screenshot2.zip

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #202  
Old 04-10-2006, 01:11 AM
Makaveli105's Avatar
Makaveli105 Makaveli105 is offline
 
Join Date: May 2004
Location: California
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^^what do you mean??

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
Reply With Quote
  #203  
Old 04-10-2006, 01:48 AM
kurtbarker kurtbarker is offline
 
Join Date: Nov 2005
Location: Kogarah, NSW
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NR Fatal
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 mate, I had the same probs... disable thumbnail option in ACP, but set thumbnail size... although this seems weird, if you enable thumbnail, it only shows half of the picture [oh couse this depends on the size], and it is discoloured. So disabling this shows the entire picture, and in the size you set in the thumbnail size option...

now for the error. I asumed I got this because I disabled thumbnails and it was looking for the thumb_ prefex of the file that didn't exist... So i manually went into the .php file and deleted that line of code... i've had no problems since.

I know it's probably a bit of a work-around than a fix, but it works
Reply With Quote
  #204  
Old 04-10-2006, 02:17 AM
Ohiosweetheart Ohiosweetheart is offline
 
Join Date: Dec 2005
Location: N.E. Ohio
Posts: 2,291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like this feature!

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.

is this possible?
Reply With Quote
  #205  
Old 04-10-2006, 02:19 AM
NR Fatal NR Fatal is offline
 
Join Date: Mar 2006
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kurtbarker
hey mate, I had the same probs... disable thumbnail option in ACP, but set thumbnail size... although this seems weird, if you enable thumbnail, it only shows half of the picture [oh couse this depends on the size], and it is discoloured. So disabling this shows the entire picture, and in the size you set in the thumbnail size option...

now for the error. I asumed I got this because I disabled thumbnails and it was looking for the thumb_ prefex of the file that didn't exist... So i manually went into the .php file and deleted that line of code... i've had no problems since.

I know it's probably a bit of a work-around than a fix, but it works
ok, I disabled the thumbnails, BUT its stil doing the same thing. I noticed one thing though, I only recieve the error
PHP Code:
Warninggetimagesize(imagehosting/thum_24438430dd43d0.bmp): failed to open streamNo such file or directory in /vbimghost.php on line 299 
after I click View all images and then click on my Name, it doesn't do it when I veiw another persons images. hm.. weird.
Reply With Quote
  #206  
Old 04-10-2006, 07:27 AM
kurtbarker kurtbarker is offline
 
Join Date: Nov 2005
Location: Kogarah, NSW
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NR_Fatal
ok, I disabled the thumbnails, BUT its stil doing the same thing. I noticed one thing though, I only recieve the error
Yeah mate, that should have only cleared up the pic so it isn't all discoloured.

The get rid of that error you need to delete that getimagesize line in the vbimagehost.php file... line 299
Reply With Quote
  #207  
Old 04-10-2006, 02:17 PM
kurtbarker kurtbarker is offline
 
Join Date: Nov 2005
Location: Kogarah, NSW
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

guyz, now i've got a question of my own, lol

I want to make this a private system, so not giving users the option to make a pic public... So all pics private by default, no option to change it to public, and no drop down option to 'view all members pics'

can anyone shed any light on how I can do this?
Reply With Quote
  #208  
Old 04-10-2006, 11:06 PM
NR Fatal NR Fatal is offline
 
Join Date: Mar 2006
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kurtbarker
guyz, now i've got a question of my own, lol

I want to make this a private system, so not giving users the option to make a pic public... So all pics private by default, no option to change it to public, and no drop down option to 'view all members pics'

can anyone shed any light on how I can do this?
hm. I know I'd like to see an option to make it all private or all public and make it so Guests and people not logged in CAN'T see the images.
Reply With Quote
  #209  
Old 04-11-2006, 01:47 AM
Jake25 Jake25 is offline
 
Join Date: May 2005
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kurtbarker
hey mate, I had the same probs... disable thumbnail option in ACP, but set thumbnail size... although this seems weird, if you enable thumbnail, it only shows half of the picture [oh couse this depends on the size], and it is discoloured. So disabling this shows the entire picture, and in the size you set in the thumbnail size option...

now for the error. I asumed I got this because I disabled thumbnails and it was looking for the thumb_ prefex of the file that didn't exist... So i manually went into the .php file and deleted that line of code... i've had no problems since.

I know it's probably a bit of a work-around than a fix, but it works

Thanks for err, kind of answering my question. Ha.

Anyway, my problem was exactly the same as NR Fatal's, and deleting that line from the vbimagehost seemed to work.

Nice hack, but it needs to be fixed.
Reply With Quote
  #210  
Old 04-11-2006, 01:54 AM
kurtbarker kurtbarker is offline
 
Join Date: Nov 2005
Location: Kogarah, NSW
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wanna know how to make this thing private... I'm willing to muck around with the code, but i'm no coder
Reply With Quote
  #211  
Old 04-11-2006, 05:45 AM
Ranma2k Ranma2k is offline
 
Join Date: Dec 2001
Location: Earth
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Queball_Beast
is there a way to make this work with vbbux & vbplaza? I want users to use vbbux to host images.. hehehee. :banana:

yes i'm planning to add inegration with vbplaza, so any ideas would be great
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:45 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09940 seconds
  • Memory Usage 2,329KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete