PDA

View Full Version : Major Additions - VB image Hosting


Pages : 1 [2] 3 4 5 6

ThomasR
09-24-2006, 04:21 PM
Is it possible to have the hosting of the files on an external server ? My forum is running on two servers, and I would like to have these files on the second one, for storage purposes :)

ryuji
09-24-2006, 11:02 PM
ranma2k said he was doing that for the next version

ThomasR
09-25-2006, 04:59 AM
Ok, great! Thanks for the information Ryuji !

aGa
09-25-2006, 02:06 PM
very goodddd thank you renma2k ;)

goorgoor
09-25-2006, 06:17 PM
no one can help me here??? come on...

GrendelKhan{TSU
09-26-2006, 05:11 AM
feature request:

I would be all over this if it had:

an image link for clickable thumbnails in a thread (unless that is possible and I just didn't see it posted).

img linking a giant image always breaks my forum borders. grrr.
anyone got a thumbnail link solution mod for this hack?

I know vbadvanced has a hack for that.

z3us
09-26-2006, 06:06 AM
Man i need help to change the navbar name from VB Image Hosting to something shorter. Im lost in this part and i have read everyting? please help. All i see is something about the vbimghost_title. Where do i find this to change if that is right?

Ronak
09-26-2006, 07:06 AM
cud we have Watermarking in this ;)

Ranma2k
09-26-2006, 11:02 AM
no one can help me here??? come on...
Easy you didn't set the path .. .
Please set the path in your vbimghost options

Ranma2k
09-26-2006, 11:03 AM
Man i need help to change the navbar name from VB Image Hosting to something shorter. Im lost in this part and i have read everyting? please help. All i see is something about the vbimghost_title. Where do i find this to change if that is right?
go to language and phrases and change it from there

Ranma2k
09-26-2006, 11:03 AM
cud we have Watermarking in this ;)
there is already a watermark ..
check the options

opteek
09-26-2006, 04:33 PM
This is a wonderful mod! Everything works great. I have one question though. I run a private forum and would like my members to be able to post links to the images outside of this forum without revealing the actual url of the forum itself. So.. for the HTML Code that is displayed in the text field for users to cut and paste, I am trying to get

http://imagehosting.mydomain.net/abc992.gif

instead of

http://www.mydomain.net/forumdir/imagehosting/abc992.gif

And then I create a subdomain imagehosting.mydomain.net that points to www.mydomain.net/forumdir/imagehosting/ , see what I mean?

But I cannot figure out how to change that. I've tried modifying the xml file and changing the path and dispath variabes, but it just doesn't seem to be working. I still get the latter display instead of the former.

fly
09-26-2006, 04:43 PM
Is there any easy way to make this run from a separate database? It obviously can make a DB quite large. When I backup the DB, I don't really care about the images...

fly
09-26-2006, 04:55 PM
This is a wonderful mod! Everything works great. I have one question though. I run a private forum and would like my members to be able to post links to the images outside of this forum without revealing the actual url of the forum itself. So.. for the HTML Code that is displayed in the text field for users to cut and paste, I am trying to get

http://imagehosting.mydomain.net/abc992.gif

instead of

http://www.mydomain.net/forumdir/imagehosting/abc992.gif

And then I create a subdomain imagehosting.mydomain.net that points to www.mydomain.net/forumdir/imagehosting/ , see what I mean?

But I cannot figure out how to change that. I've tried modifying the xml file and changing the path and dispath variabes, but it just doesn't seem to be working. I still get the latter display instead of the former.
Im no genius at this stuff, but I think the line youre looking for is this one:
$vbimghost['path']=$vbulletin->options['bburl']."/".$vbulletin->options['imgdir']."/".$row['imgfile'];
in the vbimghost.php file.

transitbus
09-26-2006, 05:36 PM
I ma still trying to get a random picture module to work with CMPS. any idea why nothing shows up?

fly
09-26-2006, 05:43 PM
I ma still trying to get a random picture module to work with CMPS. any idea why nothing shows up?
Why not just have SQL select a random row from the vbimage table?

transitbus
09-26-2006, 05:54 PM
That is exactly what I am trying to do but I get nothing, the module does not even show up.

as per my orignal post, I compiled the different suggestions and this is what i came up with

https://vborg.vbsupport.ru/showpost.php?p=1080829&postcount=246

If I can get this to work, I'll work on limiting it to one random picture.

What I would love to have is a module for CMPS that pulls a random pic and shows it for a certain amount of time. So in a way what i want is a random picture of the day that pulls from this addon

toolblast
09-26-2006, 09:19 PM
1. Users can create 'albums' or folders within their gallery to organize their photos, instead of them all being in the same clump

2. Comments on individual photos, so when they open the photo in full view there is a comment box below it for users to add comments (shows the user's avatar and their comment). The photo gallery owner can delete comments, approve comments, get emailed when there are new comments.

3. The ability to have galleries that multiple users can upload into, like 'club photo galleries'. Multiple users can upload into a 'collection', and then that collection can have a password protection put on it so that clubs/groups get their own club photo gallery, can make albums for each of their events, and password protect it so only their members know how to get in.

Gripemaster
09-27-2006, 01:16 AM
Question...

Getting ready to install this mod on 3.6.1, and my members are really wanting this feature.

My question is simple... my navbar is getting pretty full. I have the "Menu Control" mod installed, where I can add links to a second navbar. So if I link the image hosting page from the second navbar, I just need to skip the navbar template modification part of the install, correct? And link to the imagehosting.php?

Looking forward to this...

toolblast
09-27-2006, 01:40 AM
Question...

Getting ready to install this mod on 3.6.1, and my members are really wanting this feature.

My question is simple... my navbar is getting pretty full. I have the "Menu Control" mod installed, where I can add links to a second navbar. So if I link the image hosting page from the second navbar, I just need to skip the navbar template modification part of the install, correct? And link to the imagehosting.php?

Looking forward to this...

You could do that, but the navbar link isnt actually just a single link. It is a vb dynamic dropdown menu button... so when they click 'photos' it actually brings down a menu with the options:

- my images
- upload an image
- view all user's images

So.. theres really 3 links you'd want to add in there.

Gripemaster
09-27-2006, 01:49 AM
You could do that, but the navbar link isnt actually just a single link. It is a vb dynamic dropdown menu button... so when they click 'photos' it actually brings down a menu with the options:

- my images
- upload an image
- view all user's images

So.. theres really 3 links you'd want to add in there.

Oh, OK... cool beans. Then I'll just move a link or two from the default navbar to the secondary one. It's just getting kinda cluttered. Thanks much! :)

GrendelKhan{TSU
09-27-2006, 04:11 AM
Suggestion:
I would like there to be comments and rating added to the images when you view them in 'full view' only. This would be great!

IMPROVEMENT:
I have edited the imagebit somewhat. In the original script... all users always see that bbcode, permissions, and other stuff that for the user who owns the photos may be useful, but for other users it just seems to clutter up the photo gallery page in my opinion.

I was wanting something more like Facebook... where if they go to view their friend's gallery... it simply shows a gallery page with a bunch of thumbnails only... no details or stuff underneath. However, I didn't want to remove this stuff, so what I did was edited the template and added an extra condition so that:

1) When viewing photos, if the photos belong to the user that is logged in... they see all that extra bbcode and permission stuff underneath the photo.

2) For OTHER users viewing photos that belong to their friends... they will just see the gallery page with only the photo thumbnails listed.

3) In either case... clicking the thumbnail will open up the main view page and will have the large photo, and will have all the bbcode stuff showing.. but only when the image is viewed in the fullscreen size page.


CODE CHANGES:

OPEN template called "vbimghost_imgbits"

Delete everything in that template, and replace it with this:

<td>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0">
<tr>
<td class="alt1" align="center" valign="center"><a href="$vbimghost[dispath]"><img src="$vbimghost[thumbpath]" <if condition="$vbimghost[thumbsize]!=0"> width="$vbimghost[thumbsize]"</if> border="0"></a></td>
</tr>

<if condition="$vbimghost[private]!=None">
<tr>
<td class="alt2" align="center" valign="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0">
<thead>




<tr>
<td class="thead" colspan="2">$vbimghost</td>
</tr>
</thead>
<tbody>
<tr>
<td class="alt1">$vbphrase[vbimghost_filesize]</td>
<td class="alt2">$vbimghost[filesize] </td>
</tr>
<tr>
<td class="alt1">$vbphrase[vbimghost_imgdime]</td>
<td class="alt2">$vbimghost[width] x $vbimghost[height] </td>
</tr>
<tr>
<td class="alt1">$vbphrase[vbimghost_update]</td>
<td class="alt2">$vbimghost[date] </td>
</tr>
<tr>
<td class="alt1">$vbphrase[vbimghost_imgdlink]</td>
<td class="alt2"><input type="text" value="[img]$vbimghost[path]"></td>
</tr>
<tr>
<td class="alt1">$vbphrase[vbimghost_imgflink]</td>
<td class="alt2"><input type="text" value="https://vborg.vbsupport.ru/ (http://$vbimghost[dispath])"></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>
<tr>
<td class="alt1">$vbphrase[vbimghost_perm] </td>
<td class="alt2">$vbimghost[private]</td>
</tr>
</tbody>

</table>
</td>
</tr></if>
</table>
</td>


VIEW THIS IN ACTION: http://www.undrgrads.com/vbimghost.php?do=viewimages&id=3

aweseome!!! I love this improvement. should be standard admincp option, imo :D

toolblast
09-27-2006, 04:13 AM
Your welcome Grendel! Glad you like it :)

