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)

jailer 06-03-2008 04:43 PM

Might have to delete them then - way too much space to be using on the disk. Thanks.
:)

kether1 06-03-2008 06:11 PM

Quote:

Originally Posted by kether1 (Post 1539202)
I will give it a try and let you know! Thanks for the detailed instructions.

Regards,
Kether

Hi again,

No joy with the change, Warlord. I may have not done it correctly though. In the xml file, line 750 was a different bit of code. I adjusted line 749 the path to the image directory. Would you mind posting the exact change you were talking about, not the whole file, just the line of code so that I know if indeed I am editing the correct part.

Thanks,
Kether

fancominc 06-04-2008 01:08 AM

Quote:

Originally Posted by Warlord (Post 1539777)
Sounds like you need to update your usergroup settings.

Admin Control Panel--->Usergroups--->Usergroup Manager

Once there, edit the usergroups you would like to be able to upload images.

Thanks, I got it. But somehow the watermark doesn't work. I got this error when uploading a file and I think this has something to do with the watermark?

Warning: imagejpeg() [function.imagejpeg]: Unable to open 'http://www.vietmot.net/forum//imagehosting/14845f8ca39164.jpg' for writing: No such file or directory in /includes/vbimghost_include.php on line 209

Warlord 06-04-2008 01:09 AM

I don't know if this will work or not, it was just an idea I thought you may want to try. So keep in mind that this may not work. But if I were doing it this is just what I would try.


After looking at it further, what I told you to change in the XML file was wrong. I think this may work though.

In product-ao_vbimghost.xml find:

Code:

<defaultvalue>/home/user/public_html/forums</defaultvalue>
and change it to:

Code:

<defaultvalue>http://www.site2.com/vb/imagehosting</defaultvalue>
(Obviously change the text site2 to the domain name you want to use.)

Save the file and then import the product again. Ensure that you click the overwrite option.

Make sure you've also done this:

* Created the folder vb on site2
* Created the subfolder imagehosting inside the vb folder.
* CHMOD the folders to 777.

In your vbIMG hosting options in the Admin CP it should reflect the changes you made in the XML file pertaining to the image paths. Just double check that amke sure it does. Then scroll down and submit the page.

I hope this works for you. :)

Warlord 06-04-2008 01:13 AM

Quote:

Originally Posted by fancominc (Post 1540170)
Thanks, I got it. But somehow the watermark doesn't work. I got this error when uploading a file and I think this has something to do with the watermark?

Warning: imagejpeg() [function.imagejpeg]: Unable to open 'http://www.vietmot.net/forum//imagehosting/14845f8ca39164.jpg' for writing: No such file or directory in /includes/vbimghost_include.php on line 209

Easy fix for this. Turn the watermark off. :-P

Just kidding. I think you just have one too many forward slashes in between forum and imagehosting.

I'm guessing you have a trailing slash in front of your image path in your Vbimghost Options. Remove it.:)

Warlord 06-04-2008 01:13 PM

So anyone able to help me with my problem? :D

I'm having a problem of my own....

I'm trying to use this as a means for my members to display their webcomics and I want the images in the film strip to appear in the order they were uploaded. (In actuality, I'd like the filmstrip to be on the profile page, but beggars can't be choosy.) In the film strip when I click on the first image uploaded, the rest are navigated to with the left arrow, but it should be the right arrow. Anyone know how I can fix this? (Example in the attachment here.)

romeo_cm 06-04-2008 02:18 PM

Hello.

I just install the VB Image Host to upload pictures to my own server. And it works perfectly, upload the images without any problem.

But the fact is that this mode has an option to add a watermark to images uploaded, you can add a text to a logo to the image that these rising. Well, the latter by more than probe nor I was not able to add a text to the image or upload a logo. That can not add the logo is worth it, I may be wrong on something, but that does not even let me add a text to the photo and wonder more.


If anyone knows which may be the fault him agradeceria much to help me.

We add a snapshot of the panel.

kether1 06-04-2008 06:20 PM

Quote:

Originally Posted by Warlord (Post 1540171)
I don't know if this will work or not, it was just an idea I thought you may want to try. So keep in mind that this may not work. But if I were doing it this is just what I would try.


After looking at it further, what I told you to change in the XML file was wrong. I think this may work though.

In product-ao_vbimghost.xml find:

Code:

<defaultvalue>/home/user/public_html/forums</defaultvalue>
and change it to:

Code:

<defaultvalue>http://www.site2.com/vb/imagehosting</defaultvalue>
(Obviously change the text site2 to the domain name you want to use.)

