Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #21  
Old 01-06-2004, 01:29 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MetalGearMaster
how do you do that Erwin???

I have about 3 test boards locally and 3 online for my other admin to test things out

I used to just install hacks on my live board, but now I setup a few test boards to make sure everything runs properly before adding it to my live board

MGM out
Have a list of all PHP files you've changed. Under the file name, write a note regarding what you've done, and how many changes.

Inside the PHP file itself, wrap all custom code with comments.

When you upgrade, use a file comparing program like Araxis Merge.

Any PHP files you have not touched can just be replaced. This way, you save a lot of time, and you avoid having to rehack your forums.
Reply With Quote
  #22  
Old 01-06-2004, 07:05 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since installing vB3 I've marked every single edit along with a short description of what the edit is for (bar all the A/MCP navbar edits). As Erwin said it really does make a difference when upgrading knowing exactly what files have changed and knowing the exact changes you have made.
Reply With Quote
  #23  
Old 01-07-2004, 12:02 AM
MGM MGM is offline
 
Join Date: Jan 2003
Location: Michigan
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by imageconstrux
MGM for your online test boards - did you just install vB into a dif't, unused domain you had lying around, then import all the hacks from the live board to the test board?
I just created a subdomain and new database, installed vBulletin or uploaded a backup, and made that subdomain password-protected. I then installed a hack to the test board, if everything works properly and I find no errors, I just re-add the hack into my live board, along with any changes I may have made easy stuff really lol, just time consuming

Quote:
Originally Posted by Erwin
Have a list of all PHP files you've changed. Under the file name, write a note regarding what you've done, and how many changes.

Inside the PHP file itself, wrap all custom code with comments.

When you upgrade, use a file comparing program like Araxis Merge.

Any PHP files you have not touched can just be replaced. This way, you save a lot of time, and you avoid having to rehack your forums.
Lemme rephrase that just to see if I understand correctly... you added all of your hacks to, say, a vB3 RC1 board.... hacking and modding away, correct? You added comments wherever you made a code change or deleted a piece of coding so as to know what hack that code is for and what it does. Then, when it came time to upgrade, you made a backup of your forum, and compared the files using a program to find all of the changes. You installed, say, vB3 RC2 on your board and then went back to the program and re-edited in all of the changes from the new version into the "hacked" version, correct?

*breathes in..... then out..... then in...... then out...... wax-on...... wax-off* ahem, soooooo..... am I right?

MGM out
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:25 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.04150 seconds
  • Memory Usage 2,177KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)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_postinfo_query
  • fetch_postinfo
  • 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