vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBGarage v3.1.1 (now with GD-Lib support!) (https://vborg.vbsupport.ru/showthread.php?t=63681)

QATAR SPEED 07-07-2004 04:27 AM

I had it working on vb3.0.0 it was working great ( the users loves it )... but now after i up greade to vb 3.0.3 the Hack is not working properlly...

This is a great Hack someone has to Upgread it to work with the new VB 3.0.3

it's really sad to see a great hack like this one just stops upgreading :ermm:

Beth 07-07-2004 04:55 AM

i got it working. If its a new install of the garage i couldnt get it working.
If its already installed, and you're upgrading your forum do this:

The includes/init.php file already has a value assigned to it by vb in the latest upgrade.

The
Code:

'caneditownusernotes'      => 131072
now has another line underneath it in vb 3.0.3


In the includes/init.php where you're supposed to put
Code:

        'caneditownusernotes'      => 131072,
        // START VBGARAGE HACK
                'canvbgarage'              => 262144
        // END VBGARAGE HACK

and thats it for that part.


Now you will need to put:
Code:

                'caneditownusernotes'      => 131072,
        // START VBGARAGE HACK
                'canvbgarage'              => 262144,
        // END VBGARAGE HACK,

Then change the value of
Code:

'canseehiddencustomfields'
to 16777216

so that it will now look like this:

Code:

                'caneditownusernotes'      => 131072,
        // START VBGARAGE HACK
                'canvbgarage'              => 262144,
        // END VBGARAGE HACK,
        'canseehiddencustomfields' => 16777216,

I havent much experience with this stuff, but this was the only way i could make sense of it to get it to work.

If someone has a correction or a better way, please post and let us know.
Thanks.

QATAR SPEED 07-07-2004 05:14 AM

i'll try that


but this is what i did

it was like this
Code:

'caneditownusernotes'      => 131072,

 'canseehiddencustomfields' => 262144,


now i did it like this

Code:

'caneditownusernotes'      => 131072,
'canseehiddencustomfields' => 262144,
'canvbgarage'              => 524288,

nothing really changed


I still can't see VBGarage on the ACP , all the post the user made on the pic are gone plus you cant add any new posts .. in the Edit vBGarage u can't upload pic anymore

Beth 07-07-2004 05:19 AM

There is already a value ther for what you put in. 524288 is further down in the init file. You must have a unique number which is the number i put in my post.

I neglected to say that i repeated the install step as far as the first step only to the template step and then i had to repeat the final steps of the directions on the hack installation instructions.

This is what i had to do - i tested it first on my own computer that has a server running off it for testing. it worked for me. It may not work for you. If you wait for a few hours someone might be able to point you in a better or simpler direction.

Good luck with whichever you choose to do.

QATAR SPEED 07-07-2004 06:11 AM

I just put the new value 'canseehiddencustomfields' => 16777216, same thing nothing happend!

Iam really thinking of makeing an all new fresh instaull but i am afraid that i mite scrow things up

I mite have to wait till someone can fix this ...

QATAR SPEED 07-07-2004 07:18 AM

ok i tried to make a new install

and i got this error:

Database error in vBulletin 3.0.3:

Invalid SQL:
CREATE TABLE vbgarage_images (
`vbgarageid` smallint(6) unsigned NOT NULL auto_increment,
`userid` int(10) unsigned NOT NULL default '0',
`name` varchar(50) NOT NULL default '',
`data` longblob NOT NULL,
`type` varchar(50) NOT NULL default '',
PRIMARY KEY (`vbgarageid`)
) TYPE=MyISAM AUTO_INCREMENT=1

mysql error: Table 'vbgarage_images' already exists

mysql error number: 1050

Date: Wednesday 07th of July 2004 11:16:51 AM
Script: http://www.qatarspeed.com/forum/admi...l_vbgarage.php
Referer: http://www.qatarspeed.com/forum/admi...l_vbgarage.php
Username: xxxxxxxx
IP Address: xxxxxxxx

SaN-DeeP 07-07-2004 10:13 AM

Quote:

Originally Posted by QATAR SPEED
ok i tried to make a new install

and i got this error:

Database error in vBulletin 3.0.3:

Invalid SQL:
CREATE TABLE vbgarage_images (
`vbgarageid` smallint(6) unsigned NOT NULL auto_increment,
`userid` int(10) unsigned NOT NULL default '0',
`name` varchar(50) NOT NULL default '',
`data` longblob NOT NULL,
`type` varchar(50) NOT NULL default '',
PRIMARY KEY (`vbgarageid`)
) TYPE=MyISAM AUTO_INCREMENT=1

mysql error: Table 'vbgarage_images' already exists

mysql error number: 1050

Date: Wednesday 07th of July 2004 11:16:51 AM
Script: http://www.qatarspeed.com/forum/admi...l_vbgarage.php
Referer: http://www.qatarspeed.com/forum/admi...l_vbgarage.php
Username: xxxxxxxx
IP Address: xxxxxxxx

Quote:

mysql error: Table 'vbgarage_images' already exists
Error says it, the table named vbgarage_images already exists.

Delete the table :)

