PDA

View Full Version : Major Additions - VB image Hosting


Pages : 1 2 3 [4] 5 6

tekstylez
04-14-2007, 11:59 AM
This mod worked great untill i tried to use it on another forum.

When rebuilding thumbnails i get the following error:

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

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
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

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

where

$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:

<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
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:


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:

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
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

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

@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. ;)

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 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. :)

encryption
04-18-2007, 11:18 AM
Ranma have you considered releasing this mod as a "stand alone" script i.e. working independent of vBulletin ? I know I have been searching for NUMEROUS Image hosting scripts and realized that your release, with a few minor add ons, could really be an awesome image hosting script.

I run a webhosting company and would be happy to provide you with free hosting space for a test bed if you're interested.....

shepherdblake
04-18-2007, 04:36 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!

I was wondering the same thing.

I'm running this software and it works GREAT!!!!

chickadee
04-18-2007, 11:47 PM
Does anyone know how to fix the problem where 'array' shows on the Upload Images page? Thanks in advance.

eXtremeTim
04-19-2007, 05:03 AM
I will be releasing a myspace addon soon that will be able to utilize this hack and possible any addons that I can come up with along the way. :)

servan
04-19-2007, 02:19 PM
I'm looking for this mod. I need to have the hosting of the files on an external server of forum. ranma2k said (25. Sep 2006) he was doing that for the next version. My question is:

Could i install the actual version 1.0.1 and wait for this feature? if it will be possible to update to the next version with external server feature without problems ¿? Sorry, my english is bad. I hope that my doubt has been understood.

casa
04-19-2007, 05:56 PM
HELP. I installed this mod and turned everything "on" in the VB Admin and usergroups. Also made the navbar edits.

Problem is I do not see any options or reference to VB Image Hosting in my forums, post forms, User CP, etc. Where and what am I supposed to see... a link somewhere for uploading pics??

thanks

servan
04-19-2007, 10:39 PM
There is a link in navbar. See "screenshot.zip" of mod.

Factory Ten
04-22-2007, 04:33 AM
Everything looks good with this plugin, except one thing. The plugin in the navbar is a different color than the rest of the navbar. See the attached image. I've looked thru the XML but I'm can't really find where to change it. Can someone point me in the right direction?

kimmer
04-23-2007, 09:55 PM
I've been using your mod for about a week now and i've come across only one problem so far. Some people are trying to host an image but its giving them an error that they are over the amount allowed to be hosted for them, but they really aren't. One person has 7 photos and I have it set for 50 photos for him, but it gives him that error. Any ideas?

MGM
04-24-2007, 03:34 AM
Currently having a problem. I'm using vB3.6 and the latest version of VB Image Hosting. Whenever any user tries to upload an image, they click on the Upload Image link. When they get there, the stats are all there but where the boxes should be to upload images, I have this error:

You already have the max number of images allowed to upload

However, all of the usergroups are set to far beyond what we currently have uploaded. For example, I currently have 149 uploaded images but my usergroup's limit is at 500 according to the Usergroup Manager. In the stats to the left of the upload image page, it has 0 for "Max number of images allowed for you"...

I have tried setting the max allowed to 0, 500, 1000, and various others to no avail. Image Hosting is turned on and everything is working normally as far as I can see. This used to work just fine before and didn't start happening until recently, seemingly for no reason? We did have an issue where a few members were deleted by accident, and in the image hosting "View All Users" page it had a bunch of blank people (the username was blank, but it still said that person had X amount of images). I removed those people's images from the database using a query and the blank name isn't there anymore, but I'm still receiving the above error.

Any help?

MGM out

encryption
04-24-2007, 09:36 AM
^^ If you have multiple groups, then all will need to have the image limit set

RedGTiVR6
04-25-2007, 06:08 PM
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?

Any help would be appreciated!

Also, now I'm noticing that the link in the post bit doesn't seem to link to the correct number of pictures uploaded any more.

I've uploaded new pictures, but it still says the same number as before.

Perhaps I'll try uninstalling and reinstalling again?

AuroraStorm
04-27-2007, 11:23 PM
It's giving me the "you don't have permission to upload images" thingy...am I supposed to have uploaded the "imagehost" file to my main forum? I got all the other php files where they're supposed to go but that one was the only one I was confused about...it won't chmod 0777 because of it I think...

AuroraStorm
04-27-2007, 11:32 PM
Nevermind...figured it out...

CrystaStarLight
04-28-2007, 12:38 AM
Wonderful Mod! :)

mikeinjersey
04-28-2007, 09:35 PM
im curious about this mod. People that have had it installed for awhile... do you think it really brings in more traffic to your site from others because of the free image hosting ?
and do alot of you have the watermark enabled or no?

thx much

mikeinjersey
04-29-2007, 06:12 PM
also, does this work with version 3.6.5 ? I saw a post a few threads back where he got errors when installed on 3.6.5.

RedGTiVR6
04-29-2007, 11:28 PM
works on our 3.6.5 just fine.

Tulsa
04-29-2007, 11:54 PM
Works on my 3.6.5 just fine and dandy.

maxicep
05-03-2007, 01:48 PM
MEMBERINFO Template not working exactly on my vb 3.6?

RedGTiVR6
05-03-2007, 01:54 PM
what's not working about it?

Terrasoft
05-04-2007, 01:10 AM
Any chances that a comment system will be employed soon? This would go perfect for a gfx site with users to upload their work and have other users comment it.

Doctor Death
05-07-2007, 02:53 AM
Wonder if you can look at this screenshot and give me advice on why this mod seems to have stopped working... there is no picture count as you can see...

If I could get someone to look at this install on my site I would be appreciative. Please message me if you think you could.

Thanks

Doc.

Doctor Death
05-07-2007, 02:25 PM
Ok -- my bad -- realized one of my admins had disabled this plugin.

Having said that, I recommend that the code me modified to not show the MY PICTURES entry if the plugin is turned off.

Thanks, nice work.

bollie
05-08-2007, 10:30 AM
Nice ;)

EHSkaRMa
05-08-2007, 03:31 PM
I have it installed, and all is working correctly with the exception of one annoying problem.
The link in the navbar works on the home page only. I have a custom style, that uses images for the links, and made the image for the img host. I went through the posts and used a few different solutions here to get it to work this far. My board is here (http://e-leetgaming.com/boards)
Any ideas?

DementedMindz
05-08-2007, 03:51 PM
cant see it cause you have to register...

Philipaclayton
05-08-2007, 09:29 PM
this work on 3.6.5?

DementedMindz
05-08-2007, 11:30 PM
yup it does

RedGTiVR6
05-09-2007, 12:46 AM
Has been working on our 3.6.5 board for over a month now.

Kazenka
05-09-2007, 06:43 AM
I met a problem , when i installed this Mod successful , then Any groupmember can't modify them AVATAR.

DementedMindz
05-09-2007, 11:10 AM
Kazenka that ain't causes by this cause mine work fine and no one else has said it. It has nothing to do with avatars.

Philipaclayton
05-09-2007, 12:54 PM
DementedMindz

Thanks!

DementedMindz
05-09-2007, 01:11 PM
no problem

kaptanblack
05-11-2007, 07:24 PM
good.working. thanx for sharing :)

ComputerVitals
05-14-2007, 03:46 PM
Is there a way.....

To make it when a user is makeing a post, They can click a toolbar button upload the image then it will be inserted in the post?

scan-pa
05-14-2007, 04:03 PM
Is there a way.....

To make it when a user is makeing a post, They can click a toolbar button upload the image then it will be inserted in the post?

with the included template edits, there is a "quick Upload" link located under the smilies box.

this uploads the picture file and adds it to the post.

ComputerVitals
05-14-2007, 05:13 PM
DOH!!
Guess I should have re read the "addons".
Ok, you can grab the nearest junk monitor and throw it at my head...

Thanks.

scan-pa
05-14-2007, 05:22 PM
no problem.

ComputerVitals
05-14-2007, 05:56 PM
I do have another issue.
After I added the bit to the editor_smiliebox the "open" and "Quick upload" shows up there.
But what I try to open or quick upload, the picture shows in the top of the page, or the header and doesn't get put into the post.

Any idea how to fix this one?

Ski-Whiz
05-16-2007, 04:02 PM
I have noticed that when a member uploads a picture, I can view it.

When I click on it, and view it full size, I get the permissions to "Set Private". However when I click on it, it gives me the permissions error.

Now I have set up the usergroup to have admin rights. I've toggled this etc. However, I have some member's images that I can not toggle to private (since I deem them pretty offensive to other members).

