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
  #752  
Old 04-14-2007, 11:59 AM
tekstylez tekstylez is offline
 
Join Date: Aug 2006
Location: Philly
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tekstylez View Post
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
Hate to be a pest, but could I get some help with this?
Reply With Quote
  #753  
Old 04-14-2007, 09:26 PM
Derekclarke's Avatar
Derekclarke Derekclarke is offline
 
Join Date: Dec 2005
Location: N.Devon
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi, is this a Straight forward upgrade for me?

Bearing in mind i gave you a Donation to change the name of this hack etc on my forum.

Thanks
Derek
Reply With Quote
  #754  
Old 04-14-2007, 10:01 PM
KevNJ KevNJ is offline
 
Join Date: Jan 2005
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Derekclarke View Post
hi, is this a Straight forward upgrade for me?

Bearing in mind i gave you a Donation to change the name of this hack etc on my forum.

Thanks
Derek



in your navbar find

PHP Code:
<td id="vbimghost" class="vbmenu_control"><a href="#vbimghost" >$vbphrase[vbimghost_title]</a>
<
script type="text/javascript"vbmenu_register("vbimghost");</script></td
where

PHP Code:
$vbphrase[vbimghost_title
replace with what you want so would be something like

"Your Website Image Hosting"

so it would then look something like this:

PHP Code:
<td id="vbimghost" class="vbmenu_control"><a href="#vbimghost" >Your Websites Image Hosting</a>
<
script type="text/javascript"vbmenu_register("vbimghost");</script></td
Reply With Quote
  #755  
Old 04-15-2007, 03:50 PM
kimmer kimmer is offline
 
Join Date: Apr 2007
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Love the mod! Works great, but was wondering if there is a mod to show a gallery icon next to peoples names in posts? Thanks again for the great mod!
Reply With Quote
  #756  
Old 04-15-2007, 06:06 PM
Skateboard Skateboard is offline
 
Join Date: Mar 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
Sam, you do not have permission to access this page. This could be due to one of several reasons:

   1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
   2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
I do not know how to set what user groups can upload. Can you help me?
Reply With Quote
  #757  
Old 04-15-2007, 08:21 PM
KevNJ KevNJ is offline
 
Join Date: Jan 2005
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Skateboard -

you your admincp > usergroups > usergroup manager > pick which usergroup you want to edit and edit the permissions for the vb image hosting options for each usergroup
Reply With Quote
  #758  
Old 04-16-2007, 12:43 PM
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Location: Little Elm, TX
Posts: 817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

updated without any issues!

thanks for the update!
Reply With Quote
  #759  
Old 04-17-2007, 01:54 PM
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Location: Little Elm, TX
Posts: 817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, now I'm running into an issue, but I'm not sure what it's from.

When trying to upload an image:

Code:
Warning: move_uploaded_file(/vbulletin/imagehosting/tmp_85764624db6ab9935) [function.move-uploaded-file]: failed to open stream: No such file or directory in /vbimghost.php on line 640

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpjcIXRe' to '/vbulletin/imagehosting/tmp_85764624db6ab9935' in /vbimghost.php on line 640

Warning: imagecreatefromjpeg(/vbulletin/imagehosting/85764624db6aba8d1.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 127

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 130

Warning: imagejpeg() [function.imagejpeg]: Unable to open '/vbulletin/imagehosting/85764624db6aba8d1.jpg' for writing in /includes/vbimghost_include.php on line 135

Warning: imagedestroy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 156

Warning: getimagesize(/vbulletin/imagehosting/85764624db6aba8d1.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /vbimghost.php on line 695

Warning: filesize() [function.filesize]: stat failed for /vbulletin/imagehosting/85764624db6aba8d1.jpg in /vbimghost.php on line 696
When trying to delete that uploaded file (because it's blank), I get this:

Code:
Warning: unlink(/vbulletin/imagehosting/85764624db3ba8dab.jpg) [function.unlink]: No such file or directory in /vbimghost.php on line 897
I have chmodded the upload directory (/vbulletin/imagehosting) to 777, but I still get this error.

Any ideas?
Reply With Quote
  #760  
Old 04-17-2007, 03:55 PM
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Location: Little Elm, TX
Posts: 817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Spank View Post
I managed to get rid of all of the errors except one by putting in the usual path to the forums, instead of the public_html path.
This fixed the issue with adding images.

However, if I try and delete an image that was uploaded while having the errors show, I still get the error:

Warning: unlink(/vbulletin/imagehosting/85764624db3ba8dab.jpg) [function.unlink]: No such file or directory in /vbimghost.php on line 897

But I can at least delete images that show up.

The images that I tried to upload while I was recieving the error messages just show up as red x's now.

How can I remove these?
Reply With Quote
  #761  
Old 04-18-2007, 01:01 AM
Red Matrix Red Matrix is offline
 
Join Date: Jun 2006
Location: Texas
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed.

I had a problem, since my skin's navbar didn't have the vbmenu_control text I was asked to search for. I'll tweak it later. Thanks for the mod.

dave

Quote:
Originally Posted by Skateboard View Post
I do not know how to set what user groups can upload. Can you help me?
Quote:
Originally Posted by KevNJ View Post
@Skateboard -

you your admincp > usergroups > usergroup manager > pick which usergroup you want to edit and edit the permissions for the vb image hosting options for each usergroup
You'll have to scroll all the way down to get to the vBimgHost options.

Quote:
Originally Posted by sublo View Post
OK. I found the AdminCP problem. I neglected to copy one includes/xml .php file. That's resolved. It now shows up on the left hand pane. Thanks for the help.
Quote:
Originally Posted by sublo View Post
I had missed 1 xml file cpnav_ao_vbimghost.xml > forums/include/xml. That was it!

I don't understand why people don't upload the entire contents of the /forum folder into their forums root as the instructions state. (domain.com/ or domain.com/forums). It would solve a lot of these "I forgot to upload 1 xml" or "I missed a file" because all the files are already in the directory structure they need to be in.

If you find that your FTP program fails a lot with entire folder uploads, consider FileZilla, or use your host's webFTP program.
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 12:37 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.09033 seconds
  • Memory Usage 2,340KB
  • 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
  • (5)bbcode_code
  • (3)bbcode_php
  • (7)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