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)

Merriweather 02-02-2007 10:53 PM

Yay! Amazing how RTFM works. ;) This is great so far...

Merriweather 02-02-2007 11:15 PM

I see that when I am viewing all of my images, I have the last option "Permission" and then just "Delete Image" but if I click the image for a full view, I then have "Permission" with "Set private" and "Delete Image". Can the privacy option be added to the overview of all images so users don't have to go to each image to see the settings?

Spank 02-03-2007 03:49 AM

Great hack, I love it.

It does work fine, except when an image is uploaded, I get a page with a list of errors:

Quote:

Warning: imagecreatefromjpeg(/home/user/public_html/endeavour/imagehosting/145c420d2b33ff.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
It does still redirect and the images upload fine etc. It just doesn't look very good to see this page full of errors, especially when everything appears to be working ok.

Any ideas how to fix this?

blind-eddie 02-03-2007 01:14 PM

I do too, but image still loads. This also happens to me in another installed hack.

Spank 02-03-2007 03:48 PM

I managed to get rid of all of the errors except one by putting in the usual path to the forums, instead of the public_html path.

I still get this error:
Quote:

Warning: imagejpeg() [function.imagejpeg]: Unable to open 'http://www.misc-world.com/endeavour/imagehosting/145c4c9e6dc492.jpg' for writing in /includes/vbimghost_include.php on line 209
What's causing this?

eshudnow 02-03-2007 04:24 PM

In the instructions it states to find the following:

<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td

and

<!-- PAGENAV POPUP -->

I'm going into Navigation / Breadcrumb Templates and going to navbar and can't find any of that text. Am I going to the wrong navbar (is there more than 1?)

SVTOA 02-03-2007 06:35 PM

Works perfectly on a fresh install. Thanks!

ThomasR 02-04-2007 12:30 PM

First of all, congratulation (again) for this hack. Installed sucessfully and it works like a charm. But I have a question: I saw that you can see all the user pictures in the admincp, even the private one. Is their a way to browse directly inside the forum side of the mod and see what is private like all the public image when you are admin?

Merriweather 02-04-2007 03:44 PM

edshudnow ~ Your navbar may have been previously edited and therefore doesn't have those exact bits of code. Are you using a custom template?

Ranma2k ~ When you edit your signature, the editor links are there, but the text is not showing for the first link:

[Open]
[Upload Photo]

So if I am posting a message, I see both links on the right below the smilies and they work, but if I am editing my signature, I only see:

[]
[Upload Photo]

ETA ~ The [Open] does nt show because "Open" isn't a global vB phrase. To remody this issue, I just went into the Phrase manager, clicked "Add New Phrase" and used the following:

Phrase Type: Global
Product: VB image hosting
Varname: open
Text: Open

Save it and then the word will show in all required places other than the posting window. ;)

Merriweather 02-05-2007 03:59 AM

I also found what is a big problem for me, and may be for others... I can't find an option to prevent usergroups from viewing member's photos. Right now, guests can see user's photos, and I do not want them to be able to, amongst other usergroups. How can this be corrected?


All times are GMT. The time now is 11:20 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.02123 seconds
  • Memory Usage 1,745KB
  • 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_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