Save the file and then import the product again. Ensure that you click the overwrite option.

Make sure you've also done this:

* Created the folder vb on site2
* Created the subfolder imagehosting inside the vb folder.
* CHMOD the folders to 777.

In your vbIMG hosting options in the Admin CP it should reflect the changes you made in the XML file pertaining to the image paths. Just double check that amke sure it does. Then scroll down and submit the page.

I hope this works for you. :)

Brilliant! It worked perfectly! I only wish I could figure out the film strip issue for you. Thank you so much!! I am going to do some more tests on my test site and then install it on my live board.

Regards,
Kether

fancominc 06-05-2008 10:14 AM

Quote:

Originally Posted by Warlord (Post 1540177)
Easy fix for this. Turn the watermark off. :-P

Just kidding. I think you just have one too many forward slashes in between forum and imagehosting.

I'm guessing you have a trailing slash in front of your image path in your Vbimghost Options. Remove it.:)

Yeah, I did turn it off and it worked fine (actually, even if I left it on, I was shown the error, but my image was still uploaded without the watermark). But even after I removed the slash following your guide, it still showed the error (less 1 slash):

http://www.vietmot.net/forum/imageho...5f8ca39164.jpg' for writing: No such file or directory in /includes/vbimghost_include.php on line 209

Thanks!

Xphusion 06-07-2008 09:56 AM

does this work with 3.7? anyone have it running

jailer 06-07-2008 10:06 AM

Yes, works fine. I have it installed.

Ranma2k 06-07-2008 10:30 AM

Hi people,
Quick question
do you want this hack to be customized for Vb 3.7 ?!

Ranma2k 06-07-2008 11:03 AM

Quote:

Originally Posted by Warlord (Post 1540591)
So anyone able to help me with my problem? :D

I'm having a problem of my own....

I'm trying to use this as a means for my members to display their webcomics and I want the images in the film strip to appear in the order they were uploaded. (In actuality, I'd like the filmstrip to be on the profile page, but beggars can't be choosy.) In the film strip when I click on the first image uploaded, the rest are navigated to with the left arrow, but it should be the right arrow. Anyone know how I can fix this? (Example in the attachment here.)

it should appear in order of the upload
from left to right

fancominc 06-07-2008 12:49 PM

Quote:

Originally Posted by Ranma2k (Post 1543026)
Hi people,
Quick question
do you want this hack to be customized for Vb 3.7 ?!

Could you please help me out? ^^

Xphusion 06-08-2008 01:26 AM

yes i have it installed but some things dont seem to be working

Such as "view All User Images" int he drop down on the nav i get a white blank page?

ShiZoPhreN 06-08-2008 10:28 AM

Quote:

Originally Posted by Ranma2k (Post 1543026)
Hi people,
Quick question
do you want this hack to be customized for Vb 3.7 ?!

Yes i will :D.. its a really nice hack.. dont miss this in my forum.. :) and my user love it..
:up::up:

taxick 06-08-2008 11:49 PM

Quote:

Originally Posted by Ranma2k (Post 1543026)
Hi people,
Quick question
do you want this hack to be customized for Vb 3.7 ?!

YES PLEASE GO GO GO GO

Ranma2k 06-09-2008 12:38 AM

Ok working on it

Ranma2k 06-09-2008 12:41 AM

Quote:

Originally Posted by fancominc (Post 1543124)
Could you please help me out? ^^

You problem is happening because you need to set the correct Paths in your setting ..
for the paths don't include the domain name as it won't be able to read the files as system files.

If you need help pm me with your forum info and i'll do it for you ..

taxick 06-09-2008 01:22 PM

Quote:

Originally Posted by Ranma2k (Post 1544562)
Ok working on it

I'm so happy to here this!

I open a new site in are few days, and it will be so nice if this hack are included.

Have you set a deadline???

simos 06-10-2008 09:31 AM

Hello

I tried to upload the file but i get this message


Quote:

Warning: Unknown(): Unable to access ./includes/vbgallery/forumhome_complete.php in \index.php(537) : eval()'d code on line 1

Warning: Unknown(./includes/vbgallery/forumhome_complete.php): failed to open stream: No such file or directory in \index.php(537) : eval()'d code on line 1

Warning: Unknown(): Unable to access ./includes/vbgallery/forumhome_complete.php in \index.php(537) : eval()'d code on line 1

Warning: Unknown(./includes/vbgallery/forumhome_complete.php): failed to open stream: No such file or directory in \index.php(537) : eval()'d code on line 1

