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)

professional77 04-12-2007 03:35 PM

not work
what the problem
https://vborg.vbsupport.ru/external/2007/04/15.jpg

https://vborg.vbsupport.ru/external/2007/04/15.jpg

Ranma2k 04-12-2007 03:41 PM

Quote:

Originally Posted by professional77 (Post 1225984)

did you redo the setting !?

sublo 04-12-2007 03:59 PM

Help!

Hey! Seems like a great product/plug-in. Pretty much exactly what I was looking for. I believe I followed the install.htm instructions verbatim. However, they seem to be a little lacking in detail. I'm not a dummy at all. I can't figure out why the new Vbimagehosting doesn't show up in the ADMINCP.

What exactly does this mean?
  • Go to the Admincp and reconfigure the usergroup and the option

Here's my site: http://www.camillegerard.com

I don't get it? Any help you could provide would be greatly appreciated.

:D

sublo 04-12-2007 04:36 PM

Ok. Please disregard my problem above. I am being somewhat of a bonehead. I figured out it's under "vBulletin Options." I see it in the AdminCP now. Phew.

Anyway, I have a different problem. What exactly does this mean (from the install instructions)?
  • Go to the Admincp and reconfigure the usergroup and the option

VB Imagehosting seems to be functioning properly but no user (including admins) can post. Where/and how do I set/alter permissions to allow this? Please be explicit ad my boneheaded-ness seems unusually high today.

Here's my error:

Quote:

Freddy, you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
:eek:

Thanks!

dizzy100 04-12-2007 04:49 PM

Quote:

Originally Posted by sublo (Post 1226037)
Ok. Please disregard my problem above. I am being somewhat of a bonehead. I figured out it's under "vBulletin Options." I see it in the AdminCP now. Phew.

Anyway, I have a different problem. What exactly does this mean (from the install instructions)?
  • Go to the Admincp and reconfigure the usergroup and the option
VB Imagehosting seems to be functioning properly but no user (including admins) can post. Where/and how do I set/alter permissions to allow this? Please be explicit ad my boneheaded-ness seems unusually high today.

Here's my error:



:eek:

Thanks!

Goto the UserGroups tab in your AdminCp, expand that and click UserGroup Manager and then whatever groups you want permissions set on. Look for the options under the VB Image Hosting options making sure you enable Can upload images ?

sublo 04-12-2007 05:09 PM

Quote:

Originally Posted by dizzy100 (Post 1226047)
Goto the UserGroups tab in your AdminCp, expand that and click UserGroup Manager and then whatever groups you want permissions set on. Look for the options under the VB Image Hosting options making sure you enable Can upload images ?

Thanks for the quick response. I guess this is my problem and I've screwed something up in the installation becaue I do not see a VB Image Host expandable section in the AdminCP left pane. There is only a subsection of VB Image Hosting under the general vBulletin drop-down options in the CP.

I'm supposed to see scr06.jpg (below) in there am I not? It's not there.

When I do as you suggest under UserGroup Manager, there is no section at all titled "VB Image Hosting Options."

Confused.

:confused:

Ranma2k 04-12-2007 05:46 PM

Quote:

Originally Posted by sublo (Post 1226061)
Thanks for the quick response. I guess this is my problem and I've screwed something up in the installation becaue I do not see a VB Image Host expandable section in the AdminCP left pane. There is only a subsection of VB Image Hosting under the general vBulletin drop-down options in the CP.

I'm supposed to see scr06.jpg (below) in there am I not? It's not there.

When I do as you suggest under UserGroup Manager, there is no section at all titled "VB Image Hosting Options."

Confused.

:confused:

reupload the XML files in the includes/xml directory
and then re import the product XML

dizzy100 04-12-2007 05:46 PM

You need to look further down the left pane to one of the vbulletin default sections. There you'll find your UserGroup Manager.

Also make sure you refreshed your AdminCP after importing the XML or you won't see what your screenshot shows until you log out and back in.

sublo 04-12-2007 05:48 PM

Quote:

Originally Posted by dizzy100 (Post 1226083)
You need to look further down the left pane to one of the vbulletin default sections. There you'll find your UserGroup Manager

