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

 
 
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
  #732  
Old 09-18-2006, 01:20 AM
rezapci rezapci is offline
 
Join Date: May 2004
Location: U.S.K.C.
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have an error

somebody help me! when I am uploading images

here we go:

Quote:
Warning: imagecreatefromjpeg(): open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/1450e01b88eba3.jpg) is not within the allowed path(s): (/home/alshia/:/usr/lib/php:/usr/local/lib/php:/tmp) in /includes/vbimghost_include.php on line 176

Warning: imagecreatefromjpeg(/home/user/public_html/forums/imagehosting/1450e01b88eba3.jpg): failed to open stream: Operation not permitted 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: imagecreatetruecolor(): Invalid image dimensions in /includes/vbimghost_include.php on line 177

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

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

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

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

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

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

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

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

Warning: imagedestroy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 211
Problem solved, I had path to the forum... so I forget...

whomever having seam problem

go to > admincp>VB Image Host>Image Host Option>

The complete path to your forums directory (no trailing slash)
Unix ex. /home/user/public_html/forums
windwos ex. c:/apache/httdocs/forums
Reply With Quote
  #733  
Old 09-18-2006, 07:19 AM
Ranma2k Ranma2k is offline
 
Join Date: Dec 2001
Location: Earth
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rezapci
I have an error

somebody help me! when I am uploading images

here we go:



Problem solved, I had path to the forum... so I forget...

whomever having seam problem

go to > admincp>VB Image Host>Image Host Option>

The complete path to your forums directory (no trailing slash)
Unix ex. /home/user/public_html/forums
windwos ex. c:/apache/httdocs/forums
good that you figured it out
Reply With Quote
  #734  
Old 09-19-2006, 04:30 PM
rolandogomez's Avatar
rolandogomez rolandogomez is offline
 
Join Date: Jan 2006
Location: San Antonio
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm just trying to get you to speed it up (grin). Thanks, great hack, can't wait for the updates, rg sends!
Reply With Quote
  #735  
Old 09-20-2006, 01:51 PM
memomemo's Avatar
memomemo memomemo is offline
 
Join Date: Aug 2006
Location: Turkey
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello

This random image very big.


What is shring image widht and height?


at least page in http://www.forumsitesi.info/forum/upload/index.php



Quote:
Originally Posted by Ranma2k
here you go

just import the attached plugin


and add the following code in your forumhome template

Code:
    <table class="tborder" align="center" border="0" cellpadding="6" cellspacing="1" width="100%">
	<thead>
		<tr>
			<td class="tcat" colspan='$vbimghost[count]' align="center">$vbphrase[vbimghost_last5img] </td>
		</tr>
	</thead>
	<tbody>
		<tr align="center">
			$vbimghost[last5]
		</tr>
	</tbody>
	</table>
	<br />
Reply With Quote
  #736  
Old 09-20-2006, 02:00 PM
memomemo's Avatar
memomemo memomemo is offline
 
Join Date: Aug 2006
Location: Turkey
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I am find.

Plugin production vbimghost last 5 images forumhome edit
and
Find code : ['thumbsize']=0;

Change code : ['thumbsize']=50; 50 or 60 , 70 , 80

BUT This code how show on CMS portal index page?
Reply With Quote
  #737  
Old 09-20-2006, 03:32 PM
memomemo's Avatar
memomemo memomemo is offline
 
Join Date: Aug 2006
Location: Turkey
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No upload :

Error message : No file selected.

Please help


Quote:
Originally Posted by DementedMindz
I have been tryin to make this work on the new thread page so far i have it pretty well set up i just have to figure out why it keeps tellin me to enter in a title/subject hopefully tomorrow when i get up and aint so tired i can get it or if someone wants to try to get it here is what i have so far... i been testing it out in the new thread template and hopefully tomorrow i can get it to work i may even try ajax or something to show the url right on that page...

Code:
<fieldset class="fieldset"><legend>Upload Your Images</legend>
<form method="post" action="vbimghost.php" enctype="multipart/form-data"> 
<table border="0" cellspacing="0" cellpadding="0"> 
<tr> <td> <b>Image to upload:</b><br /> 
<input class="bginput" type="file" name="upfile$count" size="30" /><br />
<input type="hidden" name="do" value="uploadfile" /><br /> 
<input class="bginput" type="submit" value="$vbphrase[vbimghost_hostit]" />
<input class="bginput" type="reset"value="$vbphrase[vbimghost_reset]" /> 
</td> </tr> </table> </form>
</fieldset>
Reply With Quote
  #738  
Old 09-20-2006, 04:01 PM
memomemo's Avatar
memomemo memomemo is offline
 
Join Date: Aug 2006
Location: Turkey
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I am find.

upfile$count > upfile0$count

Cms portal and forumhome good working
demo : www.forumsitesi.info
------------------------------------
full code :


<fieldset class="fieldset"><legend>Resim Y?kleyin</legend>
<form method="post" action="upload/vbimghost.php" enctype="multipart/form-data">
<table border="0" cellspacing="0" cellpadding="0">
<tr> <td> <b>Resim Y?kle:</b><br />
<input class="bginput" type="file" name="upfile0$count" size="30" /><br />
<input type="hidden" name="do" value="uploadfile" /><br />
<input class="bginput" type="submit" value="$vbphrase[vbimghost_hostit]" />
<input class="bginput" type="reset"value="$vbphrase[vbimghost_reset]" />
</td> </tr> </table> </form>
</fieldset>
Reply With Quote
  #739  
Old 09-20-2006, 05:21 PM
Ranma2k Ranma2k is offline
 
Join Date: Dec 2001
Location: Earth
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by memomemo
Ok I am find.

upfile$count > upfile0$count

Cms portal and forumhome good working
demo : www.forumsitesi.info
------------------------------------
full code :


<fieldset class="fieldset"><legend>Resim Y?kleyin</legend>
<form method="post" action="upload/vbimghost.php" enctype="multipart/form-data">
<table border="0" cellspacing="0" cellpadding="0">
<tr> <td> <b>Resim Y?kle:</b><br />
<input class="bginput" type="file" name="upfile0$count" size="30" /><br />
<input type="hidden" name="do" value="uploadfile" /><br />
<input class="bginput" type="submit" value="$vbphrase[vbimghost_hostit]" />
<input class="bginput" type="reset"value="$vbphrase[vbimghost_reset]" />
</td> </tr> </table> </form>
</fieldset>
ok i don't know what your tlaking about
but in order to upload the first field must first be filled with the bath to the file ( click browse and select the file )
then click upload
it should work fine if you set the configuration correctly
Reply With Quote
  #740  
Old 09-20-2006, 07:01 PM
memomemo's Avatar
memomemo memomemo is offline
 
Join Date: Aug 2006
Location: Turkey
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes but
{ quote : ( click browse and select the file ) then click upload }
Dont work upload.
Error message : No File selected
I am upload form code upfile$count > change > upfile0$count ok good work.
Reply With Quote
  #741  
Old 09-20-2006, 11:56 PM
rezapci rezapci is offline
 
Join Date: May 2004
Location: U.S.K.C.
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this error mean I or some uploading images!

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


how could I fix this?
Reply With Quote
 


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 01:21 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05358 seconds
  • Memory Usage 2,328KB
  • 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
  • (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
  • (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