Fatal error: (null)() [function.require]: Failed opening required './includes/vbgallery/forumhome_complete.php' (include_path='.;c:\php4\pear') in E:\WWWData\SiteData\Domains\.........gr\ROOT\inetp ub\wwwroot\forum\index.php(537) : eval()'d code on line 1


pierians 06-10-2008 01:04 PM

Ηello, thank you for your excellent hack!
I have one question... is ti possible when a user sees his images, they will be shown descenting. I mean, the last image he uploads will be first in the preview of his images.

edgeyveggie 06-11-2008 11:27 PM

Ridiculous amount of errors, please help.

Rebuild thumbnails yields these errors:

Quote:


Warning: getimagesize() [function.getimagesize]: open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/148506869d989d.jpg) is not within the allowed path(s): (/home/vegiac:/usr/lib/php:/usr/local/lib/php:/tmp) in /admincp/vbimghost.php on line 279

Warning: getimagesize(/home/user/public_html/forums/imagehosting/148506869d989d.jpg) [function.getimagesize]: failed to open stream: Operation not permitted in /admincp/vbimghost.php on line 279

Warning: getimagesize() [function.getimagesize]: open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/1485069cd946d7.jpg) is not within the allowed path(s): (/home/vegiac:/usr/lib/php:/usr/local/lib/php:/tmp) in /admincp/vbimghost.php on line 279

Warning: getimagesize(/home/user/public_html/forums/imagehosting/1485069cd946d7.jpg) [function.getimagesize]: failed to open stream: Operation not permitted in /admincp/vbimghost.php on line 279

Warning: getimagesize() [function.getimagesize]: open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/148506b729fe61.jpg) is not within the allowed path(s): (/home/vegiac:/usr/lib/php:/usr/local/lib/php:/tmp) in /admincp/vbimghost.php on line 279

Warning: getimagesize(/home/user/public_html/forums/imagehosting/148506b729fe61.jpg) [function.getimagesize]: failed to open stream: Operation not permitted in /admincp/vbimghost.php on line 279

Warning: getimagesize() [function.getimagesize]: open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/148506c2ff1017.jpg) is not within the allowed path(s): (/home/vegiac:/usr/lib/php:/usr/local/lib/php:/tmp) in /admincp/vbimghost.php on line 279

Warning: getimagesize(/home/user/public_html/forums/imagehosting/148506c2ff1017.jpg) [function.getimagesize]: failed to open stream: Operation not permitted in /admincp/vbimghost.php on line 279

Warning: getimagesize() [function.getimagesize]: open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/148506cd76b987.jpg) is not within the allowed path(s): (/home/vegiac:/usr/lib/php:/usr/local/lib/php:/tmp) in /admincp/vbimghost.php on line 279

Warning: getimagesize(/home/user/public_html/forums/imagehosting/148506cd76b987.jpg) [function.getimagesize]: failed to open stream: Operation not permitted in /admincp/vbimghost.php on line 279

Watermark isn't working, neither image or text and the directory and the watermark.png is 777 CHMOD. I also get the errors in the below image attached when I try uploading some pictures. This mod would be INCREDIBLE if it worked well. Please, please, please, please help I really need this.

edgeyveggie 06-13-2008 04:19 PM

Anyone???

Ranma2k 06-13-2008 04:59 PM

Quote:

Originally Posted by edgeyveggie (Post 1547124)
Ridiculous amount of errors, please help.

Rebuild thumbnails yields these errors:




Watermark isn't working, neither image or text and the directory and the watermark.png is 777 CHMOD. I also get the errors in the below image attached when I try uploading some pictures. This mod would be INCREDIBLE if it worked well. Please, please, please, please help I really need this.

For the love of god please set your path correctly in the vbimghost options ..
98% of the errors is because of setting the wrong path.

edgeyveggie 06-13-2008 06:05 PM

I was using the default, fixed it by using a .php file that found the correct path. Thanks!

pierians 06-14-2008 03:58 PM

Quote:

Originally Posted by pierians (Post 1545858)
I have one question... is ti possible when a user sees his images, they will be shown descenting. I mean, the last image he uploads will be first in the preview of his images.

Could anybody please answer to this question?

edgeyveggie 06-14-2008 07:20 PM

Features to add/things to fix:
  • Make "image upload" status screen capitalized first letters so it looks more professional, i.e. "Image uploaded."
  • Fix spelling errors found without the script, make better, this is a great plugin, it could be so much better, I'd even pay for this if the price was right

pierians 06-14-2008 07:39 PM

