Previous Thread
Next Thread
Print Thread
Page 1 2
#314906 - 07/23/2007 4:37 PM Re: Upgrading With Hacks : Best Practices [Re: blaaskaak]  
Joined: Nov 2003
Posts: 491
sirdude Online content
Enthusiast
sirdude  Online Content
Enthusiast

Joined: Nov 2003
Posts: 491
SoCal
same method, but with UltraCompare works for me. i use the 'Merge' feature a lot, so as to not have to even copy/paste or dice/splice.

also, i try to comment blocks of code where i have a mod with '// SD - Mod: xxxx' in php and {* SD - Mod: xxxx *} in the tpls.

then a simple grep piped to a txt file, where i use a macro to transform it to a csv for excel to be used as a checklist. (this is extra, but i'm a little anal so what the hell) wink

Sponsored Links
#314918 - 07/24/2007 1:55 AM Re: Upgrading With Hacks : Best Practices [Re: sirdude]  
Joined: Jan 2000
Posts: 5,773
Gizmo Online tapedshut
UBB.Dev / UBB.Wiki Owner
Gizmo  Online Tapedshut
UBB.Dev / UBB.Wiki Owner

Joined: Jan 2000
Posts: 5,773
Portland, OR, USA
I totally vouch for the commenting mod's approach; you never know when you'll be poking around and go "what the hell is this?"


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
#314930 - 07/24/2007 4:23 PM Re: Upgrading With Hacks : Best Practices [Re: Gizmo]  
Joined: Mar 2000
Posts: 25,587
AllenAyres Offline
AllenAyres  Offline


Joined: Mar 2000
Posts: 25,587
Texas
We could standardize comment structure to whatever php.net/zend recommends


- Allen wavey
- What Drives You?
#314938 - 07/25/2007 12:22 AM Re: Upgrading With Hacks : Best Practices [Re: AllenAyres]  
Joined: Nov 2003
Posts: 491
sirdude Online content
Enthusiast
sirdude  Online Content
Enthusiast

Joined: Nov 2003
Posts: 491
SoCal
makes sense Allen

#315297 - 08/20/2007 12:16 AM Re: Upgrading With Hacks : Best Practices [Re: AllenAyres]  
Joined: Nov 2003
Posts: 274
Mark_S Offline
Beta Tester
Mark_S  Offline
Beta Tester

Joined: Nov 2003
Posts: 274
UK
Originally Posted by AllenAyres
We could standardize comment structure to whatever php.net/zend recommends
What would that be?

I just do

//HACK - name

//END OF HACK - name

But i can never find them lol....

I tried beyond comapare from 7.1x to 7.2 and it didnt work so well for me, i dont know why?

So returned to 7.2 default and added the hacks again
as i'm getting more confident now wink

Works a treat, will do bug fix updates with beyond compare
and try again when 7.3 hits the shelf smile


Dev Box Version: ubbthreads-20160816
OS Centos 7x
PHP Version 5.4.16
Server Apache 2.4.6
MySQL MariaDB 5.5.44
TimeZone GMT
Suhosin YES
Sponsored Links
#315303 - 08/20/2007 5:46 PM Re: Upgrading With Hacks : Best Practices [Re: Mark_S]  
Joined: Mar 2000
Posts: 25,587
AllenAyres Offline
AllenAyres  Offline


Joined: Mar 2000
Posts: 25,587
Texas
You really have to pay attention with Beyond Compare that you don't over-write lines with partial changes for mods. Typical example is when we add a column to a database table for a mod then add that column to our query by tagging it on the end. Beyond Compare will show it's different from the unchanged files, but unless you scroll all the way to the right to see what the change is you're going to over-write the change if you just copy over it. Upgrading is do-able with BC, it just takes a while...


- Allen wavey
- What Drives You?
#315474 - 08/29/2007 10:06 AM Re: Upgrading With Hacks : Best Practices [Re: AllenAyres]  
Joined: Feb 2007
Posts: 330
blaaskaak Offline
Yarp™
blaaskaak  Offline
Yarp™

Joined: Feb 2007
Posts: 330
The Netherlands
New upgrade, new method smile

2 times beyondcompare open.

One with original 7.2 with my 7.2 to find all the hacks
One with my 7.2 and a fresh new 7.2.2 to apply the hacks back again.


[IMG]
#315476 - 08/29/2007 2:03 PM Re: Upgrading With Hacks : Best Practices [Re: blaaskaak]  
Joined: Jan 2000
Posts: 5,773
Gizmo Online tapedshut
UBB.Dev / UBB.Wiki Owner
Gizmo  Online Tapedshut
UBB.Dev / UBB.Wiki Owner

Joined: Jan 2000
Posts: 5,773
Portland, OR, USA
Been there several times; I find it a nice way to update with hacks quickly... Then again, I like installing everything manually sometimes... call it OC wink


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
Page 1 2

Shout Box
Visit Us on Facebook
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Recommended Hosts
We have personally worked with, and recommend, the following Web Hosts:
· Stable Host
· Blue Host
· Interserver.net
Member Spotlight
Mark_S
Mark_S
UK
Posts: 274
Joined: November 2003
Show All Member Profiles 
Forum Statistics
Forums63
Topics37,339
Posts292,659
Members13,755
Most Online1,491
Aug 22nd, 2016
Top Posters(All Time)
AllenAyres 25,587
JoshPet 11,330
Rick 8,373
LK 7,396
Lord Dexter 6,503
Gizmo 5,773
Greg Hard 5,533
Top Posters(30 Days)
id242 64
JAISP 40
Gizmo 18
Mark_S 14
Slaz 1
Jake V 1
Today's Statistics
Currently Online 701
Topics Created 1
Posts Made 8
Users Online 4
Birthdays 24
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2016 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.6.0
(Snapshot build 20160824.dev)
Page Time: 0.033s Queries: 16 (0.011s) Memory: 2.8230 MB (Peak: 2.9463 MB) Zlib enabled. Server Time: 2016-08-24 16:07:44 UTC