OK. I found the AdminCP problem. I neglected to copy one includes/xml .php file. That's resolved. It now shows up on the left hand pane. Thanks for the help.

I still have this permissions problem quoted above for all users - can't upload - permission denied. Which permission group am I supposed to be seeing and editing?

:cool:

Ranma2k 04-12-2007 05:51 PM

Quote:

Originally Posted by sublo (Post 1226084)
OK. I found the AdminCP problem. I neglected to copy one includes/xml .php file. That's resolved. It now shows up on the left hand pane. Thanks for the help.

I still have this permissions problem quoted above for all users - can't upload - permission denied. Which permission group am I supposed to be seeing and editing?

:cool:

go to each user group
and set the permission for each Group ..

sublo 04-12-2007 06:01 PM

Thanks guys.

I think I must be missing something. Is there supposed to be a separate permissions area for VB Image Hosting? If so I don't see it when, for example, setting the Administrators and Registered Users permissions (see screenshots).

Ranma2k 04-12-2007 06:04 PM

Quote:

Originally Posted by sublo (Post 1226092)
Thanks guys.

I think I must be missing something. Is there supposed to be a separate permissions area for VB Image Hosting? If so I don't see it when, for example, setting the Administrators and Registered Users permissions (see screenshots).

the usergroups Not the forum permission ...

go to usergroup -> user group permission

professional77 04-12-2007 06:36 PM

Quote:

Originally Posted by Ranma2k (Post 1225991)
did you redo the setting !?

yes
ya sid waiel
ana men ams wanan araceb mesh shagal
upload photo
we tezhar blon asmar
we ahiann yokol nga atrafet we mosh telakiha fe elmelaf imagehosting

professional77 04-12-2007 06:37 PM

ya tra fen elaib
ala fekra ana adaftak ala elmasenger

professional77 04-12-2007 07:08 PM

cant display the pic
path dir is correct and 777
any idea?

sublo 04-12-2007 07:08 PM

Quote:

Originally Posted by Ranma2k (Post 1226095)
the usergroups Not the forum permission ...

go to usergroup -> user group permission

OK. I'm trying my best not to be a pest. I've read through every post in this thread and have searched this forum extensively to find the answer. My only conclusion is that I must have screwed something up on the installation. I went through it again and verified every file was properly copied - they are. I found this in this thread (which is my problem):

Quote:

admincp/vbimagehost...on the left, make sure its on & set your settings, also..
admincp/usergroup/usergroupmanager....Go through each usergroup, scroll down, you will see, vbimagehost, set settings on each usergroup...
Reply With Quote
So, I am clearly missing something when I go to Usergroup > Usergroup Manager > Edit (I don't have a "Usergroup >Usergroup Permission" field anywhere in site). When I click "Edit", attached is what I do have. Have I messed something up on installation?

Ranma2k 04-12-2007 07:20 PM

Quote:

Originally Posted by sublo (Post 1226137)
OK. I'm trying my best not to be a pest. I've read through every post in this thread and have searched this forum extensively to find the answer. My only conclusion is that I must have screwed something up on the installation. I went through it again and verified every file was properly copied - they are. I found this in this thread (which is my problem):



So, I am clearly missing something when I go to Usergroup > Usergroup Manager > Edit (I don't have a "Usergroup >Usergroup Permission" field anywhere in site). When I click "Edit", attached is what I do have. Have I messed something up on installation?

Ok
pM me your info and i'll help you out ..

Ranma2k 04-12-2007 07:23 PM

Quote:

Originally Posted by professional77 (Post 1226112)
yes
ya sid waiel
ana men ams wanan araceb mesh shagal
upload photo
we tezhar blon asmar
we ahiann yokol nga atrafet we mosh telakiha fe elmelaf imagehosting

Quote:

Originally Posted by professional77 (Post 1226113)
ya tra fen elaib
ala fekra ana adaftak ala elmasenger


i don't know what you are saying .. ><

Quote:

Originally Posted by professional77 (Post 1226136)
cant display the pic
path dir is correct and 777
any idea?

you'll need to make sure that

1- you Have GD installed with PHP
2- You set the permission to the directory to 777 ( which you say you did )
3- set the path to your forums in the imagehosting options (the correct path )

if everything you did is correct and still have problem
pm me your info and I'll help you out .

sublo 04-12-2007 08:37 PM

Wow! Ranma you are theMan!!!! Kudos! Thank you so much.

I had missed 1 xml file cpnav_ao_vbimghost.xml > forums/include/xml. That was it!

Lighting response.

:D :D :D :D

Sc0rian 04-12-2007 10:04 PM

Ranma2k..

I just upgraded my forum to the new version...

i see you've added a new field into the SQL...

I have a problem now.. I cant import the old sql back in...

Quote:

SQL query:

--
-- Dumping data for table `vbimghost`
--
INSERT INTO `vbimghost`
VALUES ( 1, 1, '1441c1e68508b1.JPG', 'DSCF0005.JPG', 75, 800, 600, 1142693480, 0 )

MySQL said: Documentation
#1136 - Column count doesn't match value count at row 1
of course coz its all wrong now..

what can i do with all my old sql data?





in other words, how do i get the old sql code to work with new version

sublo 04-12-2007 11:16 PM

New issue.

What's up with this error?
Uploaded file is not an image
I'm trying to upload known .jpg's well below my limits of 3008x2000 and 3MB. 2200x1800 1.8MB files are uploaded with no problem. Does this having something to do with fields of the vmimghost table in MySQL? Should I attempt to adjust them?

Thanks.


:erm:

Ranma2k 04-13-2007 08:42 AM

Quote:

Originally Posted by sublo (Post 1226288)
New issue.

What's up with this error?
Uploaded file is not an image
I'm trying to upload known .jpg's well below my limits of 3008x2000 and 3MB. 2200x1800 1.8MB files are uploaded with no problem. Does this having something to do with fields of the vmimghost table in MySQL? Should I attempt to adjust them?



Thanks.


:erm:

what type of img is that ?
if it's a text file with the extension .jpg it won't work .

also note that you can't bypass the php.ini file setting

so if you set the size limit to 5 mb but in php.ini setting it's set to 2 mb you can only upload 2 mb files

Ranma2k 04-13-2007 08:43 AM

Quote:

Originally Posted by Sc0rian (Post 1226246)
Ranma2k..

I just upgraded my forum to the new version...

i see you've added a new field into the SQL...

I have a problem now.. I cant import the old sql back in...



of course coz its all wrong now..

what can i do with all my old sql data?





in other words, how do i get the old sql code to work with new version

restore the old table first then install this ver

rburns 04-13-2007 12:26 PM

Ranma2k,

Is there a way to set all usergroups to be allowed to upload images?

I have about 50 usergroups and it would be quicker for me to dissallow the 5 or so I don't want to have it rather than manually go through allowing 50.

sublo 04-13-2007 03:24 PM

Quote:

Originally Posted by Ranma2k (Post 1226510)
what type of img is that ?
if it's a text file with the extension .jpg it won't work .

also note that you can't bypass the php.ini file setting

so if you set the size limit to 5 mb but in php.ini setting it's set to 2 mb you can only upload 2 mb files

Whoo hoo! That did it! seting max upload size to 3M and restarting Apache fixed it!

Wasn't a text file. These are actual JPG photos.

Thanks.

:cool:

hinch 04-13-2007 03:27 PM

Quote:

Originally Posted by Ranma2k (Post 1225970)
what php ver your using .. ?

PHP 4.4.4-8+etch1

(debian)

strange thing is it still works just perfectly it just throws up those errors for seemingly no reason

sublo 04-13-2007 03:32 PM

This mod is great and all but one thing I would really like is the ability to toggle the image properties on and off. For example: BB Code URL, BB Code Image and HTML code. I'd like not to display those.

tekstylez 04-13-2007 07:21 PM

This mod worked great untill i tried to use it on another forum.

When rebuilding thumbnails i get the following error:

Code:

Warning: getimagesize(): open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/1461fe104d7168.jpg) is not within the allowed path(s): (/home/ishson1:/usr/lib/php:/usr/local/lib/php:/tmp) in /admincp/vbimghost.php on line 279

Warning: getimagesize(/home/user/public_html/forums/imagehosting/1461fe104d7168.jpg): failed to open stream: Operation not permitted in /admincp/vbimghost.php on line 279

And when using the quick upload in the reply box, The bbcode displays but the actual photo does not..

I am also having a problem with the watermark not showing

Code:

Warning: getimagesize(): open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/watermark.png) is not within the allowed path(s): (/home/ishson1:/usr/lib/php:/usr/local/lib/php:/tmp) in /includes/vbimghost_include.php on line 221

