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)

Gripemaster 09-28-2006 12:28 AM

Everything installed fine, and "seems" to work fine, however when I click "Host It" to upload images, I get a page of PHP errors, but the file does upload and show. (See Screenshot)

What could be the issue? Otherwise seems to work fine, fresh install on 3.6.1.

Ranma2k 09-28-2006 12:34 AM

Quote:

Originally Posted by Gripemaster
Everything installed fine, and "seems" to work fine, however when I click "Host It" to upload images, I get a page of PHP errors, but the file does upload and show. (See Screenshot)

What could be the issue? Otherwise seems to work fine, fresh install on 3.6.1.

go to vbimghost option and set the path to your forum
You didn't set it

Gripemaster 09-28-2006 01:01 AM

Quote:

Originally Posted by Ranma2k
go to vbimghost option and set the path to your forum
You didn't set it

Now I feel REALLY retarded, I have no clue what the path is to my forum LOL.

captainslater 09-28-2006 04:34 AM

Quote:

Originally Posted by Gripemaster
Now I feel REALLY retarded, I have no clue what the path is to my forum LOL.

You can ask your webhoster :)

amebae 09-28-2006 09:44 AM

quick question, how do I complete step 5?
"Go to the Admincp and reconfigure the usergroup and the option "

Right now I am having issues as no one can upload

Queensoul 09-28-2006 10:04 AM

Installed, working great with the last five images posted modification. Great mod and it will even be greater with the newest features you are working on. Thanks.

ForYou 09-28-2006 10:06 AM

Hello Ranma ,

When i need to delete photo from admincp , there is message
(Unable to delete the image) !!

Help ,

Regards

Ranma2k 09-28-2006 10:59 AM

Quote:

Originally Posted by Gripemaster
Now I feel REALLY retarded, I have no clue what the path is to my forum LOL.

to know your path check phpinfo

check the _SERVER["DOCUMENT_ROOT"]

that is the path to your website .

Ranma2k 09-28-2006 11:00 AM

Quote:

Originally Posted by amebae
quick question, how do I complete step 5?
"Go to the Admincp and reconfigure the usergroup and the option "

Right now I am having issues as no one can upload

in admincp
go to vbimghost options set the correct options
and go to usergroups set the permission for each group

Queensoul 09-28-2006 01:16 PM

Quote:

Originally Posted by ForYou
Hello Ranma ,

When i need to delete photo from admincp , there is message
(Unable to delete the image) !!

Help ,

Regards

I get this message too.

Ranma2k 09-28-2006 01:22 PM

Quote:

Originally Posted by Queensoul
I get this message too.

does the image exsists ?!

Queensoul 09-28-2006 01:28 PM

RanMa2k these are a couple of images I uploaded to test the mod. Now its working I need to remove them. They are there. But it wont delete.

Gripemaster 09-28-2006 01:50 PM

Quote:

Originally Posted by Ranma2k
to know your path check phpinfo

check the _SERVER["DOCUMENT_ROOT"]

that is the path to your website .

I told you my brain wasn't working LOL

Thank you, fixed and running fine, my members really love this mod.

*HAPPILY CLICKS INSTALL* :D

Ranma2k 09-28-2006 02:22 PM

Quote:

Originally Posted by Queensoul
RanMa2k these are a couple of images I uploaded to test the mod. Now its working I need to remove them. They are there. But it wont delete.

you should be able ot delete it without any problem

tekstylez 09-28-2006 05:05 PM

please help with these errors while uploading an image

Code:

Warning: imagecreatefromjpeg(/home/user/public_html/forums/imagehosting/1451c0ebf59356.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 175

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

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

Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions 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: imagecopy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177

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

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

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

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

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

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


VaaKo 09-29-2006 08:25 PM

I'm getting this error when I upload a pic though the pic is getting uploaded

Quote:

Warning: imagecreatefrompng(/forum/imagehosting/1451d8ee85e060.png): failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 170

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

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

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

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

daloosaa 09-29-2006 10:54 PM

Hi,

this is a really nice mod.
Is there a vBa Add-On available for this?

Greets,
Florian

zafrir 09-30-2006 04:41 AM

Hi,

Thanks a great job!
Enhancement suggestion - names and titles enabling, naming the picture files and titling the pictures and pages (search....;) )

