Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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
  #162  
Old 03-28-2006, 08:24 AM
Ruler68jg Ruler68jg is offline
 
Join Date: Mar 2006
Location: Denmark
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello !

Thanks for the tip, I did find the VB ImageHosting permission in usergroup Manager but as I changed the settings I got this error !!!

There seems to have been a problem with the MY FORUM database.
Please try again by clicking the Refresh button in your web browser.

An E-Mail has been dispatched to our Technical Staff, whom you can also contact if the problem persists.

We apologise for any inconvenience.

Database error in vBulletin 3.5.4:

Invalid SQL:
UPDATE Languageusergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Registered Users',
`description` = '',
`usertitle` = '',
`opentag` = '',
`closetag` = '',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '782591',
`attachlimit` = '100000',
`pmquota` = '50',
`pmpermissions` = '3',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '0',
`adminpermissions` = '0',
`genericpermissions` = '203953859',
`genericoptions` = '30',
`profilepicmaxwidth` = '65535',
`profilepicmaxheight` = '10000',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '110',
`avatarmaxheight` = '110',
`avatarmaxsize` = '30000',
`profileviewpermissions` = '0',
`vbimghost` = '3',
`vbimghost_files` = '50'
WHERE usergroupid=2;

MySQL Error : Unknown column 'profileviewpermissions' in 'field list'
Error Number : 1054
Date : Tuesday, March 28th 2006 @ 12:16:55 PM
Script : http://www.mydomain.com/myforum/admincp/usergroup.php
Referrer :
IP Address : 000.000.000.000
Username : Ruler
Classname : vb_database

any suggestions please.

kind regards

Ruler
Reply With Quote
  #163  
Old 03-28-2006, 08:40 AM
Ranma2k Ranma2k is offline
 
Join Date: Dec 2001
Location: Earth
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ruler68jg
Hello !

Thanks for the tip, I did find the VB ImageHosting permission in usergroup Manager but as I changed the settings I got this error !!!

There seems to have been a problem with the MY FORUM database.
Please try again by clicking the Refresh button in your web browser.

An E-Mail has been dispatched to our Technical Staff, whom you can also contact if the problem persists.

We apologise for any inconvenience.

Database error in vBulletin 3.5.4:

Invalid SQL:
UPDATE Languageusergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Registered Users',
`description` = '',
`usertitle` = '',
`opentag` = '',
`closetag` = '',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '782591',
`attachlimit` = '100000',
`pmquota` = '50',
`pmpermissions` = '3',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '0',
`adminpermissions` = '0',
`genericpermissions` = '203953859',
`genericoptions` = '30',
`profilepicmaxwidth` = '65535',
`profilepicmaxheight` = '10000',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '110',
`avatarmaxheight` = '110',
`avatarmaxsize` = '30000',
`profileviewpermissions` = '0',
`vbimghost` = '3',
`vbimghost_files` = '50'
WHERE usergroupid=2;

MySQL Error : Unknown column 'profileviewpermissions' in 'field list'
Error Number : 1054
Date : Tuesday, March 28th 2006 @ 12:16:55 PM
Script : http://www.mydomain.com/myforum/admincp/usergroup.php
Referrer :
IP Address : 000.000.000.000
Username : Ruler
Classname : vb_database

any suggestions please.

kind regards

Ruler
ok that is not because of my hack

do you have any hack that is releatedto profile view permissions ?!

if you do .. did you remove the xml that it uses ?!
Reply With Quote
  #164  
Old 03-28-2006, 11:25 AM
Tinbendr Tinbendr is offline
 
Join Date: Jan 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ranma2k
you didn't upload the files in the zip file you still using the old one from vb 1.0.1
DOH! Guilty as charged!

Lesson of the day: Always delete old version before installing new. (Or at least move somewhere else!)
Reply With Quote
  #165  
Old 03-28-2006, 11:34 AM
Tinbendr Tinbendr is offline
 
Join Date: Jan 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wish list:

I've been looking around for a way to assign BBcode to a locally hosting image, so that the images could be named or numbered. This way a user could post their favorite image without looking up the image, copy the link and go back to the message.

I'm thinking the syntax would be something like:
Code:
 or
