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)

passion_club 05-05-2008 07:03 AM

Oh very Nice Mod

BigDog56 05-05-2008 10:53 AM

Quote:

Originally Posted by Hypocrisy (Post 1507611)
Will this addon operate under vBulletin 3.7? (I have peeked through the thread but didn't see anything regarding this.)


Thanks :)

I had this installed on 3.6 and upgraded to 3.7 Still works like a charm.

AzH 05-05-2008 11:07 AM

Indeed. Works fine: http://devioustyrant.com/vbimghost.php?do=myimages

edgeyveggie 05-05-2008 06:03 PM

Still now working my initial post is on the last page :/ the CP DOES look differently but there are no images and there are no template changes visible even after doing them.. :confused:

Twin_Turbo 05-05-2008 07:51 PM

I would like to change the code so it inserts a full size image and not a clickable thumbnail 9since I have a resize feature, no need for thumbnail insertion)

Anyway, I am messing with
result = '[url='+ dispath + ']https://vborg.vbsupport.ru/[/url]';

and changing it to
result = 'https://vborg.vbsupport.ru/';

obviously inserts just a thumbnail but what do I need to swap for thumbp to get the path to the full size image? I tried path but it doesn't work, it just gives the same as the display path.

I want to do this in the gallery popup and the quick upload.

blind-eddie 05-06-2008 03:15 PM

Quote:

I have a 4 vb license, I have this mod add to each site. One site http://outerzone.us I have an issue with this mod. All settings are the same per vb Image Hosting on each site for Admin Usergroup.
The problem I am having is that when any Admin tries to Upload an image, they receive the following Message:
Quote:

You already have the max number of images allowed to upload.
But, I am not getting this message on my other vb sites.


Permissions Image for Admin Usergroup
http://outerzone.us/host.bmp


http://outerzone.us/host2.bmp

Any help will be appreciated.
EDIT: I fixed it.

samiro 05-09-2008 03:36 PM

Now, there is a new version of VB... 3.7
How can I move all the user's images to their hosting (profile) that comes with the VB 7.0?

blind-eddie 05-11-2008 06:05 AM

They would need to do it themselves.

BigDog56 05-11-2008 07:53 PM

Ummm. Not working in 3.7 on the new styles I installed.

hohleweg 05-13-2008 07:40 PM

Hi
In 3.7 i dont can delete Picture from the ACZ:

The error messsage is:
Quote:

Warnung: unlink([path]/Bildhosting/Bildhosting/14404b0c1ba608.jpg) [function.unlink]: No such file or directory in [path]/admincp/vbimghost.php (Zeile 316)
why?
Greetings Jo

insidedesign 05-13-2008 09:43 PM

Can you control bandwidth allotment with this MOD?

hohleweg 05-16-2008 06:24 AM

Hi
The path is not ok!
Quote:

/Bildhosting/Bildhosting/
i delete
Quote:

$vbulletin->options['imgdir']."/".
now its work :-)
Jo

notafinga 05-17-2008 01:35 PM

installed but when goin to upload file i get

"No input file specified." vb version 3.6.7

blind-eddie 05-17-2008 04:23 PM

Quote:

Originally Posted by notafinga (Post 1522571)
installed but when goin to upload file i get

"No input file specified." vb version 3.6.7


You may need to add the file type you are trying to upload to the Allowed extentions located in your admincp/vbimage hosting/

Quote:

Originally Posted by BigDog56 (Post 1516427)
Ummm. Not working in 3.7 on the new styles I installed.


When styles are added, they should be added as child styles, if not you will need to edit each style with the proper template edits for it to work in those styles.

Doctor Death 05-22-2008 02:58 AM

I am running 3.7... The library of images is still there from the upgrade but suddenly I am getting this message on image uploads:

Quote:

Fatal error: Call to undefined function imagecreatefromjpeg() in /home/v*******/public_html/forums/includes/vbimghost_include.php on line 175
Any Ideas?

Deadly Assassin 05-22-2008 04:28 PM

Took a while to get it configured properly, had to trawl through the thread a few times. :D

Great hack man. :up: This solves all the problems with image hosting, its ACE.

