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

hiker 03-01-2010 07:34 PM

I was looking for a way to be able to hotlink some of my images to other forums, doing a little campaigning. In phpbb I could get the .jpg address of my attachments, but in vbulletin I can't.

Rather, it gives me the attachment ID, and a lot of forum software can't interpret this.

Would this addon help my users obtain the .jpg / .gif / .png...... url addresses from their attachments, such as in an easy right click and "copy image location"?

Thanks.

Switch3130 03-01-2010 09:24 PM

Very nice work with this...this actually was the last mod I needed upgraded so i appreciate it.

hilfe-forum 03-01-2010 09:32 PM

Must uninstall this useful Adon..
This ad a new Tab in Navbar thats soooo bad to much Adons make this. :rolleyes:
So you have 123 Tabs :eek:

Mohamed Ashraf 03-01-2010 09:37 PM

Quote:

Originally Posted by bogley (Post 1994689)
I was looking for a way to be able to hotlink some of my images to other forums, doing a little campaigning. In phpbb I could get the .jpg address of my attachments, but in vbulletin I can't.

Rather, it gives me the attachment ID, and a lot of forum software can't interpret this.

Would this addon help my users obtain the .jpg / .gif / .png...... url addresses from their attachments, such as in an easy right click and "copy image location"?

Thanks.

yes it gives you an images url not as attachment

roadrunna 03-02-2010 02:28 PM

Has anybody else had a problem with this and comments in the CMS system ?

It seems that when a comment is added to an article with the Image Hosting product turned on it white screens.

Turning off the plugins one by one shows it to be a conflict on the "My Photo post bit" plugin with the "showthread_postbit_create" hook.

Any ideas ?

alkrida 03-02-2010 07:47 PM

it did not work with me in 402

and one work with ?

Manoel J?nior 03-02-2010 08:14 PM

Quote:

Originally Posted by alkrida (Post 1995480)
it did not work with me in 402

and one work with ?

What error?

Manoel J?nior 03-04-2010 12:38 AM

Could have a checkbox for the User to the deletion of multiple photos.

And..

And put these hacks:

https://vborg.vbsupport.ru/showthread.php?t=228618
https://vborg.vbsupport.ru/showthrea...ighlight=album

Possible?

mhackl 03-06-2010 05:29 AM

Quote:

Albums in the vbulletin does the same thing even better.
I disagree

cindy helmond 03-07-2010 09:50 AM

how to remove the tab in the navbar ?
thx

sinikuk 03-07-2010 01:34 PM

Quote:

Originally Posted by cindy helmond (Post 1998986)
how to remove the tab in the navbar ?
thx

vbimghost_navbits... worked for me.

tweakmonkey 03-10-2010 06:23 PM

Thanks for still supporting this and huge thanks for the recent update. I had some warning errors on my template which may explain why, but I don't have the image hosting on the Quick Reply feature yet. I will look into it later this evening when I have time.

Again, this update is very much appreciated, my forum users will be extremely pleased.

reifegerste 03-13-2010 08:54 AM

Hi,

i get this error message if i activate the mod and go to the CMS Comments.

Fatal error: Call to a member function query_read() on a non-object in /var/www/web1/html/vbulletin/packages/vbcms/comments.php(693) : eval()'d code on line 15

Can anyone help me with this problem?

ALBCODERS 03-13-2010 11:39 AM

Quote:

Originally Posted by cindy helmond (Post 1998986)
how to remove the tab in the navbar ?
thx

Same here!

meonet 03-17-2010 08:21 AM

Some update here?

WoodPusher 03-17-2010 02:24 PM

Been waiting for this, upgraded mad easily as well. Thank you!

tweakmonkey 03-24-2010 04:02 AM

I have installed the 2.0 version and it still works for some purposes, not for others.

The main gallery where you can upload several files (eg: /forums/vbimghost.php?do=myimages&pp=20&page=1) works fine.

