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


All times are GMT. The time now is 10:50 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.02603 seconds
  • Memory Usage 1,757KB
  • 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
  • (4)bbcode_code_printable
  • (5)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