Cronic82 09-30-2006 07:59 PM

Quote:

Originally Posted by daloosaa
Hi,

this is a really nice mod.
Is there a vBa Add-On available for this?

Greets,
Florian

was thinking the same thing..
something in the lines of "last added image" module or so..

great mod btw.. no problem installing it..

d2sector 10-01-2006 03:32 AM

I Have done a fresh install but getting errors about the mysql tables..
I uninstalled. and deleted the table.. re-installed and still required fields are missing. one is vbimghost_upslots'

can someone give a query to create the required fields?

Ranma2k 10-01-2006 09:05 AM

Quote:

Originally Posted by tekstylez
please help with these errors while uploading an image

Code:

Warning: imagecreatefromjpeg(/home/user/public_html/forums/imagehosting/1451c0ebf59356.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 175

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

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

Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions 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: imagecopy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177

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

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

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

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

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

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


set the path in the vbimghost options ..

Ranma2k 10-01-2006 09:05 AM

Quote:

Originally Posted by VaaKo
I'm getting this error when I upload a pic though the pic is getting uploaded

Again set the path correctly in your vbimghost option

Ranma2k 10-01-2006 09:06 AM

Quote:

Originally Posted by daloosaa
Hi,

this is a really nice mod.
Is there a vBa Add-On available for this?

Greets,
Florian

Yes
read this post
https://vborg.vbsupport.ru/showpost....&postcount=278

d2sector 10-01-2006 11:25 PM

Im getting this error when editing a usergroups options (upload slots)

Code:

Database error in vBulletin 3.6.1:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
        `title` = 'Super Moderators',
        `description` = '',
        `usertitle` = 'Super Moderator',
        `opentag` = '<strong><font color=\"#00B1E4\">',
        `closetag` = '</font></strong>',
        `passwordexpires` = '0',
        `passwordhistory` = '0',
        `forumpermissions` = '1048575',
        `attachlimit` = '10971520',
        `pmquota` = '150',
        `pmpermissions` = '7',
        `pmsendmax` = '0',
        `calendarpermissions` = '63',
        `wolpermissions` = '15',
        `adminpermissions` = '1',
        `genericpermissions` = '485449583',
        `genericoptions` = '63',
        `profilepicmaxwidth` = '100',
        `profilepicmaxheight` = '100',
        `profilepicmaxsize` = '65535',
        `avatarmaxwidth` = '96',
        `avatarmaxheight` = '96',
        `avatarmaxsize` = '50000',
        `signaturepermissions` = '237567',
        `sigpicmaxwidth` = '500',
        `sigpicmaxheight` = '100',
        `sigpicmaxsize` = '20000',
        `sigmaxrawchars` = '1000',
        `sigmaxchars` = '500',
        `sigmaxlines` = '0',
        `sigmaxsizebbcode` = '7',
        `sigmaximages` = '20',
        `vbppermissions` = '4993',
        `vbp_discountrate` = '10.00000',
        `vbp_paycheckamount` = '0.00000',
        `vbp_secondarycost` = '0.00000',
        `vbp_primarycost` = '0.00000',
        `arcadepermissions` = '159',
        `minpoststoplay` = '0',
        `minreptoplay` = '-1000',
        `minreglengthtoplay` = '0',
        `vbimghost` = '3',
        `vbimghost_upslots` = '5',
        `vbimghost_files` = '50'
WHERE usergroupid=5;

MySQL Error  : Unknown column 'vbimghost_upslots' in 'field list'
Error Number : 1054
Date        : Sunday, October 1st 2006 @ 07:23:27 PM
Script      : usergroup.php?do=update
Referrer    : usergroup.php?do=edit&usergroupid=5
IP Address  : XXXX
Username    : XXXX
Classname    : vB_Database

Tired uninstall (deleting the tables with phpmyadmin) and re-installing about 5 times. Using PHP 5 and MYSQL 5

|oR|Greg 10-02-2006 04:02 PM

2 Display issues with private messages for some reason? Inside PM's:
  1. I don't get the link to [ Open ] I only get [ Quick Upload ]. See attached.
  2. It doesn't display the number of pictures or even a 0 in the user info area under the avatar inside PM's. See attached.

Ranma2k 10-02-2006 07:59 PM

Quote:

Originally Posted by d2sector
Im getting this error when editing a usergroups options (upload slots)

Code:

Database error in vBulletin 3.6.1:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
        `title` = 'Super Moderators',
        `description` = '',
        `usertitle` = 'Super Moderator',
        `opentag` = '<strong><font color=\"#00B1E4\">',
        `closetag` = '</font></strong>',
        `passwordexpires` = '0',
        `passwordhistory` = '0',
        `forumpermissions` = '1048575',
        `attachlimit` = '10971520',
        `pmquota` = '150',
        `pmpermissions` = '7',
        `pmsendmax` = '0',
        `calendarpermissions` = '63',
        `wolpermissions` = '15',
        `adminpermissions` = '1',
        `genericpermissions` = '485449583',
        `genericoptions` = '63',
        `profilepicmaxwidth` = '100',
        `profilepicmaxheight` = '100',
        `profilepicmaxsize` = '65535',
        `avatarmaxwidth` = '96',
        `avatarmaxheight` = '96',
        `avatarmaxsize` = '50000',
        `signaturepermissions` = '237567',
        `sigpicmaxwidth` = '500',
        `sigpicmaxheight` = '100',
        `sigpicmaxsize` = '20000',
        `sigmaxrawchars` = '1000',
        `sigmaxchars` = '500',
        `sigmaxlines` = '0',
        `sigmaxsizebbcode` = '7',
        `sigmaximages` = '20',
        `vbppermissions` = '4993',
        `vbp_discountrate` = '10.00000',
        `vbp_paycheckamount` = '0.00000',
        `vbp_secondarycost` = '0.00000',
        `vbp_primarycost` = '0.00000',
        `arcadepermissions` = '159',
        `minpoststoplay` = '0',
        `minreptoplay` = '-1000',
        `minreglengthtoplay` = '0',
        `vbimghost` = '3',
        `vbimghost_upslots` = '5',
        `vbimghost_files` = '50'
WHERE usergroupid=5;

MySQL Error  : Unknown column 'vbimghost_upslots' in 'field list'
Error Number : 1054
Date        : Sunday, October 1st 2006 @ 07:23:27 PM
Script      : usergroup.php?do=update
Referrer    : usergroup.php?do=edit&usergroupid=5
IP Address  : XXXX
Username    : XXXX
Classname    : vB_Database

Tired uninstall (deleting the tables with phpmyadmin) and re-installing about 5 times. Using PHP 5 and MYSQL 5

try running the Q

Code:


ALTER TABLE " . TABLE_PREFIX . "usergroup ADD vbimghost INT( 10 ) UNSIGNED NOT NULL default '0', ADD vbimghost_files INT( 10 ) UNSIGNED NOT NULL default '50',ADD vbimghost_upslots INT( 5 ) UNSIGNED NOT NULL DEFAULT '3';


Ranma2k 10-02-2006 07:59 PM

Quote:

Originally Posted by |oR|Greg
2 Display issues with private messages for some reason? Inside PM's:
  1. I don't get the link to [ Open ] I only get [ Quick Upload ]. See attached.
  2. It doesn't display the number of pictures or even a 0 in the user info area under the avatar inside PM's. See attached.

yes and it will be fixed in the new ver ..

|oR|Greg 10-03-2006 12:35 AM

Cool, thanks bro.

rezapci 10-04-2006 03:19 PM

I have problem, when I upload a pic, it shows this >

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

Redirecting...



image uploaded

Click here if your browser does not automatically redirect you.

what should I do?

flindersredclaw 10-05-2006 10:43 AM

Fantastic and installed no issue.

thank you

Ranma2k 10-05-2006 09:39 PM

Quote:

Originally Posted by rezapci
I have problem, when I upload a pic, it shows this >


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




Redirecting...



image uploaded

Click here if your browser does not automatically redirect you.

what should I do?

if you are using watermark
put the file in the imagehosting direcotry and se it in the options
if not just disable it ..

fly 10-06-2006 10:16 PM

Any way to make this thing use relative paths?

edit: Figured it out. If anyone wants to know, open your vbimghost.php file and delete all occurance of this:
PHP Code:

$vbulletin->options['bburl']. 


Distance 10-09-2006 08:47 PM

Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/mysite/public_html/includes/vbimghost_include.php on line 127

Trying to upload jpeg?

tim99 10-10-2006 12:13 AM

This is a really nice app, thanks very much for sharing.

One suggestion would be to have an optional tile view of the user list (/vbimghost.php?do=userlist) AND that a click takes you to the user's profile.

This would make it a lot like myspace and other social networking sites.

Here's an example of what I mean.

In my 'vision' it could (optionally) have one image per user that the user could select as their default display image.

This isn't a very clean view but it gets the point across. This seems to allow as many as a user has which is good for some systems but I am after something more user centric in this view. In other words optionally one photo per user.

And again, thanks for sharing your work.

peace . . .

h_kakashi 10-10-2006 07:09 AM

Very nice hack :)
I've installed it on a very large anime forum and I am sure the users will love it.

2 bugs though.

First up I don't have any watermarks or anything.
The images upload fine and I can link to them / see them etc..

The first problem is when I modified the thumbnail dimensions, then I went to 'rebuild thumbnails' I get the error :

Code:

Warning: getimagesize(C:/Webistes/narutomania/fourms/imagehosting/1452b4f2e6a820.gif) [function.getimagesize]: failed to open stream: No such file or directory in \admincp\vbimghost.php on line 279
I've double checked the fact that the imagehosting directory and the files within are all 777.

The second problem is when you go to post a new thread or reply to a thread and click on 'open' to view your already uploaded images you get the pop up. However that's about it. If you click on any of the images they aren't inserted into your post or you aren't taken to another page. Nothing happens except if there are gif's playing they freeze.

Anyways great work :)

suzanitta 10-10-2006 07:56 AM

Very useful mod!

I would like to add a link in user's profile saying how many images the user has posted with a link to his pictures. Is it possible?

Ranma2k 10-10-2006 09:16 AM

Quote:

Originally Posted by Distance
Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/mysite/public_html/includes/vbimghost_include.php on line 127


Trying to upload jpeg?

do you have GD installed ?!

Ranma2k 10-10-2006 09:17 AM

Quote:

Originally Posted by suzanitta
Very useful mod!

