Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > vBgarage
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Using vBgarage 4.0.0 Upgrader Details »»
Using vBgarage 4.0.0 Upgrader
Version: , by noppid noppid is offline
Developer Last Online: Sep 2015 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 01-22-2005 Last Update: Never Installs: 0
 
No support by the author.

<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.)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 01-24-2005, 03:20 AM
CtrlAltDel CtrlAltDel is offline
 
Join Date: Feb 2002
Location: Ohio
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #13  
Old 01-24-2005, 03:26 AM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...

Quote:
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.
Reply With Quote
  #14  
Old 01-24-2005, 03:38 AM
CtrlAltDel CtrlAltDel is offline
 
Join Date: Feb 2002
Location: Ohio
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok its working now

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

Quote:
[ 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/adm...e_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
Reply With Quote
  #15  
Old 01-24-2005, 03:44 AM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CtrlAltDel
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
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
Reply With Quote
  #16  
Old 12-11-2005, 10:58 AM
rlischer rlischer is offline
 
Join Date: Mar 2005
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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/...ge.php?do=list


Any ideas?

Thanks
Reply With Quote
  #17  
Old 12-11-2005, 02:50 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #18  
Old 12-12-2005, 07:15 PM
rlischer rlischer is offline
 
Join Date: Mar 2005
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by noppid
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:33 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.04502 seconds
  • Memory Usage 2,292KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete