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)

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:01 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.02158 seconds
  • Memory Usage 1,749KB
  • 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_php_printable
  • (4)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