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

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

Category: Major Additions - Version: 3.6.0 Rating:
Released: 08-08-2006 Last Update: 04-10-2007 Installs: 1108
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

VB Image Hosting Version 1.0.1

This is the port for my hack to vb 3.6.x
check it for vb 3.5.x here

A New installer replaced the old one so you should not face any problems with database

NOTE :
People who were using vbimghost in vb 3.5.x and moved to vb 3.6.0 MAKE sure that you have vbimghost 1.4.1 Since this port will only support upgrading from that ver only
People who do a fresh install use this ver.


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 extension, 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.
  • 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.

Update instruction :
Just replace the old files with the new ones and import the product file don't forget to select overwrite.

History:
1.0.0:
  • inital release contains everytverg in 1.4.1 ver.
1.0.1:
  • Fix security bug with delete image.
  • fix some minor mysql problems.
Download Tracking:
1.0.0 : 3886


Known Issues:
no known issues.

Screen shscreenshot.zip
screenshot.zip.


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

And for all the people asking when is the next release it will be in 2007 not this month .. due to some problems in real life ..



URGENT ISSUES:
you may contact me on msn id : waiel[at]waieleid.com
replace [at] with @ ok? -_-

Supporters / CoAuthors

Show Your Support

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

Comments
  #82  
Old 08-12-2006, 10:09 PM
spazz191 spazz191 is offline
 
Join Date: Jul 2006
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you
Reply With Quote
  #83  
Old 08-13-2006, 03:27 PM
medw1974 medw1974 is offline
 
Join Date: Dec 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting this database error on a fresh install

Code:
Database error in vBulletin 3.6.0:

Invalid SQL:
INSERT INTO vbvbimghost ( `imgid` , `userid` , `imgfile` , `imgname` , `thumbname` , `imgfilesize` , `imgwidth` , `imgheight` , `imgdate` , `imgprivate` ) 
	    		VALUES ('', '1', '144df50dbc89af.jpg', '002AEFF7.JPG','thum_144df50dbc89af.jpg' , '34.734375', '800', '600', '1155485915', '0');

MySQL Error  : Out of range value adjusted for column 'imgid' at row 1
Error Number : 1264
Date         : Sunday, August 13th 2006 @ 05:18:37 PM
Script       : http://127.0.0.1/fb2b/forums/vbimghost.php
Referrer     : http://127.0.0.1/fb2b/forums/vbimghost.php?do=upload
IP Address   : 127.0.0.1
Username     : michael
Classname    : vB_Database
Edit - I managed to fix this, mysql on my testing server was running in safe mode, just commented this out of my.ini and all was ok.
Reply With Quote
  #84  
Old 08-13-2006, 05:27 PM
Ranma2k Ranma2k is offline
 
Join Date: Dec 2001
Location: Earth
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by medw1974
I'm getting this database error on a fresh install

Code:
Database error in vBulletin 3.6.0:

Invalid SQL:
INSERT INTO vbvbimghost ( `imgid` , `userid` , `imgfile` , `imgname` , `thumbname` , `imgfilesize` , `imgwidth` , `imgheight` , `imgdate` , `imgprivate` ) 
	    		VALUES ('', '1', '144df50dbc89af.jpg', '002AEFF7.JPG','thum_144df50dbc89af.jpg' , '34.734375', '800', '600', '1155485915', '0');

MySQL Error  : Out of range value adjusted for column 'imgid' at row 1
Error Number : 1264
Date         : Sunday, August 13th 2006 @ 05:18:37 PM
Script       : http://127.0.0.1/fb2b/forums/vbimghost.php
Referrer     : http://127.0.0.1/fb2b/forums/vbimghost.php?do=upload
IP Address   : 127.0.0.1
Username     : michael
Classname    : vB_Database
Edit - I managed to fix this, mysql on my testing server was running in safe mode, just commented this out of my.ini and all was ok.
even if it's in safe mode why it's out of range !?
Reply With Quote
  #85  
Old 08-15-2006, 07:38 AM
WeArab WeArab is offline
 
Join Date: Nov 2005
Location: State of Qatar Arab world
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Waiel Great job Bro!

One of the best add-ons here!

Installed!
Reply With Quote
  #86  
Old 08-16-2006, 03:46 AM
KevNJ KevNJ is offline
 