I would like to add a link in user's profile saying how many images the user has posted with a link to his pictures. Is it possible?

check the addons in the in the install.html file

Ranma2k 10-10-2006 09:27 AM

Quote:

Originally Posted by h_kakashi
Very nice hack :)
I've installed it on a very large anime forum and I am sure the users will love it.

2 bugs though.

First up I don't have any watermarks or anything.
The images upload fine and I can link to them / see them etc..

The first problem is when I modified the thumbnail dimensions, then I went to 'rebuild thumbnails' I get the error :

Code:

Warning: getimagesize(C:/Webistes/narutomania/fourms/imagehosting/1452b4f2e6a820.gif) [function.getimagesize]: failed to open stream: No such file or directory in \admincp\vbimghost.php on line 279
I've double checked the fact that the imagehosting directory and the files within are all 777.

The second problem is when you go to post a new thread or reply to a thread and click on 'open' to view your already uploaded images you get the pop up. However that's about it. If you click on any of the images they aren't inserted into your post or you aren't taken to another page. Nothing happens except if there are gif's playing they freeze.

Anyways great work :)

Hi there ..
well i did test it on windows enviroment and it worked fine .. only thing that can do that error is permissions ( security permission ) you have to give the webserver the full permission on that directory

as for the second error it's strange it works perfictly in windows and unix
what browser are you using ?!

redlabour 10-10-2006 10:59 AM

Great one ! :D


All times are GMT. The time now is 03:37 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.02264 seconds
  • Memory Usage 1,868KB
  • 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
  • (7)bbcode_code_printable
  • (1)bbcode_php_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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