PDA

View Full Version : Using vBgarage 4.0.0 Upgrader


noppid
01-22-2005, 04:39 PM
<font color="yellow">Always do a full backup before performing any installation or upgarde!</font>

This script will give you three options. It will be necesary to run this when upgrading from any version of vBGarage prior to 4.0.0.

You will run all three options in order, however any option may be run multiple times.

The first step adds the new phrases, settings and settinggroup to the database for the new option to limit access of full size images from guests. This step should be run first, but may be run multiple times safely.

The second option prepares the database for the thumbnails. vBGarage 4.0.0 now uses static compressed and resized thumbnails created as jpeg files. This step makes room in the database for them. This step should be run second, but can be run safely multiple times.

The third step creates the thumbnail images from the full size images already in the database and stores them in the new space we created in the database. This step should be run third, but may be run multiple times safely.

It is recomended that you upgrade to DB mode and test first before attempting to convert to FS mode. See the "Using vBGarage 4.0.0 converter" thread for more info.

Please post for help upgrading existing vBGarage installations to DB mode for 4.0.0 in this thread. (Everyone upgrading and existing vBGarage will be running this script.)

aussiev8
01-23-2005, 11:20 AM
wheres the script :)

MrNase
01-23-2005, 11:45 AM
Can't wait for the release :)

noppid
01-23-2005, 11:50 AM
I may release before mutli-car/garage. I have accomplished what I took the project on for.

I'm thinking next release for this new feature. Thing is, I don't need it, but I've got the code and will add it. I'm just not going to cram to get it in this release I don't think after sleeping on it.

MrNase
01-23-2005, 11:54 AM
Well, I can't launch my garage until you released vBGarage 4.0.0 :)

I gave my members a short preview of what it may look like and they were like 'wow, we want that hack!'. I told them the creator of that hack isn't ready yet but well.. We both know how impatient some users are ;)

I still try to figure out how to combine vBGarage and the WYSIWYG-Editor.. Could you have a look into that and maybe release it as an addon once your released the basic package?

noppid
01-23-2005, 12:01 PM
Well, I can't launch my garage until you released vBGarage 4.0.0 :)

I gave my members a short preview of what it may look like and they were like 'wow, we want that hack!'. I told them the creator of that hack isn't ready yet but well.. We both know how impatient some users are ;)

I still try to figure out how to combine vBGarage and the WYSIWYG-Editor.. Could you have a look into that and maybe release it as an addon once your released the basic package?


Yes, after the release is considered stable and bugs, if any :p, taken care of, we can work on enhancements.

I can consider the wysiwyg box and will probably add multi-car/garage.

Please note that wysiwyg messes up alot of page formats, if it's frustrating I will give up easily on it.

That being said, check your PM's.

CtrlAltDel
01-24-2005, 02:42 AM
i just ran through the upgrade instructions from my 3.1.1 install, and i have users not being able to access he vbgarage files at all, with my usergroup settings correct and with either the new or the old init.php settings. my admins can get in ok, but everyone else gets access denied messages.

noppid
01-24-2005, 02:59 AM
i just ran through the upgrade instructions from my 3.1.1 install, and i have users not being able to access he vbgarage files at all, with my usergroup settings correct and with either the new or the old init.php settings. my admins can get in ok, but everyone else gets access denied messages.

What do you mean instructions for 3.1.1 install?

You need to follow the directions in the new download for vbgarage 4.0.0 upgrade from previous versions.

I'm a bit confused. If you can see those settings and they are correct, things should be ok.

I cannot duplicate your problem with a test user.

CtrlAltDel
01-24-2005, 03:07 AM
what i meant is that i had 3.1.1 installed
i was under the impression that the upgrade instructions included in 4.0.0 would upgrade this...and it very well might have, but my permissions appear to not be working correctly

noppid
01-24-2005, 03:13 AM
So your ACp panel for vBGarage looks like this and you can see the setting "can vBGarage?" for each group?

I'm with ya, I have to guess alot from here.

CtrlAltDel
01-24-2005, 03:20 AM
nope, mine is the old style settings for 3.1.1
was i supposed to do something other than running the upgrade script and clicking those three options in there?

noppid
01-24-2005, 03:26 AM
That should have done the job.

Upload the install_vbgarage.php to your admincp folder and run part two only, "update after vBulletin upgrades".

You can also rerun any step of the upgrade.

Let me know how many updates it says it performed.

What you are describing is as if part one of the upgrade was not or did not run or execute correctly. I'll look into it.


Thanks.

EDIT:

At the end of upgrade part one you will see this...


Pharse and settings upgrade Finished!

3 Updates performed.
Table setting->varname=vbgpopups updated.
Table phrase->varname=setting_vbgpopups_title updated.
Table phrase->varname=setting_vbgpopups_desc updated.

Now you may need to go to
Admin Control Panel->vBulletin Options->vBGarage Options
Update the options and click "SAVE".

You may want to check each groups permissions as well.

PLEASE DELETE THIS FILE!


Well don't delete the file. Rerun it and do option 2 and 3. oops

I also deleted my two new phrases and one new setting and reran the upgrader step one and it upgraded as expected.

CtrlAltDel
01-24-2005, 03:38 AM
ok its working now

ok i was confused because the upgrade instructions didnt ask to use the install script


[ INSTALL UPDATE INSTRUCTIONS FOR UPGRADING AN EXISTING vBGarage INSTALLAION DB MODE] (Leave images in database)
(Backup your database and close your forums!)

1. UPLOAD the provided vbgconfig.php file to your forums ROOT folder
Set $vbg_use_fs = 0; to use the script in database mode
This is the default so there's nothing to do. :)

2. UPLOAD "upgrade_vbgarage.php" to your forums/admincp folder.

3. Execute (ex. http://www.yourforums.com/forums/admincp/upgrade_vbgarage.php)

4. Run the first option "vBGarage Upgrade - New Settings and Phrases"

5. Run the second option "vBGarage Utilities - Prepare DB for Thumbnails".

6. Run the third option "vBGarage Utilities - Create Thumbnails for DB".
(If you have alot of images in the DB this may be pretty intense on the server.)

6. Delete "upgrade_vbgarage.php".

7. UPLOAD "vbgarage.php" to your forum ROOT directory


and i didnt know if running that would mess up my pre-existing installation
in there it should mention uploading the installer file and running the second option.

unless i was just stupid in all that :D

noppid
01-24-2005, 03:44 AM
ok its working now

ok i was confused because the upgrade instructions didnt ask to use the install script



and i didnt know if running that would mess up my pre-existing installation
in there it should mention uploading the installer file and running the second option.

unless i was just stupid in all that :D

Well I'm glad it worked out.

I'll double check my end and keep an eye out for if anyone else experiences this.

Thanks

rlischer
12-11-2005, 10:58 AM
I tried moving my images from the db to the fs and it seems that only about half of the images show up. It did create all the images in a folder, but in the garage there are just a ton of them that are just a red X. I tried running things over and over again to see if it would create more thumbnails or fix the problem but no luck.

This is a test forum only, running vb 3.0.7
http://www.hondacruisers.com/forums/vbgarage.php?do=list


Any ideas?

Thanks

noppid
12-11-2005, 02:50 PM
If some but not all made it, it may be an issue on the server. I'm not sure to be honest. Sorting out such a problem is difficult from the outside.

rlischer
12-12-2005, 07:15 PM
If some but not all made it, it may be an issue on the server. I'm not sure to be honest. Sorting out such a problem is difficult from the outside.

ok thanks. I am going to test it on another server in a day or two.