GrendelKhan{TSU
09-27-2006, 04:25 AM
feature request:

I would be all over this if it had:

** an image link for clickable thumbnails in a thread (unless that is possible and I just didn't see it posted).

-img linking a giant image always breaks my forum borders. grrr.
-anyone got a thumbnail link solution mod for this hack?

I know vbadvanced has a hack for that.


feature request:

+ An image link for clickable thumbnails in a thread +
(ie: so you can post the THUMBNAIL of an image not the full orginal image. then some can click that to see the full image or go to that users detailed info page of that image )


would anyone else be interested in that?

Ronak
09-27-2006, 04:43 AM
thanks :D added 5 starz for this ;)

GrendelKhan{TSU
09-27-2006, 04:55 AM
Your welcome Grendel! Glad you like it :)

hey tool...
do you know how to make so you have 5 thumbnails images to appear...
but I want the actual display page to only display 3 or whatever. ie: make it conditional.

GrendelKhan{TSU
09-27-2006, 07:05 AM
hmm..tool. was testing it and registered users still see all the details..
is that correct?

how do you change it so registered users only see the thumbnails?

Ranma2k
09-27-2006, 09:20 AM
That is exactly what I am trying to do but I get nothing, the module does not even show up.

as per my orignal post, I compiled the different suggestions and this is what i came up with

https://vborg.vbsupport.ru/showpost.php?p=1080829&postcount=246

If I can get this to work, I'll work on limiting it to one random picture.

What I would love to have is a module for CMPS that pulls a random pic and shows it for a certain amount of time. So in a way what i want is a random picture of the day that pulls from this addon
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 :)

transitbus
09-27-2006, 03:08 PM
Works great! Thanks for taking the time to clean this up and make it work ;)

For anyone else who wants to try it out, you can limit the amount of pictures by changing the value of "LIMIT 5" to a smaller number. Also you may want to chage the size of your thumbnails and rebuild them. I halved the size of the default thumbnail values and it worked great.

A Demo can be seen on my homepage

Demo (http://www.shebaliscronies.com)

toolblast
09-27-2006, 05:04 PM
hmm..tool. was testing it and registered users still see all the details..
is that correct?

how do you change it so registered users only see the thumbnails?

Registered users, guests, it doesnt matter... nobody should see those details on the photo thumbnails page UNLESS the pictures BELONG to them.

So... try uploading some photos in "johns" account.. and then login as user "mark", go and view "johns" photos while you're logged in as "mark" and you should see only thumbnails.. no details below.

If you still see details... you haven't done the mod properly and need to refollow those steps I posted.


@transitbus
Ya, making the thumbnails 50% smaller works like a charm... they fit nicely.

Gripemaster
09-28-2006, 12:28 AM
Everything installed fine, and "seems" to work fine, however when I click "Host It" to upload images, I get a page of PHP errors, but the file does upload and show. (See Screenshot)

What could be the issue? Otherwise seems to work fine, fresh install on 3.6.1.

Ranma2k
09-28-2006, 12:34 AM
Everything installed fine, and "seems" to work fine, however when I click "Host It" to upload images, I get a page of PHP errors, but the file does upload and show. (See Screenshot)

What could be the issue? Otherwise seems to work fine, fresh install on 3.6.1.
go to vbimghost option and set the path to your forum
You didn't set it

Gripemaster
09-28-2006, 01:01 AM
go to vbimghost option and set the path to your forum
You didn't set it

Now I feel REALLY retarded, I have no clue what the path is to my forum LOL.

captainslater
09-28-2006, 04:34 AM
Now I feel REALLY retarded, I have no clue what the path is to my forum LOL.
You can ask your webhoster :)

amebae
09-28-2006, 09:44 AM
quick question, how do I complete step 5?
"Go to the Admincp and reconfigure the usergroup and the option "

Right now I am having issues as no one can upload

Queensoul
09-28-2006, 10:04 AM
Installed, working great with the last five images posted modification. Great mod and it will even be greater with the newest features you are working on. Thanks.

ForYou
09-28-2006, 10:06 AM
Hello Ranma ,

When i need to delete photo from admincp , there is message
(Unable to delete the image) !!

Help ,

Regards

Ranma2k
09-28-2006, 10:59 AM
Now I feel REALLY retarded, I have no clue what the path is to my forum LOL.
to know your path check phpinfo

check the _SERVER["DOCUMENT_ROOT"]

that is the path to your website .

Ranma2k
09-28-2006, 11:00 AM
quick question, how do I complete step 5?
"Go to the Admincp and reconfigure the usergroup and the option "

Right now I am having issues as no one can upload
in admincp
go to vbimghost options set the correct options
and go to usergroups set the permission for each group

Queensoul
09-28-2006, 01:16 PM
Hello Ranma ,

When i need to delete photo from admincp , there is message
(Unable to delete the image) !!

Help ,

Regards
I get this message too.

Ranma2k
09-28-2006, 01:22 PM
I get this message too.
does the image exsists ?!

Queensoul
09-28-2006, 01:28 PM
RanMa2k these are a couple of images I uploaded to test the mod. Now its working I need to remove them. They are there. But it wont delete.

Gripemaster
09-28-2006, 01:50 PM
to know your path check phpinfo

check the _SERVER["DOCUMENT_ROOT"]

that is the path to your website .

I told you my brain wasn't working LOL

Thank you, fixed and running fine, my members really love this mod.

*HAPPILY CLICKS INSTALL* :D

Ranma2k
09-28-2006, 02:22 PM
RanMa2k these are a couple of images I uploaded to test the mod. Now its working I need to remove them. They are there. But it wont delete.
you should be able ot delete it without any problem

tekstylez
09-28-2006, 05:05 PM
please help with these errors while uploading an image


Warning: imagecreatefromjpeg(/home/user/public_html/forums/imagehosting/1451c0ebf59356.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory 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() [function.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

VaaKo
09-29-2006, 08:25 PM
I'm getting this error when I upload a pic though the pic is getting uploaded


Warning: imagecreatefrompng(/forum/imagehosting/1451d8ee85e060.png): failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 170

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

daloosaa
09-29-2006, 10:54 PM
Hi,

this is a really nice mod.
Is there a vBa Add-On available for this?

Greets,
Florian

zafrir
09-30-2006, 04:41 AM
Hi,

Thanks a great job!
Enhancement suggestion - names and titles enabling, naming the picture files and titling the pictures and pages (search....;) )

Cronic82
09-30-2006, 07:59 PM
Hi,

this is a really nice mod.
Is there a vBa Add-On available for this?

Greets,
Florian

was thinking the same thing..
something in the lines of "last added image" module or so..

great mod btw.. no problem installing it..

d2sector
10-01-2006, 03:32 AM
I Have done a fresh install but getting errors about the mysql tables..
I uninstalled. and deleted the table.. re-installed and still required fields are missing. one is vbimghost_upslots'

can someone give a query to create the required fields?

Ranma2k
10-01-2006, 09:05 AM
please help with these errors while uploading an image


Warning: imagecreatefromjpeg(/home/user/public_html/forums/imagehosting/1451c0ebf59356.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory 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() [function.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

set the path in the vbimghost options ..

Ranma2k
10-01-2006, 09:05 AM
I'm getting this error when I upload a pic though the pic is getting uploaded
Again set the path correctly in your vbimghost option

Ranma2k
10-01-2006, 09:06 AM
Hi,

this is a really nice mod.
Is there a vBa Add-On available for this?

Greets,
Florian
Yes
read this post
https://vborg.vbsupport.ru/showpost.php?p=1084505&postcount=278

d2sector
10-01-2006, 11:25 PM
Im getting this error when editing a usergroups options (upload slots)


Database error in vBulletin 3.6.1:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Super Moderators',
`description` = '',
`usertitle` = 'Super Moderator',
`opentag` = '<strong><font color=\"#00B1E4\">',
`closetag` = '</font></strong>',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '1048575',
`attachlimit` = '10971520',
`pmquota` = '150',
`pmpermissions` = '7',
`pmsendmax` = '0',
`calendarpermissions` = '63',
`wolpermissions` = '15',
`adminpermissions` = '1',
`genericpermissions` = '485449583',
`genericoptions` = '63',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '96',
`avatarmaxheight` = '96',
`avatarmaxsize` = '50000',
`signaturepermissions` = '237567',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '20000',
`sigmaxrawchars` = '1000',
`sigmaxchars` = '500',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '20',
`vbppermissions` = '4993',
`vbp_discountrate` = '10.00000',
`vbp_paycheckamount` = '0.00000',
`vbp_secondarycost` = '0.00000',
`vbp_primarycost` = '0.00000',
`arcadepermissions` = '159',
`minpoststoplay` = '0',
`minreptoplay` = '-1000',
`minreglengthtoplay` = '0',
`vbimghost` = '3',
`vbimghost_upslots` = '5',
`vbimghost_files` = '50'
WHERE usergroupid=5;

MySQL Error : Unknown column 'vbimghost_upslots' in 'field list'
Error Number : 1054
Date : Sunday, October 1st 2006 @ 07:23:27 PM
Script : usergroup.php?do=update
Referrer : usergroup.php?do=edit&usergroupid=5
IP Address : XXXX
Username : XXXX
Classname : vB_Database


Tired uninstall (deleting the tables with phpmyadmin) and re-installing about 5 times. Using PHP 5 and MYSQL 5

|oR|Greg
10-02-2006, 04:02 PM
2 Display issues with private messages for some reason? Inside PM's:


I don't get the link to [ Open ] I only get [ Quick Upload ]. See attached.
It doesn't display the number of pictures or even a 0 in the user info area under the avatar inside PM's. See attached.

Ranma2k
10-02-2006, 07:59 PM
Im getting this error when editing a usergroups options (upload slots)


Database error in vBulletin 3.6.1:

Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = 'Super Moderators',
`description` = '',
`usertitle` = 'Super Moderator',
`opentag` = '<strong><font color=\"#00B1E4\">',
`closetag` = '</font></strong>',
`passwordexpires` = '0',
`passwordhistory` = '0',
`forumpermissions` = '1048575',
`attachlimit` = '10971520',
`pmquota` = '150',
`pmpermissions` = '7',
`pmsendmax` = '0',
`calendarpermissions` = '63',
`wolpermissions` = '15',
`adminpermissions` = '1',
`genericpermissions` = '485449583',
`genericoptions` = '63',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '96',
`avatarmaxheight` = '96',
`avatarmaxsize` = '50000',
`signaturepermissions` = '237567',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '20000',
`sigmaxrawchars` = '1000',
`sigmaxchars` = '500',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '20',
`vbppermissions` = '4993',
`vbp_discountrate` = '10.00000',
`vbp_paycheckamount` = '0.00000',
`vbp_secondarycost` = '0.00000',
`vbp_primarycost` = '0.00000',
`arcadepermissions` = '159',
`minpoststoplay` = '0',
`minreptoplay` = '-1000',
`minreglengthtoplay` = '0',
`vbimghost` = '3',
`vbimghost_upslots` = '5',
`vbimghost_files` = '50'
WHERE usergroupid=5;

MySQL Error : Unknown column 'vbimghost_upslots' in 'field list'
Error Number : 1054
Date : Sunday, October 1st 2006 @ 07:23:27 PM
Script : usergroup.php?do=update
Referrer : usergroup.php?do=edit&usergroupid=5
IP Address : XXXX
Username : XXXX
Classname : vB_Database


Tired uninstall (deleting the tables with phpmyadmin) and re-installing about 5 times. Using PHP 5 and MYSQL 5
try running the Q


ALTER TABLE " . TABLE_PREFIX . "usergroup ADD vbimghost INT( 10 ) UNSIGNED NOT NULL default '0', ADD vbimghost_files INT( 10 ) UNSIGNED NOT NULL default '50',ADD vbimghost_upslots INT( 5 ) UNSIGNED NOT NULL DEFAULT '3';

Ranma2k
10-02-2006, 07:59 PM
2 Display issues with private messages for some reason? Inside PM's:


I don't get the link to [ Open ] I only get [ Quick Upload ]. See attached.
It doesn't display the number of pictures or even a 0 in the user info area under the avatar inside PM's. See attached.

yes and it will be fixed in the new ver ..

|oR|Greg
10-03-2006, 12:35 AM
Cool, thanks bro.

rezapci
10-04-2006, 03:19 PM
I have problem, when I upload a pic, it shows this >

Warning: getimagesize(/home/alshia/public_html/vb/imagehosting/watermark.png): failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 222

Redirecting...



image uploaded

Click here if your browser does not automatically redirect you.

what should I do?

flindersredclaw
10-05-2006, 10:43 AM
Fantastic and installed no issue.

thank you

Ranma2k
10-05-2006, 09:39 PM
I have problem, when I upload a pic, it shows this >


Warning: getimagesize(/home/alshia/public_html/vb/imagehosting/watermark.png): failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 222




Redirecting...



image uploaded

Click here if your browser does not automatically redirect you.

what should I do?
if you are using watermark
put the file in the imagehosting direcotry and se it in the options
if not just disable it ..

fly
10-06-2006, 10:16 PM
Any way to make this thing use relative paths?

edit: Figured it out. If anyone wants to know, open your vbimghost.php file and delete all occurance of this:
$vbulletin->options['bburl'].

Distance
10-09-2006, 08:47 PM
Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/mysite/public_html/includes/vbimghost_include.php on line 127

Trying to upload jpeg?

tim99
10-10-2006, 12:13 AM
This is a really nice app, thanks very much for sharing.

One suggestion would be to have an optional tile view of the user list (/vbimghost.php?do=userlist) AND that a click takes you to the user's profile.

This would make it a lot like myspace and other social networking sites.

Here's an example of what I mean. (http://www.tampaforums.com/index.php?page=Gallery)

In my 'vision' it could (optionally) have one image per user that the user could select as their default display image.

This isn't a very clean view but it gets the point across. This seems to allow as many as a user has which is good for some systems but I am after something more user centric in this view. In other words optionally one photo per user.

And again, thanks for sharing your work.

peace . . .

h_kakashi
10-10-2006, 07:09 AM
Very nice hack :)
I've installed it on a very large anime forum and I am sure the users will love it.

2 bugs though.

First up I don't have any watermarks or anything.
The images upload fine and I can link to them / see them etc..

The first problem is when I modified the thumbnail dimensions, then I went to 'rebuild thumbnails' I get the error :

Warning: getimagesize(C:/Webistes/narutomania/fourms/imagehosting/1452b4f2e6a820.gif) [function.getimagesize]: failed to open stream: No such file or directory in \admincp\vbimghost.php on line 279

I've double checked the fact that the imagehosting directory and the files within are all 777.

The second problem is when you go to post a new thread or reply to a thread and click on 'open' to view your already uploaded images you get the pop up. However that's about it. If you click on any of the images they aren't inserted into your post or you aren't taken to another page. Nothing happens except if there are gif's playing they freeze.

Anyways great work :)

suzanitta
10-10-2006, 07:56 AM
Very useful mod!

I would like to add a link in user's profile saying how many images the user has posted with a link to his pictures. Is it possible?

Ranma2k
10-10-2006, 09:16 AM
Fatal error: Call to undefined function: imagecreatefromjpeg() in /home/mysite/public_html/includes/vbimghost_include.php on line 127


Trying to upload jpeg?
do you have GD installed ?!

Ranma2k
10-10-2006, 09:17 AM
Very useful mod!

I would like to add a link in user's profile saying how many images the user has posted with a link to his pictures. Is it possible?
check the addons in the in the install.html file

Ranma2k
10-10-2006, 09:27 AM
Very nice hack :)
I've installed it on a very large anime forum and I am sure the users will love it.