Using the Quick Upload feature shows a blank page once the image would be done (it IS added to the gallery, but there's no confirmation message and the code does not appear in the Post Reply box.

Also, using the "Open" button here loads the gallery, but clicking the images does not put the code into the textbox.

Here's the code for the link:
Code:

div id="vbimghostlinks">[<a href="#" onclick="window.open('vbimghost.php?do=popup&ed=vB_Editor_001','vbimghost1','scrollbars=yes,resizable=yes,width=550,height=500'); return false" title="Pick">Open</a>]&nbsp;[<a href="#" onclick="window.open('vbimghost.php?do=popupload&ed=vB_Editor_001','vbimghost2','scrollbars=yes,resizable=yes,width=562,height=97'); return false" title="Upload">Quick Upload]</a></div>



Edit
Ah! It works fine with the WYSIWYG editor, but not the enhanced. Also the quick links do not appear with Quick Reply at all. I'll keep reading :)

clarkstoncracke 03-27-2010 02:04 PM

I have over 15,000 images uploaded using vbimghost. My problem is so many users have deleted files that I get 2-5 404 errors each minute because the server is trying to pull up a missing file (since it was deleted).

Is there any way to fix this, such as replacing all deleted images with a small image file automatically when someone deletes a file?

mobe00 03-28-2010 09:29 PM

Quote:

Originally Posted by reifegerste (Post 2002682)
Hi,

i get this error message if i activate the mod and go to the CMS Comments.


Fatal error: Call to a member function query_read() on a non-object in /var/www/web1/html/vbulletin/packages/vbcms/comments.php(693) : eval()'d code on line 15

Can anyone help me with this problem?

I have the same problem here when i open a cms comment.

how do we fix that ?

balkanboy 03-29-2010 02:38 AM

1 Attachment(s)
Fix please image attached

aouni_tahech 03-29-2010 08:11 PM

Great plugin. Is there a way to check for image size and dimensions before uploading the image?

paulbhoy 04-04-2010 01:51 AM

Quote:

Originally Posted by reifegerste (Post 2002682)
Hi,

i get this error message if i activate the mod and go to the CMS Comments.


Fatal error: Call to a member function query_read() on a non-object in /var/www/web1/html/vbulletin/packages/vbcms/comments.php(693) : eval()'d code on line 15

Can anyone help me with this problem?

I also have this problem

Fungsten 04-15-2010 08:00 PM

I like it better than the Albums.

LbR 04-16-2010 08:08 PM

No Screenshot
No Demo

Useless?

roadrunna 04-19-2010 10:24 AM

Quote:

Originally Posted by reifegerste (Post 2002682)
Hi,

i get this error message if i activate the mod and go to the CMS Comments.


Fatal error: Call to a member function query_read() on a non-object in /var/www/web1/html/vbulletin/packages/vbcms/comments.php(693) : eval()'d code on line 15

Can anyone help me with this problem?

Quote:

Originally Posted by mobe00 (Post 2011894)
I have the same problem here when i open a cms comment.

how do we fix that ?

Quote:

Originally Posted by paulbhoy (Post 2015418)
I also have this problem


Fixed it :)

Find the plugin "My Photo post bit".

Change the plugin code to :-

PHP Code:

$rec vB::$db->query_read("
        SELECT count(*) mark
        FROM "
.TABLE_PREFIX."vbimghost
        WHERE userid='"
.$post['userid']."' and imgprivate='0'
        "
);
$row vB::$db->fetch_array($rec);
$post['vbimghost']=$row['mark']; 

Basically the "$vbulletin->" is replaced with "vB::$"

paulbhoy 05-20-2010 12:15 AM

that seems to have fixed it, thanks!!

Ocean-Wonders 05-20-2010 08:17 PM

Getting errors all over the place with this and I can't delete any images etc.

Any plans to develop this further ?

Veer 05-20-2010 09:09 PM

Style of this mod is too bad, please update its design and layout.

movslow 05-21-2010 07:14 PM

What do I need to do to change the txt in the navbar?

It's all CAPS and I'd like to format it similar to whats there already?

Thanks

Alex@Mk3OC 05-25-2010 02:25 PM

Use the phrase manager and search for the text, that's what I did so we could change ours


All times are GMT. The time now is 01:38 AM.

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.01349 seconds
  • Memory Usage 1,848KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (11)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
  • (40)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