vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   VB image Hosting (https://vborg.vbsupport.ru/showthread.php?t=106127)

Snatch 06-01-2006 08:35 AM

Is it possible to save the Images on a another Server via FTP or SSH etc?

Greetz
Snatch

Ranma2k 06-01-2006 11:17 AM

Quote:

Originally Posted by rmxs
Yeap i know byt there is no possible to see all images?>>?5000+members can upload 10000 pictures it biff to search one by one...

Can you make it this?or if there is something like *all*

That is already there

type all as the member name and it will show all the images of all the users

Ranma2k 06-01-2006 11:18 AM

Quote:

Originally Posted by Snatch
Is it possible to save the Images on a another Server via FTP or SSH etc?

Greetz
Snatch

curently no
but in future release i'll add that

rmxs 06-01-2006 07:18 PM

i must go to my doctor!!LOL....
Thanks it works GOOD :)

Ranma2k 06-01-2006 10:10 PM

Quote:

Originally Posted by rmxs
i must go to my doctor!!LOL....
Thanks it works GOOD :)

:)
glad it was solved :)

cartooner 06-06-2006 03:32 PM

Quote:

Originally Posted by Ranma2k
in vbimghost_imgbits

find
Code:

        <tr>
                <td class="alt1">$vbphrase[vbimghost_imgflink]</td>
                <td class="alt2"><input type="text" value="https://vborg.vbsupport.ru/"></td>
        </tr>

replace it with
Code:

        <tr>
                <td class="alt1">$vbphrase[vbimghost_imgflink]</td>
                <td class="alt2"><input type="text" value="https://vborg.vbsupport.ru/"></td>
        </tr>

or you can just add this

Code:

        <tr>
                <td class="alt1">$vbphrase[vbimghost_imgflink]</td>
                <td class="alt2"><input type="text" value="https://vborg.vbsupport.ru/"></td>
        </tr>

under the first code

and it should work with you

I had to do this to. Some members didn't like it because it affected the amount of characters in their Siginatures. I limit my members to 500 characters per Siginature and the BBcode the way it was really stretched that limit. So I too also had to go back to way it was.

I personally like the new way myself, I have a suggestion, how about adding another link box, with just the straight https://vborg.vbsupport.ru/. Like the orginal way was.

And You are doing really good. I really love the upgrade. Thank You.

Ranma2k 06-06-2006 07:48 PM

Quote:

Originally Posted by cartooner
I had to do this to. Some members didn't like it because it affected the amount of characters in their Siginatures. I limit my members to 500 characters per Siginature and the BBcode the way it was really stretched that limit. So I too also had to go back to way it was.

I personally like the new way myself, I have a suggestion, how about adding another link box, with just the straight [IMG] path to file [/IMG]. Like the orginal way was.

And You are doing really good. I really love the upgrade. Thank You.

you don't need to do it
just reupload the xml in the file and it should do it for you

moonclamp 06-09-2006 08:44 AM

I've noticed a couple of small bugs with the redirect after deleting images.

If a user deletes an image from the image page (rather than the list) the page will be redirected to the message "Wrong image id"

If the user deletes all their images from a single page (beyond the first page) they will get redirected to a blank page rather than the previous page.

Ranma2k 06-09-2006 09:22 AM

Quote:

Originally Posted by moonclamp
I've noticed a couple of small bugs with the redirect after deleting images.

If a user deletes an image from the image page (rather than the list) the page will be redirected to the message "Wrong image id"

If the user deletes all their images from a single page (beyond the first page) they will get redirected to a blank page rather than the previous page.

i'll check it and fix it

cartooner 06-10-2006 03:24 PM

Quote:

Originally Posted by Ranma2k
you don't need to do it
just reupload the xml in the file and it should do it for you

Could you explain further. Reupload which XML file?? bitfield_ao_vbimghost
or the cpnav_ao_vbimghost xml file from the 1.3.1 version.

All i want is the path to the image inside IMG brackets without all the extra characters...

cartooner 06-10-2006 03:32 PM

or do you mean install the 1.3.1a version???

cartooner 06-10-2006 03:36 PM

Quote:

Originally Posted by Ranma2k
well based on the request that i recived that the image should be displayed on a page related to the forums
i changed the mod to show the thumps insted of the complete image and when you click on the thumb it will redirect you to the image page which will show the actual image and some inforamtion

How ever i modified the hack and reupload it again (ver 1.3.1a ) you can download that and just import the xml
and will display the links as shown this the following attached

Ok...I found my answer..TY so much.

Ranma2k 06-10-2006 04:04 PM

Quote:

Originally Posted by cartooner
Ok...I found my answer..TY so much.

just remmber to revert the templates

cartooner 06-10-2006 06:18 PM

Quote:

Originally Posted by Ranma2k
just remmber to revert the templates

Ok TY....

cartooner 06-10-2006 06:19 PM

..and TY for the very good, and speedy support.

FStop 06-11-2006 07:51 PM

Quote:

Originally Posted by CEOPcGamingGuru
I followed the instructions and read all 26 pages of this thread and still i have no images, lol. i get errors when uploading and it says its uploaded but then i get a red X. It gives me the url etc but no images. Any help would be great.

HTML Code:

Warning: move_uploaded_file(imagehosting/tmp_3447c92f064cb7): failed to open stream: Permission denied in /vbimghost.php on line 475

Warning: move_uploaded_file(): Unable to move '/tmp/phpGGQyib' to 'imagehosting/tmp_3447c92f064cb7' in /vbimghost.php on line 475

Warning: imagecreatefrompng(imagehosting/watermark.png): failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 167

Warning: imagecreatefromjpeg(imagehosting/3447c92f06586d.jpg): failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 198

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

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

Warning: imagecreatetruecolor(): Invalid image dimensions in /includes/vbimghost_include.php on line 199

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

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

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

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

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

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


The fix for this is to make sure that you create a folder called 'imagehosting' under your forums folder, and give it 777 rights. The install instructions don't say anything about creating this folder (that I saw). :)

moonclamp 06-12-2006 04:20 PM

suggestion ... Is there some sort of htaccess rewrite rule so that, once an image has been deleted a default image can take it's place rather than a red X ?

Ranma2k 06-13-2006 04:48 AM

Quote:

Originally Posted by moonclamp
suggestion ... Is there some sort of htaccess rewrite rule so that, once an image has been deleted a default image can take it's place rather than a red X ?

will think of a way ..

landry 06-13-2006 12:17 PM

Very nice....thanks

64North 06-25-2006 08:15 AM

I have tested this with 3.6.x beta 3, and it works just fine.
A couple suggestions/requests. It would be nice if there was an option to select multiple images at once and then change their permissions (private, public, delete).

It would also be awesome if there was a way to associate an image with a thread. For instance, if I posted the image to a thread and describe in that thread where I took the shot and what it was all about, then it would be great to be able to go back to the image host overview, and add the thread link to the image description somehow, preferably with thread title and thread link.

Great work, thanks for the mod and keep it up. :)

Ranma2k 06-25-2006 09:05 AM

Quote:

Originally Posted by 64North
I have tested this with 3.6.x beta 3, and it works just fine.
A couple suggestions/requests. It would be nice if there was an option to select multiple images at once and then change their permissions (private, public, delete).

It would also be awesome if there was a way to associate an image with a thread. For instance, if I posted the image to a thread and describe in that thread where I took the shot and what it was all about, then it would be great to be able to go back to the image host overview, and add the thread link to the image description somehow, preferably with thread title and thread link.

Great work, thanks for the mod and keep it up. :)

for the multiple acction i'm doing that for the next release :)

as for the second part i didn't get you fully ..

Zweeper 06-25-2006 05:12 PM

Watermark funkction ;)

64North 06-25-2006 08:19 PM

@Zweeper
There already is a watermark function in the current release.

@Ranma2k
Let's say you upload an image. Then you proceed to use that image in a thread you create. Now, when someone is browsing your gallery, all the see are the images and the data about file size and such, but they have no way to know whether you used that image on that message board at all.

What I would like is the ability to reference the image to the threads in which it was used. I realize that this couldn't be an automatic thing, but if the user would have a way to specify in which threads the image was used, so that gallery viewers can then go to that thread and read about the image, where it was taken, under which conditions, etc.

Things like Photopost Gallery, and vB Gallery have a feature where one can add comments under each image. I think that is a really bad idea as it creates a "discussion thread" that is disassociated from the actual forum. What I mean is that people engage in a discussion about the image in the gallery part of the message board (right underneath the image), but they do not discuss it in the forum part, say under "Nature Pictures".

What that does is it essentially splits the focus of the message board between threads on the forum, and threads underneath each image in the gallery part of the message board.

What I would like to do is to "unify" these two.
The only way this could work as far as I see it if there were one of two things.

#1 The gallery owner has some sort of option to add a link to the thread in which the image is being discussed to the image gallery.

or (and perhaps even better)

#2 Any newly uploaded picture has a button underneath it that says "Start a New Thread About This Image". If clicked, a new thread will be created in the appropriate forum that shows the image and allows for others to discuss the image. If such a thread has already been created, then the link underneath the image would read "click here to view the discussion about this image", or something like that.

Eh, that's a lot of writing, but I don't think I have explained it very well.
I will think of a better way to write it down and will try again later. ;)

Also, put up your Paypal link here, I would be happy to support further development with a modest financial contribution.

Ranma2k 06-25-2006 08:27 PM

Quote:

Originally Posted by 64North
@Zweeper
There already is a watermark function in the current release.

@Ranma2k
Let's say you upload an image. Then you proceed to use that image in a thread you create. Now, when someone is browsing your gallery, all the see are the images and the data about file size and such, but they have no way to know whether you used that image on that message board at all.

What I would like is the ability to reference the image to the threads in which it was used. I realize that this couldn't be an automatic thing, but if the user would have a way to specify in which threads the image was used, so that gallery viewers can then go to that thread and read about the image, where it was taken, under which conditions, etc.

Things like Photopost Gallery, and vB Gallery have a feature where one can add comments under each image. I think that is a really bad idea as it creates a "discussion thread" that is disassociated from the actual forum. What I mean is that people engage in a discussion about the image in the gallery part of the message board (right underneath the image), but they do not discuss it in the forum part, say under "Nature Pictures".

What that does is it essentially splits the focus of the message board between threads on the forum, and threads underneath each image in the gallery part of the message board.

What I would like to do is to "unify" these two.
The only way this could work as far as I see it if there were one of two things.

#1 The gallery owner has some sort of option to add a link to the thread in which the image is being discussed to the image gallery.

or (and perhaps even better)

#2 Any newly uploaded picture has a button underneath it that says "Start a New Thread About This Image". If clicked, a new thread will be created in the appropriate forum that shows the image and allows for others to discuss the image. If such a thread has already been created, then the link underneath the image would read "click here to view the discussion about this image", or something like that.

Eh, that's a lot of writing, but I don't think I have explained it very well.
I will think of a better way to write it down and will try again later. ;)

Also, put up your Paypal link here, I would be happy to support further development with a modest financial contribution.

Well you'll be happy to know i'm actully working on a rating and comment system for the images :)
As for paypal ..
well there is not need i always give help / support for free so i hope you'll enjoy it ^_^

moonclamp 06-25-2006 11:41 PM

Here's a little trick I'm using

By opening the vbimghost_imgbits and vbimghost_displayimg templates and then adding &referrerid=$bbuserinfo[userid] to the end of the hypelink URL it will give people referral credit in event of new memberships being generated by the links.

64North 06-26-2006 03:07 AM

Quote:

Originally Posted by Ranma2k
Well you'll be happy to know i'm actully working on a rating and comment system for the images :)

That's my point. A comment system is no good. The comment system creates a "thread" for the image within the gallery page. This means that those who are likely to discuss the image, will do so on the gallery page instead of the actual forum.

Jarllax 06-28-2006 02:13 AM

Thanks a bunch for this. Was wanting something like this for quite a while and was about to code something similar to it myself. But this is far better than what I had planned out. So again, thanks a bunch!

antialiasis 06-30-2006 08:16 PM

Quote:

Originally Posted by Ranma2k
that is the point. list all users will be accessed by all the members and it will view the public images of the members.
Only admins will see all images but in the admincp not the list all users.

I'm saying that if anybody views the "List all users' images" list, it just says "No users found", even though at least some of the images are public.

Ranma2k 06-30-2006 08:37 PM

Quote:

Originally Posted by antialiasis
I'm saying that if anybody views the "List all users' images" list, it just says "No users found", even though at least some of the images are public.

strange ..
it works well with everyone
did you make sure that your revert the templates when updated ?!
if yes please give me access to the forum so i ca see what's the problem ..

noj75 07-01-2006 07:19 AM

Hi

Great mod, clicked install. Thank you very much.

Just one point from me. If there are other novices out there (like me) they may find a small problem. I cant seem to find anything about CHMOD the imagehosting directory in your install instructions. It might be an idea to add the details. Or I could be wrong, but when I tried the system out I got the obvious errors untill I done the CHMOD.

Thanks again.

Kind regards.

Ranma2k 07-01-2006 01:56 PM

Quote:

Originally Posted by noj75
Hi

Great mod, clicked install. Thank you very much.

Just one point from me. If there are other novices out there (like me) they may find a small problem. I cant seem to find anything about CHMOD the imagehosting directory in your install instructions. It might be an idea to add the details. Or I could be wrong, but when I tried the system out I got the obvious errors untill I done the CHMOD.

Thanks again.

Kind regards.

Sorry i must have forgoten it while writing the doc
i have updated the installation file and reuploaded the file

Thanks for the reminder

The Chief 07-01-2006 04:19 PM

One thing before I install it on myetalk.com, does this work with Image Magick? Meaning does this modification require Apache for it to work correctly?

Thanks!

looks great, btw! :)

Ranma2k 07-01-2006 04:24 PM

Quote:

Originally Posted by The Chief
One thing before I install it on myetalk.com, does this work with Image Magick? Meaning does this modification require Apache for it to work correctly?

Thanks!

looks great, btw! :)

it uses GD library if you have it, it will work
i didn't support image magick cuz i didn't have it on my testing server :)

but i will in future releases

The Chief 07-01-2006 05:04 PM

Quote:

Originally Posted by Ranma2k
it uses GD library if you have it, it will work
i didn't support image magick cuz i didn't have it on my testing server :)

but i will in future releases

I hope you include it rather soon, as I am using lighttpd, and it's a software that makes your server load alot faster the only downfalls is that Apache doesn't work, which means no GD :)

Hope you get Image Magick to work, thanks!

Ranma2k 07-01-2006 05:14 PM

Quote:

Originally Posted by The Chief
I hope you include it rather soon, as I am using lighttpd, and it's a software that makes your server load alot faster the only downfalls is that Apache doesn't work, which means no GD :)

Hope you get Image Magick to work, thanks!

I thought GD comes with PHP not with Apache ...

The Chief 07-01-2006 05:40 PM

Quote:

Originally Posted by Ranma2k
I thought GD comes with PHP not with Apache ...

No, actually it relies on Apache to get the thumbnails resized...

xtremeteam 07-02-2006 07:15 AM

got everything installed ok but when i click "host it!" the page will load then i come to a blank screen at http://www.mysite.net/forum/vbimghost.php ,i reuploader the vbimghost.php file but still comes up blank...any know why?

noj75 07-02-2006 07:19 AM

Hi,

On the user side of things the mod is working great. It seems though that the problems for me start when in admin.

For example:

I get this error when I try to delete and image from the admin panel:

Code:

Warning: unlink(): open_basedir restriction in effect. File(/imagehosting/144a6366f2bf64.gif) is not within the allowed path(s): (/home/*****/:/usr/lib/php:/usr/local/lib/php:/tmp) in /myadmin/vbimghost.php on line 311
And also when I rebuild thumbnails all I get is:

Thumbnail Not created for blah.gif


Any ideas?

Kind regards.

Ranma2k 07-03-2006 11:04 PM

Quote:

Originally Posted by xtremeteam
got everything installed ok but when i click "host it!" the page will load then i come to a blank screen at http://www.mysite.net/forum/vbimghost.php ,i reuploader the vbimghost.php file but still comes up blank...any know why?

did you do a anew install or update ?
can you pm me with the fourm link and access if posible ..

Ranma2k 07-03-2006 11:06 PM

Quote:

Originally Posted by noj75
Hi,

On the user side of things the mod is working great. It seems though that the problems for me start when in admin.

For example:

I get this error when I try to delete and image from the admin panel:

Code:

Warning: unlink(): open_basedir restriction in effect. File(/imagehosting/144a6366f2bf64.gif) is not within the allowed path(s): (/home/*****/:/usr/lib/php:/usr/local/lib/php:/tmp) in /myadmin/vbimghost.php on line 311
And also when I rebuild thumbnails all I get is:

Thumbnail Not created for blah.gif


Any ideas?

Kind regards.

well this happens if you didn't set the forum path in the config.php file , did you se it ?

as for the Thumbnail not created
there is severals reasons one of it is the the image is smaller than the thumbnail so it won't creae one for it .


All times are GMT. The time now is 04:41 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.01942 seconds
  • Memory Usage 1,869KB
  • 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
  • (1)bbcode_html_printable
  • (24)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