2 bugs though.

First up I don't have any watermarks or anything.
The images upload fine and I can link to them / see them etc..

The first problem is when I modified the thumbnail dimensions, then I went to 'rebuild thumbnails' I get the error :

Warning: getimagesize(C:/Webistes/narutomania/fourms/imagehosting/1452b4f2e6a820.gif) [function.getimagesize]: failed to open stream: No such file or directory in \admincp\vbimghost.php on line 279

I've double checked the fact that the imagehosting directory and the files within are all 777.

The second problem is when you go to post a new thread or reply to a thread and click on 'open' to view your already uploaded images you get the pop up. However that's about it. If you click on any of the images they aren't inserted into your post or you aren't taken to another page. Nothing happens except if there are gif's playing they freeze.

Anyways great work :)
Hi there ..
well i did test it on windows enviroment and it worked fine .. only thing that can do that error is permissions ( security permission ) you have to give the webserver the full permission on that directory

as for the second error it's strange it works perfictly in windows and unix
what browser are you using ?!

redlabour
10-10-2006, 10:59 AM
Great one ! :D

h_kakashi
10-10-2006, 11:52 AM
I'll look into IIS persmission on that directory later today.

As for the second error, I've tested it on IE6 on my workstation and Laptop and on Firefox on my laptop. No Change. Absoloutley nothing happens.

redlabour
10-10-2006, 02:28 PM
Feature Requests:

1. Create Groupfolders or Custom Folders for everyone. Maybe with Permissionqueue.

2. Give a Name to the Images

3. Add Comments

4. Rate Pics

5. Save Pics in /imagehosting/NICKNAME-OR-FOLDERNAME ;)

Then it will be a Perfect Gallery. ;)

But anyway i have deleted my Coppermine now and have changed to this System - i love it ! :D

darkblade25
10-10-2006, 08:45 PM
Does anyone have a Modules for this that goes with CMPS v2.0

friscogal
10-11-2006, 12:23 AM
this is great!

imfeelingitdawg
10-11-2006, 04:29 PM
This mod is awesome!

One quick question. Is there a way for the thumbnails/images to be displayed in the reverse order they are now? Right now, it looks like the newest ones are put at the bottom and the oldest ones are at the beginning. I can see this being an issue when you get a ton of pictures in your gallery and you have to page to the end to get the newest ones. Having the newest uploaded image at the top with old ones pushed to the end would be awesome.

Thanks!

Distance
10-11-2006, 09:32 PM
do you have GD installed ?!

GD?????

jeddah_eyes
10-11-2006, 10:16 PM
i going to try it now and i will tell u if i face any problem.

Warning: getimagesize(): Unable to access /home/xxxxx/public_html/vb/imagehosting/2452d7e750754c.jpg in /admincp/vbimghost.php on line 279

Warning: getimagesize(/home/xxxxxx/public_html/vb/imagehosting/2452d7e750754c.jpg): failed to open stream: No such file or directory in /admincp/vbimghost.php on line 279

this is the problem that i have aslo after uploading files white page is appearing .

also i can see that i have a files but i cant see any of them .

i gave a 777 for uploading folder

ComputerVitals
10-12-2006, 01:57 AM
1. Create Groupfolders or Custom Folders for everyone.

Any chance of getting this to allow users add "folders" so they are not all bulked into one?

Snatch
10-12-2006, 05:05 PM
I wait for Upload to another Server. When is this funktion ready? I will Donate you, if you get this faster.

redlabour
10-12-2006, 05:16 PM
I wait for Upload to another Server. When is this funktion ready? I will Donate you, if you get this faster.

For what did you need this ? :confused:

I think there are a few Standardoptions that have to be added before special thinks like this. ;)

mhdhallak
10-12-2006, 05:29 PM
WONDERFUL WONDERFUL PRODUCT!!!

THANKS VERY MUCH! :classic:

lanc3lot
10-13-2006, 09:35 AM
Any update date about the upcoming version ?:)

Distance
10-13-2006, 02:28 PM
erm bump to this..

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

Trying to upload jpeg?

someone said have i got GD installed but whats gd?

Ranma2k
10-13-2006, 05:34 PM
erm bump to this..

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


Trying to upload jpeg?

someone said have i got GD installed but whats gd?
what ver of GD you have ?

Ranma2k
10-13-2006, 05:34 PM
Any update date about the upcoming version ?:)
working on a clean ver ..
sorry it's taking me so long but i have lot's of problem in real life .. hold me away from finishing it ..

Distance
10-14-2006, 10:12 AM
Geez people for the third time why does everyone keep asking if i have gd or what version have i got, you can clearly see im asking what gd is ;)

Ranma2k
10-14-2006, 01:01 PM
Geez people for the third time why does everyone keep asking if i have gd or what version have i got, you can clearly see im asking what gd is ;)
http://www.boutell.com/gd/faq.html

GD for php

lanc3lot
10-16-2006, 05:08 AM
working on a clean ver ..
sorry it's taking me so long but i have lot's of problem in real life .. hold me away from finishing it ..

no rush, take your time mate, rl is more important for sure :)

Hope they can be solved

fxs158
10-17-2006, 12:35 AM
Great Hack! How do I change the color of the box under statistics when we click upload images.


I have a black box and you cannot see the information as I imagine the font used for the info is black also.



lowed file types .gif , .jpg , .png , .bmp
Max image size allowed 1024 KB
Max image dimention allowed 1024 * 768
Number of images you curently have 1
Max number of images allowed for you 50

friscogal
10-17-2006, 01:36 AM
hi ranma,

i tried to rebuild my thumbnails and have this come up

Rebuilding Thumbnails