:up::up:

Ahhh, just one thing.

I have the smileys below my posting box, using This Hack Here when i added the code for the upload box below the smileys box it won't show?

Is there a way to sort this out?

Thanks mate.

SilentSummit 05-22-2008 06:29 PM

Hey man, I'm having a bit of a problem with permissions?

This is the message that I get when I go and hit Upload Image when I'm logged in I get a page saying that I don't have the right permissions to access that page, and I'm logged in with an admin account..

Any help would be greatly appreciated.

Doctor Death 05-22-2008 07:59 PM

Quote:

Originally Posted by Doctor Death (Post 1527537)
I am running 3.7... The library of images is still there from the upgrade but suddenly I am getting this message on image uploads:

Fatal error: Call to undefined function imagecreatefromjpeg() in /home/v*******/public_html/forums/includes/vbimghost_include.php on line 175




Any Ideas?

Bump

Deadly Assassin 05-23-2008 04:21 AM

Quote:

Originally Posted by SilentSummit (Post 1528213)
Hey man, I'm having a bit of a problem with permissions?

This is the message that I get when I go and hit Upload Image when I'm logged in I get a page saying that I don't have the right permissions to access that page, and I'm logged in with an admin account..

Any help would be greatly appreciated.

Go to your UserGroup permissions, there you can allow uploads, administration etc...

BigDog56 05-24-2008 03:01 PM

When using the link in the smilie box, the images show uo at the top of the forum, lol. not in the reply box. (Using 3.7)

kether1 05-25-2008 11:08 PM

Here is an odd question: I would like to use this as the image gallery for my forum, but I would like to have the images that are hosted placed on my other URL on my server. For example if my forum address is www.example.com/forum - instead of having the 'imagehosting' folder inside /forum - I would like to put it on my other site - www.othersite.com/imagehosting - that is not a forum site at all (but would serve as the image hosting site.)

This way all the images would be stored at that site and have that URL instead of my forum's url.