I realize this may be beyond the scope of this project, but just thought I'd throw it out there.
Reply With Quote
  #166  
Old 03-28-2006, 12:47 PM
Tinbendr Tinbendr is offline
 
Join Date: Jan 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When animated gifs are uploaded, the image is small in the left upper corner, with large black box several times larger behind it.
Reply With Quote
  #167  
Old 03-28-2006, 01:56 PM
Ranma2k Ranma2k is offline
 
Join Date: Dec 2001
Location: Earth
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tinbendr
Wish list:

I've been looking around for a way to assign BBcode to a locally hosting image, so that the images could be named or numbered. This way a user could post their favorite image without looking up the image, copy the link and go back to the message.

I'm thinking the syntax would be something like:
Code:
[img][userid.welcome][/img] or
[img][gfx1][/img]
I realize this may be beyond the scope of this project, but just thought I'd throw it out there.
good idea.
i'll try to get it in the project

thanks for reporting that
i'm still improving the thumbnail function since it's just a simple one i'm trying to use the one in VB
Reply With Quote
  #168  
Old 03-29-2006, 05:10 PM
baradaarab baradaarab is offline
 
Join Date: May 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Error I'm getting when trying to view images:

Code:
Warning: getimagesize(imagehosting/thum_143f36255d9911.gif): failed to open stream: No such file or directory in /vbimghost.php on line 299

Warning: getimagesize(imagehosting/thum_143f3631d900c2.gif): failed to open stream: No such file or directory in /vbimghost.php on line 299

Warning: getimagesize(imagehosting/thum_143f3632a2c5c4.gif): failed to open stream: No such file or directory in /vbimghost.php on line 299

Warning: getimagesize(imagehosting/thum_143f3633d1dca5.gif): failed to open stream: No such file or directory in /vbimghost.php on line 299

Warning: getimagesize(imagehosting/thum_143f364451b3a9.gif): failed to open stream: No such file or directory in /vbimghost.php on line 299
Any reason why this would be happening? I'm assuming it's because there are no thumbnails available for the images (I had a previous version installed with many images uploaded). However, I have "Enable Thumbnail" in the vB image hosting options turned to off...

EDIT: Nevermind. I fixed it. I forgot that I had edited some templates.

MGM out
Reply With Quote
  #169  
Old 03-29-2006, 07:07 PM
Ranma2k Ranma2k is offline
 
Join Date: Dec 2001
Location: Earth
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by baradaarab
Error I'm getting when trying to view images:

Code:
Warning: getimagesize(imagehosting/thum_143f36255d9911.gif): failed to open stream: No such file or directory in /vbimghost.php on line 299

Warning: getimagesize(imagehosting/thum_143f3631d900c2.gif): failed to open stream: No such file or directory in /vbimghost.php on line 299

Warning: getimagesize(imagehosting/thum_143f3632a2c5c4.gif): failed to open stream: No such file or directory in /vbimghost.php on line 299

Warning: getimagesize(imagehosting/thum_143f3633d1dca5.gif): failed to open stream: No such file or directory in /vbimghost.php on line 299

Warning: getimagesize(imagehosting/thum_143f364451b3a9.gif): failed to open stream: No such file or directory in /vbimghost.php on line 299
Any reason why this would be happening? I'm assuming it's because there are no thumbnails available for the images (I had a previous version installed with many images uploaded). However, I have "Enable Thumbnail" in the vB image hosting options turned to off...

EDIT: Nevermind. I fixed it. I forgot that I had edited some templates.

MGM out
good to know that it's still working fine ^_^;
Reply With Quote
  #170  
Old 03-31-2006, 12:54 PM
shadowdancer36 shadowdancer36 is offline
 
Join Date: Nov 2005
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If i didn't have photopost i would grab this. I do have one suggestion. Add the ability to water mark the bottom of the image with a url. That way the host can advertise.
Reply With Quote
  #171  
Old 03-31-2006, 01:46 PM
CMF CMF is offline
 
Join Date: Mar 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AWESOME! works like a charm from the word GO!

*clicks install*
Reply With Quote
Reply

Thread Tools

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 03:14 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.17115 seconds
  • Memory Usage 2,324KB
  • 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
  • (4)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