Warning: getimagesize(/home/user/public_html/forums/imagehosting/274452d3a3e1e52d.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 279
Thumbnail Not created for STDs 001.jpg

Warning: getimagesize(/home/user/public_html/forums/imagehosting/274452d3a3f3837d.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 279
Thumbnail Not created for STDs 002.jpg

Warning: getimagesize(/home/user/public_html/forums/imagehosting/157452be324d5dcc.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 279
Thumbnail Not created for tungsten ring.JPG

Warning: getimagesize(/home/user/public_html/forums/imagehosting/197452be5b561578.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 279
Thumbnail Not created for cains ring.jpg

Warning: getimagesize(/home/user/public_html/forums/imagehosting/197452be62c4273e.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 279
Thumbnail Not created for cains ring.jpg

Warning: getimagesize(/home/user/public_html/forums/imagehosting/197452beb40d360d.gif) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 279
Thumbnail Not created for cains ring 2.gif

Warning: getimagesize(/home/user/public_html/forums/imagehosting/244452c0e599de96.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 279
Thumbnail Not created for full front.JPG

Warning: getimagesize(/home/user/public_html/forums/imagehosting/244452c0e59bb351.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 279
Thumbnail Not created for fancy sice.JPG

Warning: getimagesize(/home/user/public_html/forums/imagehosting/244452c0e59d0b4a.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 279


:ermm:

64North
10-17-2006, 08:07 AM
It means just that, no such file or directory as /home/user/public_html/forums/imagehosting/274452d3a3e1e52d.jpg
Wrong path?

fly
10-17-2006, 11:35 AM
Great Hack! How do I change the color of the box under statistics when we click upload images.


I have a black box and you cannot see the information as I imagine the font used for the info is black also.
Me too. The text color should be a forum color, not a hard coded color...

goorgoor
10-17-2006, 12:12 PM
Easy you didn't set the path .. .
Please set the path in your vbimghost options
hi,

i have this problem when i activate watemark!
i have fixed Path problem!

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: Unable to access home/user/public_html/forum/imagehosting/14534d67e61fe0.jpg in /includes/vbimghost_include.php on line 175

Warning: imagecreatefromjpeg(home/user/public_html/forum/imagehosting/14534d67e61fe0.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory 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() [function.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 195

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

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

Mr Pink
10-17-2006, 07:25 PM
Beautiful mod. Click installed and click MOTM.

ComputerVitals
10-18-2006, 01:17 AM
Anyone know if there is a module for vbadvanced to add images from this hack?

goorgoor
10-18-2006, 06:56 AM
Ranma2k plz help me here :sleep:

tim99
10-18-2006, 08:07 AM
yes its in this thread. It's a very good idea to read the threads the hacks are in, there is often a lot of good user experience.

peace . . .

Anyone know if there is a module for vbadvanced to add images from this hack?

ComputerVitals
10-18-2006, 08:59 PM
yes its in this thread. It's a very good idea to read the threads the hacks are in, there is often a lot of good user experience.

peace . . .

I found it.. I was just being lazy
For those interested.

https://vborg.vbsupport.ru/showpost.php?p=1084505&postcount=278

ONick
10-19-2006, 05:31 AM
Works great! Thanks! Clicked install! :)

PondPikey
10-19-2006, 07:54 AM
Is there any way of me adding the recently added images to FORUMHOME?

Great Mod by the way :)

V8Owner
10-20-2006, 07:56 PM
I installed this no problems, Great instructions :) thanks.

I have a small problem, the text watermarks do not work. Has anybody else had this or have any clues?

www.v8owners.com.au

goorgoor
10-20-2006, 09:44 PM
I installed this no problems, Great instructions :) thanks.

I have a small problem, the text watermarks do not work. Has anybody else had this or have any clues?

www.v8owners.com.au
i have the same problem!!!!

kurtbarker
10-22-2006, 12:13 PM
I am getting this error when I try to change the options for a usergroup to enable them to use vbImageHost. Any suggestions?

Database error in vBulletin 3.6.2:

Invalid SQL:
UPDATE vb_usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
`title` = '<!-- sort: a -->Administrators',
`description` = '',
`usertitle` = '<img src=\"/forums/images/user_titles/admin.gif\">',
`opentag` = '<b><span style=\"color: #FF0000;\">',
`closetag` = '</span></b>',
`passwordexpires` = '180',
`passwordhistory` = '360',
`vbimghost` = '3',
`vbimghost_upslots` = '9',
`vbimghost_files` = '100',
`vbsupportpermissions` = '523519',
`uploaderperm` = '11',
`uploadermaxfilesize` = '2097152',
`uploadermaxfoldesize` = '0',
`uploaderfilestypes` = 'jpg, jpe, jpeg, png, gif',
`forumpermissions` = '1048575',
`attachlimit` = '0',
`pmquota` = '10000',
`pmpermissions` = '7',
`pmsendmax` = '9',
`calendarpermissions` = '63',
`wolpermissions` = '31',
`adminpermissions` = '3',
`genericpermissions` = '1040187327',
`genericoptions` = '63',
`profilepicmaxwidth` = '100',
`profilepicmaxheight` = '100',
`profilepicmaxsize` = '65535',
`avatarmaxwidth` = '80',
`avatarmaxheight` = '80',
`avatarmaxsize` = '20000',
`signaturepermissions` = '237567',
`sigpicmaxwidth` = '500',
`sigpicmaxheight` = '100',
`sigpicmaxsize` = '20000',
`sigmaxrawchars` = '0',
`sigmaxchars` = '0',
`sigmaxlines` = '0',
`sigmaxsizebbcode` = '7',
`sigmaximages` = '0'
WHERE usergroupid=6;

MySQL Error : Unknown column 'vbimghost' in 'field list'
Error Number : 1054
Date : Sunday, October 22nd 2006 @ 09:12:40 AM
Script : http://commodorelife.com/forums/admincp/usergroup.php?do=update
Referrer : http://commodorelife.com/forums/admincp/usergroup.php?do=edit&usergroupid=6
IP Address : 61.69.216.128
Username : kurtbarker
Classname : vb_database

kurtbarker
10-22-2006, 10:12 PM
I worked this out...

I just uninstalled, and reinstalled the product...

Works fine now

user02934123123
10-24-2006, 08:16 AM
This is a nice mod, which we're using on our forum.

My main gripe: The default setting is to set all uploaded images as private, so when a member uploads a file, it's viewable only to him/her. This can be changed, of course, by the member clicking 'Make public' for each image, etc.

However, the default wish for most people uploading images is that they be uploaded to be seen by others - i.e. as public. Yet I can see no configuration option to make the default setting for uploaded images in the hack to be made public. This would be a substantial improvement to the product: an AdminCP configuration setting that causes the default for images to be public, so that users don't have to change the setting individually on each image; rather, images would be public by default, and users can set individual images to private if they wish (which fits much better with normal user patterns).

Any chance for an update to accommodate this? I grow terribly weary of dozens of members uploading images, then complaining that they're not visible on the 'View All Member Images' listing, etc.

Or perhaps there is in fact a way to do this in the current version, that I've missed?

kurtbarker
10-24-2006, 10:45 AM
My main gripe: The default setting is to set all uploaded images as private, so when a member uploads a file, it's viewable only to him/her. This can be changed, of course, by the member clicking 'Make public' for each image, etc.

However, the default wish for most people uploading images is that they be uploaded to be seen by others - i.e. as public. Yet I can see no configuration option to make the default setting for uploaded images in the hack to be made public. This would be a substantial improvement to the product: an AdminCP configuration setting that causes the default for images to be public, so that users don't have to change the setting individually on each image; rather, images would be public by default, and users can set individual images to private if they wish (which fits much better with normal user patterns).

Any chance for an update to accommodate this? I grow terribly weary of dozens of members uploading images, then complaining that they're not visible on the 'View All Member Images' listing, etc.

Or perhaps there is in fact a way to do this in the current version, that I've missed?
There is mate, it's an ACP setting

vBulletin Options > VB image hosting > Default image view privacy
yes = private
no = public

Jchen
10-24-2006, 11:41 PM
whenever i go to upload page it will bring me a to a blank screen

Jchen
10-24-2006, 11:59 PM
i chmoded the directory to 777 doesnt work. 755 doesnt work either.
Anybody got any ideas? I have version 3.6.1 btw

suzanitta
10-26-2006, 06:58 AM
Great mod and works fine!

However in the list of member's images, I would like to have a sorting option by selecting the first letter of member's nickname, e.g. letter selector like the one memberlist.php is using. Any suggestions?

BOSS 302
10-26-2006, 10:16 AM
Can't put the drop down menu in my second navbar. I added the code to my second navbar instead of the first and it doesn't work there. It shows the popup constantly with on forum home without cliking the actual button. Help?

See for yourself www.mustangmafia.com/index.php

BOSS 302
10-26-2006, 10:50 AM
Meh. I got it. Nvm.

Allan
10-26-2006, 05:49 PM
Thank you for this hack, great !

File attach: french language ;)

jamescj
10-27-2006, 11:52 PM
Great Hack!

I can upload images. they do appear in the respective directory (including the thumbnail) but they do not appear on the page when I view either my iamges or all user images - I can see the images have uploaded into the directory but that is all ... any suggestions?

Working now :) It was a path error with the host - great hack - thanks ;)

Ascor
10-28-2006, 04:24 AM
Oh yes !!!! This is a great mod, i love it, it's easy to install and work perfect, thank you very mutch Ranma2k :cool:
Now i don't need to look for gallery this one is so good
It's nice when comment to picture and rating can be donne in a next version, and when i can make a new suggestion:
View permission are private or public, i need one more, or changing the defaut private to private but allowed for people
who are in the friend/buddy list, the same way at myspace, is there any solution ?

"click install and Mod o.t. Month"

jaks
10-28-2006, 08:10 AM
I posted about some errors but they were unrelated to this mod and i posted them in the 3.5.4 thread...oops. Anyway this is working flawlessly except the Text Watermark size 4 doesn't seem to work but that could be my board and I'm using and image so no worries.

Question:
Where would I find the code that actually gets added to the posts? I want to add a "Click Image to see Full Size Image" or something like it.

Suggestion:
It would be nice to have Image Description and some options to use other tags like Floating Image (IMGL and IMGR) although that's easy to add the L or R to the tags and maybe HTML code option so that ALT tags could be used on the full size view.

Dreaming:
It's too bad the old VBAgallery and now the new Photopost VBGalley didn't do something like this so that adding pics to posts wasn't such a chore. Think there might be a way to tie this in with it?

Jaks

BuzuL
10-28-2006, 02:19 PM
İnstalled Np...
Beautiful Just Beautiful Hack..
Thx..;)

AzH
10-30-2006, 06:52 PM
I have this installed and it is great but I have one small problem. The option to open your images does not appear in the signature or PM creation screen. Instead you're left with a simple [] where the [open] should be. It is explained in more detail by one of my users:

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

k I've tracked down that bug (it's also identical on the create sig page)

this is what the error looks like in both cases (probably same template)
http://img167.imageshack.us/img167/9614/imgbadtu1.gif
as you can see there's nothing between the []'s for open as in post reply:
http://img76.imageshack.us/img76/6827/imgbettercr7.gif
the bad code set looks like this:
<fieldset id="vbimghostbox" title="Gallery">
<legend>My Images</legend>
<table cellpadding="4" cellspacing="0" border="0" align="center">
<tr>
<td class="smallfont" colspan="3">
[<a href="#" onclick="window.open('vbimghost.php?do=popup&ed=vB_Editor_001','vbimghost1','scrollbars=yes,res izable=yes,width=550,height=500'); return false" title="Pick"></a>]&nbsp;[<a href="#" onclick="window.open('vbimghost.php?do=popupload&ed=vB_Editor_001','vbimghost2','scrollbars=yes,res izable=yes,width=562,height=97'); return false" title="Upload">Quick Upload]</a></td>
</tr>
</table>
</fieldset>
Note you see there's just a spacer (;nbsp) and not the word 'Open' hence you can't open your image gallery for hot linking) Also I'd recomend in all templates a <br> tag thrown in between the 2 as the 'quick uplink' tends to wrap in the space given.

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

