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
  #1242  
Old 06-03-2008, 04:43 PM
jailer jailer is offline
 
Join Date: Jun 2006
Location: Manchester, UK
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Might have to delete them then - way too much space to be using on the disk. Thanks.
Reply With Quote
  #1243  
Old 06-03-2008, 06:11 PM
kether1 kether1 is offline
 
Join Date: Jun 2006
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kether1 View Post
I will give it a try and let you know! Thanks for the detailed instructions.

Regards,
Kether
Hi again,

No joy with the change, Warlord. I may have not done it correctly though. In the xml file, line 750 was a different bit of code. I adjusted line 749 the path to the image directory. Would you mind posting the exact change you were talking about, not the whole file, just the line of code so that I know if indeed I am editing the correct part.

Thanks,
Kether
Reply With Quote
  #1244  
Old 06-04-2008, 01:08 AM
fancominc fancominc is offline
 
Join Date: Oct 2007
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Warlord View Post
Sounds like you need to update your usergroup settings.

Admin Control Panel--->Usergroups--->Usergroup Manager

Once there, edit the usergroups you would like to be able to upload images.
Thanks, I got it. But somehow the watermark doesn't work. I got this error when uploading a file and I think this has something to do with the watermark?

Warning: imagejpeg() [function.imagejpeg]: Unable to open 'http://www.vietmot.net/forum//imagehosting/14845f8ca39164.jpg' for writing: No such file or directory in /includes/vbimghost_include.php on line 209
Reply With Quote
  #1245  
Old 06-04-2008, 01:09 AM
Warlord's Avatar
Warlord Warlord is offline
 
Join Date: Jan 2002
Location: TN, USA
Posts: 668
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know if this will work or not, it was just an idea I thought you may want to try. So keep in mind that this may not work. But if I were doing it this is just what I would try.


After looking at it further, what I told you to change in the XML file was wrong. I think this may work though.

In product-ao_vbimghost.xml find:

Code:
<defaultvalue>/home/user/public_html/forums</defaultvalue>
and change it to:

Code:
<defaultvalue>http://www.site2.com/vb/imagehosting</defaultvalue>
(Obviously change the text site2 to the domain name you want to use.)

Save the file and then import the product again. Ensure that you click the overwrite option.

Make sure you've also done this:

* Created the folder vb on site2
* Created the subfolder imagehosting inside the vb folder.
* CHMOD the folders to 777.

In your vbIMG hosting options in the Admin CP it should reflect the changes you made in the XML file pertaining to the image paths. Just double check that amke sure it does. Then scroll down and submit the page.

I hope this works for you.
Reply With Quote
  #1246  
Old 06-04-2008, 01:13 AM
Warlord's Avatar
Warlord Warlord is offline
 
Join Date: Jan 2002
Location: TN, USA
Posts: 668
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fancominc View Post
Thanks, I got it. But somehow the watermark doesn't work. I got this error when uploading a file and I think this has something to do with the watermark?

Warning: imagejpeg() [function.imagejpeg]: Unable to open 'http://www.vietmot.net/forum//imagehosting/14845f8ca39164.jpg' for writing: No such file or directory in /includes/vbimghost_include.php on line 209
Easy fix for this. Turn the watermark off. :-P

Just kidding. I think you just have one too many forward slashes in between forum and imagehosting.

I'm guessing you have a trailing slash in front of your image path in your Vbimghost Options. Remove it.
Reply With Quote
  #1247  
Old 06-04-2008, 01:13 PM
Warlord's Avatar
Warlord Warlord is offline
 
Join Date: Jan 2002
Location: TN, USA
Posts: 668
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So anyone able to help me with my problem?

I'm having a problem of my own....

I'm trying to use this as a means for my members to display their webcomics and I want the images in the film strip to appear in the order they were uploaded. (In actuality, I'd like the filmstrip to be on the profile page, but beggars can't be choosy.) In the film strip when I click on the first image uploaded, the rest are navigated to with the left arrow, but it should be the right arrow. Anyone know how I can fix this? (Example in the attachment here.)
Reply With Quote
  #1248  
Old 06-04-2008, 02:18 PM
romeo_cm romeo_cm is offline
 
Join Date: Nov 2007
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello.

I just install the VB Image Host to upload pictures to my own server. And it works perfectly, upload the images without any problem.

But the fact is that this mode has an option to add a watermark to images uploaded, you can add a text to a logo to the image that these rising. Well, the latter by more than probe nor I was not able to add a text to the image or upload a logo. That can not add the logo is worth it, I may be wrong on something, but that does not even let me add a text to the photo and wonder more.


If anyone knows which may be the fault him agradeceria much to help me.

We add a snapshot of the panel.
Reply With Quote
  #1249  
Old 06-04-2008, 06:20 PM
kether1 kether1 is offline
 
Join Date: Jun 2006
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Warlord View Post
I don't know if this will work or not, it was just an idea I thought you may want to try. So keep in mind that this may not work. But if I were doing it this is just what I would try.


After looking at it further, what I told you to change in the XML file was wrong. I think this may work though.

In product-ao_vbimghost.xml find:

Code:
<defaultvalue>/home/user/public_html/forums</defaultvalue>
and change it to:

Code:
<defaultvalue>http://www.site2.com/vb/imagehosting</defaultvalue>
(Obviously change the text site2 to the domain name you want to use.)

Save the file and then import the product again. Ensure that you click the overwrite option.

Make sure you've also done this:

* Created the folder vb on site2
* Created the subfolder imagehosting inside the vb folder.
* CHMOD the folders to 777.

In your vbIMG hosting options in the Admin CP it should reflect the changes you made in the XML file pertaining to the image paths. Just double check that amke sure it does. Then scroll down and submit the page.

I hope this works for you.
Brilliant! It worked perfectly! I only wish I could figure out the film strip issue for you. Thank you so much!! I am going to do some more tests on my test site and then install it on my live board.

Regards,
Kether
Reply With Quote
  #1250  
Old 06-05-2008, 10:14 AM
fancominc fancominc is offline
 
Join Date: Oct 2007
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Warlord View Post
Easy fix for this. Turn the watermark off. :-P

Just kidding. I think you just have one too many forward slashes in between forum and imagehosting.

I'm guessing you have a trailing slash in front of your image path in your Vbimghost Options. Remove it.
Yeah, I did turn it off and it worked fine (actually, even if I left it on, I was shown the error, but my image was still uploaded without the watermark). But even after I removed the slash following your guide, it still showed the error (less 1 slash):

http://www.vietmot.net/forum/imageho...5f8ca39164.jpg' for writing: No such file or directory in /includes/vbimghost_include.php on line 209

Thanks!
Reply With Quote
  #1251  
Old 06-07-2008, 09:56 AM
Xphusion Xphusion is offline
 
Join Date: Jun 2008
Location: Michigan
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this work with 3.7? anyone have it running
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 01:42 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.05862 seconds
  • Memory Usage 2,331KB
  • 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
  • (4)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
  • (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