vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - VB image Hosting (https://vborg.vbsupport.ru/showthread.php?t=123481)

sublo 04-12-2007 11:16 PM

New issue.

What's up with this error?
Uploaded file is not an image
I'm trying to upload known .jpg's well below my limits of 3008x2000 and 3MB. 2200x1800 1.8MB files are uploaded with no problem. Does this having something to do with fields of the vmimghost table in MySQL? Should I attempt to adjust them?

Thanks.


:erm:

Ranma2k 04-13-2007 08:42 AM

Quote:

Originally Posted by sublo (Post 1226288)
New issue.

What's up with this error?
Uploaded file is not an image
I'm trying to upload known .jpg's well below my limits of 3008x2000 and 3MB. 2200x1800 1.8MB files are uploaded with no problem. Does this having something to do with fields of the vmimghost table in MySQL? Should I attempt to adjust them?



Thanks.


:erm:

what type of img is that ?
if it's a text file with the extension .jpg it won't work .

also note that you can't bypass the php.ini file setting

so if you set the size limit to 5 mb but in php.ini setting it's set to 2 mb you can only upload 2 mb files

Ranma2k 04-13-2007 08:43 AM

Quote:

Originally Posted by Sc0rian (Post 1226246)
Ranma2k..

I just upgraded my forum to the new version...

i see you've added a new field into the SQL...

I have a problem now.. I cant import the old sql back in...



of course coz its all wrong now..

what can i do with all my old sql data?





in other words, how do i get the old sql code to work with new version

restore the old table first then install this ver

rburns 04-13-2007 12:26 PM

Ranma2k,

Is there a way to set all usergroups to be allowed to upload images?

I have about 50 usergroups and it would be quicker for me to dissallow the 5 or so I don't want to have it rather than manually go through allowing 50.

sublo 04-13-2007 03:24 PM

Quote:

Originally Posted by Ranma2k (Post 1226510)
what type of img is that ?
if it's a text file with the extension .jpg it won't work .

also note that you can't bypass the php.ini file setting

so if you set the size limit to 5 mb but in php.ini setting it's set to 2 mb you can only upload 2 mb files

Whoo hoo! That did it! seting max upload size to 3M and restarting Apache fixed it!

Wasn't a text file. These are actual JPG photos.

Thanks.

:cool:

hinch 04-13-2007 03:27 PM

Quote:

Originally Posted by Ranma2k (Post 1225970)
what php ver your using .. ?

PHP 4.4.4-8+etch1

(debian)

strange thing is it still works just perfectly it just throws up those errors for seemingly no reason

sublo 04-13-2007 03:32 PM

This mod is great and all but one thing I would really like is the ability to toggle the image properties on and off. For example: BB Code URL, BB Code Image and HTML code. I'd like not to display those.

tekstylez 04-13-2007 07:21 PM

This mod worked great untill i tried to use it on another forum.

When rebuilding thumbnails i get the following error:

Code:

Warning: getimagesize(): open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/1461fe104d7168.jpg) is not within the allowed path(s): (/home/ishson1:/usr/lib/php:/usr/local/lib/php:/tmp) in /admincp/vbimghost.php on line 279

Warning: getimagesize(/home/user/public_html/forums/imagehosting/1461fe104d7168.jpg): failed to open stream: Operation not permitted in /admincp/vbimghost.php on line 279

And when using the quick upload in the reply box, The bbcode displays but the actual photo does not..

I am also having a problem with the watermark not showing

Code:

Warning: getimagesize(): open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/watermark.png) is not within the allowed path(s): (/home/ishson1:/usr/lib/php:/usr/local/lib/php:/tmp) in /includes/vbimghost_include.php on line 221

Warning: getimagesize(/home/user/public_html/forums/imagehosting/watermark.png): failed to open stream: Operation not permitted in /includes/vbimghost_include.php on line 221


dizzy100 04-14-2007 07:18 AM

Quote:

Originally Posted by sublo (Post 1226798)
This mod is great and all but one thing I would really like is the ability to toggle the image properties on and off. For example: BB Code URL, BB Code Image and HTML code. I'd like not to display those.

Just edit them out of the template.

Check out vbimghost_imgbits in the VB IMAGE HOSTING Templates

find and remove


HTML Code:

            <tr> <td class="alt1">$vbphrase[vbimghost_imgdlink]</td>
                            <td class="alt2"><input type="text" value="[img]$vbimghost[path][/img]"></td>
                        </tr>
                        <tr>
                            <td class="alt1">$vbphrase[vbimghost_imgflink]</td>
                            <td class="alt2"><input type="text" value="[url='$vbimghost[dispath]'][img]$vbimghost[thumbpath][/img][/url]"></td>
                        </tr>
                        <tr>
                            <td class="alt1">$vbphrase[vbimghost_imglink]</td>
                            <td class="alt2"><input type="text" value="<a href='$vbimghost[dispath]' border=0><img src='$vbimghost[thumbpath]'></a>"></td>
                        </tr>


PondPikey 04-14-2007 11:52 AM

Hey Ranma, Long time lurker. Great fan of the mod. Any Idea when your new super dooper version wil be available? Im itching to get my hands on it! :)


All times are GMT. The time now is 06:56 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.02450 seconds
  • Memory Usage 1,757KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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