Has anyone else encountered this issue and if so how did you fix it?

Thanks.

PitchouneN64ngc
10-31-2006, 09:26 PM
Has anyone else encountered this issue and if so how did you fix it?

Thanks.
The phrase "open" is in the "Thread Management" phrasetype, and the sig editor don't use this phrasetype. Two possible solutions:
Ranma2k updates his mod by adding a new vbphrase especially for the mod (for display "Open" correctly in the sig editor).
Add the 'threadmanage' in the profile.php file. Search this:$phrasegroups = array('user', 'timezone', 'posting', 'cprofilefield', 'cppermission');And modify to this:$phrasegroups = array('user', 'timezone', 'posting', 'cprofilefield', 'cppermission', 'threadmanage');The better way to correct this is the second for the moment.

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

So, I've found a little thing to fix (very trivial). When you see your images (vbimghost.php?do=myimages), for the file size, the 'KB' is missing (not missing from the admincp when you see images for all users). If the 'KB' expression can be added into the language system...

Thanks :)

transitbus
11-01-2006, 04:49 AM
Or... just go into the phrase manger (languages and Phrases) and do the following:


Open Global (should be the default opened)
add new phrase
variable = open
Text = Open

Save and enjoy :D

AzH
11-01-2006, 08:08 PM
Or... just go into the phrase manger (languages and Phrases) and do the following:


Open Global (should be the default opened)
add new phrase
variable = open
Text = Open

Save and enjoy :D

Perfect! Thanks for this. Works perfectly!

Jchen
11-03-2006, 01:02 AM
HELP! I really want to get this working but whenever i try to upload or view pictures it'll bring me to a blank page!!
My website is here (http://utexas-forums.com/forums). somebody help:confused:

Factory Ten
11-03-2006, 09:06 PM
I don't know if this has been mentioned already, but if someone hosts an image on my fourms, can they hotlink that image elsewhere? I'd prefer the images to only be viewable on my forums.

Also it would be nice if forum Admins and/or Mods could browse through all the images, regardless of whether or not they're set to public. :D

ForYou
11-04-2006, 08:36 AM
Hello Ranma ,

I was update to 6.2 and now when i need to upload any photo there is blank page ,

Is there any help

Regards

alawee.blawee
11-05-2006, 07:12 AM
its wonderful

but i had a problem installing it
coz after uploading the picture...it re-direct me to the PHP file in the main folder of the forum...so it shows the links and what ever new things

but this didn't happened coz it showed me a white page with no singe letter in it...so what can i do?

is there a problem with the php file? or the problem is from me or my forum?

regards,

kewl1uk
11-05-2006, 03:17 PM
The image count is not shown in the private message postbit:
My Photos: ()

freevisio
11-06-2006, 08:46 AM
Good hack!!

Hi Ranma2k, i need your help.

Your hack for display last 5 works very well, but i need to make a modification. I need that images are shown in home connect to threads, and also to visualize them in forumhome. ¿ Do you help me?

thank you for their addon.

Julie
11-06-2006, 04:46 PM
Nice little thing here :D But I was wondering, any way for you to code in so that one can also allow single users upload permissions? Like, f.ex, in the user part of AdminCP, you can easily change the properties for the user there? It would be kinda nice :)

Thanks!

VBUsers
11-06-2006, 06:15 PM
installed and its great!

The Chief
11-06-2006, 08:22 PM
Can't wait for the new release...

jaks
11-07-2006, 11:49 PM
I posted a couple BB codes to align linked images from VB image hosting. I did this because I used some of Borg's BB Code additions and saw that the Align Image Left/Right Tags will not work with this hack for 2 reasons.

1. Duplicate image tags
2. Invalid XHTML


Anywho I posted them here so they don't get lost in the middle of this thread. I also attached two simple images for buttons.
VB Image Hosting BBCode Align Image Tags:
https://vborg.vbsupport.ru/showthread.php?p=1112737

Feel free to add this to the first post in this thread if you want.

ChavMagnet
11-08-2006, 06:05 AM
I Installed to although when i go to /vbimghost.php it does'nt display anything to upload them i have set user permissions as well as making sure everything in the admin panel is set. But still nothing can can anyone help me on this? Thanks

Snatch
11-08-2006, 08:23 AM
plz add the funktion to upload Pictures to an another Server :)

back2basic
11-08-2006, 09:31 AM
I like it alot and My members to :)

ChavMagnet
11-08-2006, 12:25 PM
plz add the funktion to upload Pictures to an another Server

You mean this?
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 .

I entered my forum path here but it isnt displaying to upload images
http://www.chavmagnet.com/vbimghost.php

JAYEMULE
11-09-2006, 11:15 AM
This is very nice little product and addition to the forum. Some of my members are using it already. They like having a little album to display pictures and I like that they aren't filling up threads with pics.
There is one or two things I and my members wondered about. Is there a way to create a title or caption to the pics, other than the file name, and why is it that in viewing the pics the info box to the rifht shows the bb code & html I think it is. The codes are not something my members would want/need but instead if that area could be used as a disciptive for the pic would fantastic. Maybe something for the next release ?
Really like this one, thanks kindly ! :)

Jaye

nascar1
11-09-2006, 01:17 PM
Is there a way to set it so the VB Image Host link on the Nav bar only shows to users who are logged in and registered?

Julie
11-09-2006, 02:34 PM
Is there a way to set it so the VB Image Host link on the Nav bar only shows to users who are logged in and registered?

You could try something like this:

<if condition="is_member_of($bbuserinfo, X, Y, Z)">CODE TO IMAGE HOST HERE<else />BLANK OR MESSAGE TO USER WHO DOESN'T SEE IT</if>

Change XYZ to the usergroup(s) you want to see the image hosting link.

PondPikey
11-10-2006, 06:00 AM
Posted this yesterday but seems to have been deleted.

I have ran all the upgrades but when rebuilding thumbnails I get

Warning: getimagesize(/public_html/carpy/imagehosting/144d4e506cf85d.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 278

Also, when I view users images now they seem to be of various sizes

http:/www.carpy.co.uk/

Hope someone can help.

ThomasR
11-10-2006, 08:45 AM
Ranma2k: just a short question, do you have a target date (approximatly) for the next major release (for the external server storage)?
i'm really impatient to install the hack, but if I do it on my current forum storage, I'll excede my quota in a week ;)
BTW, thank you again for your hack, already installed on my test server!

nascar1
11-10-2006, 01:11 PM
Excellent. Thanx. It worked like a charm.

PondPikey
11-10-2006, 03:50 PM
When running thumbnail rebuild..


Warning: getimagesize(/public_html/carpy/imagehosting/144d4e506cf85d.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 278

Hope someone can help.

I would really appreciate anything on this! I really need to rebuild thumbnails!

cartooner
11-10-2006, 05:40 PM
I am getting some members who are having problems with .gif and some .bmp images. I am geting comments like these.

*Member) Is anyone else having trouble uploading .gif pic on VB Image Host?
All I get is a white screen when I try to upload .gif pics.

I don't have any trouble with any format but .gif. I just noticed it when I was uploading pics and having trouble until I found out it was the .gif format, it was OK when I changed the pics to .jpeg

Member)I've had a lot of problems with GIFS (no movement gifs) for some reason!
I always open those up in PSP & change it to a JPEG
No clue why though???

A lot of them give me NO choice??? It's either you save the pic as a GIF (and this also happens with 'Bitmap's" also), or you can't save the pic????

Again, NO CLUE!*

I am running the most recent version of the VBImghost, and VBulletin 3.6.1 with an upgrade due to be done very soon to 3.6.3

Any one else having trouble like this.??

jaks
11-10-2006, 06:05 PM
.gifs dont seem to be getting watermarked and tthe water mark on jpg pics under the default thumbnail size extends out of the image. As long as the image is larger than the default thumbnail size the watermarks aspect ratio is fine. Any ideas?

Example .jpg image:
https://vborg.vbsupport.ru/external/2006/11/22.jpg

Snatch
11-10-2006, 07:27 PM
You mean this?
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 .

I entered my forum path here but it isnt displaying to upload images
http://www.chavmagnet.com/vbimghost.php


No, I mean, I will upload the Pics to a secound Server via FTP or some what.
Because I use a seperate uploadServer to hoste the Images.

Jchen
11-13-2006, 12:11 AM
i'm still getting a blank page whenever i try to upload.... anyone know why? My site is www.utexas-forums.com/forums (http://utexas-forums.com/forums)

Jchen
11-14-2006, 05:51 AM
Ramma any clues?

fishhub
11-15-2006, 03:30 PM
i said chmod the directory not renaming it

sorry, I am a novice. But care to eleborate how do i go about doing this chmod...and directory 777 ?

TIA

