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

Quote:
Originally Posted by Tulsa View Post
My question is using the editor add-on, it's using the bbcode and url and I would prefer it to use just the bbcode. Also it's using the thumb nail pics and not the full size pics when posted from the add-on in the editor.
it's using the thumbnails
and when ever someone click on the thumbnail it will take it to the preview page
Reply With Quote
  #643  
Old 03-26-2007, 03:51 PM
Ranma2k Ranma2k is offline
 
Join Date: Dec 2001
Location: Earth
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blue6995 View Post
Iv'e made the changes to the in editor_smiliebox to use the Addon
"Adding quick upload and gallaries box in new thread / reply?." However, when I try and open an image, it appears on top of the Quick reply dialogue box and isn't integrated into the post

Any ideas on how I can fix this? Thanks
well you have to make sure the id for the editor is in the java code ..
Reply With Quote
  #644  
Old 03-26-2007, 03:53 PM
Ranma2k Ranma2k is offline
 
Join Date: Dec 2001
Location: Earth
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by imported_killer View Post
Hello Guys .. sorry for another question on that .. but reealy i want this mod :
I spend 5 days trying with this mod to work with no luck .
I read (43 page) in this thread .. but until now with no luck too .. so plz any one help .

all the images appear black after uploading and when try to delete any image i got this message :

Warning: unlink(imagehosting/14605b5119738b.jpg) [function.unlink]: No such file or directory in /vbimghost.php on line 896

btw : about that path : /home/user/public_html
any user i must put (my database user or vb user or ..)

thanks in advanced . and sorry for my english
No the directory path to your forum ..
the reason it won't work with you since it will look for the directory /home/user/public_html/forum which doesn't exists it will add the value in the DB but no file and it will appear as black ( yes it's a bug it shouldn't add it in the DB )

You must set the path correctly if you need help let me know via PM
Reply With Quote
  #645  
Old 03-26-2007, 04:28 PM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ranma2k View Post
it's using the thumbnails
and when ever someone click on the thumbnail it will take it to the preview page
Yes I understand it's using the thumbnails. I'd like to change that to where it just shows the pic without going to the preview page. I understand I can just delete the url to link to the preview page and the thum_ reference in the bbcode and achieve this but I would prefer to post it directly without having to manipulate it. Is it possible to change this and if so, where should I change it?
Reply With Quote
  #646  
Old 03-26-2007, 10:27 PM
Ranma2k Ranma2k is offline
 
Join Date: Dec 2001
Location: Earth
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tulsa View Post
Yes I understand it's using the thumbnails. I'd like to change that to where it just shows the pic without going to the preview page. I understand I can just delete the url to link to the preview page and the thum_ reference in the bbcode and achieve this but I would prefer to post it directly without having to manipulate it. Is it possible to change this and if so, where should I change it?
if you want to do that
go to the template vbimghost_popupload_pre
find
Code:
			//just thumb
			result = '';
			<if condition="!$vbimghost[thumbsize]">
					result_html = "<a href='" + dispath+ "' target='_blank'><img src='" + thumbp + "' border='0'></a>";
			<else />
					result_html = "<a href='" + dispath+ "' target='_blank'><img src='" + thumbp + "'  width ='" + thumbsize + "' border='0'></a>";
			</if>
and replace it with

Code:
			//just thumb
			result = '';
			result_html = "<img src='" + thumbp + "' border='0'>";

also find

Code:
<body onload="sendLink('$vbimghost[thumbpath]','$vbimghost[dispath]','$vbimghost[thumbsize]');">
and replace it with

Code:
	<body onload="sendLink('$vbimghost[path]','$vbimghost[dispath]','$vbimghost[thumbsize]');">

that should do it for you
Reply With Quote
  #647  
Old 03-26-2007, 11:58 PM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

haha, well that almost got it..

It worked for the "quick upload" pics but the "open" pics didn't display anything when clicked in the editor, it didn't act like it was doing anything at all. So I save the test post and I had ten of the same pics.. The click was working, just nothing to tell you it had worked. Also the "open" pics were still thumbnails.
Reply With Quote
  #648  
Old 03-27-2007, 06:32 AM
Ranma2k Ranma2k is offline
 
Join Date: Dec 2001
Location: Earth
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tulsa View Post
haha, well that almost got it..

It worked for the "quick upload" pics but the "open" pics didn't display anything when clicked in the editor, it didn't act like it was doing anything at all. So I save the test post and I had ten of the same pics.. The click was working, just nothing to tell you it had worked. Also the "open" pics were still thumbnails.
ok if you want that also

replace the content of the vbimghost_imgbits_poprow template with this

Code:
<if condition="$counter==$vbimghost['imgperrow']">
   </tr>
   <tr>
</if>
    <td width="25%" align="center" valign="middle" class="alt1">
        <if condition="$thump">
          <a href="javascript:void(0)" onclick="sendLink('$vbimghost[path]','$vbimghost[dispath]', '$vbimghost[imgwidth]')">
		   <img <if condition="$vbimghost[thumbsize]"> width="$vbimghost[thumbsize]"</if> src="$vbimghost[thumbpath]" border="0"></a>
        <else />
            &nbsp;
         </if>
    </td>
Reply With Quote
  #649  
Old 03-27-2007, 08:10 PM
whaase whaase is offline
 
Join Date: May 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just read all 43 pages.. Can't find the answer to my problem.. I installed it and things seemed ok, but, I don't have any option in the user groups for editing permissions for VB Image Hosting? I've looked everywhere. I also notice that in my AdminCP I dont have the:

Admincp -> VB Img Host

Mine is in the:

admincp -> vbulletin Option -> VB Image Hosting

I'm running VB 3.64

Thanks
Reply With Quote
  #650  
Old 03-27-2007, 08:54 PM
Ranma2k Ranma2k is offline
 
Join Date: Dec 2001
Location: Earth
Posts: 586
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by whaase View Post
I just read all 43 pages.. Can't find the answer to my problem.. I installed it and things seemed ok, but, I don't have any option in the user groups for editing permissions for VB Image Hosting? I've looked everywhere. I also notice that in my AdminCP I dont have the:

Admincp -> VB Img Host

Mine is in the:

admincp -> vbulletin Option -> VB Image Hosting

I'm running VB 3.64

Thanks
Did you upload all the files ?

seems you didn't upload the xmls in the include/xml directory
Reply With Quote
  #651  
Old 03-27-2007, 09:00 PM
whaase whaase is offline
 
Join Date: May 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't I feel like a idiot Thank you!
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:23 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.08126 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
  • (5)bbcode_code
  • (7)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