Ok - why do I want to do this? There are a couple of reasons but the main one is that I want to be able to cache the images in the forum using the ImageCache hack. If the image comes from my forum url, then the ImageCache hack will not cache the image and if a user deletes an image from his album to make room for another,--- if that image was used in the forum, --- it then disappeares and leaves a blank or red x where the image used to be :( thus screwing up that particular thread in the forum.

I thought about just turning off the 'delete' permissions in this modification, but decided that would mean no one could ever change his or her gallery. - That would not be cool. My users have lots of photos and I am sure they would run out of space and start deleting to make room for more.

But I don't want to have missing images in the forum either, so I would like to have the image cached.

I like this hack very much, but cannot use it unless there is a way to store the images on my non-forum site.

Any idea how to do that?

Thanks,
K

BTW - (I installed this on my test forum and it works wonderfully in 3.7 - I sure hope to be able to install it on my real forum and click INSTALL here!)

Warlord 06-01-2008 12:55 AM

Quote:

Originally Posted by Ultimate Killer (Post 1438163)
I got these erroes, can someone help me out with them thanks.

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

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpWfufXo' to 'imagehosting/tmp_147ab198d00275' in /vbimghost.php on line 640

Warning: imagecreatefromjpeg(imagehosting/147ab198d01298.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 53

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

Warning: imagejpeg() [function.imagejpeg]: Unable to open 'imagehosting/thum_147ab198d01298.jpg' for writing in /includes/vbimghost_include.php on line 61

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

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

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/php7fzfHW' to 'imagehosting/tmp_147ab198d01e58' in /vbimghost.php on line 640

Warning: imagecreatefromjpeg(imagehosting/147ab198d030c4.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 53

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

Warning: imagejpeg() [function.imagejpeg]: Unable to open 'imagehosting/thum_147ab198d030c4.jpg' for writing in /includes/vbimghost_include.php on line 61

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

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

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpUSo2BU' to 'imagehosting/tmp_147ab198d03c97' in /vbimghost.php on line 640

Warning: imagecreatefromjpeg(imagehosting/147ab198d04d6d.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 53

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

Warning: imagejpeg() [function.imagejpeg]: Unable to open 'imagehosting/thum_147ab198d04d6d.jpg' for writing in /includes/vbimghost_include.php on line 61

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




Redirecting...



image uploaded

Click here if your browser does not automatically redirect you.


I see you figured it out, but it's nice to post it for everyone else. :p

If anyone is having this problem, CHMOD your imagehosting directory (that you uploaded with all the other files) to 777.

Warlord 06-01-2008 01:27 AM

Quote:

Originally Posted by Ultimate Killer (Post 1438173)
Never mind, I figured it out. now I want to delete the images that didn't show up before I fixed the problem but they won't delete.


The only way could find to fix this problem (and I'm sure there is a geekier, hi tech way) was to create images and name them whatever the images that won't delete are named. Then upload them to your imagehosting folder so there is actually something there to delete.

The problem was that vBulletin thinks there are images there, so it lists their file names. When it goes to display or delete them though, it can't find them and freaks the frack out. This fixes that. :)

Warlord 06-01-2008 01:41 AM

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 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 here.)

Warlord 06-01-2008 01:48 AM

Here's a screenie of what I mean.....

EvilJohn 06-01-2008 11:44 AM

Nice. Works very well with 3.7 You should move your mod to that forum. Clicked Installed :)

Ranma2k 06-01-2008 05:24 PM

Quote:

Originally Posted by EvilJohn (Post 1537742)
Nice. Works very well with 3.7 You should move your mod to that forum. Clicked Installed :)

why not use the album feature that came with vb 3.7 instead of using this hack ?!

Warlord 06-01-2008 05:51 PM

Any idea on my problem Ranma? :)

redlabour 06-02-2008 02:43 AM

Quote:

Originally Posted by Ranma2k (Post 1538009)
why not use the album feature that came with vb 3.7 instead of using this hack ?!

Because the Quickupload Feature is missing in the Editor. :(

Anyway to get a Hack from you for 3.7 that brings the Quick-Upload to one specific Album for each Member?

ShiZoPhreN 06-02-2008 08:11 AM

Quote:

Originally Posted by Ranma2k (Post 1538009)
why not use the album feature that came with vb 3.7 instead of using this hack ?!

i find this Hack better than the intregated "Album"-Feature from vB, :)...

:up:

fancominc 06-02-2008 10:24 AM

If I want to translate some phrases (like VB Image Host in the navigation bar), how can I do that?

fancominc 06-02-2008 10:26 AM

and when I tried to upload an image, it returned an error saying that I don't have permission to use the feature (I did activate it and did set the CHMOD to 777)? help please!

kether1 06-02-2008 11:55 AM

Quote:

Originally Posted by kether1 (Post 1531370)
Here is an odd question: I would like to use this as the image gallery for my forum, but I would like to have the images that are hosted placed on my other URL on my server. For example if my forum address is www.example.com/forum - instead of having the 'imagehosting' folder inside /forum - I would like to put it on my other site - www.othersite.com/imagehosting - that is not a forum site at all (but would serve as the image hosting site.)

This way all the images would be stored at that site and have that URL instead of my forum's url.

Ok - why do I want to do this? There are a couple of reasons but the main one is that I want to be able to cache the images in the forum using the ImageCache hack. If the image comes from my forum url, then the ImageCache hack will not cache the image and if a user deletes an image from his album to make room for another,--- if that image was used in the forum, --- it then disappeares and leaves a blank or red x where the image used to be :( thus screwing up that particular thread in the forum.

I thought about just turning off the 'delete' permissions in this modification, but decided that would mean no one could ever change his or her gallery. - That would not be cool. My users have lots of photos and I am sure they would run out of space and start deleting to make room for more.

But I don't want to have missing images in the forum either, so I would like to have the image cached.

I like this hack very much, but cannot use it unless there is a way to store the images on my non-forum site.

Any idea how to do that?

Thanks,
K

BTW - (I installed this on my test forum and it works wonderfully in 3.7 - I sure hope to be able to install it on my real forum and click INSTALL here!)

Anyone have any thoughts about how to do this?

Thanks,
Kether

Warlord 06-02-2008 12:32 PM

Not sure if it would work but I'd try this..

in the file product-ao_vbimghost.xml, go to line 750 and change the path to the complete url you want your pictures stored in on the other domain. So long as your database information is the same I think it should work. (You may have to set the final folder name in the vbIMG Options in the Admin panel.

You have a vb here: http://www.site1.com/vb
You want images hosted here: http://www.site2.com/vb/imagehosting
(On site2 create the folders vb (or forums or whatever your normal vbulletin folder is called) with a subfolder called imagehosting even if you don't have a vb on that site - and make sure you CHMOD it 777)

i.e. - if the path to where you want your images hosted is http://www.site2.com/vb/imagehosting I'd just try typing in http://www.site2.com (on line 750), then save the file and import and overwrite the product again (In the vbulletin cp).

Then type in the folder imagehosting in the admin control panel options for the image hosting in vbulletin. Just an idea, but it might work.

kether1 06-02-2008 10:58 PM

Quote:

Originally Posted by Warlord (Post 1538695)
Not sure if it would work but I'd try this..

in the file product-ao_vbimghost.xml, go to line 750 and change the path to the complete url you want your pictures stored in on the other domain. So long as your database information is the same I think it should work. (You may have to set the final folder name in the vbIMG Options in the Admin panel.

You have a vb here: http://www.site1.com/vb
You want images hosted here: http://www.site2.com/vb/imagehosting
(On site2 create the folders vb (or forums or whatever your normal vbulletin folder is called) with a subfolder called imagehosting even if you don't have a vb on that site - and make sure you CHMOD it 777)

i.e. - if the path to where you want your images hosted is http://www.site2.com/vb/imagehosting I'd just try typing in http://www.site2.com (on line 750), then save the file and import and overwrite the product again (In the vbulletin cp).

Then type in the folder imagehosting in the admin control panel options for the image hosting in vbulletin. Just an idea, but it might work.


I will give it a try and let you know! Thanks for the detailed instructions.

Regards,
Kether

ShiZoPhreN 06-03-2008 03:50 AM

Any1 have a Idea, i can 5 Pictures in a Profiltab?.. Like "Gallery-Profiltab"

Thanx in Advance

Ah and Ranma2k, this Hack is great for "Imagehosting" for external links an the intregated "Album"-Feature i find, is for Private or non-external-links so pls, :) upgrade your great hack pls =D eg. with Profiltab-Preview or so.

fancominc 06-03-2008 12:10 PM

Quote:

Originally Posted by fancominc (Post 1538610)
and when I tried to upload an image, it returned an error saying that I don't have permission to use the feature (I did activate it and did set the CHMOD to 777)? help please!

I'd appreciate very much if somebody could help me with this. I can't get it work properly.

Warlord 06-03-2008 03:14 PM

Quote:

Originally Posted by fancominc (Post 1539641)
I'd appreciate very much if somebody could help me with this. I can't get it work properly.


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.

jailer 06-03-2008 03:19 PM

Can anyone tell me what the tmp files are in the imagehosting folder? I've not that many images but 180mb of temp files..?

Thanks.

Warlord 06-03-2008 04:31 PM

Quote:

Originally Posted by jailer (Post 1539783)
Can anyone tell me what the tmp files are in the imagehosting folder? I've not that many images but 180mb of temp files..?

Thanks.

This is the only part of the code I could find anything about temp files in for the XML file...

Code:

                <plugin active="1" executionorder="5">
                        <title>vbimghost Precach template</title>
                        <hookname>member_start</hookname>
                        <phpcode><![CDATA[$temp = array('vbimghost_memberbit','vbimghost_memberbit_noimg');
cache_templates($temp, $style['templatelist']);]]></phpcode>
                </plugin>

Looks like it's a plugin to cache a template for the member profile page maybe? I'm not sure what they are, but I don't think think they're really all that important, it didn't seem to affect anything when I deleted them from my folder.


All times are GMT. The time now is 10:53 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.02607 seconds
  • Memory Usage 1,860KB
  • 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
  • (1)bbcode_code_printable
  • (21)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