The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
VB image Hosting Details »» | |||||||||||||||||||||||||
VB Image Hosting Version 1.0.1
This is the port for my hack to vb 3.6.x check it for vb 3.5.x here A New installer replaced the old one so you should not face any problems with database NOTE : People who were using vbimghost in vb 3.5.x and moved to vb 3.6.0 MAKE sure that you have vbimghost 1.4.1 Since this port will only support upgrading from that ver only People who do a fresh install use this ver. Requirements:
Introduction: What does it do ? VB Image Hosting is a similar feature to imageshak and photopoket and online free image hosting, but this is for your members. it will allow them to upload and host their images on your servers, you can still manage the permissions and set the number of files for each group. Main Features:
Time required to install Update instruction : Just replace the old files with the new ones and import the product file don't forget to select overwrite. History: 1.0.0: 1.0.1: Download Tracking: 1.0.0 : 3886 Known Issues: no known issues.Screen shscreenshot.zip screenshot.zip.NOTE: before you post any error here : Set that path to your forums correctly in the vbimghost options. if you getting the error ""supplied argument is not a valid" that's because you didn't set the path correctly 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 .. URGENT ISSUES: you may contact me on msn id : waiel[at]waieleid.com Supporters / CoAuthors Show Your Support
|
Comments |
#242
|
|||
|
|||
Quote:
Search for text: vbimghost_title Search in ... : Phrase Variable Name Only Once it comes up, EDIT it to say what you want. |
#243
|
||||
|
||||
Hello,
How to set photo "public" by default and not "private". Thanks. |
#244
|
|||
|
|||
Id tell you.. LOVE THIS F************** HACK!
|
#245
|
|||
|
|||
i might play with the code a bit, but by request would be to set it up so the number of rows/columns is dependant on screen resolution and not a static variable, it should be simple enough, run some javascript to get the browsers size, offset by x pixels and then have it pass the number of rows/columns to the url in the menu bar
|
#246
|
||||
|
||||
is there any way it can be adapted to show random images on the forumhome?
like vbgallery? they have a "5 random image" add on.... |
#247
|
|||
|
|||
Ok here is what I did to try and get random pictures to show for my CMPS homepage:
Copied out the following code from vbimghost_last5forumhome-plugins.xml: 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 "); $vbimghost['count'] = $db->num_rows($rec); if ($vbimghost['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') . '";'); } }else{ $vbimghost['more'] = ""; eval('$mimghost ="'.fetch_template('vbimghost_memberbit_noimg') . '";'); } $vbimghost['last5'] = $mimghost; Quote:
Then I made a template and called it vbimage Code:
<tr> <td> <table class="tborder" align="center" border="0" cellpadding="6" cellspacing="1" width="100%"> <thead> <tr> <td class="tcat" colspan='$vbimghost[count]' align="center">$vbphrase[vbimghost_last5img] </td> </tr> </thead> <tbody> <tr align="center"> $vbimghost[last5] </tr> </tbody> </table> </td> </tr> Module Title: Random Pix Column: Center Display Order: 2 Active: Yes Update All Pages: Yes File to Include: vbimagehostpics.php Identifier: blank Template used: adv_portal_vbimage Use Module Shell Template: No everything saved ok but nothing shows on the main page. What am I doing wrong?!? |
#248
|
|||
|
|||
thx for sharing it with others
|
#249
|
|||
|
|||
Quote:
|
#250
|
|||
|
|||
Quote:
|
#251
|
|||
|
|||
why do i get this error?
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: Unable to access /home/user/public_html/forum/imagehosting/1451647e8642a6.jpg in /includes/vbimghost_include.php on line 175 Warning: imagecreatefromjpeg(/home/user/public_html/forum/imagehosting/1451647e8642a6.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 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|