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)

ComputerVitals 10-18-2007 06:09 PM

I have the same issue. I added a quick upload to the message reply box to have the users make sure the cursor is flashing in the text box before clicking on the upload.

RatherBecamping 10-18-2007 08:52 PM

I am getting the following error:

Warning: move_uploaded_file(imagehosting/tmp_14717d4cc59ab1) [function.move-uploaded-file]: failed to open stream: No such file or directory in /vbimghost.php on line 640

WHat did I screw up?

Munzo 10-18-2007 09:04 PM

An update to this would be really nice if you included a feature to allow you to store the files on another server/site.

sheryarpatel 10-20-2007 06:18 PM

does it work on vb 3.6.8?

Fungsten 10-20-2007 06:32 PM

Quote:

Originally Posted by sheryarpatel (Post 1364508)
does it work on vb 3.6.8?

Yes.

sheryarpatel 10-21-2007 04:31 PM

Quote:

Originally Posted by Fungsten (Post 1364525)
Yes.

after modding some stuff?

Fungsten 10-21-2007 08:47 PM

Quote:

Originally Posted by sheryarpatel (Post 1365183)
after modding some stuff?

If you mean do I have MODS then yes. If you meant did I have to MOD the software, no.

AllenSam 10-23-2007 12:52 AM

I have a problem...I moved my forums directory into a new folder, so now it's public_html/newfolder/forums instead of public_html/forums. So, I updated the Path to Forums in the vB Image Host Options, but now the images don't show when I'm viewing a user's images. The URLs in the text boxes below the images are also missing the /newfolder. Why didn't they update when I changed the options and how can I get it to update?

Val_0 10-23-2007 05:26 PM

I also have a problem. I've installed the product, edited everything there was to edit and I when I try to upload a pic I get the ACCESS DENIED error. I am an admin so I should have all the rights to access the page. I've checked the permissions on my user group, I've checked the permission on the folder and it's 777. I don't know what else to do :S

csullo 10-27-2007 02:11 PM

I upgraded to 3.6.8, and had reinstall this module. Install went fine, but no link is showing up on the navbar--I've tried everything I can to get it back... what am I not thinking of?

Thanks

fly 10-27-2007 03:01 PM

Quote:

Originally Posted by csullo (Post 1369737)
I upgraded to 3.6.8, and had reinstall this module. Install went fine, but no link is showing up on the navbar--I've tried everything I can to get it back... what am I not thinking of?

Thanks

The template edit...

csullo 10-27-2007 04:23 PM

Quote:

Originally Posted by flypaper (Post 1369763)
The template edit...

Rock on, thanks. Was in such a panic mode (most of the site not working) I didn't realize I hadn't done that.

Thanks!

casa 10-28-2007 06:24 PM

I sometimes get this error when uploading using the Quick Upload One:

Warning: Division by zero in /includes/vbimghost_include.php on line 96

turbo.:R 10-28-2007 11:49 PM

ive narrowed it down to the watermark option. im getting this error, why??

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

