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)

jeddah_eyes 01-25-2006 04:33 AM

thnax man it is usefull but what about the security

can any one upload any file that has this extension xxxx.jpg.php ?

Ranma2k 01-25-2006 04:47 AM

Quote:

Originally Posted by jeddah_eyes
thnax man it is usefull but what about the security

can any one upload any file that has this extension xxxx.jpg.php ?

i just checked and it didn't go throgh .. if you didn't allow PHP exttensions
if you face any security issue please let me know
i'll enforce more security in the next release for such cases

VBUsers 01-25-2006 09:10 AM

installed it now i get this

Database error in vBulletin 3.5.3:

Invalid SQL:
UPDATE smora_usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'HEAD Mo-FO Administrator',
`description` = '',
`usertitle` = 'Administrator',
`opentag` = '<span style=\"color: orange;font-weight: bold;\">',
`closetag` = '</span>',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '470810623',
`attachlimit` = '0',
`pmquota` = '200',
`pmpermissions` = '0',
`pmsendmax` = '10',
`calendarpermissions` = '63',
`wolpermissions` = '31',
`adminpermissions` = '3',
`genericpermissions` = '205520895',
`genericoptions` = '31',
`profilepicmaxwidth` = '500',
`profilepicmaxheight` = '500',
`profilepicmaxsize` = '999999',
`avatarmaxwidth` = '500',
`avatarmaxheight` = '500',
`avatarmaxsize` = '9999999',
`vbaffiliatespermissions` = '15',
`itraderpermissions` = '7',
`imghost` = '3',
`imghostset` = '',
`imghost_width` = '',
`imghost_height` = '',
`imghost_files` = '',
`pagerpermissions` = '13',
`pagerquota` = '200',
`pagerminpost` = '0',
`pagerminpostperday` = '0',
`pagermaxperday` = '0',
`pagersendmax` = '0',
`pagersendmaxchar` = '300',
`que` = '4095',
`vbimghost` = '3',
`vbimghost_files` = '50'
WHERE usergroupid=6;

MySQL Error : Unknown column 'imghost' in 'field list'
Error Number : 1054
Date : Wednesday, January 25th 2006 @ 05:09:01 AM
Script : http://www.lowandloud.com/admincp/usergroup.php
Referrer : http://www.lowandloud.com/admincp/us...&usergroupid=6
IP Address : 0000000000000
Username : LOW
Classname : vb_database

[email protected] vbmenu_register("postmenu_881829", true); 01-25-2006 09:41 AM

when it gets updated to a galley i definately want it.

Looks awesome :)

Ranma2k 01-25-2006 09:42 AM

Quote:

Originally Posted by lowandloudinc
installed it now i get this

Database error in vBulletin 3.5.3:

Invalid SQL:
UPDATE smora_usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'HEAD Mo-FO Administrator',
`description` = '',
`usertitle` = 'Administrator',
`opentag` = '<span style=\"color: orange;font-weight: bold;\">',
`closetag` = '</span>',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '470810623',
`attachlimit` = '0',
`pmquota` = '200',
`pmpermissions` = '0',
`pmsendmax` = '10',
`calendarpermissions` = '63',
`wolpermissions` = '31',
`adminpermissions` = '3',
`genericpermissions` = '205520895',
`genericoptions` = '31',
`profilepicmaxwidth` = '500',
`profilepicmaxheight` = '500',
`profilepicmaxsize` = '999999',
`avatarmaxwidth` = '500',
`avatarmaxheight` = '500',
`avatarmaxsize` = '9999999',
`vbaffiliatespermissions` = '15',
`itraderpermissions` = '7',
`imghost` = '3',
`imghostset` = '',
`imghost_width` = '',
`imghost_height` = '',
`imghost_files` = '',
`pagerpermissions` = '13',
`pagerquota` = '200',
`pagerminpost` = '0',
`pagerminpostperday` = '0',
`pagermaxperday` = '0',
`pagersendmax` = '0',
`pagersendmaxchar` = '300',
`que` = '4095',
`vbimghost` = '3',
`vbimghost_files` = '50'
WHERE usergroupid=6;

MySQL Error : Unknown column 'imghost' in 'field list'
Error Number : 1054
Date : Wednesday, January 25th 2006 @ 05:09:01 AM
Script : http://www.lowandloud.com/admincp/usergroup.php
Referrer : http://www.lowandloud.com/admincp/u...t&usergroupid=6
IP Address : 0000000000000
Username : LOW
Classname : vb_database


ok looks like you have the imagehost hack that was made by loneranger
if you uninstalled it make sure that you remove the xml file that related to that hack from the includes/xml/ folder

This error is not related to my hack
it's related to Image hosting hack
Mine is VB Image Hosting

but if you want me to help you PM me your account user/pass and the ftp access and i'll do it for you
There is a diffrence :)

Ranma2k 01-25-2006 09:43 AM

Quote:

Originally Posted by saint@t-og.net
when it gets updated to a galley i definately want it.

Looks awesome :)

still working on it :)

The Chief 01-25-2006 12:34 PM

Quote:

Originally Posted by Ranma2k
still working on it :)

I will also get it, when it becomes a gallery ;)

Ranma2k 01-25-2006 01:43 PM

Quote:

Originally Posted by gamebgs
I will also get it, when it becomes a gallery ;)

Please write the features that your expecting to see so i can work on it and improve it
these days i have a lot of free time i'm also working on my next hack (review system for my site) ;)

The Chief 01-25-2006 04:44 PM

Well what we are looking for is mainly something that members will be able to upload as their own image, anyways thats what im looking for.

This is how I see it could work out with this.

- Members can upload images
- There is some link to all this person's images
- Create thumbnails of these images
- Be able to take some of these thumbnails (ex:5) and put them in a table which will then be able to put in the memberinfo template

If you still have any questions on the features, just ask me, I know that the three are almost or already done... :D

VBUsers 01-25-2006 06:31 PM

Quote:

Originally Posted by Ranma2k
ok looks like you have the imagehost hack that was made by loneranger
if you uninstalled it make sure that you remove the xml file that related to that hack from the includes/xml/ folder

This error is not related to my hack
it's related to Image hosting hack
Mine is VB Image Hosting

but if you want me to help you PM me your account user/pass and the ftp access and i'll do it for you
There is a diffrence :)


ok i did forget the xml and that did cause the issue. now its fixed and working perfectly thank you for your help and this hack is awesome!

TCB 01-26-2006 07:24 PM

it looks great so far, thanks :D

It would be nicer if the thumbnails would have maintain the right width/height ratio.

Another idea:
* option in admincp to set 'private/public' default per usergroup.
* Link to person's uploaded files
* prevent hotlink outside messageboard
* 'copy' button next to the imagelink (so no select -> rightbutton -> copy)
* show thumb + link right after uploading

Gripemaster 01-26-2006 07:58 PM

I love this hack, and I have installed it on my testing forum...and it works flawlessly. But before I install it on my main forum, I have only one question:

Is there a way to allow users to upload more than one pic at a time? Like as many as 5 or even 10 at a time?

When I install this on my real forum I will happily click install!

RFViet 01-26-2006 08:16 PM

Cool, Thanks.

Codeman05 01-27-2006 02:04 AM

great hack, one suggestion though or maybe you can tell me how to this.

It would be nice to be able to limit the amount of space a usergroup can use (say Registered members get 10MB & Admins 50MB), rather then just the number of images they can upload.

Ranma2k 01-27-2006 02:08 PM

Quote:

Originally Posted by Gripemaster
I love this hack, and I have installed it on my testing forum...and it works flawlessly. But before I install it on my main forum, I have only one question:

Is there a way to allow users to upload more than one pic at a time? Like as many as 5 or even 10 at a time?

When I install this on my real forum I will happily click install!

curntly no but i'll add it in the next update

Ranma2k 01-27-2006 02:08 PM

Quote:

Originally Posted by Codeman05
great hack, one suggestion though or maybe you can tell me how to this.

It would be nice to be able to limit the amount of space a usergroup can use (say Registered members get 10MB & Admins 50MB), rather then just the number of images they can upload.

i'll add this option in thext release

curently i have enugh to work on expect it in few weeks from now even days :)

The Chief 01-27-2006 02:11 PM

Quote:

Originally Posted by gamebgs
Well what we are looking for is mainly something that members will be able to upload as their own image, anyways thats what im looking for.

This is how I see it could work out with this.

- Members can upload images
- There is some link to all this person's images
- Create thumbnails of these images
- Be able to take some of these thumbnails (ex:5) and put them in a table which will then be able to put in the memberinfo template

If you still have any questions on the features, just ask me, I know that the three are almost or already done... :D

will your next update include this?

Ranma2k 01-27-2006 02:22 PM

Quote:

Originally Posted by gamebgs
will your next update include this?

Yes i'll add it to the next relase
it should be ver 2 next :)

The Chief 01-27-2006 02:27 PM

Quote:

Originally Posted by Ranma2k
Yes i'll add it to the next relase
it should be ver 2 next :)

that's cool, you figured out how it worked, or at least will try, thank you :D

ProjectTR 01-27-2006 07:20 PM

thanks :)

Codeman05 01-28-2006 02:34 PM

Quote:

Originally Posted by Ranma2k
i'll add this option in thext release

curently i have enugh to work on expect it in few weeks from now even days :)

sounds great thanks

swissknife 01-29-2006 03:18 PM

Quote:

Originally Posted by Codeman05
sounds great thanks

hi ! i've got a problem. i installed the hack without any error. but the picture i uploaded is not displayed. the folder i made for the pictures ( i cmoded it 777 how discribed ) is empty too. whre shall i search the mistake?

Gripemaster 01-29-2006 06:32 PM

Quote:

Originally Posted by Ranma2k
curntly no but i'll add it in the next update

Cool, thank you...and thanks for a fine hack. I'll be on the lookout for it. :banana:

Ranma2k 01-30-2006 05:13 AM

Quote:

Originally Posted by swissknife
hi ! i've got a problem. i installed the hack without any error. but the picture i uploaded is not displayed. the folder i made for the pictures ( i cmoded it 777 how discribed ) is empty too. whre shall i search the mistake?

Please answer the follwoing:
where did you create the folder ?!
did add the folder name to the VB Image Hosting settings in vbulletin options ?!

Bratz-Designs 01-30-2006 06:28 AM

I love this new hack, but i only have one question....Is there a way to change the size of the preview image? The images we are hosting are small...and it gets streched alot...

Bratzer

Ranma2k 01-30-2006 07:09 AM

Quote:

Originally Posted by Bratz-Designs
I love this new hack, but i only have one question....Is there a way to change the size of the preview image? The images we are hosting are small...and it gets streched alot...

Bratzer

it will only set the thump to 320 * 240 if the width or the height is equal or bigger than 320 * 240
otherwise it will show the pic in it's true size ..

if you want to change the value you can do that from the template
in template : vbimghost_imgbits

find :
PHP Code:

<if condition="$vbimghost[thumpsize]">
   
width="320" height="240"
</if> 

either change the values or remove it ..

Ranma2k 01-30-2006 11:08 AM

Just to let everyone know
Please used the new file ( vbimghost.php ) that in the zip file insted of the one that you have
i fixed a small problem with viewing the pics for members ( if it's arranged to view in more than 1 page )

swissknife 01-30-2006 02:32 PM

Quote:

Originally Posted by Ranma2k
Please answer the follwoing:
where did you create the folder ?!
did add the folder name to the VB Image Hosting settings in vbulletin options ?!

i created it in the forum-root(folder). and yes its in the vb-options...

swissknife 01-30-2006 02:41 PM

Quote:

Originally Posted by swissknife
i created it in the forum-root(folder). and yes its in the vb-options...

I GOT IT! sometimes the world is soooo easy... the problem was: i am using the german translation. one file (folder) , that came with the hack, had the name PITURES ( with a big letter on the start ) , but in the vb-option the folder was named "pictures" ...

thanks a lot for your time and this creat hack!!!!

Ranma2k 01-30-2006 03:17 PM

Quote:

Originally Posted by swissknife
I GOT IT! sometimes the world is soooo easy... the problem was: i am using the german translation. one file (folder) , that came with the hack, had the name PITURES ( with a big letter on the start ) , but in the vb-option the folder was named "pictures" ...

thanks a lot for your time and this creat hack!!!!

Swissknife: well for the one that is in the german hack site i don't think it's updated
please use the ( vbimghost.php ) file that is in this site since it's has the latest fix
just replace the file

Ranma2k 01-31-2006 07:52 PM

Quote:

Originally Posted by Bratz-Designs
I love this new hack, but i only have one question....Is there a way to change the size of the preview image? The images we are hosting are small...and it gets streched alot...

Bratzer

Did it work with you ?! ..
Please every feed back for any issue is always helpfull

10sion 02-04-2006 05:30 PM

Is there a way to make it so only certain usergroups (like admins) can see the link to the image host in the navbar?

kofoid 02-04-2006 06:14 PM

Is there any way for a user to resize their images - kinda like photobucket?

cartooner 02-04-2006 07:54 PM

In installation instructions it says /imagehosting/ index.htm as the place to put index.htm

Is this an example of a folder name to create. The one to be used to upload images too???

I did create the /imagehosting folder, in the Forums dir, not the root. Now do I need to also create another one to host the images??

cartooner 02-04-2006 09:10 PM

Do I use the folder /imagehosting to upload index.htm to and then create another folder for images. Or do I use the /imagehosting folder with the index.htm file in for the images??

cartooner 02-05-2006 05:09 PM

I got it ok!!!

cartooner 02-05-2006 05:28 PM

Is there a way to get the Your Images to open in seperate window??

Like when you make a reply and click on Your Images to get the link. Instaed of having to go back...

cartooner 02-05-2006 05:35 PM

This is a really nice hack....TY.

Ranma2k 02-05-2006 06:40 PM

Quote:

Originally Posted by cartooner
Is there a way to get the Your Images to open in seperate window??

Like when you make a reply and click on Your Images to get the link. Instaed of having to go back...

just modify the template vbimghost_imgbits

search for
PHP Code:

<a href="$vbimghost[path]"

change to
PHP Code:

<a href="$vbimghost[path]target="_blank"


Ranma2k 02-05-2006 06:43 PM

Quote:

Originally Posted by cartooner
Do I use the folder /imagehosting to upload index.htm to and then create another folder for images. Or do I use the /imagehosting folder with the index.htm file in for the images??

No just create any directory
i put imagehosting folder as the defult
if you want to change it name make sure that you change it in the setting also


All times are GMT. The time now is 02: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.01668 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
  • (3)bbcode_php_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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