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

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
  #782  
Old 12-07-2006, 11:43 AM
dlee dlee is offline
 
Join Date: Mar 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is driving me nuts. Am I stupid? I installed the whole thing just fine. I can't find the permission area to grant certain groups the right to use the add-on. Where is that located at? Thanks...
Reply With Quote
  #783  
Old 12-12-2006, 12:20 AM
RobVT RobVT is offline
 
Join Date: Sep 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ranma2k View Post
that's weird
did you set vbimghost options
and also did you set the permission for each user group

if that didn't work reimport the xml again allowing to overwrite the old setting

if still you don't have a luck PM me with access to the boards and i'll take a look
Did you ever solve this one Ranma2k? I'm having this issue for certain users. I grant image upload through the "Registered Users".

Only one member has reported the issue, but i'm sure there are others. That user's primary group is "Registered Users" but he's in another handful of groups that don't specifically get rights to vbImagehost.

Any assistance appreciated!
Reply With Quote
  #784  
Old 12-12-2006, 09:56 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just got a question, how do I improve the quality of the pictures I upload, because they are loosing alot of quality. is there anyway to set the quality per usergroup?

THAnks.
Reply With Quote
  #785  
Old 12-12-2006, 05:24 PM
dlee dlee is offline
 
Join Date: Mar 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind I figured it out with RobVT's last post. Thanks.
Reply With Quote
  #786  
Old 12-13-2006, 02:45 AM
BadRobot BadRobot is offline
 
Join Date: Aug 2006
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I go to upload the XML file I get this Error

---------------------------------------------------------------------

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'vbimghost last 5 images - profile', 'member_complete', '$rec = $vbulletin->db->query_read(\"\r\n SELECT imgid,imgfile,thumbname,imgwidth,imgheight,imgdate \r\n FROM \".TABLE_PREFIX.\"vbimghost\r\n WHERE userid=\'$userinfo[userid]\' and imgprivate=\'0\'\r\n order by imgdate DESC\r\n LIMIT 5\r\n \"); \r\n\r\n$count = $db->num_rows($rec);\r\n\r\n$rec2 = $vbulletin->db->query_read(\"\r\n SELECT count(*) mark\r\n FROM \".TABLE_PREFIX.\"vbimghost\r\n WHERE userid=\'$userinfo[userid]\' and imgprivate=\'0\'\r\n \"); \r\n$row2 = $vbulletin->db->fetch_array($rec2);\r\nif ($count){\r\n while ($row = $vbulletin->db->fetch_array($rec)) {\r\n $vbimghost[\'id\']=$row[\'imgid\'];\r\n $vbimghost[\'path\']=$vbulletin->options[\'bburl\'].\"/\".$vbulletin->options[\'imgdir\'].\"/\".$row[\'imgfile\'];\r\n $vbimghost[\'dispath\']=$vbulletin->options[\'bburl\'].\"/vbimghost.php?do=displayimg&imgid=\".$row[\'imgid\'];\r\n $vbimghost[\'width\']=$row[\'imgwidth\'];\r\n $vbimghost[\'height\']=$row[\'imgheight\'];\r\n $vbimghost[\'date\']=date(\'Y-m-d\', $row[\'imgdate\']);\r\n if (file_exists($vbulletin->options[\'imgdir\'].\"/\".$row[\'thumbname\'])){\r\n $vbimghost[\'thumbpath\']=$vbulletin->options[\'bburl\'].\"/\".$vbulletin->options[\'imgdir\'].\"/\".$row[\'thumbname\'];\r\n $vbimghost[\'thumbsize\']=0;\r\n }else{ \r\n $vbimghost[\'thumbpath\']=$vbimghost[\'path\'];\r\n if ($row[\'imgwidth\'] <= $vbulletin->options[\'imgthumw\'])\r\n $vbimghost[\'thumbsize\']=$row[\'imgwidth\'];\r\n else \r\n $vbimghost[\'thumbsize\']=$vbimghost[\'imgthumw\'];\r\n }\r\n eval(\'$mimghost .= \"\'.fetch_template(\'vbimghost_memberbit\') . \'\";\');\r\n $vbimghost[\'more\'] = \"<a href=\'vbimghost.php?do=viewimages&id=$userinfo[userid]\'>\" .construct_phrase($vbphrase[\'vbimghost_viewmore\'],$row2[\'mark\']).\"</a>\";\r\n } \r\n}else{\r\n $vbimghost[\'more\'] = \"\";\r\n eval(\'$mimghost =\"\'.fetch_template(\'vbimghost_memberbit_noimg\' ) . \'\";\');\r\n}\r\n\r\n$vbimghost[\'last5\'] = $mimghost;\r\nunset($row);\r\nunset($row2);', 'ao_vbimghost');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Tuesday, December 12th 2006 @ 11:28:14 PM
Script : http://www.XXXXXXXXXXX.com/vbulletin/admincp/plugin.php
Referrer : http://www.XXXXXXXXXXX.com/vbulletin...?do=productadd
IP Address : XXXXXXXXXX
Username : BadRobot
Classname : vb_database

----------------------------------------------------------------------

I am attempting to install version 1.4.1

Jon
Reply With Quote
  #787  
Old 12-15-2006, 05:29 PM
tbradham tbradham is offline
 
Join Date: Jun 2006
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

New release still coming?
Reply With Quote
  #788  
Old 12-20-2006, 12:18 PM
fxs158 fxs158 is offline
 
Join Date: May 2003
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dlee View Post
This is driving me nuts. Am I stupid? I installed the whole thing just fine. I can't find the permission area to grant certain groups the right to use the add-on. Where is that located at? Thanks...


Permissions are on the respective user groups at the bottom!
Reply With Quote
  #789  
Old 01-06-2007, 02:33 PM
Immortal_Shades's Avatar
Immortal_Shades Immortal_Shades is offline
 
Join Date: Oct 2006
Location: South Florida
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a problem, I uploaded an image but didnt chmod the upload directory so no image was uploaded but image info is added to the database and a huge red x. When I try to delete this image I get this error:

Quote:
Warning: unlink(imagehosting/1459ef48e668b5.jpg): No such file or directory in /vbimghost.php on line 896

Unable to Delete Image
How can I fix this?
It absolutely makes my gallery look like crao with a huge red x.

Also is there a way to incorporate this mod with this mod:
https://vborg.vbsupport.ru/showthrea...ighlight=music

That mod was originally done to work with VBGallery, so I am sure it may be just some mere codes needed to direct it to your gallery mod instead. It would be quiet helpful to alot of people and possibly be a valuable tool for those people who dont want to dish out the crazy prices of photopost.
Reply With Quote
  #790  
Old 01-15-2007, 07:05 PM
scorpsy scorpsy is offline
 
Join Date: Aug 2006
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi!

I have just moved server when I click on my image host I now receive the

Web page cannot be found http 404

Any ideas on how I can restore this great add on


Thanks in advance
Reply With Quote
  #791  
Old 01-16-2007, 03:42 PM
Menime Menime is offline
 
Join Date: Feb 2005
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way I can get the navigation bar link not to show to people who are not logged in?
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 11: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.11370 seconds
  • Memory Usage 2,320KB
  • 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
  • (3)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