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)

Gweedo 02-19-2007 12:39 PM

Quote:

Step 4 ( template modification ):

* Edit the Navbar template and do the following:
Find :
Where do I find this? :confused: :o

Thanks

blind-eddie 02-19-2007 01:27 PM

admincp/styles & templates/ search in templates, chose default template to search in type in navbar in text box, click find/search....scroll down a bit, you will see navbar. double click it.
you will then copy & paste the info you need to find in the find box at the bottom...click find....now follow readme.....

Gweedo 02-19-2007 09:52 PM

Thanks, I was looking for it through my FTP (I'm still in phpbb2 mode). It is installed and works, but I am getting some error messages.

When I add am image it throws up a bunch of error messages (Too quickly to copy and paste :o ) , but the upload still works. Any ideas on that?

Also, I had a few images that will not delete because I pulled them from the directory through FTP. So now they are stuck in my dbase with no image. Any idea how to pull them? Using delete does not work :mad:

Thanks,
Matt

blind-eddie 02-20-2007 03:21 AM

Quote:

When I add am image it throws up a bunch of error messages (Too quickly to copy and paste ) , but the upload still works. Any ideas on that?
Look through post, it is mentioned.

Gweedo 02-20-2007 11:04 AM

Thanks, I made it through the first 7 pages with no luck. :( I have a clean install and it looks like most problems are from an upgrade. The pictures still upload.

Here are my errors:
Quote:

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/245daf1656bdb3.jpg) is not within the allowed path(s): (/home/*****:/usr/lib/php:/usr/local/lib/php:/tmp) in /includes/vbimghost_include.php on line 175

Warning: imagecreatefromjpeg(/home/user/public_html/forums/imagehosting/245daf1656bdb3.jpg) [function.imagecreatefromjpeg]: failed to open stream: Operation not permitted 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 195

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

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

encryption 02-20-2007 11:25 AM

File(/home/user/public_html/forums/imagehosting/245daf1656bdb3.jpg)

change USER to your login name for your Cpanel (assuming you have Cpanel)

Gweedo 02-20-2007 11:41 AM

Quote:

Originally Posted by encryption (Post 1186642)
File(/home/user/public_html/forums/imagehosting/245daf1656bdb3.jpg)

change USER to your login name for your Cpanel (assuming you have Cpanel)

edit: Gotcha, thanks.


I have a new error now. I changed the watermark from text to image and now I get this:
Quote:

Warning: getimagesize() [function.getimagesize]: open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/watermark.jpg) is not within the allowed path(s): (/home/hookedon:/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.jpg) [function.getimagesize]: failed to open stream: Operation not permitted in /includes/vbimghost_include.php on line 221
The watermark image is in the vbimagehost folder where the uploaded images are stored.

If I turn off the watermark I get no errors at all, so this is a problem related to the watermark

Thanks,
Matt

Gweedo 02-20-2007 11:47 AM

Alright, I see what you were saying. thanks. That part is fixed.

I am down to one error now. The image uploads, but no watermark and this one error:
Quote:

Warning: getimagesize(/home/hookedon/public_html/forums/imagehosting/watermark.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 221
Thanks!
Matt

Gweedo 02-20-2007 11:56 AM

God help me...

I fixed the error, I had to remove the "Forums" from the path. No errors now!

But.... The watermark is still not working :(

The text watermark works, but it is small and the font blows. The image watermark just doesn't work at all. I have tried .jpg and .png on .jpg images. Any tips or tricks would be appreciated!

DannyITR 02-20-2007 02:49 PM

This is an awesome hack. The hack would be even better with a few organizational options however. Right now, its got all the functionality it needs for the individual however if the community wants to view photos I find it to be limiting.

How hard would it be to have the option of categorizing the photos when a user chooses to view all member images? In the admincp I'd like to be able to set a category and have it be a mandatory field to fill out (dropdown capable) when a user uploads a photo. Then when a member wants to view all images, they can order them by category.

Thoughts? BTW I hate Photopost with a passion. This hack puts it to shame in terms of ease of use.


All times are GMT. The time now is 02:00 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.02251 seconds
  • Memory Usage 1,748KB
  • 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
  • (6)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