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)

The Chief 07-27-2006 02:53 PM

Quote:

Originally Posted by SpriteGames
Hi,

Yeah, I managed to get that far myself - the problem was that the link would still be there even if a user hasn't uploaded an image (which is why I was asking about how to pull the number of images a user has uploaded from the DB).

Cheers!

If I remember well Ranma said he would ass this as a plugin :)

tfw2005 07-28-2006 02:52 AM

Here is an htaccess file that will disallow hot linking to these uploaded files from anyone but the URLS you specify. Copy this to a blank file, name it .htaccess, and drop this into the imagehosting folder. Works for linux servers of course, cant support this, just trying to help anyone who wants to limit these images being seen to only their site/forums.

Code:


RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?youralloweddomain1.com(/)?.*$    [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?youralloweddomain2.info(/)?.*$    [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?youralloweddomain3.info(/)?.*$    [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?youralloweddomain4.net(/)?.*$    [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?youralloweddomain5.info(/)?.*$    [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://pagetoredirectto.com/index.php [R,NC]


DementedMindz 07-28-2006 03:38 AM

how can i view members images if they set them private?

DementedMindz 07-28-2006 04:06 AM

I have been tryin to make this work on the new thread page so far i have it pretty well set up i just have to figure out why it keeps tellin me to enter in a title/subject hopefully tomorrow when i get up and aint so tired i can get it or if someone wants to try to get it here is what i have so far... i been testing it out in the new thread template and hopefully tomorrow i can get it to work i may even try ajax or something to show the url right on that page...

Code:

<fieldset class="fieldset"><legend>Upload Your Images</legend>
<form method="post" action="vbimghost.php" enctype="multipart/form-data">
<table border="0" cellspacing="0" cellpadding="0">
<tr> <td> <b>Image to upload:</b><br />
<input class="bginput" type="file" name="upfile$count" size="30" /><br />
<input type="hidden" name="do" value="uploadfile" /><br />
<input class="bginput" type="submit" value="$vbphrase[vbimghost_hostit]" />
<input class="bginput" type="reset"value="$vbphrase[vbimghost_reset]" />
</td> </tr> </table> </form>
</fieldset>


64North 07-28-2006 06:12 PM

It would be great if it were possible to only add the watermark to images that are show outside of the domain this add-on is installed on.

For example, when my users look at the images on any http://outdoor-photo.net page, no watermark would be shown, but if someone were to link a photo to say vBulletin.org, then the watermark would show up.

Also, it would be important that the watermark is only added to images of a certain size, so that someone who uploads a 20pxx20px image doesn't get a 120x15 watermark slapped onto it.

The Chief 07-28-2006 10:10 PM

Quote:

Originally Posted by 64North
It would be great if it were possible to only add the watermark to images that are show outside of the domain this add-on is installed on.

For example, when my users look at the images on any http://outdoor-photo.net page, no watermark would be shown, but if someone were to link a photo to say vBulletin.org, then the watermark would show up.

Also, it would be important that the watermark is only added to images of a certain size, so that someone who uploads a 20pxx20px image doesn't get a 120x15 watermark slapped onto it.

Umm, that would make things a bit complicated, the watermark is added on image creation/upload, so it would have to recreate all images, I don't even think it's possible...

Ranma2k 07-29-2006 04:49 AM

Quote:

Originally Posted by DementedMindz
how can i view members images if they set them private?

from the admincp

Ranma2k 07-29-2006 04:55 AM

Guys I'm really sorry for the late updates.
Life is being more complicated with me
so looks like I'm going to release what ever i finished for now and add the rest later.
i'm going to release it this week hopefully.

For now what is most important that you want to see in the next release ?

Thanks

Ranma2k 07-29-2006 08:45 AM

Quote:

Originally Posted by SpriteGames
Hi,

Yeah, I managed to get that far myself - the problem was that the link would still be there even if a user hasn't uploaded an image (which is why I was asking about how to pull the number of images a user has uploaded from the DB).

Cheers!

i have applied it in the new ver as you can see in the attachment

The Chief 07-29-2006 09:26 PM

Quote:

Originally Posted by Ranma2k
Guys I'm really sorry for the late updates.
Life is being more complicated with me
so looks like I'm going to release what ever i finished for now and add the rest later.
i'm going to release it this week hopefully.

For now what is most important that you want to see in the next release ?

Thanks

Can you give us what you are intending on releasing or features you are working on?

I can probably tell you which ones would be the most important :)

serhat_kk 07-30-2006 12:58 AM

Quote:

Originally Posted by serhat_kk
how do i store images at another server?

Quote:

Originally Posted by Ranma2k
it's not supported in this ver
in next ver it will be

Thanks Ranma2k. It will be very useful. I'm waiting for the next version. Thanks...:)

Ranma2k 07-30-2006 04:51 AM

Quote:

Originally Posted by The Chief
Can you give us what you are intending on releasing or features you are working on?

I can probably tell you which ones would be the most important :)

ok here is what i have done so far and working fine ..

1- text watermarking
2- rearranged displaying of the images
3- Navbar for the images
4- added member info / post info plugins
5- fixed some security issues

currently working on
1- filmstrip (98% done)
2- remote image store ( will try to include it )
3- ability to upload from thread/post creation and adding the link to it.

delayed to the ver after
1- comment system

the next release is to be expected this week (hopefully)

anything else needed ?!

thomor25 07-30-2006 02:13 PM

are the images stored in the database or on the server?

dacho 07-30-2006 03:05 PM

Did only member can see the images from this system ?
and
if ther is a option that the link become different and work only in the forum - not in different site ?

Ranma2k 07-30-2006 03:10 PM

Quote:

Originally Posted by thomor25
are the images stored in the database or on the server?

it's stored in the server as files

Ranma2k 07-30-2006 03:11 PM

Quote:

Originally Posted by dacho
Did only member can see the images from this system ?
and
if ther is a option that the link become different and work only in the forum - not in different site ?

depends on you
only members can have private pics that no one can access except them/admins

guests can see the list of public images that members set

The Chief 07-30-2006 08:55 PM

Quote:

Originally Posted by Ranma2k
ok here is what i have done so far and working fine ..

1- text watermarking
2- rearranged displaying of the images
3- Navbar for the images
4- added member info / post info plugins
5- fixed some security issues

currently working on
1- filmstrip (98% done)
2- remote image store ( will try to include it )
3- ability to upload from thread/post creation and adding the link to it.

delayed to the ver after
1- comment system

the next release is to be expected this week (hopefully)

anything else needed ?!

Seems amazing, great work :)

Well I think there was only one thing I was looking for, replacing the current profile picture that is integrated with vBulletin by being able to set an image as your default picture?

Thanks for your time! :)

64North 07-30-2006 10:17 PM

Quote:

Originally Posted by Ranma2k
anything else needed ?!

First off, thanks for your hard work on this mod. When you do implement the comment system (the version after the next one), please include an option to disable the comment system completely. To me one of the greatest things about vB Image Host is that it doesn't have a comment system. I want users to comment on pictures in threads on the forum, not within the gallery pages. ;)

Quote:

Originally Posted by The Chief
Well I think there was only one thing I was looking for, replacing the current profile picture that is integrated with vBulletin by being able to set an image as your default picture?

Eh, now that is just being lazy. You can easily copy and paste the link to your gallery pic to be your profile pic. Also, some (many? most?) admins do not allow externally linked profile or avatar pics and would require an upload of the profile pic regardless.

Integrating vB Image Host with all possible profile pic scenarios doesn't seem like a good use of time, given that the end user can update/change his profile pic without much effort, and given that there are things the vB Image Host mod could use that only the developer can add. Meaning to ask the developer to spend X amount of time to recreate functionality that is already available to the user is not as time efficient as the developer working on completely new functionality. IMHO anyway, YMMV.

The Chief 07-31-2006 02:22 AM

Quote:

Originally Posted by 64North
First off, thanks for your hard work on this mod. When you do implement the comment system (the version after the next one), please include an option to disable the comment system completely. To me one of the greatest things about vB Image Host is that it doesn't have a comment system. I want users to comment on pictures in threads on the forum, not within the gallery pages. ;)

Eh, now that is just being lazy. You can easily copy and paste the link to your gallery pic to be your profile pic. Also, some (many? most?) admins do not allow externally linked profile or avatar pics and would require an upload of the profile pic regardless.

Integrating vB Image Host with all possible profile pic scenarios doesn't seem like a good use of time, given that the end user can update/change his profile pic without much effort, and given that there are things the vB Image Host mod could use that only the developer can add. Meaning to ask the developer to spend X amount of time to recreate functionality that is already available to the user is not as time efficient as the developer working on completely new functionality. IMHO anyway, YMMV.

Yup, I agree, I just thought of this was something that could easily be implemented then do it :)