tim99
11-15-2006, 07:13 PM
This has to do with file/directory permissions. chmod is the command to change them, 777 indicates that the dir/file in question is read/write/execute for everyone and everything.

How you go about doing this specifically depends on your host/tools. If your host uses cpanel you can use the file manager or even easier nowadays you can use many ftp programs.

Although this is a simple safe change overall file permissions (who can read/write/execute what) are instrumental to site security so in general you should not be mucking around with them if you don't understand. Beyond something simple like this get real life assistance.

peace . . .


http://www.perlfect.com/articles/chmod.shtml


sorry, I am a novice. But care to eleborate how do i go about doing this chmod...and directory 777 ?

TIA

DaNIEL MeNTED
11-17-2006, 01:46 PM
Hmm... ok, I made the change to the editor_smiliebox template and when I click Open and then click an image it doesn't add it to the edit box if I have selected "Enhanced Interface" for the message editor. Instead the images are displayed in the header of the page...

Has anyone else noticed this?

A lot of my users use the enhanced editor.

tim99
11-17-2006, 06:39 PM
Yes exactly that with IE6 and 7. Seems to work fine with Firefox.

It doesn't seem to be supported anymore. Its too bad, it's a really nice effort that has a lot of potential.

peace . . .

Hmm... ok, I made the change to the editor_smiliebox template and when I click Open and then click an image it doesn't add it to the edit box if I have selected "Enhanced Interface" for the message editor. Instead the images are displayed in the header of the page...

Has anyone else noticed this?

A lot of my users use the enhanced editor.

blogtorank
11-17-2006, 10:49 PM
Perfect add-on!!! *Installed* Thanks for an outstanding add-on!!!

alawee.blawee
11-19-2006, 06:28 AM
i'm still getting a blank page whenever i try to upload.... anyone know why? My site is www.utexas-forums.com/forums (http://utexas-forums.com/forums)



Man Did you put watermark?

i think it is the problem coz when i put it the blank page appears but when i don't it doesn't



regards

fishhub
11-19-2006, 03:38 PM
This has to do with file/directory permissions. chmod is the command to change them, 777 indicates that the dir/file in question is read/write/execute for everyone and everything.

How you go about doing this specifically depends on your host/tools. If your host uses cpanel you can use the file manager or even easier nowadays you can use many ftp programs.

Although this is a simple safe change overall file permissions (who can read/write/execute what) are instrumental to site security so in general you should not be mucking around with them if you don't understand. Beyond something simple like this get real life assistance.

peace . . .


http://www.perlfect.com/articles/chmod.shtml


Thanks tim99, ill hv to read them up.

Sparky_s
11-20-2006, 12:19 AM
I'm getting the blank white page when uploading jpegs with and without any watermarks.

I edited the max res allowed and resize and still the problem happens.

I just have a feeling that any photo that has info attached to it gets the white page.

Anyone have any resolve on this issue?

Edit:

I think any image above 2000x(whatever) gives me the white page. Any image below 2000 gets uploaded perfectly.
So could it be a GD issue?

soletrader
11-21-2006, 12:45 PM
I absolutely love this hack! Grea job! Works perfectly on my 3.6.0. Is there anyway to make the pictures public by default instead of private? Thanks

fly
11-21-2006, 12:54 PM
I absolutely love this hack! Grea job! Works perfectly on my 3.6.0. Is there anyway to make the pictures public by default instead of private? Thanks

Yep, check your admincp

dellow
11-22-2006, 03:59 AM
I just installed the hack , but not edit the templates , i was going to test it only , then after 24 hours i find that someone uploaded a php shell file named update.php. i delete this file and change the perm to 755 , the question is how this guy upload this file ?

PondPikey
11-22-2006, 10:50 AM
Welll Im still unable to generate thumb nails. The only thing I can think of thats different to any other installation is that I installed my forums to the root of the domain instead of forums directory.

Please can someone help or im going to have to uninstall this previoulsy brilliant hack.

fly
11-22-2006, 11:44 AM
I just installed the hack , but not edit the templates , i was going to test it only , then after 24 hours i find that someone uploaded a php shell file named update.php. i delete this file and change the perm to 755 , the question is how this guy upload this file ?

Are you suggesting that the file was uploaded via the image host? Its been a while since I looked at it, but I think PHP files are blocked.

dellow
11-22-2006, 12:12 PM
Are you suggesting that the file was uploaded via the image host? Its been a while since I looked at it, but I think PHP files are blocked.


the hack installed for 24 hours only , and the php shell file was named update.php . i am posting here to ask is this related for this hack or not , actualy i am not devilper .

fb-guy
11-22-2006, 03:28 PM
This is exactly what we are looking for. A growing # of our users are starting to post photos in Photobucket, et al, and folks are getting lost jumping off our forum, then back again.

Are there any sites out there using VM Image Hosting that I can look at for good configuration ideas?

Thanks.
FB

Dr-net
11-25-2006, 04:06 AM
I am upgrading to 3.6.4 and this error showed up while click (upload an image)

Fatal error: Unknown function: print_cp_header() in /home/xxxxx/public_html/vb/vbimghost.php on line 39

Dr-net
11-28-2006, 03:41 AM
HELO WHY NOBODY ANSWER :tired:

Hornstar
11-28-2006, 06:51 AM
got this database error today for the first time, it only has happened once so far, it happened from something a member must have done.


Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT usergroupid FROM vb3_icon AS icon
INNER JOIN vb3_imagecategorypermission USING (imagecategoryid)
WHERE icon.iconid = 14
AND usergroupid IN ();

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 4
Error Number : 1064


Any idea what caused this?

Forcemaster
11-29-2006, 12:52 PM
i keep getting this error when trying to rebuild thumbnails
Warning: getimagesize(/home/user/public_html/forum/imagehosting/1456d9c4a5ebe4.gif) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 279

Warning: getimagesize(/home/user/public_html/forum/imagehosting/1456d9cdeb6be4.gif) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 279

Warning: getimagesize(/home/user/public_html/forum/imagehosting/1456d9cdeb8f0a.bmp) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 279

