vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - Vbimghost ver 2.0.0 (https://vborg.vbsupport.ru/showthread.php?t=237158)

Ranma2k 02-28-2010 10:00 PM

Vbimghost ver 2.0.0
 
1 Attachment(s)
VB Image Hosting Version 2.0.0

This is the port for my hack to vb 4.0.x You can see the old ver of vbimghost 1.0.1

Note: I don't not recommend using it as a new hack, since Albums in the vbulletin does the same thing even better. this is mainly to people who used vbimghost on previous version and want to use it on vb 4.0.x

The port is just modification to the the template ( Not fully CSS ) and supporting the new plug ins .

A converter for vbimghost to vbulletin albums is under development. and will be included here when it's done.
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 min max.

Update instruction :
Just replace the old files with the new ones and import the product file don't forget to select overwrite.

Update vbimghost options Note: [best thumb size width * hight = 100 * 200]


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

URGENT ISSUES:
you may contact me on e-mail : waiel[at]waieleid.com
replace [at] with @ ok? -_-

Snug 03-01-2010 05:26 AM

does it allow bulk uploading?

screenshots?

tafreeh 03-01-2010 05:45 AM

wat about watermarking ?

sodagod 03-01-2010 08:46 AM

Demo: Removed by Staff*

roadrunna 03-01-2010 10:44 AM

Thanks for porting this one over :D

Si

Big-Pete 03-01-2010 11:06 AM

Quote:

Originally Posted by tafreeh (Post 1994267)
wat about watermarking ?

Watermarking is still there..

Thanks for porting this over... :)

sodagod 03-01-2010 01:46 PM

this is brilliant! :D my sites own photobucket :p Thanks

Mohamed Ashraf 03-01-2010 01:49 PM

i edited vbimghost_displayimg template to this

HTML Code:

<script type="text/javascript">
function SelectAll(id)
{
    document.getElementById(id).focus();
    document.getElementById(id).select();
}
</script>

<br />
<br />
<div id="picturecontainer">       
<div id="picturelink"><img alt="{vb:raw vbimghost.imgname}" src="{vb:raw vbimghost.path}" title="{vb:raw vbimghost.imgname}"></div>
<br /><br />
<dl id="picturestats" class="stats">

<table border="2" width="70%" bordercolor="#008000" cellpadding="2">
        <tr>
                <td width="200"><dt>{vb:phrase vbimghost_filesize}</dt></td>
                <td><dd>{vb:raw vbimghost.filesize}</dd></td>
        </tr>
        <tr>
                <td width="200"><dt>{vb:phrase vbimghost_imgdime}</dt></td>
                <td ><dd>{vb:raw vbimghost.width} X {vb:raw vbimghost.height}</dd></td>
        </tr>
        <tr>
                <td width="200"><dt>{vb:phrase vbimghost_update}</dt></td>
                <td><dd>{vb:raw vbimghost.date}</dd></td>
        </tr>
        <tr>
                <td width="200"><dt>{vb:phrase vbimghost_imgdlink}</dt></td>
                <td><dd>
                <input id="imgdlink" onClick="SelectAll('imgdlink');" type="text" value="[img]{vb:raw vbimghost.path}[/img]" size="70" /></dd></td>
        </tr>
        <tr>
                <td width="200"><dt>{vb:phrase vbimghost_imgflink}</dt></td>
                <td><dd><input id="imgflink" onClick="SelectAll('imgflink');" type="text" size="70" value="[url='{vb:raw vbimghost.dispath}'][img]{vb:raw vbimghost.thumbpath}[/img][/url]" /></dd></td>
        </tr>
        <tr>
                <td width="200"><dt>{vb:phrase vbimghost_imglink}</dt></td>
                <td><dd><input id="imglink" onClick="SelectAll('imglink');" type="text" size="70" value="<a href='{vb:raw vbimghost.dispath}' border=0><img src='{vb:raw vbimghost.thumbpath}'></a>" /></dd></td>
        </tr>
        <tr>
                <td width="200"><dt>{vb:phrase vbimghost_perm} </dt></td>
                <td>{vb:raw vbimghost.private}</td>
        </tr>
</table>

 </div>

good job
Regards

dodgechargerfan 03-01-2010 02:39 PM

Thanks very much for this! My imagehosting has been sitting in limbo, waiting for this update.

Everything is working fine except for rebuilding thumbnails. I get this error:

Code:

Warning: getimagesize(/home/user/public_html/forums/imagehosting/3440cd97e04ed3.jpg) [function.getimagesize]: failed to open stream: No such file or directory in [path]/*******/vbimghost.php on line 280
Note that the ******* is there to hide my renamed admincp.

As for the converter to move to albums, that is an interesting thought.
If I can suggest that the default privacy setting for pictures be private.
The reason - for me- is that I use another mod that puts random album pictures on FORUMHOME. That's not something we'd necessarily want to happen with the images in our imagehosting app.
We tend to use imagehosting to host files that we then link in to specific posts rather than for a browsable album sort of thing.

Thanks again!!

dodgechargerfan 03-01-2010 03:21 PM

GACK!
Never mind. Just noticed that the path changed to the default.

Since I've had this mod installed for some time, I didn't expect that to get changed, so I forgot to check it...

Sorry. :P


All times are GMT. The time now is 04:47 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.01073 seconds
  • Memory Usage 1,759KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete