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)

Ruler68jg 03-28-2006 08:24 AM

Hello !

Thanks for the tip, I did find the VB ImageHosting permission in usergroup Manager but as I changed the settings I got this error !!!

There seems to have been a problem with the MY FORUM database.
Please try again by clicking the Refresh button in your web browser.

An E-Mail has been dispatched to our Technical Staff, whom you can also contact if the problem persists.

We apologise for any inconvenience.

Database error in vBulletin 3.5.4:

Invalid SQL:
UPDATE Languageusergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Registered Users',
`description` = '',
`usertitle` = '',
`opentag` = '',
`closetag` = '',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '782591',
`attachlimit` = '100000',
`pmquota` = '50',
`pmpermissions` = '3',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '0',
`adminpermissions` = '0',
`genericpermissions` = '203953859',
`genericoptions` = '30',
`profilepicmaxwidth` = '65535',
`profilepicmaxheight` = '10000',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '110',
`avatarmaxheight` = '110',
`avatarmaxsize` = '30000',
`profileviewpermissions` = '0',
`vbimghost` = '3',
`vbimghost_files` = '50'
WHERE usergroupid=2;

MySQL Error : Unknown column 'profileviewpermissions' in 'field list'
Error Number : 1054
Date : Tuesday, March 28th 2006 @ 12:16:55 PM
Script : http://www.mydomain.com/myforum/admincp/usergroup.php
Referrer :
IP Address : 000.000.000.000
Username : Ruler
Classname : vb_database

any suggestions please.

kind regards

Ruler

Ranma2k 03-28-2006 08:40 AM

Quote:

Originally Posted by Ruler68jg
Hello !

Thanks for the tip, I did find the VB ImageHosting permission in usergroup Manager but as I changed the settings I got this error !!!

There seems to have been a problem with the MY FORUM database.
Please try again by clicking the Refresh button in your web browser.

An E-Mail has been dispatched to our Technical Staff, whom you can also contact if the problem persists.

We apologise for any inconvenience.

Database error in vBulletin 3.5.4:

Invalid SQL:
UPDATE Languageusergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Registered Users',
`description` = '',
`usertitle` = '',
`opentag` = '',
`closetag` = '',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '782591',
`attachlimit` = '100000',
`pmquota` = '50',
`pmpermissions` = '3',
`pmsendmax` = '5',
`calendarpermissions` = '63',
`wolpermissions` = '0',
`adminpermissions` = '0',
`genericpermissions` = '203953859',
`genericoptions` = '30',
`profilepicmaxwidth` = '65535',
`profilepicmaxheight` = '10000',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '110',
`avatarmaxheight` = '110',
`avatarmaxsize` = '30000',
`profileviewpermissions` = '0',
`vbimghost` = '3',
`vbimghost_files` = '50'
WHERE usergroupid=2;

MySQL Error : Unknown column 'profileviewpermissions' in 'field list'
Error Number : 1054
Date : Tuesday, March 28th 2006 @ 12:16:55 PM
Script : http://www.mydomain.com/myforum/admincp/usergroup.php
Referrer :
IP Address : 000.000.000.000
Username : Ruler
Classname : vb_database

any suggestions please.

kind regards

Ruler

ok that is not because of my hack

do you have any hack that is releatedto profile view permissions ?!

if you do .. did you remove the xml that it uses ?!

Tinbendr 03-28-2006 11:25 AM

Quote:

Originally Posted by Ranma2k
you didn't upload the files in the zip file you still using the old one from vb 1.0.1

DOH! Guilty as charged!

Lesson of the day: Always delete old version before installing new. (Or at least move somewhere else!)

Tinbendr 03-28-2006 11:34 AM

Wish list:

I've been looking around for a way to assign BBcode to a locally hosting image, so that the images could be named or numbered. This way a user could post their favorite image without looking up the image, copy the link and go back to the message.

I'm thinking the syntax would be something like:
I realize this may be beyond the scope of this project, but just thought I'd throw it out there.

Tinbendr 03-28-2006 12:47 PM

When animated gifs are uploaded, the image is small in the left upper corner, with large black box several times larger behind it.

Ranma2k 03-28-2006 01:56 PM

Quote:

Originally Posted by Tinbendr
Wish list:

I've been looking around for a way to assign BBcode to a locally hosting image, so that the images could be named or numbered. This way a user could post their favorite image without looking up the image, copy the link and go back to the message.

I'm thinking the syntax would be something like:
Code:

[img][userid.welcome][/img] or
[img][gfx1][/img]

I realize this may be beyond the scope of this project, but just thought I'd throw it out there.

good idea.
i'll try to get it in the project

thanks for reporting that
i'm still improving the thumbnail function since it's just a simple one i'm trying to use the one in VB :)

baradaarab 03-29-2006 05:10 PM

Error I'm getting when trying to view images:

Code:

Warning: getimagesize(imagehosting/thum_143f36255d9911.gif): failed to open stream: No such file or directory in /vbimghost.php on line 299

Warning: getimagesize(imagehosting/thum_143f3631d900c2.gif): failed to open stream: No such file or directory in /vbimghost.php on line 299

Warning: getimagesize(imagehosting/thum_143f3632a2c5c4.gif): failed to open stream: No such file or directory in /vbimghost.php on line 299

Warning: getimagesize(imagehosting/thum_143f3633d1dca5.gif): failed to open stream: No such file or directory in /vbimghost.php on line 299

Warning: getimagesize(imagehosting/thum_143f364451b3a9.gif): failed to open stream: No such file or directory in /vbimghost.php on line 299

Any reason why this would be happening? I'm assuming it's because there are no thumbnails available for the images (I had a previous version installed with many images uploaded). However, I have "Enable Thumbnail" in the vB image hosting options turned to off...

EDIT: Nevermind. I fixed it. I forgot that I had edited some templates.

MGM out

Ranma2k 03-29-2006 07:07 PM

Quote:

Originally Posted by baradaarab
Error I'm getting when trying to view images:

Code:

Warning: getimagesize(imagehosting/thum_143f36255d9911.gif): failed to open stream: No such file or directory in /vbimghost.php on line 299

Warning: getimagesize(imagehosting/thum_143f3631d900c2.gif): failed to open stream: No such file or directory in /vbimghost.php on line 299

Warning: getimagesize(imagehosting/thum_143f3632a2c5c4.gif): failed to open stream: No such file or directory in /vbimghost.php on line 299

Warning: getimagesize(imagehosting/thum_143f3633d1dca5.gif): failed to open stream: No such file or directory in /vbimghost.php on line 299

Warning: getimagesize(imagehosting/thum_143f364451b3a9.gif): failed to open stream: No such file or directory in /vbimghost.php on line 299

Any reason why this would be happening? I'm assuming it's because there are no thumbnails available for the images (I had a previous version installed with many images uploaded). However, I have "Enable Thumbnail" in the vB image hosting options turned to off...

EDIT: Nevermind. I fixed it. I forgot that I had edited some templates.

MGM out

good to know that it's still working fine ^_^;

shadowdancer36 03-31-2006 12:54 PM

If i didn't have photopost i would grab this. I do have one suggestion. Add the ability to water mark the bottom of the image with a url. That way the host can advertise.

CMF 03-31-2006 01:46 PM

AWESOME! works like a charm from the word GO!

*clicks install*

KevNJ 03-31-2006 06:47 PM

Does this work for addiontal profiles pictures ? I didnt see it posted in the orginal post and would assume if you had gotten it to work with them you would have added it there. So is it possible ?

xspazx 04-01-2006 02:09 AM

I freaking LOVE THIS! So easy to install too! I would pay for this! Thanks sooo much for making this free I REALLY appreciate it! <33333333333

TRStealth 04-01-2006 04:58 AM

I'm getting this error:

Fatal error: Call to undefined function: imagecreatefromgif() in /home/enclave/public_html/forums/includes/vbimghost_include.php on line 24

What am I doing wrong?

Ranma2k 04-01-2006 06:31 AM

Quote:

Originally Posted by TRStealth
I'm getting this error:

Fatal error: Call to undefined function: imagecreatefromgif() in /home/enclave/public_html/forums/includes/vbimghost_include.php on line 24

What am I doing wrong?

this is for creating the thumbnails .. Do you have GD 2.0+ ?!
if not i recommend that you disable thumbnails and it will still resize the images

ryanarcadia 04-02-2006 11:04 AM

sorted

TRStealth 04-02-2006 08:26 PM

Quote:

Originally Posted by Ranma2k
this is for creating the thumbnails .. Do you have GD 2.0+ ?!
if not i recommend that you disable thumbnails and it will still resize the images

Thanks, works nicely now. :)

Ranma2k 04-02-2006 10:04 PM

Quote:

Originally Posted by ryanarcadia
sorted

well it's still the same
insted of using
Code:

<td id="vbimghost" class="vbmenu_control"><a href="#vbimghost" >Image Hosting</a>
                                <script type="text/javascript"> vbmenu_register("vbimghost");</script></td>

use
Code:

<td id="vbimghost" class="vbmenu_control"><a href="#vbimghost" border="0" ><img src="LinktoImagehere" border="0"></a>
                                <script type="text/javascript"> vbmenu_register("vbimghost");</script></td>


ryanarcadia 04-02-2006 10:05 PM

I have it working but have a slight problem with the dropdown list. I use images instead of text but below my image is a downwards arrow and I don't know how to get rid of it, can anyone help?

Ranma2k 04-02-2006 10:05 PM

Quote:

Originally Posted by ryanarcadia
I have it working but have a slight problem with the dropdown list. I use images instead of text but below my image is a downwards arrow and I don't know how to get rid of it, can anyone help?

can you post a link to your Site :)

Nathan2006 04-04-2006 05:21 PM

Thank you Ranma2k

This is really great!

Install

Just a couple of questions how can I make "View All Users Images" set to admin only so users cannot click it?

And also how could I view the private images in case I ever get a member that is not sticking with the rules and ends up uploading illegal images.

I know I can view them from the server but it would be much easier from the board :)


Thank you for any help :)

Ranma2k 04-04-2006 07:08 PM

Quote:

Originally Posted by Nathan2006
Thank you Ranma2k

This is really great!

Install

Just a couple of questions how can I make "View All Users Images" set to admin only so users cannot click it?

And also how could I view the private images in case I ever get a member that is not sticking with the rules and ends up uploading illegal images.

I know I can view them from the server but it would be much easier from the board :)


Thank you for any help :)

well the "view all users images" will only display public images set by the owners
if you want to hid the url from the menu

in the navbar
search for
Code:

<tr><td class="vbmenu_option"><a href="vbimghost.php?do=userlist">$vbphrase[vbimghost_menulistuser]</a></td></tr>
and replace it with

Code:

<if condition="is_member_of($bbuserinfo['usergroupid'], 6)">
<tr><td class="vbmenu_option"><a href="vbimghost.php?do=userlist">$vbphrase[vbimghost_menulistuser]</a></td></tr>
</if>

this will only show the link to the administrators

as to show the private image i'm going to add it in the next release even though i'm against it

Nathan2006 04-04-2006 07:16 PM

Quote:

Originally Posted by Ranma2k
as to show the private image i'm going to add it in the next release even though i'm against it

Thanks for that Ranma2k working great:)



Yeah I agree, but we cannot seem to trust people these days which is a shame.

I just don't want to get a knock on the door cos someone has illegal stuff on my server :(

Mr_Devlin 04-05-2006 10:52 AM

Just a suggestion: What about a multi-upload-feature as used for attachments?
It would be pretty hard to upload whole image series when using this single upload.
This feature should have the admin option to set the numbers of files allowed for one upload and specific usergoup permissions, which usergroup should be able or not to use multi upload.

Then there's a problem with the thumbnail function in v1.2: It creates a thumbnail from the upper left corner of the uploaded image in size of given dimensions, not of the full image. The thumbnail still displayed a fragment of the image, not the full "resized" image. Any chance to change this ?

Ranma2k 04-05-2006 12:01 PM

Quote:

Originally Posted by Mr_Devlin
Just a suggestion: What about a multi-upload-feature as used for attachments?
It would be pretty hard to upload whole image series when using this single upload.
This feature should have the admin option to set the numbers of files allowed for one upload and specific usergoup permissions, which usergroup should be able or not to use multi upload.

Then there's a problem with the thumbnail function in v1.2: It creates a thumbnail from the upper left corner of the uploaded image in size of given dimensions, not of the full image. The thumbnail still displayed a fragment of the image, not the full "resized" image. Any chance to change this ?



The multi upload will be added in the next release
as for the Thumbnail it was just a quick function I'll be using VB way or make another one
Problem is the short time i have these days because of my work i only be able work on it on the weekends

Mr_Devlin 04-05-2006 12:17 PM

Thx 4 ur quick reply :)

Darat 04-05-2006 06:27 PM

Just installed - I like this.

Personally I'd prefer it be kept simple and as lean as it is now.

RS_Jelle 04-06-2006 10:04 AM

[high]* RS_Jelle clicks install
[/high]
A suggestion: A feature to add keywords to images (and a search function for them), so you can use it as an image management system for your site (news/reviews/tutorials/...) and you can easily reuse images. Ofcourse there should be an option in the AdminCP to turn it off.

I don't know if this is possible, but I would love it :)

rareclownfish 04-06-2006 09:05 PM

Hello I just tried to install this hack and it give me an error screen whenever I do anything.

The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

--------------------------------------------------------------------------------

Please try the following:

If you typed the page address in the Address bar, make sure that it is spelled correctly.

Open the www.rareclownfish.com home page, and then look for links to the information you want.
Click the Back button to try another link.
Click Search to look for information on the Internet.



HTTP 404 - File not found
Internet Explorer



What must I do to correct this?

NR Fatal 04-07-2006 02:25 AM

nice! works pefrect!

Queball_Beast 04-07-2006 03:14 AM

is there a way to make this work with vbbux & vbplaza? I want users to use vbbux to host images.. hehehee. :banana:

rareclownfish 04-07-2006 11:42 AM

Anyone?

kellyandmike 04-07-2006 01:36 PM

Quote:

Originally Posted by RS_Jelle
[high]* RS_Jelle clicks install
[/high]
A suggestion: A feature to add keywords to images (and a search function for them), so you can use it as an image management system for your site (news/reviews/tutorials/...) and you can easily reuse images. Ofcourse there should be an option in the AdminCP to turn it off.

I don't know if this is possible, but I would love it :)

I totally agree! My users would want to have a line of text for each photo. Not much, but something. Is this possible?

I would definately install if it is.

Gehanna 04-07-2006 03:10 PM

When I upload an image they are all located in the upper left corner which leaves an unattractive black area around the image. Please refer to this link for an example: http://currentday.com/forums/vbimgho...iewimages&id=2 is there anything I can do to fix this?

Thanks,
Gehanna

rareclownfish 04-07-2006 11:40 PM

OK fellas how do I turn this function on? I can't upload pics says that I need permission.

Gehanna 04-07-2006 11:47 PM

You have to go into usergroup permissions to set the permissions.

rareclownfish 04-08-2006 12:08 AM

Thanks got it to work,

I have another question about this, when I click on my forum page I can use the imagehosting, upload etc. When I click on the my gallery and them try to load anything in the imagehosting it gives me a page error.
The url goes to this http://www.rareclownfish.com/gallery...hp?do=myimages
And I get this error
HTTP 404 - File not found
Internet Explorer

Jake25 04-08-2006 10:15 PM

Nice, works great.

Cant wait for the next version though (ability to upload multiple images at once, and for an Admin to view all private images)

I do have a question though..
Would it be possible to make it so the default of the images is set at "public view", and not "private"? So, the user would have to make it private, instead of public. Thanks.

/clicks install

Jake25 04-08-2006 10:51 PM

Alright, I do have an issue.

When I have the "Enable Thumbnail option" clicked on "yes", I get very distorted/discolored images as thumbs.

When I dont have it clicked (when the "Enable Thumbnail option" is set to "no"), it displays the images perfect (i have GD 2+), however, when a user clicks to see any other users images, they get this error.

Warning: getimagesize(ImageHost/thum_1443840c402728.jpg): failed to open stream: No such file or directory in /vbimghost.php on line 299

Warning: getimagesize(ImageHost/thum_1443841499c426.jpg): failed to open stream: No such file or directory in /vbimghost.php on line 299

Any ideas.

NR Fatal 04-09-2006 06:28 PM

now i'm wondering about this the images are comming up off color and I'm recieving an error at the top of my page when I click "view all user images"

Warning: getimagesize(imagehosting/thum_24438430dd43d0.bmp): failed to open stream: No such file or directory in /vbimghost.php on line 299

also, the thumbnails are of the pictures are distorted and the colors are off. (attached file below), when I click the image the picture looks fine its just the pics here that are distorted and also a huge black box around it. whats the matter with it?

jake25's prob. is like mine but slightly different. I'm receiveing the error while only clicking the "view all user images" link. the images come up, its just that error on the top of the window.

rareclownfish 04-10-2006 12:58 AM

Hey Ran or anyone that can help, I would like to change the wording VB IMAGE HOST to say somthing else on the forum say Pictures Hosting or somthing like that.
Thanks


All times are GMT. The time now is 02:25 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.01610 seconds
  • Memory Usage 1,854KB
  • 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
  • (8)bbcode_code_printable
  • (12)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