Warning: getimagesize(/home/user/public_html/forum/imagehosting/1456d9cdeba67a.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 279

Warning: getimagesize(/home/user/public_html/forum/imagehosting/1456d9cdeea422.bmp) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 279

Warning: getimagesize(/home/user/public_html/forum/imagehosting/1456d9cdeebb6a.bmp) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 279

i also keep getting this error when uploading images!
Warning: imagecreatefromjpeg(/home/user/public_html/forum/imagehosting/1456d9cdeba67a.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory 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() [function.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 195

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

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

PLEASE HELP XD

tschai
11-30-2006, 07:08 AM
Just Wanted to say this Add-on truely kicks-ass and it’s working like a charm…locally, but I’m sure it will also on my ‘Live’-site.
Although I’m running into some watermark-error’s I’m sure I can solve them myself…I hope.

Great work…thanx again.

encryption
11-30-2006, 03:18 PM
I too am getting the exact same errors..... running vb version 3.6.4

Warning: imagecreatefromjpeg(/home/user/public_html/forum/imagehosting/1456d9cdeba67a.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory 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() [function.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 195

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

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

Ranma2k
11-30-2006, 06:27 PM
People Please please please
Read the Installation file

Modify your Vbimghost Options

Set that path to your forums correctly in the vbimghost options

That's why you getting the error "supplied argument is not a valid " !!

and for all the people asking when is the next release it will be in 2007 not this month .. due to some problems in real life ..

encryption
11-30-2006, 06:47 PM
umm the path is right.... thats why the images load and are saved correctly, however the error I posted above appears for a few seconds after the image is uploaded and then goes away.

People Please please please
Read the Installation file

Modify your Vbimghost Options

Set that path to your forums correctly in the vbimghost options

That's why you getting the error "supplied argument is not a valid " !!

and for all the people asking when is the next release it will be in 2007 not this month .. due to some problems in real life ..

Ranma2k
12-01-2006, 07:30 AM
Are you sure that this is your forum path :

/home/user/public_html/forum


that is the default one i set in the script .. You need to change it ..

Jchen
12-02-2006, 03:46 AM
Are you sure that this is your forum path :

/home/user/public_html/forum


that is the default one i set in the script .. You need to change it ..

Ramma can you help me fix my problem? I pmed you my msn information.

PossumX
12-02-2006, 09:26 PM
First off, GREAT MOD !!

Is there any way (or mod out there) to view the images in a gallery format, showing multiple images from multiple users?

Just curious...

Hornstar
12-04-2006, 03:26 AM
I'm pretty sure this database error is caused from this mod. please let me know if it is.


Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT usergroupid FROM vb3_icon AS icon
INNER JOIN vb3_imagecategorypermission USING (imagecategoryid)
WHERE icon.iconid = 10
AND usergroupid IN ();

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 4
Error Number : 1064
Date : Sunday, December 3rd 2006 @ 09:52:31 PM



This user is using this exploit to cause database errors on my site and crash and destroy my database.

If it is not this mod, does anyone have a clue what mod this may be from? I am fairly sure it is this one.

Vbulletin said there is a spelling mistake in my php caused from a mod that caused the database error.

Thanks.

Ranma2k
12-04-2006, 01:47 PM
I'm pretty sure this database error is caused from this mod. please let me know if it is.


Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT usergroupid FROM vb3_icon AS icon
INNER JOIN vb3_imagecategorypermission USING (imagecategoryid)
WHERE icon.iconid = 10
AND usergroupid IN ();

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 4
Error Number : 1064
Date : Sunday, December 3rd 2006 @ 09:52:31 PM



This user is using this exploit to cause database errors on my site and crash and destroy my database.

If it is not this mod, does anyone have a clue what mod this may be from? I am fairly sure it is this one.

Vbulletin said there is a spelling mistake in my php caused from a mod that caused the database error.

Thanks.
no it's not from my mod

that is using icon or image catagory ..

i don't have both at all it's another mod

Ranma2k
12-04-2006, 01:48 PM
Ramma can you help me fix my problem? I pmed you my msn information.
replied

Dr-net
12-05-2006, 03:37 AM
Helo Ranma2k

I am upgrading to 3.6.4 and this error showed up while click (upload an image)

Fatal error: Unknown function: print_cp_header() in /home/xxxxx/public_html/vb/vbimghost.php on line 39

any clue :)

tschai
12-05-2006, 07:12 AM
I'm using this already locally and I've got 1 simple question...

I want to show the 'My Photos(1)' bit at the postbit(legacy) only if there are any photos at all.
Anyone any idea how exactly I can modify the code, to achieve this

It's probably something like this, but I dont know what and how the if-statement should be constructed:

<if "$post[vbimghost] > 0">
show myphotos text
</if>

Anyone any ideas?
Thanks in advance...

Adam21
12-05-2006, 12:09 PM
I'm using this already locally and I've got 1 simple question...

I want to show the 'My Photos(1)' bit at the postbit(legacy) only if there are any photos at all.
Anyone any idea how exactly I can modify the code, to achieve this

It's probably something like this, but I dont know what and how the if-statement should be constructed:

<if "$post[vbimghost] > 0">
show myphotos text
</if>

Anyone any ideas?
Thanks in advance...

In your postbit at the place you wish
<div>
$vbphrase[vbimghost_myphotos]: (<a href="vbimghost.php?do=viewimages&id=$post[userid]">$post[vbimghost]</a>)
</div>

encryption
12-05-2006, 12:12 PM
is there anyway to show the most recent X photos on the forum index ?

Ranma2k
12-05-2006, 05:28 PM
Helo Ranma2k



any clue :)
ah that because you put the vbimghost.php that in the admincp directory in the forum directory

make sure you upload the files in the correct way it's in the folders

Ranma2k
12-05-2006, 05:29 PM
is there anyway to show the most recent X photos on the forum index ?
yes it can be done ..

tschai
12-06-2006, 06:21 AM
In your postbit at the place you wish
<div>
$vbphrase[vbimghost_myphotos]: (<a href="vbimghost.php?do=viewimages&id=$post[userid]">$post[vbimghost]</a>)
</div>
Hi Adam21,

Thanks for trying to help me out.

The code you've provided is already available as an extra with this Add-on and it works just fine.
However it also shows the text 'My photo: (0)' when a user doesn't got any (public) photos at all!
I know my user and they wil complain and they would be right since this does not add anything at all, if you don't publish the photo's.

So, the issue is:
I want this specific text/code only shown/executed when this variabel ($post[vbimghost]) is actually more then zero!
I'm just having troubles writing a decent <if>-statement with this variable...consider me a semi-noob

Thanks so far...

--edit--
Nevermind: <if condition="$post[vbimghost] > 0 "> did the trick....thanks...

PS: maybe this should be default in the add-on.. :)

beano33
12-07-2006, 01:33 AM
Great Hack! How do I change the color of the box under statistics when we click upload images.


I have a black box and you cannot see the information as I imagine the font used for the info is black also.


Same problem here. I searched through the thread and couldn't find a fix.

Ranma2k
12-07-2006, 01:39 PM
just change it from the template..

PondPikey
12-08-2006, 11:56 AM
Warning: getimagesize(/home/user/public_html/carpy/imagehosting/144d4e506cf85d.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 278

Im still unable to rebuild thumbnails, Checked and double checked installation and settings. I will probably uninstall until theres better support.

is there anyway to show the most recent X photos on the forum index ?

Id be interested in this setting.

TTG
12-08-2006, 12:50 PM
Great addition .. clicked install .. works well on 3.6.4

Phooey
12-08-2006, 05:42 PM
Great hack! I just installed it and it's working great so far. I really love the watermark feature.

*clicks install*

FusionHosting
12-08-2006, 06:04 PM
Just realized I posted a bug fix in the old 3.5.x thread, meant to post it here.

Seems to be a bug with this addon and particular .gif files when you have the 'thumbnail' option set to yes.

One of my users have been trying to upload their signature file but it keeps timing out in PHP. I am using the latest build in GD version 2.0.28. Latest version of VB.

The problem code seems to be:


switch ($imageExt){
case (".gif"):
$srcImg = imagecreatefromgif("$imageDirectory/$imageName");
$colortrans = imagecolortransparent($srcImg);
$thumbImg = imagecreate($width, $height);
imagepalettecopy($thumbImg,$srcImg);
imagefill($thumbImg,0,0,$colortrans);
imagecolortransparent($thumbImg,$colortrans);
imagecopyresized($thumbImg,$srcImg,0,0,0,0,$width, $height,$imageWidth,$imageHeight);
imagegif($thumbImg,"$thumbDirectory/$thumbName");

This doesn't happen with all .gifs, just this particular one at the time. Its a 330x120 pixels gif thats 17kb in size.

I've been able to upload smaller and larger gifs though.

The Fix:

I did a search and discovered 2 of the functions you used in the code were older ones meant for the original GD library.

I changed 2 lines to refer to the GD2 libraries and now the .gif thumbnailing is working correctly.
Here's the updated code:



switch ($imageExt){
case (".gif"):
$srcImg = imagecreatefromgif("$imageDirectory/$imageName");
$colortrans = imagecolortransparent($srcImg);
$thumbImg = imagecreatetruecolor($width, $height);
imagepalettecopy($thumbImg,$srcImg);
imagefill($thumbImg,0,0,$colortrans);
imagecolortransparent($thumbImg,$colortrans);
imagecopyresampled($thumbImg,$srcImg,0,0,0,0,$widt h,$height,$imageWidth,$imageHeight);
imagegif($thumbImg,"$thumbDirectory/$thumbName");
break;

imagecreatetruecolor, and imagecopyresampled were the two functions I swapped in.

Hope this helps anyone else with this issue.

PondPikey
12-10-2006, 06:18 PM
Can someone tell me how to put the latest uploads (thumbnails) on forumhome?

PM's would be great if possible.

StarBuG
12-10-2006, 08:07 PM
Hi

Thank you for this cool hack.
I have not read the full thread so I don't know if this was reported yet.

I think the add-ons should come with a permission if statement.
If a user is not allowed to upload images and clicks on "quick upload" he only gets the warning text about public images.
I think he should not see the whole quick upload thing at all.

I have tried "<if condition="$canupload">" but it does not work

Does anyone has an idea?

angeljs
12-12-2006, 06:20 PM
Hi, I've done a search for this, but can't seem to find the solution. This excellent mod works fine except for the watermarks. I've tried both text and images but with no success. It's probably something I've done wrong, but I can't see it.
:surprised:

PondPikey
12-12-2006, 06:58 PM
Hi, I've done a search for this, but can't seem to find the solution. This excellent mod works fine except for the watermarks. I've tried both text and images but with no success. It's probably something I've done wrong, but I can't see it.
:surprised:

Make sure the imagehosting folder is set 777 permissions. The png, gif or jpg file should sit in the imagehosting directory. Also make sure your running correct GD Version. 1.4 I think.

Think thats right?! :confused:

Ignicoccus
12-12-2006, 06:59 PM
Hi,

I love your MOD, it works like a charm !!!! :)

When I insert an image in my post, only the thumbnail is inserted. Is there a possibility to change this behaviour to inserting the large image ?

redlabour
12-12-2006, 07:28 PM
Bug:

At normal Editor and Quickreplyeditor everything is ok.

But at PM Editor i have only the Option for Quickuploading and the Point of : Open Gallery is only [] .....

s. Screenshot where the Mousecursor stands ...

angeljs
12-13-2006, 07:04 AM
Make sure the imagehosting folder is set 777 permissions. The png, gif or jpg file should sit in the imagehosting directory. Also make sure your running correct GD Version. 1.4 I think.

Think thats right?! :confused:
Thanks for the fast reply :) Your post got me thinking and I changed the watermark format from .png to .jpg and now it works fine!

angeljs
12-13-2006, 01:44 PM
I've just noticed something strange...I changed my watermark to .jpg format, but it will only add itself to images of the same format! .gif and other formats don't show the watermark!
:ermm:

Carmen27
12-13-2006, 03:22 PM
Um this is turning out to be a disaster..lol..

I can't delete images.. I Get this error
Warning: unlink(imagehosting/1458033a68b2a8.jpg): No such file or directory in /vbimghost.php on line 896

Unable to delete Image

What happened? I have x on my images and I can't delete them.. Carmen

beano33
12-13-2006, 03:51 PM
Um this is turning out to be a disaster..lol..

I can't delete images.. I Get this error
Warning: unlink(imagehosting/1458033a68b2a8.jpg): No such file or directory in /vbimghost.php on line 896

Unable to delete Image

What happened? I have x on my images and I can't delete them.. Carmen

It means the image upload is being recorded in the database table but it isn't being uploaded to the server.

Run this query to empty the table:
DELETE FROM vbimghost;

Then make sure your paths to your forums is correct in your VB image hosting settings.

PossumX
12-14-2006, 12:49 AM
Anyone ? Anything ? Still Curious on the query ...

First off, GREAT MOD !!

Is there any way (or mod out there) to view the images in a gallery format, showing multiple images from multiple users?

Just curious...

PondPikey
12-15-2006, 01:01 PM
Roll on Next release :)

|oR|Greg
12-15-2006, 02:24 PM
Bug:

At normal Editor and Quickreplyeditor everything is ok.

But at PM Editor i have only the Option for Quickuploading and the Point of : Open Gallery is only [] .....

s. Screenshot where the Mousecursor stands ...
That's been a known issue for over 2 months now... even though there are no known issues listed. It's the same in PM's. Would LOVE a fix, been waiting for a REALLY long time.

https://vborg.vbsupport.ru/showpost.php?p=1088610&postcount=307

beano33
12-15-2006, 05:33 PM
Are there any plans to add a "Report this Image/Gallery" to the next version? Something similar to "Report Bad Post" would be very helpful.

dsotmoon
12-16-2006, 09:02 PM
could this be set up with paid subscriptions via the promotion system

ie: user pays $$$ and then vB Image Hosting is added to his account as an additional usergroup?

AzH
12-17-2006, 08:52 AM
could this be set up with paid subscriptions via the promotion system


ie: user pays $$$ and then vB Image Hosting is added to his account as an additional usergroup?

There are VB Image Hosting options on usergroup manager, so yes it could be.

PondPikey
12-20-2006, 12:34 PM
First off, GREAT MOD !!

Is there any way (or mod out there) to view the images in a gallery format, showing multiple images from multiple users?

Just curious...

There HAS to be a way to do this...anyone?!!!!

brvheart
12-26-2006, 03:04 AM
Great mod, I have a few questions...


On the main page for uploading a image, there is a area "Statistics"

Some of the words are mis-spelled there, where can I correct them?

Allowed file types .gif , .jpg , .png , .bmp
Max image size allowed 10240 KB
Max image dimention allowed 1400 * 1050
Number of images you curently have 7
Max number of images allowed for you 1000


Can anyone tell me where to fix those please?

AzH
12-26-2006, 01:34 PM
Search in Phrases for the relevant text then open the phrase which contains the relevant text then edit.

Oh, then save.

z0diac
12-26-2006, 07:47 PM
Quick question: in your original post in this thread it says "allow multiple uploads" but in the one screenshot it looks like there's a "Browse" button for each file.

Can you batch-select multiple files at once, or do you still need to indivdually select each picture?

(I'd like to be able to upload a lot of pics at once (sometimes over 200) so individually selecting each separate file isn't an option).

Aur-Phala.Com
12-26-2006, 10:17 PM
how can i make it auto set images as publicview instead of private
and how to update old ones to show as public insted of private :)
thanx

MyArcade
12-27-2006, 07:19 AM
Never mind, i fixed it;) sorry about that.

dbdbdbdb
12-27-2006, 02:19 PM
Watermark Text works fine with .jpg and.png, but not with .gif. Why?

Aur-Phala.Com
12-29-2006, 03:14 PM
how can i make it auto set images as publicview instead of private
and how to update old ones to show as public insted of private :)
thanx

bump

goorgoor
12-29-2006, 05:37 PM
can someone speak out and tell us why we can't have watermark on gif files?

Keev
12-30-2006, 05:09 PM
IS there any screen shots to this add on or ?

thalamus
12-30-2006, 06:02 PM
how can i make it auto set images as publicview instead of private
and how to update old ones to show as public insted of private :)
thanx
AdminCP -> vBulletin Options -> vB image hosting -> Default image view privacy

updating old ones can be done if owned or admin by selecting the relevant view mode on the image itself.

Sychev_S
01-01-2007, 12:10 AM
Is there anyway to make it display last 4 images adn not 5 in member's profile?

amaarvell
01-07-2007, 04:44 PM
Hi I have stis installed and it shows fine
when i choose to uploade a file from my hard drive, but when i click to host file i get a new page opens with the error message

Fatal error: Call to undefined function: imagecreatefromjpeg() in /var/www/html/vb/includes/vbimghost_include.php on line 127

can you shed any light on this

Cheers

Carl

amaarvell
01-08-2007, 12:05 PM
sorted now

seems someone had changed my site security to high

Zazula
01-08-2007, 01:38 PM
Is there a way to set VB Image Hosting settings for a user, that will override the settings (upload slots & max number of files allowed to upload) for their usergroup?

AzH
01-09-2007, 06:17 PM
Yes in the usergroup manager you can do this.

Zazula
01-10-2007, 01:17 AM
AzH, this is what I don't seem able to find; in the Usergroup Manager I can set upload slots & max number of files allowed to upload on a usergroup basis - but I can't see how to override these settings for some individual users. Could you please be more explicit?

bagh1
01-14-2007, 01:54 PM
Hi,
Thanks for this great hack!
I have some questions/suggestions.

1) Can the users provide a caption for their pics besides showing the names?
2) The bb and html links are not useful to most users, can those be removed or at least an option provided whether we want to show them or not?
3) Would it be possible for other members to provide feedback on the pics that a member posts, in the form of scraps that are publicly seen by everyone?

Phooey
01-14-2007, 03:27 PM
I'm getting an error when trying to upload an image. It's a 300k gif image and falls withing the guildlines I set for max filesize, height, and width, but it times out and gives me this error:
Fatal error: Maximum execution time of 30 seconds exceeded in /home/USERNAME/public_html/forums/includes/vbimghost_include.php on line 46
I just uploaded a smaller picture with no issues. Any ideas on what's going on?


ALSO: Does the watermark not work with animated gifs?

xproductionz
01-14-2007, 09:19 PM
you planning on making an add-on to add a random picture filstrip thingy at the top of the forum.. like right underneath the menu bar area?

Pacman15
01-15-2007, 10:31 AM
Don't know if this is the support thread also but I'm having this error when I want to Rebuild thumbnails.

Warning: getimagesize(/home/user/public_html/forums/imagehosting/145ab6f8de458c.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /admincp/vbimghost.php on line 279

Does anyone knows what this is?

Thanks

xproductionz
01-17-2007, 05:01 AM
I'm getting an error when trying to upload an image. It's a 300k gif image and falls withing the guildlines I set for max filesize, height, and width, but it times out and gives me this error:

I just uploaded a smaller picture with no issues. Any ideas on what's going on?


ALSO: Does the watermark not work with animated gifs?

i have animatd gif working on mine... see.. www.xproductionz.com/forum

click on vbimage host and then click on all users.. thenk click on mikey... i got a few animated gifs uploaded

PondPikey
01-17-2007, 07:23 AM
Pacman,

The only way I got rid of that message was to uninstall the whole mod and then re-install the latest.

Im eagerly awaiting the next release that should have lots of new features!!

*Nudges Waileid!* LOL

Menime
01-18-2007, 03:14 PM
Is there anyway I can get the link in the navbar to disapear for guests or people not logged in to make it harder to find?

I posted this in the 3.5.4 thread as well by accident.

fly
01-18-2007, 04:09 PM
Is there anyway I can get the link in the navbar to disapear for guests or people not logged in to make it harder to find?

I posted this in the 3.5.4 thread as well by accident.

Wrap conditionals around the navbar template edits.

<if condition="$show['member']">
---------TEMPPLATE EDIT------------
</if>

blind-eddie
01-20-2007, 01:34 PM
Question, why am I getting following error. Some images get this error, but still load.
http://img248.imageshack.us/img248/2640/what8zr.th.png (http://img248.imageshack.us/my.php?image=what8zr.png)

dsa411
01-20-2007, 06:35 PM
I have recently switched host and now when users try to upload pictures we are getting a blank page has any one else fixed this problem yet?

dsa411
01-25-2007, 05:21 PM
well i have gotten it to stop loading white pages and uploading the pictures but the only way i was able to do this was by turninng off resize, thumbnails and ,water mark functions. any ideas?

dsa411
01-27-2007, 08:12 PM
Fixed! GD was not installed properly

frozen187
01-29-2007, 03:30 AM
I am getting a error when someone trys to upload a avatar or uses a link for the avatar. The error is

Fatal error: Direct Instantiation of vB_Image_Abstract prohibited. in /includes/class_image.php on line 190

And line 190 is.
trigger_error('Direct Instantiation of vB_Image_Abstract prohibited.', E_USER_ERROR);

tankaya61
01-29-2007, 07:41 PM
can i use external server??

frozen187
01-31-2007, 06:32 PM
I have the problem solved now. xcache was messing the script up once xcache was disabled everything went back as it was.

ComputerVitals
01-31-2007, 07:48 PM
I found xCache to do the same issue.

From what I and others have found xCache seems to not like PHP 4.4x

TheHeartSmasher
02-02-2007, 12:36 AM
Errors:
unable to delete images from inside admin panel.
no water marking

JohnBee
02-02-2007, 12:32 PM
Is there any way to store images in the file system rather than the db?

Merriweather
02-02-2007, 10:26 PM
I just did the install, made sure it was enabled, set my usergroup to have permission to use it... but nothing is different? I see no place to upload images... help!

ETA ~ Oops, I didn't do the template changes yet. Guess I ought to try that first...

Merriweather
02-02-2007, 10:53 PM
Yay! Amazing how RTFM works. ;) This is great so far...

Merriweather
02-02-2007, 11:15 PM
I see that when I am viewing all of my images, I have the last option "Permission" and then just "Delete Image" but if I click the image for a full view, I then have "Permission" with "Set private" and "Delete Image". Can the privacy option be added to the overview of all images so users don't have to go to each image to see the settings?

Spank
02-03-2007, 03:49 AM
Great hack, I love it.

It does work fine, except when an image is uploaded, I get a page with a list of errors:


Warning: imagecreatefromjpeg(/home/user/public_html/endeavour/imagehosting/145c420d2b33ff.jpg) [function.imagecreatefromjpeg]: failed to open stream: No such file or directory 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() [function.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


It does still redirect and the images upload fine etc. It just doesn't look very good to see this page full of errors, especially when everything appears to be working ok.

Any ideas how to fix this?

blind-eddie
02-03-2007, 01:14 PM
I do too, but image still loads. This also happens to me in another installed hack.

Spank
02-03-2007, 03:48 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.

I still get this error:

Warning: imagejpeg() [function.imagejpeg]: Unable to open 'http://www.misc-world.com/endeavour/imagehosting/145c4c9e6dc492.jpg' for writing in /includes/vbimghost_include.php on line 209

What's causing this?

eshudnow
02-03-2007, 04:24 PM
In the instructions it states to find the following:

<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td

and

<!-- PAGENAV POPUP -->

I'm going into Navigation / Breadcrumb Templates and going to navbar and can't find any of that text. Am I going to the wrong navbar (is there more than 1?)

SVTOA
02-03-2007, 06:35 PM
Works perfectly on a fresh install. Thanks!

ThomasR
02-04-2007, 12:30 PM
First of all, congratulation (again) for this hack. Installed sucessfully and it works like a charm. But I have a question: I saw that you can see all the user pictures in the admincp, even the private one. Is their a way to browse directly inside the forum side of the mod and see what is private like all the public image when you are admin?

Merriweather
02-04-2007, 03:44 PM
edshudnow ~ Your navbar may have been previously edited and therefore doesn't have those exact bits of code. Are you using a custom template?

Ranma2k ~ When you edit your signature, the editor links are there, but the text is not showing for the first link:

[Open]
[Upload Photo]

So if I am posting a message, I see both links on the right below the smilies and they work, but if I am editing my signature, I only see:

[]
[Upload Photo]

ETA ~ The [Open] does nt show because "Open" isn't a global vB phrase. To remody this issue, I just went into the Phrase manager, clicked "Add New Phrase" and used the following:

Phrase Type: Global
Product: VB image hosting
Varname: open
Text: Open

Save it and then the word will show in all required places other than the posting window. ;)

Merriweather
02-05-2007, 03:59 AM
I also found what is a big problem for me, and may be for others... I can't find an option to prevent usergroups from viewing member's photos. Right now, guests can see user's photos, and I do not want them to be able to, amongst other usergroups. How can this be corrected?