Warning: getimagesize(/home/user/public_html/forums/imagehosting/watermark.png): failed to open stream: Operation not permitted in /includes/vbimghost_include.php on line 221


dizzy100 04-14-2007 07:18 AM

Quote:

Originally Posted by sublo (Post 1226798)
This mod is great and all but one thing I would really like is the ability to toggle the image properties on and off. For example: BB Code URL, BB Code Image and HTML code. I'd like not to display those.

Just edit them out of the template.

Check out vbimghost_imgbits in the VB IMAGE HOSTING Templates

find and remove


HTML Code:

            <tr> <td class="alt1">$vbphrase[vbimghost_imgdlink]</td>
                            <td class="alt2"><input type="text" value="[img]$vbimghost[path][/img]"></td>
                        </tr>
                        <tr>
                            <td class="alt1">$vbphrase[vbimghost_imgflink]</td>
                            <td class="alt2"><input type="text" value="[url='$vbimghost[dispath]'][img]$vbimghost[thumbpath][/img][/url]"></td>
                        </tr>
                        <tr>
                            <td class="alt1">$vbphrase[vbimghost_imglink]</td>
                            <td class="alt2"><input type="text" value="<a href='$vbimghost[dispath]' border=0><img src='$vbimghost[thumbpath]'></a>"></td>
                        </tr>


PondPikey 04-14-2007 11:52 AM

Hey Ranma, Long time lurker. Great fan of the mod. Any Idea when your new super dooper version wil be available? Im itching to get my hands on it! :)

tekstylez 04-14-2007 11:59 AM

Quote:

Originally Posted by tekstylez (Post 1226958)
This mod worked great untill i tried to use it on another forum.

When rebuilding thumbnails i get the following error:

Code:

Warning: getimagesize(): open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/1461fe104d7168.jpg) is not within the allowed path(s): (/home/ishson1:/usr/lib/php:/usr/local/lib/php:/tmp) in /admincp/vbimghost.php on line 279

Warning: getimagesize(/home/user/public_html/forums/imagehosting/1461fe104d7168.jpg): failed to open stream: Operation not permitted in /admincp/vbimghost.php on line 279

And when using the quick upload in the reply box, The bbcode displays but the actual photo does not..

I am also having a problem with the watermark not showing

Code:

Warning: getimagesize(): open_basedir restriction in effect. File(/home/user/public_html/forums/imagehosting/watermark.png) is not within the allowed path(s): (/home/ishson1:/usr/lib/php:/usr/local/lib/php:/tmp) in /includes/vbimghost_include.php on line 221

Warning: getimagesize(/home/user/public_html/forums/imagehosting/watermark.png): failed to open stream: Operation not permitted in /includes/vbimghost_include.php on line 221


Hate to be a pest, but could I get some help with this?

Derekclarke 04-14-2007 09:26 PM

hi, is this a Straight forward upgrade for me?

Bearing in mind i gave you a Donation to change the name of this hack etc on my forum.

Thanks
Derek

KevNJ 04-14-2007 10:01 PM

Quote:

Originally Posted by Derekclarke (Post 1227807)
hi, is this a Straight forward upgrade for me?

Bearing in mind i gave you a Donation to change the name of this hack etc on my forum.

Thanks
Derek




in your navbar find

PHP Code:

<td id="vbimghost" class="vbmenu_control"><a href="#vbimghost" >$vbphrase[vbimghost_title]</a>
<
script type="text/javascript"vbmenu_register("vbimghost");</script></td

where

PHP Code:

$vbphrase[vbimghost_title

replace with what you want so would be something like

"Your Website Image Hosting"

so it would then look something like this:

PHP Code:

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


kimmer 04-15-2007 03:50 PM

Love the mod! Works great, but was wondering if there is a mod to show a gallery icon next to peoples names in posts? Thanks again for the great mod!

Skateboard 04-15-2007 06:06 PM

Code:

Sam, you do not have permission to access this page. This could be due to one of several reasons:

  1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

I do not know how to set what user groups can upload. Can you help me?

KevNJ 04-15-2007 08:21 PM

@Skateboard -

you your admincp > usergroups > usergroup manager > pick which usergroup you want to edit and edit the permissions for the vb image hosting options for each usergroup

RedGTiVR6 04-16-2007 12:43 PM

updated without any issues!

thanks for the update!

RedGTiVR6 04-17-2007 01:54 PM

Well, now I'm running into an issue, but I'm not sure what it's from.

When trying to upload an image:

Code:

Warning: move_uploaded_file(/vbulletin/imagehosting/tmp_85764624db6ab9935) [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/phpjcIXRe' to '/vbulletin/imagehosting/tmp_85764624db6ab9935' in /vbimghost.php on line 640

Warning: imagecreatefromjpeg(/vbulletin/imagehosting/85764624db6aba8d1.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 127

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

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

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

Warning: getimagesize(/vbulletin/imagehosting/85764624db6aba8d1.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /vbimghost.php on line 695

Warning: filesize() [function.filesize]: stat failed for /vbulletin/imagehosting/85764624db6aba8d1.jpg in /vbimghost.php on line 696

When trying to delete that uploaded file (because it's blank), I get this:

Code:

Warning: unlink(/vbulletin/imagehosting/85764624db3ba8dab.jpg) [function.unlink]: No such file or directory in /vbimghost.php on line 897
I have chmodded the upload directory (/vbulletin/imagehosting) to 777, but I still get this error.

Any ideas?

RedGTiVR6 04-17-2007 03:55 PM

Quote:

Originally Posted by Spank (Post 1178993)
I managed to get rid of all of the errors except one by putting in the usual path to the forums, instead of the public_html path.

This fixed the issue with adding images.

However, if I try and delete an image that was uploaded while having the errors show, I still get the error:

Warning: unlink(/vbulletin/imagehosting/85764624db3ba8dab.jpg) [function.unlink]: No such file or directory in /vbimghost.php on line 897

But I can at least delete images that show up.

The images that I tried to upload while I was recieving the error messages just show up as red x's now.

How can I remove these?

Red Matrix 04-18-2007 01:01 AM

Installed.

I had a problem, since my skin's navbar didn't have the vbmenu_control text I was asked to search for. I'll tweak it later. Thanks for the mod.

dave

Quote:

Originally Posted by Skateboard (Post 1228482)
I do not know how to set what user groups can upload. Can you help me?

Quote:

Originally Posted by KevNJ (Post 1228568)
@Skateboard -

you your admincp > usergroups > usergroup manager > pick which usergroup you want to edit and edit the permissions for the vb image hosting options for each usergroup

You'll have to scroll all the way down to get to the vBimgHost options. ;)

Quote:

Originally Posted by sublo (Post 1226084)
OK. I found the AdminCP problem. I neglected to copy one includes/xml .php file. That's resolved. It now shows up on the left hand pane. Thanks for the help.

Quote:

Originally Posted by sublo (Post 1226190)
I had missed 1 xml file cpnav_ao_vbimghost.xml > forums/include/xml. That was it!


I don't understand why people don't upload the entire contents of the /forum folder into their forums root as the instructions state. (domain.com/ or domain.com/forums). It would solve a lot of these "I forgot to upload 1 xml" or "I missed a file" because all the files are already in the directory structure they need to be in.

If you find that your FTP program fails a lot with entire folder uploads, consider FileZilla, or use your host's webFTP program. :)


All times are GMT. The time now is 04:56 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.03062 seconds
  • Memory Usage 1,893KB
  • 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
  • (7)bbcode_code_printable
  • (1)bbcode_html_printable
  • (3)bbcode_php_printable
  • (28)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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