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
  #1232  
Old 06-02-2008, 10:24 AM
fancominc fancominc is offline
 
Join Date: Oct 2007
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I want to translate some phrases (like VB Image Host in the navigation bar), how can I do that?
Reply With Quote
  #1233  
Old 06-02-2008, 10:26 AM
fancominc fancominc is offline
 
Join Date: Oct 2007
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and when I tried to upload an image, it returned an error saying that I don't have permission to use the feature (I did activate it and did set the CHMOD to 777)? help please!
Reply With Quote
  #1234  
Old 06-02-2008, 11:55 AM
kether1 kether1 is offline
 
Join Date: Jun 2006
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kether1 View Post
Here is an odd question: I would like to use this as the image gallery for my forum, but I would like to have the images that are hosted placed on my other URL on my server. For example if my forum address is www.example.com/forum - instead of having the 'imagehosting' folder inside /forum - I would like to put it on my other site - www.othersite.com/imagehosting - that is not a forum site at all (but would serve as the image hosting site.)

This way all the images would be stored at that site and have that URL instead of my forum's url.

Ok - why do I want to do this? There are a couple of reasons but the main one is that I want to be able to cache the images in the forum using the ImageCache hack. If the image comes from my forum url, then the ImageCache hack will not cache the image and if a user deletes an image from his album to make room for another,--- if that image was used in the forum, --- it then disappeares and leaves a blank or red x where the image used to be thus screwing up that particular thread in the forum.

I thought about just turning off the 'delete' permissions in this modification, but decided that would mean no one could ever change his or her gallery. - That would not be cool. My users have lots of photos and I am sure they would run out of space and start deleting to make room for more.

But I don't want to have missing images in the forum either, so I would like to have the image cached.

I like this hack very much, but cannot use it unless there is a way to store the images on my non-forum site.

Any idea how to do that?

Thanks,
K

BTW - (I installed this on my test forum and it works wonderfully in 3.7 - I sure hope to be able to install it on my real forum and click INSTALL here!)
Anyone have any thoughts about how to do this?

Thanks,
Kether
Reply With Quote
  #1235  
Old 06-02-2008, 12:32 PM
Warlord's Avatar
Warlord Warlord is offline
 
Join Date: Jan 2002
Location: TN, USA
Posts: 668
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure if it would work but I'd try this..

in the file product-ao_vbimghost.xml, go to line 750 and change the path to the complete url you want your pictures stored in on the other domain. So long as your database information is the same I think it should work. (You may have to set the final folder name in the vbIMG Options in the Admin panel.

You have a vb here: http://www.site1.com/vb
You want images hosted here: http://www.site2.com/vb/imagehosting
(On site2 create the folders vb (or forums or whatever your normal vbulletin folder is called) with a subfolder called imagehosting even if you don't have a vb on that site - and make sure you CHMOD it 777)

i.e. - if the path to where you want your images hosted is http://www.site2.com/vb/imagehosting I'd just try typing in http://www.site2.com (on line 750), then save the file and import and overwrite the product again (In the vbulletin cp).

Then type in the folder imagehosting in the admin control panel options for the image hosting in vbulletin. Just an idea, but it might work.
Reply With Quote
  #1236  
Old 06-02-2008, 10:58 PM
kether1 kether1 is offline
 
Join Date: Jun 2006
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Warlord View Post
Not sure if it would work but I'd try this..

in the file product-ao_vbimghost.xml, go to line 750 and change the path to the complete url you want your pictures stored in on the other domain. So long as your database information is the same I think it should work. (You may have to set the final folder name in the vbIMG Options in the Admin panel.

You have a vb here: http://www.site1.com/vb
You want images hosted here: http://www.site2.com/vb/imagehosting
(On site2 create the folders vb (or forums or whatever your normal vbulletin folder is called) with a subfolder called imagehosting even if you don't have a vb on that site - and make sure you CHMOD it 777)

i.e. - if the path to where you want your images hosted is http://www.site2.com/vb/imagehosting I'd just try typing in http://www.site2.com (on line 750), then save the file and import and overwrite the product again (In the vbulletin cp).

Then type in the folder imagehosting in the admin control panel options for the image hosting in vbulletin. Just an idea, but it might work.

I will give it a try and let you know! Thanks for the detailed instructions.

Regards,
Kether
Reply With Quote
  #1237  
Old 06-03-2008, 03:50 AM
ShiZoPhreN ShiZoPhreN is offline
 
Join Date: Apr 2008
Location: Germany/Hamburg
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any1 have a Idea, i can 5 Pictures in a Profiltab?.. Like "Gallery-Profiltab"

Thanx in Advance

Ah and Ranma2k, this Hack is great for "Imagehosting" for external links an the intregated "Album"-Feature i find, is for Private or non-external-links so pls, upgrade your great hack pls =D eg. with Profiltab-Preview or so.
Reply With Quote
  #1238  
Old 06-03-2008, 12:10 PM
fancominc fancominc is offline
 
Join Date: Oct 2007
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fancominc View Post
and when I tried to upload an image, it returned an error saying that I don't have permission to use the feature (I did activate it and did set the CHMOD to 777)? help please!
I'd appreciate very much if somebody could help me with this. I can't get it work properly.
Reply With Quote
  #1239  
Old 06-03-2008, 03:14 PM
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
I'd appreciate very much if somebody could help me with this. I can't get it work properly.

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

Can anyone tell me what the tmp files are in the imagehosting folder? I've not that many images but 180mb of temp files..?

Thanks.
Reply With Quote
  #1241  
Old 06-03-2008, 04:31 PM
Warlord's Avatar
Warlord Warlord is offline
 
Join Date: Jan 2002
Location: TN, USA
Posts: 668
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jailer View Post
Can anyone tell me what the tmp files are in the imagehosting folder? I've not that many images but 180mb of temp files..?

Thanks.
This is the only part of the code I could find anything about temp files in for the XML file...

Code:
		<plugin active="1" executionorder="5">
			<title>vbimghost Precach template</title>
			<hookname>member_start</hookname>
			<phpcode><![CDATA[$temp = array('vbimghost_memberbit','vbimghost_memberbit_noimg');
cache_templates($temp, $style['templatelist']);]]></phpcode>
		</plugin>
Looks like it's a plugin to cache a template for the member profile page maybe? I'm not sure what they are, but I don't think think they're really all that important, it didn't seem to affect anything when I deleted them from my folder.
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 07:38 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.04885 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
  • (1)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