vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - VB image Hosting (https://vborg.vbsupport.ru/showthread.php?t=123481)

dirtycrow 08-25-2006 02:17 PM

Quote:

Originally Posted by Ranma2k
TO EVERYONE
WHO EVER FOR SOME REASON GET'S DATABASE ERROR

RUN THE FOLLOWING QUARY IN YOUR DATABASE
Code:

CREATE TABLE " . TABLE_PREFIX . "vbimghost (imgid int(11) NOT NULL auto_increment,userid int(11) NOT NULL default '0',imgfile varchar(250) NOT NULL default '',imgname varchar(250) NOT NULL default '',thumbname VARCHAR( 250 ) NOT NULL,  imgfilesize int(11) NOT NULL default '0', imgwidth int(11) NOT NULL default '0',  imgheight int(11) NOT NULL default '0',  imgdate int(11) NOT NULL default '0',  imgprivate int(1) unsigned NOT NULL default '0',  PRIMARY KEY  (imgid) )
replace " . TABLE_PREFIX . " with your table prefix that you set in the config.php


ALL YOUR PROBLEMS ARE BECAUSE OF THE TABLE DOESN'T EXISTS AND YOU DIDN'T READ THE INSTALLATION FILE

PEPOLE WITH FRESH INSTALL WON'T FACE ANY PROBLEM


i tried that and i get this error -

Quote:

#1064 - 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 '" . TABLE_PREFIX . "vbimghost (imgid int(11) NOT NULL auto_increment,userid int(' at line 1
in my config.php file i have this set $config['Database']['tableprefix'] = ''

Ranma2k 08-25-2006 09:39 PM

Quote:

Originally Posted by dirtycrow
i tried that and i get this error -



in my config.php file i have this set $config['Database']['tableprefix'] = ''

then use this code
....
Code:

CREATE TABLE vbimghost (imgid int(11) NOT NULL auto_increment,userid int(11) NOT NULL default '0',imgfile varchar(250) NOT NULL default '',imgname varchar(250) NOT NULL default '',thumbname VARCHAR( 250 ) NOT NULL,  imgfilesize int(11) NOT NULL default '0', imgwidth int(11) NOT NULL default '0',  imgheight int(11) NOT NULL default '0',  imgdate int(11) NOT NULL default '0',  imgprivate int(1) unsigned NOT NULL default '0',  PRIMARY KEY  (imgid) )
you don't need to run this manualy
just import the product xml and it should work fine with you

Derekclarke 08-26-2006 01:27 PM

how about a branding free option, where we could pay to have our name at the bottom.

I would like to change VB IMAGE HOST VER 1.0.0 By Waiel Eid

to

South West Scoobies, Advanced Members Hosting.

I know i could do it, but, you created the hack, and i will not modify it without your permission, hence asking for a Branding free option. £?

Ranma2k 08-26-2006 02:04 PM

Quote:

Originally Posted by Derekclarke
how about a branding free option, where we could pay to have our name at the bottom.

I would like to change VB IMAGE HOST VER 1.0.0 By Waiel Eid

to

South West Scoobies, Advanced Members Hosting.

I know i could do it, but, you created the hack, and i will not modify it without your permission, hence asking for a Branding free option. ??

PM me for this :)

JompaMP 08-27-2006 12:20 AM

hey i have install this and its working to upload images but i get this line in the head when its uploading:

Quote:

Warning: imagecreatefrompng(): Unable to access /home/user/public_html/forums/imagehosting/144f0f30b0612e.png in /includes/vbimghost_include.php on line 170

Warning: imagecreatefrompng(/home/user/public_html/forums/imagehosting/144f0f30b0612e.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

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

EDIT:


i fixed it

karlm 08-27-2006 12:32 AM

Can someone elaborate on the slots permission in group settings? I have it installed on my test board and it seems ok, just i'm not sure what the slot is.

Thanks :)

a squared 08-27-2006 04:23 PM

I've got this installed on mytest board and I m getting the same error message as JompaMP. JompaMP, could you elaborate on youre fix?

a squared 08-27-2006 04:44 PM

Also, is it possible to set the thumbnail images to a particular width?

Ranma2k 08-27-2006 04:59 PM

Quote:

Originally Posted by karlm
Can someone elaborate on the slots permission in group settings? I have it installed on my test board and it seems ok, just i'm not sure what the slot is.

Thanks :)

it's the number of upload slots ( upload files slot )

Ranma2k 08-27-2006 05:00 PM

Quote:

Originally Posted by a squared
I've got this installed on mytest board and I m getting the same error message as JompaMP. JompaMP, could you elaborate on youre fix?

He set the path correctly
Make sure you set the path correctly


All times are GMT. The time now is 01:49 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02078 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete