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
  #312  
Old 10-05-2006, 09:39 PM
Ranma2k Ranma2k is offline
 
Join Date: Dec 2001
Location: Earth
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rezapci
I have problem, when I upload a pic, it shows this >


Warning: getimagesize(/home/alshia/public_html/vb/imagehosting/watermark.png): failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 222




Redirecting...



image uploaded

Click here if your browser does not automatically redirect you.

what should I do?
if you are using watermark
put the file in the imagehosting direcotry and se it in the options
if not just disable it ..
Reply With Quote
  #313  
Old 10-06-2006, 10:16 PM
fly fly is offline
 
Join Date: Oct 2003
Posts: 1,215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any way to make this thing use relative paths?

edit: Figured it out. If anyone wants to know, open your vbimghost.php file and delete all occurance of this:
PHP Code:
$vbulletin->options['bburl']. 
Reply With Quote
  #314  
Old 10-09-2006, 08:47 PM
Distance's Avatar
Distance Distance is offline
 
Join Date: Jul 2006
Location: Boston, Uk
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/mysite/public_html/includes/vbimghost_include.php on line 127

Trying to upload jpeg?
Reply With Quote
  #315  
Old 10-10-2006, 12:13 AM
tim99 tim99 is offline
 
Join Date: Jan 2006
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a really nice app, thanks very much for sharing.

One suggestion would be to have an optional tile view of the user list (/vbimghost.php?do=userlist) AND that a click takes you to the user's profile.

This would make it a lot like myspace and other social networking sites.

Here's an example of what I mean.

In my 'vision' it could (optionally) have one image per user that the user could select as their default display image.

This isn't a very clean view but it gets the point across. This seems to allow as many as a user has which is good for some systems but I am after something more user centric in this view. In other words optionally one photo per user.

And again, thanks for sharing your work.

peace . . .
Reply With Quote
  #316  
Old 10-10-2006, 07:09 AM
h_kakashi h_kakashi is offline
 
Join Date: Oct 2004
Location: London
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice hack
I've installed it on a very large anime forum and I am sure the users will love it.

2 bugs though.

First up I don't have any watermarks or anything.
The images upload fine and I can link to them / see them etc..

The first problem is when I modified the thumbnail dimensions, then I went to 'rebuild thumbnails' I get the error :

Code:
Warning: getimagesize(C:/Webistes/narutomania/fourms/imagehosting/1452b4f2e6a820.gif) [function.getimagesize]: failed to open stream: No such file or directory in \admincp\vbimghost.php on line 279
I've double checked the fact that the imagehosting directory and the files within are all 777.

The second problem is when you go to post a new thread or reply to a thread and click on 'open' to view your already uploaded images you get the pop up. However that's about it. If you click on any of the images they aren't inserted into your post or you aren't taken to another page. Nothing happens except if there are gif's playing they freeze.

Anyways great work
Reply With Quote
  #317  
Old 10-10-2006, 07:56 AM
suzanitta suzanitta is offline
 
Join Date: Aug 2006
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very useful mod!

I would like to add a link in user's profile saying how many images the user has posted with a link to his pictures. Is it possible?
Reply With Quote
  #318  
Old 10-10-2006, 09:16 AM
Ranma2k Ranma2k is offline
 
Join Date: Dec 2001
Location: Earth
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Distance
Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/mysite/public_html/includes/vbimghost_include.php on line 127


Trying to upload jpeg?
do you have GD installed ?!
Reply With Quote
  #319  
Old 10-10-2006, 09:17 AM
Ranma2k Ranma2k is offline
 
Join Date: Dec 2001
Location: Earth
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by suzanitta
Very useful mod!

I would like to add a link in user's profile saying how many images the user has posted with a link to his pictures. Is it possible?
check the addons in the in the install.html file
Reply With Quote
  #320  
Old 10-10-2006, 09:27 AM
Ranma2k Ranma2k is offline
 
Join Date: Dec 2001
Location: Earth
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by h_kakashi
Very nice hack
I've installed it on a very large anime forum and I am sure the users will love it.

2 bugs though.

First up I don't have any watermarks or anything.
The images upload fine and I can link to them / see them etc..

The first problem is when I modified the thumbnail dimensions, then I went to 'rebuild thumbnails' I get the error :

Code:
Warning: getimagesize(C:/Webistes/narutomania/fourms/imagehosting/1452b4f2e6a820.gif) [function.getimagesize]: failed to open stream: No such file or directory in \admincp\vbimghost.php on line 279
I've double checked the fact that the imagehosting directory and the files within are all 777.

The second problem is when you go to post a new thread or reply to a thread and click on 'open' to view your already uploaded images you get the pop up. However that's about it. If you click on any of the images they aren't inserted into your post or you aren't taken to another page. Nothing happens except if there are gif's playing they freeze.

Anyways great work
Hi there ..
well i did test it on windows enviroment and it worked fine .. only thing that can do that error is permissions ( security permission ) you have to give the webserver the full permission on that directory

as for the second error it's strange it works perfictly in windows and unix
what browser are you using ?!
Reply With Quote
  #321  
Old 10-10-2006, 10:59 AM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great one !
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:59 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.05349 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
  • (2)bbcode_code
  • (1)bbcode_php
  • (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
  • (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