Warning: imagecreatefromjpeg(/home/user/public_html/forums/imagehosting/147252dedb59d3.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 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

superjeff 10-30-2007 12:17 PM

Quote:

Originally Posted by flypaper (Post 1369763)
The template edit...

I have the some problem.. where can i find the template edit list?

Tks

TigerWare 10-30-2007 12:39 PM

Quote:

Originally Posted by superjeff (Post 1371895)
I have the some problem.. where can i find the template edit list?

Tks

AdminCP->Styles & Templates->Style Manager->(Choose Theme)->Edit Templates

tris 10-31-2007 03:07 PM

I just installed ImageHosting and played around. How can I change the target of a thumb to _self instead of _blank? And how can I set a class to the thumb-link? (I tried to change the target in vbimghost_popupload_pre but with no luck)

Thank you very much in advance.

Chewitt 11-02-2007 06:19 PM

I might be been silly but i am running 3.6.8 Patch Level 1 and im having serious problems finding the
PHP Code:

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

to add
PHP Code:

<td id="vbimghost" class="vbmenu_control"><a href="#vbimghost" >$vbphrase[vbimghost_title]</a>
<
script type="text/javascript"vbmenu_register("vbimghost");</script></td

after it i have searched in all templates and cannot find it at all i have found the template for the 2nd edit but cannot find the first one at all.

blind-eddie 11-02-2007 07:02 PM

Its in your navbar template.

Chewitt 11-02-2007 07:11 PM

i have searched high and low and not found it so just had a random stab in the dark and managed to get it working here is my navbar template.

PHP Code:

<!-- start header part -->
<
a name="top"></a>
<
table width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td class="topwrap">&nbsp;</td>
  </
tr>
  <
tr>
    <
td class="headerwrap"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <
tr>
        <
td valign="middle" class="headerbgL"><div align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="images/cars/cars_logo.gif" alt="$vboptions[bbtitle]name="cars_logo" width="143" height="37" border="0" id="cars_logo" /></a></div></td>
        <
td class="headerbg">&nbsp;</td>
        <
td>&nbsp;</td>
      </
tr>
    </
table></td>
  </
tr>
  <
tr>
    <
td class="navwrap">
<!-- 
nav buttons bar -->

    <
table id="navstyle" cellpadding="$stylevar[cellpadding]cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
    <
tr align="center">
        <if 
condition="$show['member']">
            <
td><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
        </if>
        <if 
condition="$show['registerbutton']">
            <
td><a href="register.php$session[sessionurl_q]rel="nofollow">$vbphrase[register]</a></td>
        </if>
        
$template_hook[navbar_buttons_left]
        <
td><a href="faq.php$session[sessionurl_q]accesskey="5">$vbphrase[faq]</a></td>
<
td id="vbimghost" class="vbmenu_control"><a href="#vbimghost" >$vbphrase[vbimghost_title]</a>
<
script type="text/javascript"vbmenu_register("vbimghost");</script></td>        
<
td><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
        <
td><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
        <if 
condition="$show['popups']">       
            <if 
condition="$show['searchbuttons']">
                <if 
condition="$show['member']">
                <
td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                <else />
                <
td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                </if>
                <
td id="navbar_search" ><a href="search.php$session[sessionurl_q]accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"vbmenu_register("navbar_search"); </script></if></td>
            </if>
            <if 
condition="$show['member']">
                <
td id="usercptools" ><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"vbmenu_register("usercptools"); </script></td>       
            </if>
        <else />       
            <if 
condition="$show['searchbuttons']">
                <
td><a href="search.php$session[sessionurl_q]accesskey="4">$vbphrase[search]</a></td>
                <if 
condition="$show['member']">
                <
td><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                <else />
                <
td><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                </if>
            </if>
            <
td><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
            <if 
condition="$show['member']">           
                <
td><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>           
            </if>           
        </if>
        
$template_hook[navbar_buttons_right]
        <if 
condition="$show['member']">
            <
td><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
        </if>
    </
tr>
    </
table>

<!-- / 
nav buttons bar -->

</
td>
  </
tr>
  <
tr>
    <
td>
<!-- /
end header part-->

<!-- 
content table -->
$spacer_open

$_phpinclude_output 


CP, 11-04-2007 07:35 PM

I would have loved to install this but its a great shame that we cannot upload onto an external server.

tris 11-05-2007 08:02 AM

I have added the quick uplaod and gallaries box in new thread / reply option. This works great. But how can I change the Image href from "vbimghost.php?do=displayimg&imgid=XX" to the Picture itself? e.g. imagehosting/5472e4166cadef.jpg
(I only want to open the picture if I click to the thumb, instead of open the Imagehost galerie.)

Any help pointing me to the right direction would be great!

mhackl 11-05-2007 02:36 PM

I sometimes receive the following error when trying to upload images.
Quote:

Warning: Division by zero in /includes/vbimghost_include.php on line 96

cygy2k 11-05-2007 10:41 PM

IE7 still has issue where image isn't uploaded or opened into the editor box but is rather put on the screen at the top of the page.

srt10etr 11-06-2007 07:00 PM

Every Time I Upload an Image I get this message, and then the picture uploads....

Quote:

Warning: imagecreatefromjpeg(/home/user/public_html/forums/imagehosting/14730d33c33d0f.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

tris 11-07-2007 08:15 AM

Quote:

Originally Posted by srt10etr (Post 1377199)
Every Time I Upload an Image I get this message, and then the picture uploads....

did you chmod 777 de folder imagehosting?

srt10etr 11-07-2007 09:36 AM

Quote:

Originally Posted by tris (Post 1377586)
did you chmod 777 de folder imagehosting?

yes,

The pictures uploads fine and everything, but i just get this error.

casidom 11-07-2007 05:12 PM

How can I put random picture in my portal page (vBadvanced CMPS)? Thank you

DDIG 11-09-2007 01:37 PM

Quote:

Originally Posted by yahoooh (Post 1363200)
on internet explorer 7
when i use quick upload it does not insert the image in post box

Same here. On IE7 users must first click in the post box, then use the user-photo-link (below the smilies) to add the photo into the message post box. If they don't do that, the photo appears above everything else on the page ad it isn't included into the post.

Also it only adds a small version of the photo, not the large version which is what I want.

I would LOVE to use this addon as it is very user friendly for my forum members... They don't have to go to the pain of getting their photo's somewhere on the internet, just beeing able to point and click is very very nice. Hope someone has a solution for the IE7 bug.

ScampMD 11-09-2007 07:13 PM

This looks great. One quick question for you.

How big is too big for a photo? I'm trying to upload a photo directly from my camera (3646x2736 3.5Meg) and it tells me "Uploaded file is not an image".

Smaller photos seem to work, and I did update the settings to allow a photo of that size.

EDITED TO ADD: If I try to upload any photo that's more than ~30k I receive this error:

Quote:

Originally Posted by PHP ERROR
PHP Fatal error: Call to undefined function imagecreatefromjpeg() in C:\Inetpub\forum1\includes\vbimghost_include.php on line 53


ScampMD 11-10-2007 01:47 AM

Problem solved.

Apparently you REALLY do need the GD library installed and operating. On my windows server all I had to do was go into the php.ini file and remove the comment tag from the line that reads: extension=php_gd2.dll and then restart the IIS server.

christian8a 11-18-2007 12:18 AM

Quote:

Originally Posted by christian8a (Post 1330818)
Just a quick question bro.

Under the smilies I added those 2 links: open and quick upload.
When I click open there are the thumbnails, but when I click on one it sends the thumbnail and the url to it.

Is there a way to send the [IMG| tags so the pic is ready to see full size?

Thanx man
Chris

Anybody can help with this? seems simple to do but I tried couple of things and cant get it to work

yingzhou 11-25-2007 09:16 AM

I also have this error

Quote:

Warning: imagecreatefromjpeg(/home/user/public_html/forums/imagehosting/14730d33c33d0f.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
I think its about Watermark feature. How to solve it!

expatdirectory 11-25-2007 03:17 PM

Hi,
This mod looks great, cant wait to get it up and running. I have a couple of questions though.

My site is hosted, should I use a http prefix to define the location of my forums.

Can I remove the link to your blog from the templates? Happy to donate etc if necessary.

expatdirectory 11-25-2007 04:28 PM

Hmmm, just being looking at VB 3.7 and it looks pretty impressive. Anyway, the image facility in VB 3.7 seems pretty similar to this mod. Wondering whether this is now intergrated as part of vb 3.7 and if so whether worth installing or waiting for 3.7 release and updating.

Anyone provide some guidance?

whaase 11-26-2007 02:20 AM

Is there any way to control who can view the pictures? Like permission levels? I have a closed forum, and it seems a unregistered user can view images. I can't find where to get this off unless I deny them access to the forum itself?

expatdirectory 11-26-2007 05:29 PM

Quote:

Originally Posted by CP, (Post 1375793)
I would have loved to install this but its a great shame that we cannot upload onto an external server.

Hi CP,
I have to agree, I really want to get this mod on the go now. I am hoping that VB 3.7 will save me this problem although I wonder how long it will be to the first stable release.

I installed this package before I realised that it wouldn't run on a hosted server.:erm:

blind-eddie 11-26-2007 08:27 PM

I use this product, without issues...I have over 2500 images on two different vbsites. I have no issues of storage, bandwidth or cpu exceed limit. I see no reason to host externally.

To hide this from unregistered members just add <if></if> conditionals before & after in your navbar edit.

tjh4384 11-27-2007 10:37 PM

Installed and working great, a wonderful addition for the users on our boards

Would like to note, I did have a minor problem, of my own making, and I would like to
thank Ranma2k for his kind personal assistance in helping me reach a solution

THANKS!

leginag 11-27-2007 11:43 PM

Quote:

Originally Posted by blind-eddie (Post 1389878)
I use this product, without issues...I have over 2500 images on two different vbsites. I have no issues of storage, bandwidth or cpu exceed limit. I see no reason to host externally.

To hide this from unregistered members just add <if></if> conditionals before & after in your navbar edit.

Well, what kind of storage space and bandwidth does it use?
I have my vBull on a separate hosting server to all my other files, and my bandwidth THERE is a lot less, (in the 10's of GB's) compared to my other servers which have TB's of bandwidth.

But if it is going to be integrated into VB3.7....ahhh lol


All times are GMT. The time now is 10:52 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.02208 seconds
  • Memory Usage 1,924KB
  • 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
  • (3)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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