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
  #742  
Old 04-12-2007, 11:16 PM
sublo sublo is offline
 
Join Date: Aug 2006
Location: NYC
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

New issue.

What's up with this error?
Uploaded file is not an image
I'm trying to upload known .jpg's well below my limits of 3008x2000 and 3MB. 2200x1800 1.8MB files are uploaded with no problem. Does this having something to do with fields of the vmimghost table in MySQL? Should I attempt to adjust them?

Thanks.


:erm:
Reply With Quote
  #743  
Old 04-13-2007, 08:42 AM
Ranma2k Ranma2k is offline
 
Join Date: Dec 2001
Location: Earth
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sublo View Post
New issue.

What's up with this error?
Uploaded file is not an image
I'm trying to upload known .jpg's well below my limits of 3008x2000 and 3MB. 2200x1800 1.8MB files are uploaded with no problem. Does this having something to do with fields of the vmimghost table in MySQL? Should I attempt to adjust them?



Thanks.


:erm:
what type of img is that ?
if it's a text file with the extension .jpg it won't work .

also note that you can't bypass the php.ini file setting

so if you set the size limit to 5 mb but in php.ini setting it's set to 2 mb you can only upload 2 mb files
Reply With Quote
  #744  
Old 04-13-2007, 08:43 AM
Ranma2k Ranma2k is offline
 
Join Date: Dec 2001
Location: Earth
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sc0rian View Post
Ranma2k..

I just upgraded my forum to the new version...

i see you've added a new field into the SQL...

I have a problem now.. I cant import the old sql back in...



of course coz its all wrong now..

what can i do with all my old sql data?





in other words, how do i get the old sql code to work with new version
restore the old table first then install this ver
Reply With Quote
  #745  
Old 04-13-2007, 12:26 PM
rburns's Avatar
rburns rburns is offline
 
Join Date: Mar 2002
Location: Tonbridge, Kent
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ranma2k,

Is there a way to set all usergroups to be allowed to upload images?

I have about 50 usergroups and it would be quicker for me to dissallow the 5 or so I don't want to have it rather than manually go through allowing 50.
Reply With Quote
  #746  
Old 04-13-2007, 03:24 PM
sublo sublo is offline
 
Join Date: Aug 2006
Location: NYC
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ranma2k View Post
what type of img is that ?
if it's a text file with the extension .jpg it won't work .

also note that you can't bypass the php.ini file setting

so if you set the size limit to 5 mb but in php.ini setting it's set to 2 mb you can only upload 2 mb files
Whoo hoo! That did it! seting max upload size to 3M and restarting Apache fixed it!

Wasn't a text file. These are actual JPG photos.

Thanks.

Reply With Quote
  #747  
Old 04-13-2007, 03:27 PM
hinch's Avatar
hinch hinch is offline
 
Join Date: May 2003
Location: UK
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ranma2k View Post
what php ver your using .. ?
PHP 4.4.4-8+etch1

(debian)

strange thing is it still works just perfectly it just throws up those errors for seemingly no reason
Reply With Quote
  #748  
Old 04-13-2007, 03:32 PM
sublo sublo is offline
 
Join Date: Aug 2006
Location: NYC
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod is great and all but one thing I would really like is the ability to toggle the image properties on and off. For example: BB Code URL, BB Code Image and HTML code. I'd like not to display those.
Reply With Quote
  #749  
Old 04-13-2007, 07:21 PM
tekstylez tekstylez is offline
 
Join Date: Aug 2006
Location: Philly
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod worked great untill i tried to use it on another forum.

When rebuilding thumbnails i get the following error:

Code:
Warning: getimagesize(): open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/1461fe104d7168.jpg) is not within the allowed path(s): (/home/ishson1:/usr/lib/php:/usr/local/lib/php:/tmp) in /admincp/vbimghost.php on line 279

Warning: getimagesize(/home/user/public_html/forums/imagehosting/1461fe104d7168.jpg): failed to open stream: Operation not permitted in /admincp/vbimghost.php on line 279
And when using the quick upload in the reply box, The bbcode displays but the actual photo does not..

I am also having a problem with the watermark not showing

Code:
Warning: getimagesize(): open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/watermark.png) is not within the allowed path(s): (/home/ishson1:/usr/lib/php:/usr/local/lib/php:/tmp) in /includes/vbimghost_include.php on line 221

Warning: getimagesize(/home/user/public_html/forums/imagehosting/watermark.png): failed to open stream: Operation not permitted in /includes/vbimghost_include.php on line 221
Reply With Quote
  #750  
Old 04-14-2007, 07:18 AM
dizzy100 dizzy100 is offline
 
Join Date: Mar 2006
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sublo View Post
This mod is great and all but one thing I would really like is the ability to toggle the image properties on and off. For example: BB Code URL, BB Code Image and HTML code. I'd like not to display those.
Just edit them out of the template.

Check out vbimghost_imgbits in the VB IMAGE HOSTING Templates

find and remove


HTML Code:
             <tr> <td class="alt1">$vbphrase[vbimghost_imgdlink]</td>
                            <td class="alt2"><input type="text" value="[img]$vbimghost[path][/img]"></td>
                        </tr>
                        <tr>
                            <td class="alt1">$vbphrase[vbimghost_imgflink]</td>
                            <td class="alt2"><input type="text" value="[url='$vbimghost[dispath]'][img]$vbimghost[thumbpath][/img][/url]"></td>
                        </tr>
                        <tr>
                            <td class="alt1">$vbphrase[vbimghost_imglink]</td>
                            <td class="alt2"><input type="text" value="<a href='$vbimghost[dispath]' border=0><img src='$vbimghost[thumbpath]'></a>"></td>
                        </tr>
Reply With Quote
  #751  
Old 04-14-2007, 11:52 AM
PondPikey PondPikey is offline
 
Join Date: Mar 2006
Location: England
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Ranma, Long time lurker. Great fan of the mod. Any Idea when your new super dooper version wil be available? Im itching to get my hands on it!
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 09:27 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.04888 seconds
  • Memory Usage 2,332KB
  • 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
  • (2)bbcode_code
  • (1)bbcode_html
  • (5)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
  • (4)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