I was also thinking of being able to put captions (names or descriptions) to images?

Ranma2k 07-31-2006 04:51 AM

Quote:

Originally Posted by 64North
First off, thanks for your hard work on this mod. When you do implement the comment system (the version after the next one), please include an option to disable the comment system completely. To me one of the greatest things about vB Image Host is that it doesn't have a comment system. I want users to comment on pictures in threads on the forum, not within the gallery pages.

i was planning for that from the first place :)


Quote:

Originally Posted by The Chief
Well I think there was only one thing I was looking for, replacing the current profile picture that is integrated with vBulletin by being able to set an image as your default picture?
I was also thinking of being able to put captions (names or descriptions) to images?

i'll try to add it :)

The Chief 07-31-2006 02:06 PM

Quote:

Originally Posted by Ranma2k
i was planning for that from the first place :)




i'll try to add it :)

Cool, looking forward to your release :)

Thanks!

cartooner 07-31-2006 08:20 PM

Quote:

Originally Posted by Ranma2k
ok here is what i have done so far and working fine ..

1- text watermarking
2- rearranged displaying of the images
3- Navbar for the images
4- added member info / post info plugins
5- fixed some security issues

currently working on
1- filmstrip (98% done)
2- remote image store ( will try to include it )
3- ability to upload from thread/post creation and adding the link to it.

delayed to the ver after
1- comment system

the next release is to be expected this week (hopefully)

anything else needed ?!

How about Folders, is that possible??

cartooner 07-31-2006 08:23 PM

..and you are doing a wonderful job with this ...Thank You.

Ranma2k 08-01-2006 04:51 AM

Quote:

Originally Posted by cartooner
How about Folders, is that possible??

folders.. hmmm
well I'll do it after the next release ..

Blindchild02 08-02-2006 03:16 AM

is there a way to make it so the watermark is aligned to the exact bottom right instead of the padding?? I want my watermark to go across the bottom and hit the right side too

currently it's this:
http://www.carchops.com/imagehosting/144d026a6a07f0.jpg

mac27 08-02-2006 03:23 AM

blindchild go into

adminCP>VB Image Host>VB Image Host Options, then scroll down to where it says watermark location and change it from center to bottom_right

Hope that helps.

Blindchild02 08-02-2006 03:24 AM

it is bottom_right

Ranma2k 08-02-2006 06:08 AM

Quote:

Originally Posted by Blindchild02
it is bottom_right

it takes 10 px from the margins to add the watermark
do you want me to lower it to 1 ?

Blindchild02 08-02-2006 06:10 AM

i would like to lower it to 0 if i could

Ranma2k 08-02-2006 06:34 AM

Quote:

Originally Posted by Blindchild02
i would like to lower it to 0 if i could

OK I'll add an option for this
expect the new release in the coming days ( mostly Friday :) )

Blindchild02 08-02-2006 03:10 PM

I was hopin it would be just a quick fix :(

Ranma2k 08-02-2006 05:00 PM

Quote:

Originally Posted by Blindchild02
I was hopin it would be just a quick fix :(

it will be out in 2 days :) can't you wait ?!

Blindchild02 08-02-2006 05:19 PM

haha not really :(

The Chief 08-02-2006 08:19 PM

Quote:

Originally Posted by Ranma2k
it will be out in 2 days :) can't you wait ?!

Yup, thanks for the updates, looking forward to the next release :)

TRStealth 08-03-2006 09:14 PM

So, with 3.6 Gold, will you be fixing the hack to work with 3.6 soon? :)

blowndeadline 08-04-2006 02:13 AM

Where can I limit the image size (pixels) and file size?

Nevermind, needed to refvresh the acp

Ranma2k 08-04-2006 09:04 AM

Quote:

Originally Posted by TRStealth
So, with 3.6 Gold, will you be fixing the hack to work with 3.6 soon? :)

yes i'm curently working on it .. will be avilable this weekend

64North 08-04-2006 04:19 PM

Ranma2k, I know you previously said you don't really need donations, but man, your work is excellent, set up a paypal account and I am sure people will donate for your time and efforts, I know I will.

If not, is there anything else your users can do for you in order to show their appreciation?

Ranma2k 08-04-2006 04:29 PM

Quote:

Originally Posted by 64North
Ranma2k, I know you previously said you don't really need donations, but man, your work is excellent, set up a paypal account and I am sure people will donate for your time and efforts, I know I will.

If not, is there anything else your users can do for you in order to show their appreciation?

just a thanks would be enugh :)

1 houre to release the next ver ( writing the installiation document)

Ranma2k 08-04-2006 05:50 PM

New Ver is up ..
Let me know if everything goes well

PLEASE REMMBER TO BACKUP YOUR DATA


All times are GMT. The time now is 03:19 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.02820 seconds
  • Memory Usage 1,849KB
  • 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
  • (2)bbcode_code_printable
  • (25)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