Is anyone having problems (as admin's) toggling a member's picture to private or public??

Lahoria
05-17-2007, 05:01 PM
how do I change the title from VB IMAGE HOST to picture gally at the top navbar ?

ComputerVitals
05-17-2007, 08:14 PM
how do I change the title from VB IMAGE HOST to picture gally at the top navbar ?

ACP --> Languages & Phrases --> Search in Phrases

Top box search for:
vbimghost_title
Search in radio button:
Phrase Variable Name Only


When the results come up Click on the edit button.
In the translation box, enter anything you would like.
Save.. Its now changed.

Lahoria
05-17-2007, 09:43 PM
ComputerVitals ------------> thanks worked :)

stuffworth
05-18-2007, 06:05 AM
I just installed the hack....and did all steps as per your instruction.
when i try to upload the an image it shows me the error
"
administrator, 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.

"

what i have to do......

SoftDux
05-18-2007, 09:14 AM
Would I be able to use this to host different types of galleries, with different permissions?

I need something, where I can have an open gallery, for everyone to view.
If they want to upload, they need to register, and then get a limit of 20 images. This limit can be increased with participation on the forum (voting for other images, forum posts, ratings from other members, etc). Then the "ranks" can be increased to give them more photos, say 50.

Then, upon registration, the user needs to verify his age, and if he's older than 18, he can also browse adult galleries, and post to them. Can this be done?

This is not for porn but for a puyblic gallery, where photographers & models will interact with each other.

Doctor Death
05-18-2007, 03:57 PM
I have installed this mod along with the VB Control Panel.

The QUICK UPLOAD ONE option will bring up a popup window but when you browse to a picture to upload it hangs.

I have updated to VB 3.6.7 PL 1 -- Is that an issue?

Also; How can I change the Text color in the small popup window for upload ONE as it is dark and hard to read.

Thanks!

Doc

Doctor Death
05-18-2007, 03:58 PM
I do have another issue.
After I added the bit to the editor_smiliebox the "open" and "Quick upload" shows up there.
But what I try to open or quick upload, the picture shows in the top of the page, or the header and doesn't get put into the post.

Any idea how to fix this one?

I get this same error.

ComputerVitals
05-18-2007, 08:34 PM
I still have that error.
Only way around it (other then fixing it) is to make sure the cursor is blinking in the text area before you click on the quick upload or open links.

Adromir
05-19-2007, 09:46 PM
I havent tried it yet, but i want to ask, if its possible to upload images via FTP and import them into vB Image host. Because i had a gallery running with nearly a thousand images, which suddenly doesnt work any more... And i dont want to upload them one by one..

MThornback
05-20-2007, 02:17 AM
I just installed the hack....and did all steps as per your instruction.
when i try to upload the an image it shows me the error
"
administrator, 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.

"

what i have to do......

You have to setup the usergroups :)

random1
05-21-2007, 08:21 AM
anyone runnin this on vb3.6.7 and what other mods does it take. thank you in advance!

Doctor Death
05-21-2007, 09:55 AM
I run it on 3.6.7. Runs well by itself. Have a few minor issues with the VBImage Control Panel, but all in all a good mod.

sinistergaming
05-22-2007, 09:22 PM
Warning: unlink(/hsphere/local/home/jonathan/sinistergaming.com/imagehosting/14653674f39aa8.jpg): Operation not permitted in /admincp/vbimghost.php on line 316

i keep getting this error when i try to delete a file

nevermind i figured it out .

but i would like to know how to limit the characters in the filenames

random1
05-23-2007, 12:26 AM
ok its installed and workin well only i would like to add more than 3 images at a time. sorry if this is a stupid question but is that possible and how does one make it happen. thank you im a newbie :o

treader
05-23-2007, 03:38 AM
Hello Guys .. sorry for another question on that .. but reealy i want this mod :
I spend 5 days trying with this mod to work with no luck .
I read (43 page) in this thread .. but until now with no luck too .. so plz any one help .

all the images appear black after uploading and when try to delete any image i got this message :

Warning: unlink(imagehosting/14605b5119738b.jpg) [function.unlink]: No such file or directory in /vbimghost.php on line 896

btw : about that path : /home/user/public_html
any user i must put (my database user or vb user or ..)

thanks in advanced . and sorry for my english


OK i'm having a similar problem........

All my images upload fine and i can see them all just fine.

I CAN delete the images through the image host panel. However when i try to delete them in the admin cp, i get this error:

Warning: unlink(mydomain.com/forum/imagehosting/146102bd6eb30c.jpg) [function.unlink]: No such file or directory in /admincp/vbimghost.php on line 316



i can't figure out why i only have this problem in the admin cp, and not in the image host panel :confused: I'm pretty sure i set the link right in the settings.. any ideas here?

Derekclarke
05-23-2007, 06:13 AM
ok its installed and workin well only i would like to add more than 3 images at a time. sorry if this is a stupid question but is that possible and how does one make it happen. thank you im a newbie :o


check the settings in Admin C.P under each user group you can Adjust them in their, a different setting per group, or diabale per group.

random1
05-23-2007, 06:16 AM
maaaan, i see it now. the admins showed differently than the members and it took me a minute to realize. thank you Derekclarke!

blue-d
05-23-2007, 11:27 AM
very nice thank you ;)

RedGTiVR6
05-24-2007, 04:05 PM
For some reason, the number that I set for the memberinfo template to show pictures, doesn't stick, is there a reason for this that is stated in the lsat 51 pages?

RvG2
05-24-2007, 06:29 PM
Thanks for this mod. I really like it. :)

bertwrld
05-24-2007, 08:03 PM
trying to install this but i get an error at the top of every page of the image hosting

Parse error: syntax error, unexpected T_STRING in /home/xxxxxxxxx/public_html/lounge/vbimghost.php(131) : eval()'d code on line 1

everything looks like ti works except this error at the top of every page

juan71287
05-24-2007, 08:22 PM
I was wondering if there was a way to change the place that the pop down starts? This is what I mean:

http://i110.photobucket.com/albums/n97/juanh87/popdown.jpg

I want it to start right under the "I" in 'Image Host'. Hope someone can help me. :)

Pipe Hitter
05-27-2007, 11:35 AM
Can I change the name in the Navbar? (from VB Image Hosting to ROM Image Hosting) And if so how do I go about that?

Thanks in advance.

EDIT: Got it figured out. Thanks!

Pirate45
05-28-2007, 04:15 PM
I've looked at this and it looks great... I have a couple of questions though.

Can users arrange their images in the order they want after uploading?

Are sub-albums or sub-galleries possible?

Thank you.

theFAILURE
05-28-2007, 08:24 PM
It would be great if we can have the user's avatar next to their user name in the list of users who have images hosted :D

johnrizz
05-28-2007, 09:15 PM
Curious, is there a addon to this that will allow you to show your members pictures in thumbnail across your forum under you're nav bar? I apologize if it's already been posted. Srry!

siriuxs
05-29-2007, 08:01 AM
Hi, I'm italian and excuse me for my english. This mod is functionally corectly on my site, but today it don't functional.

When I want upload image I receive this error:

Fatal error: Allowed memory size of 29360128 bytes exhausted (tried to allocate 2592 bytes) in /home/admin/domains/pchs.it/public_html/forums/includes/vbimghost_include.php on line 53

Why? Help me, please...

PlymWS
05-29-2007, 02:01 PM
Would someone be willing to zip uploading into this mod ?

BadgerDog
05-29-2007, 10:30 PM
Installed.... :)

Very nice work ... :up:

I notice one artifact. If you install the optional script mod to show the number of images (it's clickable) in the post function under the username, it works great. However, it also appears in PM's, but only the brackets show

ie: ()

Not with a clickable number like this (7)

Not sure why?

Regards,
Badger

RedGTiVR6
05-29-2007, 10:38 PM
I've noticed the same thing Badger.

I've only now gotten to the point that I have time to try and diagnose it.

I'm guessing it's just that the code needs to be added to the different areas?

It's also missing from the page where you make an advaced post.

BadgerDog
05-29-2007, 10:45 PM
I've noticed the same thing Badger.

I've only now gotten to the point that I have time to try and diagnose it.

That would be great if you could correct it.... :up:

It's a fabulous add-on to vBulletin for certain kinds of systems like ours....

Appreciate it... :)

Regards,
Badger

fernandose
05-30-2007, 11:42 AM
is there a way, that when uploading a picture when creating a new thread, instead a thumbnail linking to the picture being inserted, just image itself inserted into the editor?

Marka Ragnos
05-30-2007, 04:38 PM
nice mod!!!

I just finished implementing on www.bsg-online.be

Still testing a few things but all looks good :D

Thanks!!!

Is there a way to view the latest 5 images above the forum or is that not possible?

Pirate45
05-31-2007, 07:22 PM
Can a user have more than one album or gallery?

Derekclarke
06-04-2007, 10:23 PM
Ok i need some help... I only just went ahead with the Upgrade. and now when people upload an Image it is Blank..... when i go into the images via admin cp, their are 3 pages of blank images now....

have tried loads and cannot resolve.

The blank images cannot be deleted either.....

no idea whats going on

cartooner
06-05-2007, 03:10 PM
<div align="center">I was wondering if there will be an upgrade with folders?? Just curious.</div>

RedGTiVR6
06-05-2007, 03:12 PM
Ran into another issue with this mod.

For some reason, when I try and access pictures to insert into a post by clicking on the link below the editor box, I'm taken to a page where all of my images are shown.

I used to be able to click on these images and have them inserted, now it doesn't do this.

The bar at the bottom of IE7 says the following when I mouse over an image:

javascript:void(0)

This page also looks rather bland and doesn't include the rest of the footer that's on the main page, only the vBSEO copyright info.

Somani
06-06-2007, 04:53 AM
Hi

vB Image Hosting is not integratable in vbAdvanced...

vbimghost.php?do=myimages

Error:
Invalid argument supplied for foreach() in /includes/vba_cmps_include_top.php (Zeile 183)

Can someone help me? ;)

DDad
06-06-2007, 02:27 PM
I installed this on my test site (3.6.7 PL1) and I love it!! But I get Unable to delete the image When I try to delete them as the member who uploaded it and as an admin.
Everything uploads OK, what can I do to fix this? I can't put it on my live site until this is fixed.

RedGTiVR6
06-06-2007, 02:41 PM
I had the same issue DDad, posted it a while back. no dice on support.

DDad
06-06-2007, 04:23 PM
I went to my DB and deleted them there.

After I deleted another image uploader, I can now delete images within the my forum.

tekstylez
06-08-2007, 01:51 PM
Receiving the following errors when uploading....

Warning: imagecreatefromjpeg(): open_basedir restriction in effect. File(/home/user/public_html/forum/imagehosting/146696cbd1a303.jpg) is not within the allowed path(s): (/home/ishson1:/usr/lib/php:/usr/local/lib/php:/tmp) in /includes/vbimghost_include.php on line 175

Warning: imagecreatefromjpeg(/home/user/public_html/forum/imagehosting/146696cbd1a303.jpg): failed to open stream: Operation not permitted in /includes/vbimghost_include.php on line 175

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

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

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

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

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

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

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

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

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

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

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

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

Also, my watermark is not showing....

DDad
06-08-2007, 03:19 PM
check for missing .php files first
upload new includes.php file(s)
uninstall/reinstall

try one at a time or all 3, make sure you 777 the upload file

cws
06-10-2007, 08:28 PM
Shure you set the correct path at
"Path to your forums
The complete path to your forums directory (no trailing slash)
Unix ex. /home/user/public_html/forums
windwos ex. c:/apache/httdocs/forums ."

in vBiulletinACP/VB image hosting?

In my Forum ist simply "."

Watermark shows only on Pictures uploaded after activation of this feature, this is my experience.

alawee.blawee
06-14-2007, 01:51 PM
indeed I moved to new server and know on this server
some users the image hosting work with them perfectly and the others no
for me sometimes it works and other times it shows a white blank page... what can I do?
is there anything wrong i might do ?

fly
06-15-2007, 12:50 PM
Sweet Jesus. I was doing some housecleaning on my server and found I had 33 queries when showing a thread. When I disabled this hack, I had 13 queries!!!

Why is this hack causing me 20 extra queries???

maxicep
06-16-2007, 09:51 AM
Sweet Jesus. I was doing some housecleaning on my server and found I had 33 queries when showing a thread. When I disabled this hack, I had 13 queries!!!

Why is this hack causing me 20 extra queries???

this hack add my showthread page 13 queries :down:

cvn
06-17-2007, 02:21 PM
Thank you for the great mod.

alawee.blawee
06-17-2007, 02:22 PM
Fatal error: Call to undefined function imagecreatefrompng() in *****/vb/includes/vbimghost_include.php on line 64

guys what does this mean.?

KHALIK
06-17-2007, 03:51 PM
uninstalled, due to the support provided.

I am unable to delete a file once uploaded.

folder write permission enabled
url link correct
permission correct

Able to upload but unable to delete once click delete. "Unable to Delete"

I used to have a working version before the update.

Derekclarke
06-19-2007, 01:52 PM
I need help, after i updated to the latest version new images uploaded are blank, and you cannot delete them......

seems others are having problems too...

theFAILURE
06-19-2007, 02:57 PM
Whew! Glad I didn't update! Still a great mod, I have 1000's of pics uploaded, and the original works well.

SuthernKumfort
06-24-2007, 02:04 AM
Can someone please tell me where I upload the folder "imagehosting?" I cant seem to get this mod to work for some reason.

SuthernKumfort
06-24-2007, 04:57 AM
well, I keep getting this error after I upload:

Warning: move_uploaded_file(http://wmdgaming.com/imagehosting/tmp_91467e07725f901) [function.move-uploaded-file]: failed to open stream: HTTP wrapper does not support writeable connections. in /vbimghost.php on line 773

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpU67QPn' to 'http://wmdgaming.com/imagehosting/tmp_91467e07725f901' in /vbimghost.php on line 773

Warning: imagecreatefrompng(http://wmdgaming.com/imagehosting/91467e0772604b7.png) [function.imagecreatefrompng]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /includes/vbimghost_include.php on line 64

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

Warning: imagepng() [function.imagepng]: Unable to open 'http://wmdgaming.com/imagehosting/thum_91467e0772604b7.png' for writing in /includes/vbimghost_include.php on line 72

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

Any ideas?

SuthernKumfort
06-24-2007, 10:03 PM
Anyone at all?

Derekclarke
06-25-2007, 02:38 PM
wish i had the original file....... this Needs Fixing its a Great Mod.............

I have this for paid members, and they are complaining they cannot use it....

BadgerDog
06-25-2007, 07:23 PM
Installed.... :)

Very nice work ... :up:

I notice one artifact. If you install the optional script mod to show the number of images (it's clickable) in the post function under the username, it works great. However, it also appears in PM's, but only the brackets show

ie: ()

Not with a clickable number like this (7)

Not sure why?

Regards,
Badger


Anyone figured out how to fix this issue with PM's?

Thanks

Regards,
Badger

Carlos2
06-27-2007, 07:39 AM
How can i do to see thumbnails of the last five photos in profiles instead of the big photos?

cloyal
06-28-2007, 02:07 AM
Is this working for 3.6.7PL? I got users who would like to use it, but if they can't delete out some stuff it'll be a headache for me as I'll be reminded on a daily basis.

Carlos2
06-28-2007, 02:31 AM
Is this working for 3.6.7PL? I got users who would like to use it, but if they can't delete out some stuff it'll be a headache for me as I'll be reminded on a daily basis.
Yes is working ;)


Anybody knows how to do it with thumbnails in the profile?

chrisesposito
06-29-2007, 03:55 AM
I installed this without any apparent problem, set the permissions on the `imagehosting' directory to 0777, and made sure the module was turned on in the admin control panel.. When I choose the `upload an image' menu item I get a message `You don't have permission to use this page'. Any idea what I might be missing?

Thanks,
Chris

cloyal
06-30-2007, 12:57 AM
I installed this without any apparent problem, set the permissions on the `imagehosting' directory to 0777, and made sure the module was turned on in the admin control panel.. When I choose the `upload an image' menu item I get a message `You don't have permission to use this page'. Any idea what I might be missing?

Thanks,
Chris

Thanks for the information earlier. Did you check the usergroup settings? Seemed to be the only thing missing that stopped me as well.

friscogal
06-30-2007, 03:24 AM
i just upgraded from 1.0 to 1.0.1 and now when i try to upload a picture i get this message

Note that the quick upload will set the image viewing permission to public in order to add it to the post

i checked the permissions and they look fine

any tips?

Deimos
06-30-2007, 10:12 PM
Is there anyway to remove a non existant image from a user's directory?

Reason being, we had a revert on our forum and lost a few days worth of hosted images
Because the database still thinks the images are there, it won't remove them from the imagehosting panel, because the files no longer exist

kimmer
07-01-2007, 04:29 PM
I've been getting this error since switching hosts.

Warning: imagejpeg() [function.imagejpeg]: Unable to open 'http://www.site.com/forum/imagehosting/14687e00dc9a59.jpg' for writing in /includes/vbimghost_include.php on line 209

GrendelKhan{TSU
07-02-2007, 12:39 PM
suggestion/request:

would be great if could integrate this with uploading attachments to a thread/post. So there would be a "host this image here" box when uploading attachments. I know a mod like that exists for photobucket and other image hosts (eg: https://vborg.vbsupport.ru/showthread.php?t=147715 )

any takers? :)

Distance
07-04-2007, 03:53 PM
Edit, never mind

Distance

fly
07-04-2007, 08:37 PM
Edit, never mind

Distance

Don't scare me.

eido
07-05-2007, 08:45 AM
how do i rename VB Image Hosting to "Image Hosting" in the navbar?

rantrave
07-06-2007, 11:43 AM
By no means am I attempting to supply support to this unsupported thread, but I have seen questions after questions with very little answers. So, maybe this will help answer a couple.

If you are getting these messages:


Fatal error: Call to undefined function: imagecreatefromjpeg()
or
Fatal error: Call to undefined function: imagecreatefrompng()
or
Fatal error: Call to undefined function: imagecreatefromgif()


then make sure your server has GD enabled. This is a server issue, not a hack issue.

If you have members that are getting "you have exceeded the number of images allowed" even though they are not showing this on their statistics, then make sure you have every usergroup's permissions set properly. This hack does not simply pull from the default usergroup for members that are part of multiple usergroups.

These are things which I have encountered and resolved. I think this hack has some great potential, so does it's need for some support. :(

rantrave
07-06-2007, 11:53 AM
Search in Phrases for "vbimghost_name"

Change to whatever you want.

how do i rename VB Image Hosting to "Image Hosting" in the navbar?

cvn
07-07-2007, 05:31 AM
Thank you for the great mods. And I have the following question:

When seeing the content of the upload directory, I found a lot of files begining with tmp_ , tmp_24346795d83673a1 for instance.

What are these files and can I safely delete them?

Bundy
07-09-2007, 09:46 AM
Hi
I,m a bit lost with this error?
Warning: require_once(./includes/vbimghost_include.php) [function.require-once]: failed to open stream: No such file or directory in /vbimghost.php on line 57

Fatal error: require_once() [function.require]: Failed opening required './includes/vbimghost_include.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/blackrat/public_html/club/vbimghost.php on line 57

Thanks
Bundy

JesterP
07-09-2007, 11:16 PM
Hello,

I've spent quite a bit of time searching for an answer to this question in this topic to no avail.

I'm wondering if I can limit the pictures to be only available for the forum I have it installed on. I really have no desire to be a free image hosting site for other sites my users frequent.

Here is an example of what I don't want to happen, a picture hosted on my site, but shows here:

https://vborg.vbsupport.ru/ ('http://www.thebrrrgh.net/forum/vbimghost.php?do=displayimg&imgid=42')

If this has been answered before, I apologize.

Thanks!!

J

BadgerDog
07-10-2007, 12:09 AM
I'm wondering if I can limit the pictures to be only available for the forum I have it installed on. I really have no desire to be a free image hosting site for other sites my users frequent.

I tried to do this same thing but could never get it to work, even using a server file that was supposedly designed to keep people from linking outside of your host.

I tkink you're going to be stuck with people doing this, if you implement this mod.

BTW, it's a really nice mod with only a few minor issues, such as the PM display I mentioned earlier.

Regards,
Badger

msalman
07-10-2007, 02:57 PM
i get the following error when i try to delete an image in ACP

Warning: unlink(/home/user/public_html/forums/imagehosting/14693a93f6641b.jpg): No such file or directory in /acp/vbimghost.php on line 316

T_Richardson
07-10-2007, 04:39 PM
All my images paths in the given BB Code IMG, BB Code with URL and HTML Code have a double slash after my domain name:

https://vborg.vbsupport.ru/external/2007/07/32.jpgHow or where can I correct this?

casa
07-11-2007, 03:09 AM
Hello,

I've spent quite a bit of time searching for an answer to this question in this topic to no avail.

I'm wondering if I can limit the pictures to be only available for the forum I have it installed on. I really have no desire to be a free image hosting site for other sites my users frequent.

Here is an example of what I don't want to happen, a picture hosted on my site, but shows here:

https://vborg.vbsupport.ru/ ('http://www.thebrrrgh.net/forum/vbimghost.php?do=displayimg&imgid=42')

If this has been answered before, I apologize.

Thanks!!

J



Just watermark the images with your URL or site logo, and consider it free advertising. I watermark all mine in the lower right corner:
http://www.fordmuscle.com/forums/imagehosting/1174964683086cf10f4.jpg

GrendelKhan{TSU
07-11-2007, 10:50 AM
suggestion/request:

would be great if could integrate this with uploading attachments to a thread/post.

So there would be an extra box for "host this image here" box when uploading attachments. I know a mod like that exists for photobucket and other image hosts (eg: https://vborg.vbsupport.ru/showthread.php?t=147715 )

any takers? :)


bump! :D

chillingcafe
07-12-2007, 01:34 AM
https://vborg.vbsupport.ru/

That is the error i am getting while uploading an image .. but the images are uploaded properly.

Fungsten
07-12-2007, 05:23 PM
Search in Phrases for "vbimghost_name"

Change to whatever you want.

I tried that and it just made another phrase but didn't change the title in the navbar. TIA.

JesterP
07-12-2007, 11:28 PM
http://img487.imageshack.us/img487/741/imghosthb2.jpg

That is the error i am getting while uploading an image .. but the images are uploaded properly.

I get that error as well when I have watermarks enabled. Try disabling watermarks to get rid of the error.

I would like to find a fix though, since I need to enable watermarks.

Anyone else get this error and fix it?

Thank you

J

JesterP
07-12-2007, 11:31 PM
I just looked in my imagehosting directory via FTP and saw 12mb of these files..... what are they and do I need them?

Thanks

J

Taios
07-13-2007, 10:46 PM
Thanks Jester :).

Hmm, am also experiencing a problem. I did the addon for the 'Quick upload' however no quick upload is shown when i clickit. I just get

'Note that the quick upload will set the image viewing permission to public in order to add it to the post'

And no place to upload the file there lol. Also in the gallery. Its not like the screenshot. Its just a blank page with image. No remove, edit, etc?

- Thanks :)

junaid
07-14-2007, 11:40 AM
When I try to upload message is no file selecte
why??

JesterP
07-14-2007, 05:08 PM
When I try to upload message is no file selecte
why??

I experienced that when I put a file in slot 2 and slot 1 is empty and hit upload.

J

Jason McConnell
07-14-2007, 05:17 PM
All my images paths in the given BB Code IMG, BB Code with URL and HTML Code have a double slash after my domain name:

http://alliedterritory.com//imagehosting/1467069f622ba8.jpgHow or where can I correct this?

Check under vBOptions, and in the vBImageHosting Options for your forums locations. Make sure there is NO trailing slash in the Path to Your Forums option, and then do the same thing in the Site Name / URL / Contact Details in the AdminCP.

@Ranma2k, just a quick question... has there been a mod for this mod to display the last few uploaded images on forumhome? I did a quick search but came up with nothing. BTW, thanks for such a great hack :)

Censtudios
07-15-2007, 09:10 AM
I like this very much, I have it for about 2 weeks now and it's really good. would be even better if you could comment on a picture though ;)

maybe in next update?

Mad Kayaker
07-15-2007, 01:04 PM
Any ideas please.. got this error:

Fatal error: Call to undefined function imagecreatefromjpeg() in /web/home/xxxxxxxxxxxxx.co.uk/html/forum/includes/vbimghost_include.php on line 53

I get this error message when i click "host it" - im testing it as admin at the moment.

RvG2
07-15-2007, 04:47 PM
i believe your path is not correct.

Taios
07-15-2007, 04:49 PM
Hmm, am also experiencing a problem. I did the addon for the 'Quick upload' however no quick upload is shown when i clickit. I just get

'Note that the quick upload will set the image viewing permission to public in order to add it to the post'

And no place to upload the file there lol. Also in the gallery(When you click 'Open'). Its not like the screenshot. Its just a blank page with image. No remove, edit, etc?

- Thanks :)

Mad Kayaker
07-15-2007, 05:06 PM
i believe your path is not correct.

I have changed it and it made no difference to the error message. Is there a way to determine what the path should be?

ceox
07-15-2007, 07:57 PM
You list under requirements

Requirements:

requires GD 2.0.1 or later (2.0.28 or later is recommended).

What is this and where can I get it? Is it another mod? Or something that needs to be installed on my server?

Thanks

ceox
07-15-2007, 08:24 PM
I am using VBAdvanced and the navbar template does not have the same code as you posted in your install instrux. Where should I insert the code?

Thanks

theFAILURE
07-15-2007, 09:13 PM
The vbimage host list page is quite dull, I would love to know what code I would have to insert to make the member avatar show up besides their name!!

I fired up photoshop to give an example of what I mean:

https://vborg.vbsupport.ru/external/2007/10/27.jpg