noppid 07-07-2004 05:47 PM

After upgrading to 3.0.2 it seems that the tables for setting and settinggroup were recreated. At least the vbgarage options were no longer in them.

Here's how we enabled it again.

Backup your DataBase First!

edit init.php to this...

PHP Code:

    // Reputation

    
'canseeownrep'             => 256,
    
'canuserep'                => 524288,
    
'canhiderep'               => 1048576,
    
'cannegativerep'           => 2097152,
    
'canseeothersrep'          => 4194304,
    
'canhaverepleft'           => 8388608,
    
// START VBGARAGE HACK
    
'canvbgarage'              => 16777216
    
// END VBGARAGE HACK    
); 

This leaves the vB options in their correct places.

Next run these five queries to repair the vbulletin option menu. We did it in phpmyadmin and do not have table prefixes, if you have table prefixes you must edit the table names.

[sql]
INSERT INTO settinggroup (grouptitle, displayorder, volatile) VALUES ('vbgarage', '650', 1);

INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES('vbgenable', 'vbgarage', '1', '1', 'yesno', 10, 0, 1);

INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES('vbgcomments', 'vbgarage', '1', '1', 'yesno', 20, 0, 1);

INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES('vbgmaxupload', 'vbgarage', '6', '6', '', 30, 0, 1);

INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES('vbgmaxfilesize', 'vbgarage', '200000', '200000', '', 40, 0, 1);

[/sql]

All of the queries are from the install script.

Good Luck.

DeeperImage 07-07-2004 09:29 PM

Quote:

Originally Posted by noppid
After upgrading to 3.0.2 it seems that the tables for setting and settinggroup were recreated. At least the vbgarage options were no longer in them.

Here's how we enabled it again.

Backup your DataBase First!

edit init.php to this...

PHP Code:

    // Reputation

    
'canseeownrep'             => 256,
    
'canuserep'                => 524288,
    
'canhiderep'               => 1048576,
    
'cannegativerep'           => 2097152,
    
'canseeothersrep'          => 4194304,
    
'canhaverepleft'           => 8388608,
    
// START VBGARAGE HACK
    
'canvbgarage'              => 16777216
    
// END VBGARAGE HACK    
); 

This leaves the vB options in their correct places.

Where exactly do you add that in init.php? thanks.

DeeperImage 07-07-2004 09:39 PM

OKay all i did was run the queries in phpmyadmin and it works. I did not edit anything. I just went back into vbulletin options/vbgarage options and hit save and it works now.


All times are GMT. The time now is 08:52 PM.

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.03223 seconds
  • Memory Usage 1,771KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_code_printable
  • (2)bbcode_php_printable
  • (3)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