vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   VB image Hosting (https://vborg.vbsupport.ru/showthread.php?t=106127)

rezapci 09-18-2006 01:20 AM

I have an error

somebody help me! when I am uploading images

here we go:

Quote:

Warning: imagecreatefromjpeg(): open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/1450e01b88eba3.jpg) is not within the allowed path(s): (/home/alshia/:/usr/lib/php:/usr/local/lib/php:/tmp) in /includes/vbimghost_include.php on line 176

Warning: imagecreatefromjpeg(/home/user/public_html/forums/imagehosting/1450e01b88eba3.jpg): failed to open stream: Operation not permitted in /includes/vbimghost_include.php on line 176

Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177

Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177

Warning: imagecreatetruecolor(): Invalid image dimensions in /includes/vbimghost_include.php on line 177

Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 178

Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 178

Warning: imagecopy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 178

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 190

Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 196

Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 197

Warning: imagestring(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 202

Warning: imagejpeg(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 210

Warning: imagedestroy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 211
Problem solved, I had path to the forum... so I forget...

whomever having seam problem

go to > admincp>VB Image Host>Image Host Option>

The complete path to your forums directory (no trailing slash)
Unix ex. /home/user/public_html/forums
windwos ex. c:/apache/httdocs/forums

Ranma2k 09-18-2006 07:19 AM

Quote:

Originally Posted by rezapci
I have an error

somebody help me! when I am uploading images

here we go:



Problem solved, I had path to the forum... so I forget...

whomever having seam problem

go to > admincp>VB Image Host>Image Host Option>

The complete path to your forums directory (no trailing slash)
Unix ex. /home/user/public_html/forums
windwos ex. c:/apache/httdocs/forums

:) good that you figured it out :)

rolandogomez 09-19-2006 04:30 PM

I'm just trying to get you to speed it up (grin). Thanks, great hack, can't wait for the updates, rg sends!

memomemo 09-20-2006 01:51 PM

Hello

This random image very big.


What is shring image widht and height?


at least page in http://www.forumsitesi.info/forum/upload/index.php



Quote:

Originally Posted by Ranma2k
here you go

just import the attached plugin


and add the following code in your forumhome template

Code:

    <table class="tborder" align="center" border="0" cellpadding="6" cellspacing="1" width="100%">
        <thead>
                <tr>
                        <td class="tcat" colspan='$vbimghost[count]' align="center">$vbphrase[vbimghost_last5img] </td>
                </tr>
        </thead>
        <tbody>
                <tr align="center">
                        $vbimghost[last5]
                </tr>
        </tbody>
        </table>
        <br />



memomemo 09-20-2006 02:00 PM

Ok I am find.

Plugin production vbimghost last 5 images forumhome edit
and
Find code : ['thumbsize']=0;

Change code : ['thumbsize']=50; 50 or 60 , 70 , 80

BUT This code how show on CMS portal index page?

memomemo 09-20-2006 03:32 PM

No upload :

Error message : No file selected.

Please help


Quote:

Originally Posted by DementedMindz
I have been tryin to make this work on the new thread page so far i have it pretty well set up i just have to figure out why it keeps tellin me to enter in a title/subject hopefully tomorrow when i get up and aint so tired i can get it or if someone wants to try to get it here is what i have so far... i been testing it out in the new thread template and hopefully tomorrow i can get it to work i may even try ajax or something to show the url right on that page...

Code:

<fieldset class="fieldset"><legend>Upload Your Images</legend>
<form method="post" action="vbimghost.php" enctype="multipart/form-data">
<table border="0" cellspacing="0" cellpadding="0">
<tr> <td> <b>Image to upload:</b><br />
<input class="bginput" type="file" name="upfile$count" size="30" /><br />
<input type="hidden" name="do" value="uploadfile" /><br />
<input class="bginput" type="submit" value="$vbphrase[vbimghost_hostit]" />
<input class="bginput" type="reset"value="$vbphrase[vbimghost_reset]" />
</td> </tr> </table> </form>
</fieldset>



memomemo 09-20-2006 04:01 PM

Ok I am find.

upfile$count > upfile0$count

Cms portal and forumhome good working :)
demo : www.forumsitesi.info
------------------------------------
full code :


<fieldset class="fieldset"><legend>Resim Y?kleyin</legend>
<form method="post" action="upload/vbimghost.php" enctype="multipart/form-data">
<table border="0" cellspacing="0" cellpadding="0">
<tr> <td> <b>Resim Y?kle:</b><br />
<input class="bginput" type="file" name="upfile0$count" size="30" /><br />
<input type="hidden" name="do" value="uploadfile" /><br />
<input class="bginput" type="submit" value="$vbphrase[vbimghost_hostit]" />
<input class="bginput" type="reset"value="$vbphrase[vbimghost_reset]" />
</td> </tr> </table> </form>
</fieldset>

Ranma2k 09-20-2006 05:21 PM

Quote:

Originally Posted by memomemo
Ok I am find.

upfile$count > upfile0$count

Cms portal and forumhome good working :)
demo : www.forumsitesi.info
------------------------------------
full code :


<fieldset class="fieldset"><legend>Resim Y?kleyin</legend>
<form method="post" action="upload/vbimghost.php" enctype="multipart/form-data">
<table border="0" cellspacing="0" cellpadding="0">
<tr> <td> <b>Resim Y?kle:</b><br />
<input class="bginput" type="file" name="upfile0$count" size="30" /><br />
<input type="hidden" name="do" value="uploadfile" /><br />
<input class="bginput" type="submit" value="$vbphrase[vbimghost_hostit]" />
<input class="bginput" type="reset"value="$vbphrase[vbimghost_reset]" />
</td> </tr> </table> </form>
</fieldset>

ok i don't know what your tlaking about
but in order to upload the first field must first be filled with the bath to the file ( click browse and select the file )
then click upload
it should work fine if you set the configuration correctly

memomemo 09-20-2006 07:01 PM

Yes but
{ quote : ( click browse and select the file ) then click upload }
Dont work upload.
Error message : No File selected
I am upload form code upfile$count > change > upfile0$count ok good work.

rezapci 09-20-2006 11:56 PM

I have this error mean I or some uploading images!

Warning: getimagesize(/home/alshia/public_html/vb/imagehosting/watermark.png): failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 222


how could I fix this?


All times are GMT. The time now is 12:45 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.01524 seconds
  • Memory Usage 1,758KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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