Quote:

Originally Posted by edgeyveggie (Post 1549397)
Features to add/things to fix:
  • Make "image upload" status screen capitalized first letters so it looks more professional, i.e. "Image uploaded."

You can change this on your own.
Go in admincp-> search in phrases an search for these phrases you want to change

Louis Phong 06-16-2008 02:46 AM

Quote:

Warning: getimagesize(/h****/.../.../.../yega/imagehosting/logogame4vnews.png) [function.getimagesize]: failed to open stream: No such file or directory in [path]/includes/vbimghost_include.php on line 221
Anyone can Help me to fix this bug??? I'm using 3.7.1

simos 06-16-2008 02:57 AM

Quote:

Originally Posted by simos (Post 1545722)
Hello

I tried to upload the file but i get this message

Anybody for this....

Darkstarproject 06-16-2008 02:50 PM

*Installed*

However, when I am posting a new thread, and I hit the 'upload' pics option, next to the smilies, it will upload the image, BUT it will show it at the top of the page, (above the header) and once I hit 'submit' it doesnt post the image into the thread.

PHP FAN 06-16-2008 11:48 PM

Hi

Can this Mod work in vb3.7.x?

Darkstarproject 06-17-2008 12:06 AM

It's working on my board which is 3.7.1pl1

Warlord 06-17-2008 07:32 AM

Ranma2k, if I wanted to get the filmstrip (all the information from vbimghost.php?do=displayimg&imgid=24) on the profile page, what would I need to do?

I've tried:

Adding ALL of the variable definitions and pre-cache templates (used by all actions) from vbimghost.php to memberinfo.php

Taking this:
Code:

<table id="vbimghost_display"class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
        <tr>
                <td class="thead" colspan="2">$vbimghost[imgname]</td>
        </tr>
        <tr>
                <td class="alt2" colspan="2" align="center" valign="center"><img src="$vbimghost[path]" ></td>

        </tr>
</thead>
<if condition="$vbimghost['filmstripon']">
                    <tr>
                      <td class="tcat"> $vbphrase[vbimghost_filmstrip]</td>
                    </tr>

<tr>
        <td class="alt1" align="center">
                <table class="tborder"  cellpadding="$stylevar[cellpadding]" width="100%" cellspacing="$stylevar[cellspacing]" border="0">

                <tr>
                        $vbimghost[filmstrip]
                </tr>
                </table>
        </td>
</tr>
</if>
</table>

from the vbimghost_displayimg template and adding it to the MEMBERINFO template that had to do with the film strip.

I've gotten close (sort of) I think.

I've changed it so my $vbimghost[last5] only shows 1 instead of 5 and left it active while trying to test these extra changes. It is the top image that for some reason becomes a thumbnail upon making these changes.

Aside from that (which I assume I can take care of by just removing it from the template if I ever get this working the way I want to), the new image appears (which is good) and the filmstrip text and filmstrip table appears (which is also good), but the actual filmstrip won't show up for some reason. I've attached a screenie in case I didn't convey exactly what my member profiles look like. Can you point me in the right direction please?

yeshoward 06-18-2008 09:10 AM

Hihi
NICE module!

two years ago, someone mentioned
Quote:

Very good. But I miss the Upload to FTP. I have a Board-Server and a Upload-Server.....

Can You add this?

GreeTz
Snatch
Any updates now please?
it is really needed especially when we have HUGE images bases

cheers

yeshoward 06-18-2008 09:22 AM

and can we let members to set their own category?
It is much more like gallery, yes.

I know VBB has a embedded gallery now, but your module is more handy for sure, especialy for members who want to post a new thread with many photos+words

thanks again!

chick 06-26-2008 11:54 AM

Installed and testing, so far I everything working correctly. It works great. If you use 00's in any of the settings you will get a 'warning division by zeros' error, so I fixed that by using whole numbers such as 648 width instead of 650.

I do have one question though. Since my site images are protected by htaccess and they cannot be posted outside my site AND no HTML is allowed on my site, which templates to I modify to erase the line that gives the HTML tags option for linking.

I just want to leave the BB tags in tact.

Thanks for any help. If it's here somewhere I could read no longer after page 40 and started backward.

RFViet 06-28-2008 12:24 PM

Works with vB3.7 yet ??

blind-eddie 06-28-2008 12:54 PM

Yes, I use it on 3.7.2, no know issues.


All times are GMT. The time now is 12:31 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.02777 seconds
  • Memory Usage 1,857KB
  • 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
  • (5)bbcode_code_printable
  • (19)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