Join Date: Jan 2005
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*clicks install*

Fresh install, upgraded from 3.5.1 to 3.6 a few hours ago along with cmps 2.2.0 and a few other hacks. This installed and is working perfectly with out a single error. w00t!!

is there a future plan to add a "this picture has been viewed X amount of times" ?? and/ or a "whos viewed this image"
Reply With Quote
  #87  
Old 08-16-2006, 09:19 AM
Ranma2k Ranma2k is offline
 
Join Date: Dec 2001
Location: Earth
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KevNJ
*clicks install*

Fresh install, upgraded from 3.5.1 to 3.6 a few hours ago along with cmps 2.2.0 and a few other hacks. This installed and is working perfectly with out a single error. w00t!!


is there a future plan to add a "this picture has been viewed X amount of times" ?? and/ or a "whos viewed this image"
yes next release will include this in it
Reply With Quote
  #88  
Old 08-16-2006, 12:04 PM
Sarthek Sarthek is offline
 
Join Date: May 2006
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack is so great! realy! (clicked install), however I must write down some hopefully future option. It would be nice if hack would also have option:

- users can set fotos for view to specific user(s), usergroups... (now is only public and private)
Reply With Quote
  #89  
Old 08-17-2006, 08:26 AM
c0rupted c0rupted is offline
 
Join Date: Aug 2003
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ranma2k
TO EVERYONE

ALL YOUR PROBLEMS ARE BECAUSE OF THE TABLE DOESN'T EXISTS AND YOU DIDN'T READ THE INSTALLATION FILE

PEPOLE WITH FRESH INSTALL WON'T FACE ANY PROBLEM
fresh install on a fresh vb3.6 ... heh ...

it does this on .jpg
Code:
Warning: imagecreatefromjpeg(/public_html/forum/imagehosting/imagehosting/144e42de04b356.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 175
Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 176
Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions 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: imagecopy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 189
Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 195
Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 196
Warning: imagestring(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 201
Warning: imagejpeg(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 209
Warning: imagedestroy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 210
This on .png ...
Code:
Warning: imagecreatefrompng(/public_html/forum/imagehosting/imagehosting/144e43b354b6e7.png) [function.imagecreatefrompng]: failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 170
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 189
Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 195
Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 196
Warning: imagestring(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 201
Warning: imagepng(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 204
and this on rebuilding thumbnails ...
Code:
Warning: getimagesize(/public_html/forum/imagehosting/imagehosting/144e43a8640ba2.gif) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 279
And it seems not to apply the watermark :dead:
Reply With Quote
  #90  
Old 08-17-2006, 10:51 AM
Ranma2k Ranma2k is offline
 
Join Date: Dec 2001
Location: Earth
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by c0rupted
fresh install on a fresh vb3.6 ... heh ...

it does this on .jpg
Code:
Warning: imagecreatefromjpeg(/public_html/forum/imagehosting/imagehosting/144e42de04b356.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 175
Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 176
Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions 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: imagecopy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 189
Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 195
Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 196
Warning: imagestring(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 201
Warning: imagejpeg(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 209
Warning: imagedestroy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 210
This on .png ...
Code:
Warning: imagecreatefrompng(/public_html/forum/imagehosting/imagehosting/144e43b354b6e7.png) [function.imagecreatefrompng]: failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 170
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 189
Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 195
Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 196
Warning: imagestring(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 201
Warning: imagepng(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 204
and this on rebuilding thumbnails ...
Code:
Warning: getimagesize(/public_html/forum/imagehosting/imagehosting/144e43a8640ba2.gif) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 279
And it seems not to apply the watermark :dead:
Did you setup the path correctly ?!
it doesn't look like you did
it should be something like this

/home/yoursiteusername/public_html/forums

all the errors are becase the path is not set correctly in the options
Reply With Quote
  #91  
Old 08-17-2006, 03:22 PM
tEChniiQue tEChniiQue is offline
 
Join Date: Jan 2006
Location: Hawaii
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way I can set this up so that a random image from what my members have uploaded appears on my home page, vbAdvanced. Kinda like the thumbnails from Photoplog but with these (which will be used for signatures, avatars, and userbars).

Thanks in adavance!
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 04:43 AM.


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.06450 seconds
  • Memory Usage 2,334KB
  • 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
  • (8)bbcode_code
  • (4)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