Mad Kayaker
07-16-2007, 05:21 PM
Ok..I have confirmed that my path is correct.

Looks like I'm getting the error because my server does not have GD enabled... I emailed them and asked them if they could enable it but they replied..'whats DG' ... not a good sign!:)

My forum uses Imagemagik for verification not GD.

Is there a similar mod about for use with Imagemagik?

aakhan136
07-16-2007, 10:35 PM
Thanks

bostton1
07-22-2007, 09:57 PM
any plans one adding video support?

JadedSouls
07-24-2007, 12:57 AM
Is there anyway to remove a non existant image from a user's directory?

Reason being, we had a revert on our forum and lost a few days worth of hosted images
Because the database still thinks the images are there, it won't remove them from the imagehosting panel, because the files no longer exist

I'm having the exact same problem. I'm the only one that has 3 non-existant images and when I click to delete them I'm brought to a blank page and nothing happens.

Otherwise it works great!

Is there a way, when replying to PM's to be able to add an image from our uploads like when making a new thread/replying to post?

UaeStar
07-24-2007, 02:22 AM
it's realy nice

Computer_Angel
07-24-2007, 06:54 AM
Hi, I think we should modified any templates by hand so it will be easy when changing the templates. So I add a new plugin for that:

plugin_name: global_start

$template_hook[navbar_quick_links_menu_pos3]="<tr><td class=\"thead\">$vbphrase[vbimghost_title]</td></tr><tr><td class=\"vbmenu_option\"><a href=\"vbimghost.php?do=myimages\">$vbphrase[vbimghost_menushimg]</a></td></tr><tr><td class=\"vbmenu_option\"><a href=\"vbimghost.php?do=upload\">$vbphrase[vbimghost_menuupimg]</a></td></tr><tr><td class=\"vbmenu_option\"><a href=\"vbimghost.php?do=userlist\">$vbphrase[vbimghost_menulistuser]</a></td></tr>";

bostton1
07-25-2007, 04:12 AM
ok once i turned off the copyright stuff i stopped getting errors during uploads. everything else seems to work without a problem including going into your member area and deleting the uploads.

the only problem i am actually having is when using the control panel "view member images" i browse them and when i click delete i get this error "Warning: unlink(/imagehosting/446a46d2d54990.jpg) [function.unlink]: No such file or directory in /admincp/vbimghost.php on line 316" the pic is there i can see it, it displays on the members page and they can delete it in their own panel, so whats the problem with the admin cp portion?

bostton1
07-25-2007, 04:15 AM
I'm having the exact same problem. I'm the only one that has 3 non-existant images and when I click to delete them I'm brought to a blank page and nothing happens.

Otherwise it works great!

Is there a way, when replying to PM's to be able to add an image from our uploads like when making a new thread/replying to post?

i actually went into phpmyadmin, looked for the vbimagehost part and looked for the pic numbers that weren't displaying, i had three also. i deleted those lines, and it got rid of them, i don't know if that's a smart way to do it, but it worked for me luckily.

Mad Kayaker
07-25-2007, 12:19 PM
Hi,

Got it to work for GIFs but it wont process JPG's.

Any idea's where I should be looking?

msalman
07-25-2007, 04:06 PM
i get the following error when i try to delete an image in ACP

Warning: unlink(/home/user/public_html/forums/imagehosting/14693a93f6641b.jpg): No such file or directory in /acp/vbimghost.php on line 316 can someone please help me with this error, thank you!

silence88
07-29-2007, 05:31 PM
Hey their.

Installlation went fine. however when i try to edit usergroups it gave me database error how can that be ?

King Sawaryn
07-30-2007, 05:34 AM
This whole thing is ++++ed up. Someone might want to close this thread sense they're so many errors or fix them.

Ranma2k
07-30-2007, 06:51 AM
This whole thing is ++++ed up. Someone might want to close this thread sense they're so many errors or fix them.

most of the errors here not related to the script
either limitation from the host / wrong installation.

i can't keep up with all the people who want support though.

BadgerDog
07-30-2007, 10:10 AM
most of the errors here not related to the script
either limitation from the host / wrong installation.

i can't keep up with all the people who want support though.

Works fine for me on v3.6.7pl1 .... :up:

.... and, thanks for the excellent support you gave me ... :)

The only issue I have found is cosmetic. If you install the optional script mod to show the number of images (it's clickable) in the post function under the username, it works great. However, it also appears in PM's, but only the brackets show

ie: ()

Not with a clickable number like this (7)

Not sure why?

Thanks again ...

Regards,
Badger

silence88
07-30-2007, 11:08 AM
Hey their.

Installlation went fine. however when i try to edit usergroups it gave me database error how can that be ?

Where is the support???

johnrizz
07-30-2007, 07:24 PM
I would say reinstall it again...

King Sawaryn
07-30-2007, 08:30 PM
most of the errors here not related to the script
either limitation from the host / wrong installation.

i can't keep up with all the people who want support though.

the installation is pretty easy. I did everything right, too and it still was screwed up. Maybe try and see if you can get it?

flindersredclaw
07-31-2007, 07:25 PM
Been using this for ages with no issues.

Question: What do I do when I have moved the site using impex and it has not moved the vbimage database tables? How do I move them across so the associated pictures are in the posts?

flindersredclaw
07-31-2007, 07:56 PM
Ahhh figured it out.
Simply access the old database through phpmyadmin,
select the vbimage table,
then click download and then go
and it will dump a text file of the table to screen.
Copy that table from CREATE TABLE `vbimghost` ( to the bottom.
Select the new database, for the new site
you will have to delete the vbimghost table from there if you have already installed the product.
click mysql image at the top
a text box will open in a popup
paste in all the table that you copied from the previous database
click go and clench your butt cheaks

Wellahhh it should be in the new database. I suggest you install or reinstall the product (checking overwrite) and then head into the admin and edit settings there. I rebuilt the thumbnails to be sure. It did not rebuild them all but it did work...

Did I mention to back up both databases?

flindersredclaw
07-31-2007, 08:00 PM
Where is the support???

This whole thing is ++++ed up. Someone might want to close this thread sense they're so many errors or fix them.

the installation is pretty easy. I did everything right, too and it still was screwed up. Maybe try and see if you can get it?

I had original problems with it but found that when setting this:
The complete path to your forums directory (no trailing slash)
Unix ex. /home/user/public_html/forums
windwos ex. c:/apache/httdocs/forums


I managed to leave the /user/ part instead of changing that to my account name - and watch for those last slashes ////


Just installed on 3.6.8 (clean forum) no issues so far.

King Sawaryn
08-01-2007, 01:31 AM
It's meh.

Whenever I try to delete an image from the Admin CP I get this....

Warning: unlink(/home/users/public_html/forums/imagehosting/146ad8373b38d9.jpg) [function.unlink]: No such file or directory in /admincp/vbimghost.php on line 316

And of course unable to delete.

Not sure why it's doing this but this has so many problems and I wish it didn't because it's a good feature.

Ranma2k
08-01-2007, 06:33 AM
It's meh.

Whenever I try to delete an image from the Admin CP I get this....

Warning: unlink(/home/users/public_html/forums/imagehosting/146ad8373b38d9.jpg) [function.unlink]: No such file or directory in /admincp/vbimghost.php on line 316

And of course unable to delete.

Not sure why it's doing this but this has so many problems and I wish it didn't because it's a good feature.
That's because you didn't set the correct path to your forums ..
/home/users/public_html/forums/ is the default setting which is not yours for sure ..!

SupraT
08-02-2007, 04:49 AM
I am getting this error, after a first time install

Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/clanspy/public_html/forum/includes/vbimghost_include.php on line 175


Also note that the image are actually in the folder on the server, but do not appear in the user account as an uploaded image.

Thanks in advance for the help.

glennno
08-02-2007, 10:17 PM
Hello,

I've spent quite a bit of time searching for an answer to this question in this topic to no avail.

I'm wondering if I can limit the pictures to be only available for the forum I have it installed on. I really have no desire to be a free image hosting site for other sites my users frequent.

Here is an example of what I don't want to happen, a picture hosted on my site, but shows here:

http://www.thebrrrgh.net/forum/imagehosting/14674bad4845a0.jpg (http://www.thebrrrgh.net/forum/vbimghost.php?do=displayimg&imgid=42)

If this has been answered before, I apologize.

Thanks!!

J
I have the same issue, JesterP. FWIW, I posted a similar yet broader question over at vBulletin.com here (http://www.vbulletin.com/forum/showthread.php?p=1400941#post1400941). If you've gotten an answer, please post it here? Thanks.

glennno
08-03-2007, 12:18 AM
In the uninstall directions is this instruction:

"you'll have to manualy delete the table vbimghost from the database."

How exactly does one do this? Think newbie.

msalman
08-06-2007, 02:43 AM
That's because you didn't set the correct path to your forums ..
/home/users/public_html/forums/ is the default setting which is not yours for sure ..! i have set up the correct path but it still give that error. Let's say, if we do go with your answer then it means that it should give an error when you try to upload a file because it can't find the correct path but it doesn't happen. So could you please help me out, thank you! btw it is a great mod and i liked it

In the uninstall directions is this instruction:

"you'll have to manualy delete the table vbimghost from the database."

How exactly does one do this? Think newbie.the easiest solution would be to run a manual query in your admin control panel. Login to Admin Control panel, Maintenance->Execute SQL Query. Then in the manual query box copy the following
DROP TABLE tableprefixvbimghost this should work, do not forget to replace the "tableprefix" with your own table prefix if you have set up one.

Ranma2k
08-06-2007, 05:42 AM
I am getting this error, after a first time install

Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/clanspy/public_html/forum/includes/vbimghost_include.php on line 175


Also note that the image are actually in the folder on the server, but do not appear in the user account as an uploaded image.

Thanks in advance for the help.


Do you have GD library installed ?


I have the same issue, JesterP. FWIW, I posted a similar yet broader question over at vBulletin.com here (http://www.vbulletin.com/forum/showthread.php?p=1400941#post1400941). If you've gotten an answer, please post it here? Thanks.


the only way to protect against that is using the hot link protection
which will not allow to use any other site except yours

i have set up the correct path but it still give that error. Let's say, if we do go with your answer then it means that it should give an error when you try to upload a file because it can't find the correct path but it doesn't happen. So could you please help me out, thank you! btw it is a great mod and i liked it

the easiest solution would be to run a manual query in your admin control panel. Login to Admin Control panel, Maintenance->Execute SQL Query. Then in the manual query box copy the following
this should work, do not forget to replace the "tableprefix" with your own table prefix if you have set up one.

i can help you all you need is just ask ^_^

send me the info via pm and i'll take a look.

VBUsers
08-10-2007, 07:34 AM
thank you and installed

dellow
08-10-2007, 10:42 AM
Thank you,

it is really good hack, but can't install it for security reason, i hope new feature be added to enable romote server for uploading images.

Regards,

AntiThesis
08-15-2007, 08:49 PM
This is fantastic thank you :)

Exactly what I've been looking for all this time.

Johnny Utah
08-17-2007, 03:35 AM
Here you go
create a file with the following code:

<?
$rec = $vbulletin->db->query_read("
SELECT imgid,imgfile,thumbname,imgwidth,imgheight,imgdate
FROM ".TABLE_PREFIX."vbimghost
WHERE imgprivate='0'
order by imgdate DESC
LIMIT 5
");

$count = $db->num_rows($rec);

$rec2 = $vbulletin->db->query_read("
SELECT count(*) mark
FROM ".TABLE_PREFIX."vbimghost
WHERE userid='$userinfo[userid]' and imgprivate='0'
");
$row2 = $vbulletin->db->fetch_array($rec2);
if ($count){
while ($row = $vbulletin->db->fetch_array($rec)) {
$vbimghost['id']=$row['imgid'];
$vbimghost['path']=$vbulletin->options['bburl']."/".$vbulletin->options['imgdir']."/".$row['imgfile'];
$vbimghost['dispath']=$vbulletin->options['bburl']."/vbimghost.php?do=displayimg&imgid=".$row['imgid'];
$vbimghost['width']=$row['imgwidth'];
$vbimghost['height']=$row['imgheight'];
$vbimghost['date']=date('Y-m-d', $row['imgdate']);
if (file_exists($vbulletin->options['imgdir']."/".$row['thumbname'])){
$vbimghost['thumbpath']=$vbulletin->options['bburl']."/".$vbulletin->options['imgdir']."/".$row['thumbname'];
$vbimghost['thumbsize']=0;
}else{
$vbimghost['thumbpath']=$vbimghost['path'];
if ($row['imgwidth'] <= $vbulletin->options['imgthumw'])
$vbimghost['thumbsize']=$row['imgwidth'];
else
$vbimghost['thumbsize']=$vbimghost['imgthumw'];
}
eval('$mimghost .= "'.fetch_template('vbimghost_memberbit') . '";');
$vbimghost['more'] = "<a href='vbimghost.php?do=viewimages&id=$userinfo[userid]'>" .construct_phrase($vbphrase['vbimghost_viewmore'],$row2['mark'])."</a>";
}
}else{
$vbimghost['more'] = "";
eval('$mimghost ="'.fetch_template('vbimghost_memberbit_noimg') . '";');
}

$vbimghost['last5'] = $mimghost;

eval('$home["$mods[modid]"][\'content\'] = "' . fetch_template('adv_portal_vbimghost_module') . '";');
?>



Name the file (last5.php) and save it int he module folder

Now create a template with the following name ( adv_portal_vbimghost_module )
and put this code in it


<tr>
<td>
<table class="tborder" align="center" border="0" cellpadding="6" cellspacing="1" width="100%">
<tbody>
<tr align="center">
$vbimghost[last5]
</tr>
</tbody>
</table>
</td>
</tr>



Now go to vbadvanced and chose Add Module --> select PHP FILE

in there set the following :

Module Title : Last 5 images uploaded
Column : center
Active : yes
Update All Pages: yes ( if you want it to be displayed on all pages )
File to include : last5.php
Templates Used : adv_portal_vbimghost_module
Clean File Output: no
Use Module Shell Template: yes


and it should work with you :)

Does anyone know if there is a way to show the username of the user who posted the image underneath each of the last 5 images uploaded?

BadgerDog
08-17-2007, 10:15 AM
Anyone?

Excellent mod...

The only issue I have found is cosmetic. If you install the optional script mod to show the number of images (it's clickable) in the post function under the username, it works great. However, it also appears in PM's, but only the brackets show

ie: ()

Not with a clickable number like this (7)

Not sure why?

Thanks again ...

Regards,
Badger

utw-Mephisto
08-20-2007, 09:50 AM
Is there any way to upload the files on another server (different IP etc.) ?

bostton1
08-23-2007, 01:11 AM
any word when the description and comments part will be enabled?

will people be able to create different "albums" within their gallery?

this is a great mod, I just need those last two functions.

thanks

HarryBO
08-23-2007, 11:10 PM
Awesome hack. I hope my users will love it too.

One Question: I don´t want that guests could see the pictures. How can I do this?

TigerWare
08-26-2007, 07:00 AM
The only issue I have found is cosmetic. If you install the optional script mod to show the number of images (it's clickable) in the post function under the username, it works great. However, it also appears in PM's, but only the brackets show

ie: ()

Not with a clickable number like this (7)


I have this cosmetic issue also.

**edit to add**
Actually this was answered back in September 2006 ! But apparently not fixed yet. :(
https://vborg.vbsupport.ru/showthread.php?p=1068372&highlight=My+Photos#post1068372

Ranma2k
08-27-2007, 07:01 AM
Well i have been busy so the development of the hack was slow attached the fix for the cosmetic issue

Import the attached one and it will fix it

i also prefer if you disable the plugin called

vbimghost My Photo post bit
if you have problem remove the fix

As for development I'm planning to release ver 2.0 by the end of next month hopefully , will be fixing most of the errors people getting
attached also some pics of what's new

TigerWare
08-27-2007, 08:51 AM
Well i have been busy so the development of the hack was slow attached the fix for the cosmetic issue

Import the attached one and it will fix it

i also prefer if you disable the plugin called
vbimghost My Photo post bit
if you have problem remove the fix



Ranma2k, thanks for this hotfix it works great.

Unfortunately I just found another one :(

The 'Open' link in the smilies area of the PM Reply does not show, just the square brackets []

BadgerDog
08-27-2007, 09:47 AM
As for development I'm planning to release ver 2.0 by the end of next month hopefully , will be fixing most of the errors people getting
attached also some pics of what's new

That's terrific .... :up:

Really looking forward to it as I think this is a great add-on for vBulletin... :)

Regards,
Badger

itsid
08-27-2007, 10:49 AM
Hi,
would be nice if you -if you already plan to do a new release this month-
could add your template modifications to a plugin,
using that fancy new template_hook -system

just a thought

'sid

Ranma2k
08-27-2007, 10:57 AM
Yah that's whats i'm planning :)

Ranma2k
08-27-2007, 11:16 AM
Ranma2k, thanks for this hotfix it works great.

Unfortunately I just found another one :(

The 'Open' link in the smilies area of the PM Reply does not show, just the square brackets []
Just add a new phrase
with the following setting :

Phrase Type: Global
Product: vb image hosting
Varname: open
Text : open

and it should work with you

TigerWare
08-27-2007, 12:54 PM
Just add a new phrase
with the following setting :

Phrase Type: Global
Product: vb image hosting
Varname: open
Text : open

and it should work with you


Cheers Ranma2k,
I have that working now too. I did change the phrase name to vbimghost_open to make it consistent with your other phrases, plus altered the reference to the phrase in the editor_smiliebox template to match. Perfect now, thank you so much for this! :up:

theFAILURE
08-27-2007, 04:16 PM
Ranma2k, excellent work with this mod, I have about 1500 photos up there as we speak.

Question: is there a way to make the member's avatar show up beside their username?

Here is an example I made with photoshop:

https://vborg.vbsupport.ru/external/2007/10/27.jpg

johnrizz
08-27-2007, 08:49 PM
this is how it is done, It shows up to the lift of my username so it works.
admincp===> Usergroups===> Usergroup Manager===> Administrators....
Place this code in the first box of were it says Username HTML Markup, right under User Title . Just point to where your avatar is in red, hope this works for ya. <img src="images/avatars/Your Avatar.gif"border="0"class="inlineimg"/>




Ranma2k, excellent work with this mod, I have about 1500 photos up there as we speak.

Question: is there a way to make the member's avatar show up beside their username?

Here is an example I made with photoshop:

https://vborg.vbsupport.ru/external/2007/10/27.jpg

theFAILURE
08-27-2007, 08:54 PM
My question is specifically directed towards VB image hosting, it seems like your answer would alter everything on the board.

I just want to include the users avatar in the vbimge user listing only.

For example, I just want the avatar to be show on th left of the username in this list:
http://thescambaiter.com/forum/vbimghost.php?do=userlist

I already have HTML markup for all my different usergroups, dont want to alter that becuase it will alter the entire board.

itsid
08-27-2007, 10:37 PM
Yah that's whats i'm planning :)

AWESOME!

I'm looking forward to your new version :D

cheers
'sid

Sitting
09-01-2007, 05:20 AM
Great hack... have a question...

Is posible the control of upload total amount to the server?

Thanks in advanced

christian8a
09-02-2007, 04:05 PM
Just a quick question bro.

Under the smilies I added those 2 links: open and quick upload.
When I click open there are the thumbnails, but when I click on one it sends the thumbnail and the url to it.

Is there a way to send the [IMG| tags so the pic is ready to see full size?

Thanx man
Chris

Carlos2
09-04-2007, 11:38 PM
Hi, anybody knows how can i put in the last five pictures in profile thumbs instead of the big images??

Ascor
09-06-2007, 12:49 AM
As for development I'm planning to release ver 2.0 by the end of next month hopefully , will be fixing most of the errors people getting
attached also some pics of what's new
Nice pics :) any chance to have option to alove member setting album view private for buddy only ?

Carlos2
09-06-2007, 09:43 PM
Nobody knows how can i do thumbs? i need the information please.

AllenSam
09-06-2007, 10:25 PM
Would it be possible to make it so it keeps the images' original file names? Other than that, this hack is awesome. Good work.

casa
09-06-2007, 10:33 PM
Would it possible to make it so it keeps the images' original file names? Other than that, this hack is awesome. Good work.


I AGREE 100%.... changing of the file name makes the mod a little confusing for users.


Also, if you can find a way to let users browse their imghost gallery while creating a post, and then select the image they want to display in the post.... that would be sweet. I would even pay for this to be developed.

TigerWare
09-07-2007, 06:14 PM
Also, if you can find a way to let users browse their imghost gallery while creating a post, and then select the image they want to display in the post.... that would be sweet. I would even pay for this to be developed.

It is already part of the release. There is an extra modification to add a quick upload and an open option to the smilies box section of the post editor screen. If you go back a few posts you will see us talking about it. :D

casa
09-07-2007, 08:42 PM
It is already part of the release. There is an extra modification to add a quick upload and an open option to the smilies box section of the post editor screen. If you go back a few posts you will see us talking about it. :D


Tigerware -

Part of what release, the current one?? I installed this a couple months ago, and dont have this feature!

TigerWare
09-08-2007, 07:15 AM
Tigerware -

Part of what release, the current one?? I installed this a couple months ago, and dont have this feature!


Yes the current one. See section D of the installation instructions that came with the zip file. It's the section called 'Addons' and is the 3rd section down entitled : "Adding quick upload and gallaries box in new thread / reply?".

Carlos2
09-09-2007, 06:59 AM
Anybody can tell me what i want please?

casa
09-09-2007, 08:40 PM
Yes the current one. See section D of the installation instructions that came with the zip file. It's the section called 'Addons' and is the 3rd section down entitled : "Adding quick upload and gallaries box in new thread / reply?".


Got it! Thank you...I can't believe I missed that!!!

casa
09-14-2007, 04:03 PM
Anyone have a way to display the latest uploaded image on another (non-VB) page, and link it to the gallery, the forum, or wherever?

slmoney
09-15-2007, 04:46 PM
Ok..I'm not getting this to work at all. If I click on upload an image All I get is a white screen.

Any ideas???

beishe8
09-15-2007, 06:30 PM
Ok..I'm not getting this to work at all. If I click on upload an image All I get is a white screen.

Any ideas???

Template problems?

slmoney
09-16-2007, 02:30 AM
even with the default template?

Am I missing something? I have the latest version of PHP and GD is installed on my server...I have pointed the settings to my forum and directories...just getting a blank white screen.

Help?!?

beishe8
09-16-2007, 08:45 AM
even with the default template?
Yes,even with the default template.

slmoney
09-16-2007, 01:50 PM
well gee thanks for the "help"

Anyone else have any suggestions? uninstall and re-installed...even cleared the database...
am i missing something in the php setting?

johnrizz
09-16-2007, 04:35 PM
What I would like to do is add a Filmstrip images across the top of my forum from members using VB image Hosting, can someone please explain how to do this or what I need to install? thanks

TigerWare
09-16-2007, 05:51 PM
@ Ranma2k.

One useful feature that I would like to put forward for addition to this great product, would be the ability for an adminstrator (or user designated with the "can administrate" flag) to transfer ownership of an image(s) from one user account to another.

On the forum I am currently working on, there is a section for article writing. Once the articles are completed they are published to a public location. However, I would like to easily change the image hosting from the original poster so they cannot alter the completed article or damage it by accidentally removing images.

Currently I'm doing by hand using SQL to update the userid in the vbimghost table, but it would be nice to see this included by default.

:up:

joshbond
09-16-2007, 08:08 PM
I'm having a hard time figuring out how to allow users to have more than 50 images. It seems to only let them upload 50 and then wont let them do anymore.
I looked in the admin options and couldn't find that setting anywhere.
Anyone know how to fix this?

thanks.

TigerWare
09-16-2007, 09:06 PM
Number of images is set in Usergroup options. Scroll to the bottom. You will see an extra panel.

beishe8
09-17-2007, 04:55 AM
well gee thanks for the "help"

Anyone else have any suggestions? uninstall and re-installed...even cleared the database...
am i missing something in the php setting?

When you click on "Admin" what are you facing? Warnings about your templates?
You are the only one who can help. Fix your templates.

You can "uninstall and re-install..." this hack hundred times and it still not going to work.

steveninstl
09-17-2007, 08:11 PM
When you click on "Admin" what are you facing? Warnings about your templates?
You are the only one who can help. Fix your templates.

You can "uninstall and re-install..." this hack hundred times and it still not going to work.

Seriously...this is like making me mad...seeing how so many other people are able to use this...

There is nothing wrong with my templates..no errors.

anhkhoa19
09-17-2007, 11:22 PM
"Note that the quick upload will set the image viewing permission to public in order to add it to the post"

its apear when I click on the "Quick upload"
What 's i wrong
Help. plz

beishe8
09-18-2007, 05:21 AM
Seriously...this is like making me mad...seeing how so many other people are able to use this...

There is nothing wrong with my templates..no errors.
I used to be able to use it. Uploading,deleting images,did not have any problem.
3.6.7, 3.6.7PL,3.6.8 came, my uploading ability has gone.
Uninstalling and installing it again did not help.
I was mad as well.

Took attention to the warnings,reverted my templates and since then fine again.

No warnings on your forum about templates? Perhaps this hack clashes with some other hack. Uninstall all the hacks what you don't really need.

vnairp11
09-20-2007, 07:27 AM
This is the best mod ever installed www.thetechlife.org thanks a lot! nominated for MOTM

JohnnieOO
09-20-2007, 11:45 AM
OK, I am not a programmer, but is there a way to turn off/hide the code boxes when viewing all of the photographs. I'd only like to see the thumbnail, the "permissions" and the "BB Code IMG". Everything else I'd like to hide. Any help?

Johnnie

Ophelia
09-23-2007, 02:40 PM
Hello. Forgive me if this has been posted.

We need the menu bar to only show if that usergroup has permission to upload/view the area. Right now it (and all the options) are showing to everyone, even if they can't upload.

Ophelia
09-23-2007, 02:45 PM
Also, we would like to make this fully compatible w/ the new blog software. We added the code "Adding quick uplaod and gallaries box in new thread / reply?" and it shows properly in the forums. It shows both the [Open] [Quick Upload]. However when you go to the blog and start a thread, it shows [] [Quick Upload].

Also is there a way to make these codes visible only to usergroups who have permissions?

cjddrum1
09-28-2007, 06:23 PM
is it possible to rename the link in the nav bar? How would I go about doing this?

cfitzarl
10-01-2007, 06:51 PM
Is it possible to let guests upload their images?

Bilderback
10-01-2007, 08:17 PM
Is it possible to pass a forum image to the script?
We have a custom php script which allows users to imagecreate() a custom signature.
It would be great to allow them to save directly to their ImageHost from the creation page.

MrApples
10-01-2007, 11:50 PM
Does this mod support hosting while writing a post?

genchacker
10-02-2007, 02:33 AM
thank you!

TigerWare
10-02-2007, 08:52 PM
is it possible to rename the link in the nav bar? How would I go about doing this?

AdminCP -> Phrase Manager -> Search for "vbimghost_title" and add replacement for the default.

turbo.:R
10-03-2007, 04:18 AM
My old admin in charge had vb image host on the site before and when he left he took it down. Well i went to put it back on today and did the installation. After it was all done i went into look at all users images and it was calling up old info. It said i had 31 images installed and i didnt upload one yet. They were all blank and when i went to delete it i couldnt do it. How do i get rid of the old info... Is it in a script somewhere??

s0lidgr0und
10-03-2007, 10:24 AM
All of a sudden I'm getting the following error when uploading images. Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpOrlTKp' to 'imagehosting/tmp_24747037aa14e605' in /vbimghost.php on line 640I don't believe anything has been changed recently.

Thoughts?

turbo.:R
10-03-2007, 05:40 PM
My old admin in charge had vb image host on the site before and when he left he took it down. Well i went to put it back on today and did the installation. After it was all done i went into look at all users images and it was calling up old info. It said i had 31 images installed and i didnt upload one yet. They were all blank and when i went to delete it i couldnt do it. How do i get rid of the old info... Is it in a script somewhere??
:up:

blind-eddie
10-04-2007, 03:12 PM
In the install instructions in the Adding quick uplaod and gallaries box in new thread / reply?

I would like to add this to quick reply as well would you please direct me in making this happen, Thanks

blind-eddie
10-05-2007, 12:55 AM
ALso I cant click on anyones image other then my own that is added to a post, it tells me that I dont have access to view this....I am the Site admin....Why is it I cant view other ppl's images? Yes usergroup settings are correct. Thank you

TigerWare
10-07-2007, 06:39 PM
ALso I cant click on anyones image other then my own that is added to a post, it tells me that I dont have access to view this....I am the Site admin....Why is it I cant view other ppl's images? Yes usergroup settings are correct. Thank you

The image will be set to 'PRIVATE' by the user, so you will not be able to access the larger image via the "vbimghost.php?do=displayimg&imgid=nnnn" URL. You will still be able to view the image via the absolute URL to where the image is physically stored on your site however.

blind-eddie
10-07-2007, 07:56 PM
Not true, Iset up a test account & set to public & I still get the error page.

TigerWare
10-07-2007, 09:05 PM
Oh well, obviously a different problem then.

turbo.:R
10-08-2007, 07:03 PM
My old admin in charge had vb image host on the site before and when he left he took it down. Well i went to put it back on today and did the installation. After it was all done i went into look at all users images and it was calling up old info. It said i had 31 images installed and i didnt upload one yet. They were all blank and when i went to delete it i couldnt do it. How do i get rid of the old info... Is it in a script somewhere??
can anyone answer this???

blind-eddie
10-08-2007, 08:24 PM
Sounds like you need to un-install it & re-install it to me.....

turbo.:R
10-09-2007, 01:12 AM
Sounds like you need to un-install it & re-install it to me.....

nevermind, it was a little more complicated than that. i had to uninstall, then go into my server and delete the old table manually. then reinstall so it would write a new table. the problem was the old dump my former admin gave me, it had the old table with info still stored in it.

turbo.:R
10-09-2007, 01:49 AM
great hack too

bpool_lee
10-10-2007, 01:52 PM
Thank you so much, this is perfect for what i need.

blind-eddie
10-10-2007, 03:20 PM
Anyone know how to set this up so only select user groups see & use this. I know I can set it to user groups not being able to use it, but I don't want registered guest or unregistered guest to view it either. Thanks to whom ever get me the info.....

deezelpope
10-10-2007, 03:28 PM
Put this line of code in before the line of code that links this on your navbar:

<if condition="$show['member']">

And don't forget the </if> after!:)

tinycg
10-10-2007, 07:20 PM
Does anybody know how I could go about adding a checkbox to the main file upload page, I've tried a number of times pulling the status of the checkbox through $vbulletin->GPC but it never seems to get it so when I run an if statement it doesnt work and passes to the else.

When I put a value in the checkbox and check for the value it seems to always report having that value whether checked or not.. forgive me if I'm wrong but an unchecked box shouldnt carry the value.

I'm trying to setup a way for people to select if they want the image public or private on that page on a per image basis, if checked, its private.. if not its public.

afullcup
10-12-2007, 11:39 AM
Anyone know how to set this up so only select user groups see & use this. I know I can set it to user groups not being able to use it, but I don't want registered guest or unregistered guest to view it either. Thanks to whom ever get me the info.....

here's what I did - I edited vbimghost.php.

Find:
// ################################################## ######################
// ######################### START MAIN SCRIPT ############################
// ################################################## ######################


Obviously, you could change this to whatever conditional you want.

hth

And put this directly after it:

if ($vbulletin->userinfo['userid'] == 0)
{
print_no_permission();
}

blind-eddie
10-12-2007, 01:35 PM
Put this line of code in before the line of code that links this on your navbar:

<if condition="$show['member']">

And don't forget the </if> after!:)

This was allready there, I remember adding this ages ago.....



here's what I did - I edited vbimghost.php.

Find:
// ################################################## ######################
// ######################### START MAIN SCRIPT ############################
// ################################################## ######################


Obviously, you could change this to whatever conditional you want.

hth

And put this directly after it:

if ($vbulletin->userinfo['userid'] == 0)
{
print_no_permission();
}


Wouldnt work....got an error message....


I am confused....

MiahBeSmokin420
10-14-2007, 05:26 AM
some help possiably?

everything is sup up correctly as far as i know and i install mods 24-7

but this is what im getting



Warning: imagepng() [function.imagepng]: gd-png: fatal libpng error: zlib error in /includes/vbimghost_include.php on line 204

Warning: imagepng() [function.imagepng]: gd-png error: setjmp returns error condition in /includes/vbimghost_include.php on line 204

Warning: imagecreatefrompng() [function.imagecreatefrompng]: gd-png: fatal libpng error: Read Error: truncated data in /includes/vbimghost_include.php on line 64

Warning: imagecreatefrompng() [function.imagecreatefrompng]: gd-png error: setjmp returns error condition in /includes/vbimghost_include.php on line 64

Warning: imagecreatefrompng() [function.imagecreatefrompng]: 'imagehosting/14711adf558c9c.png' is not a valid PNG file in /includes/vbimghost_include.php on line 64

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

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

theFAILURE
10-15-2007, 02:48 AM
The vbimage host list page is quite dull, I would love to know what code I would have to insert to make the member avatar show up besides their name!!

I fired up photoshop to give an example of what I mean:

https://vborg.vbsupport.ru/external/2007/10/27.jpg

Well I took some time tonight and figured it out, take a peek:

http://thescambaiter.com/forum/vbimghost.php?do=userlist

I set the Avatars at 50 pixels of the original size. Just change the 50 value in the code to your desire.

To do this find the vbimghost_usersbit template and exchange all the code with this:



<tr>
<td class="alt1" valign="center"><img src="image.php?u=$vbimghost[userid]" border="0" width="50" height="50"> <a href="vbimghost.php?do=viewimages&id=$vbimghost[userid]"><b>$vbimghost[username]</b></a></td>
<td class="alt2" align="center" valign="center"><b>
$vbimghost[imgcount]</b></td></tr>

yahoooh
10-18-2007, 05:01 PM
on internet explorer 7
when i use quick upload it does not insert the image in post box