php forum
php mysql forum
php mysql smarty
 
Page 2 of 2 < 1 2
Topic Options
#314906 - 07/23/07 09:37 AM Re: Upgrading With Hacks : Best Practices [Re: blaaskaak]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: 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
_________________________

Top
Our Sponsors
Sponsor

Top  
#314918 - 07/23/07 06:55 PM Re: Upgrading With Hacks : Best Practices [Re: sirdude]
Gremelin Online
Administrator

Registered: 01/10/00
Posts: 5392
Loc: 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 - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#314930 - 07/24/07 09:23 AM Re: Upgrading With Hacks : Best Practices [Re: Gremelin]
AllenAyres Offline
I type Like navaho

Registered: 03/10/00
Posts: 25581
Loc: Texas
We could standardize comment structure to whatever php.net/zend recommends
_________________________
- Allen wavey
- What Drives You?

Top
#314938 - 07/24/07 05:22 PM Re: Upgrading With Hacks : Best Practices [Re: AllenAyres]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
makes sense Allen
_________________________

Top
#315297 - 08/19/07 05:16 PM Re: Upgrading With Hacks : Best Practices [Re: AllenAyres]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: 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

Top
#315303 - 08/20/07 10:46 AM Re: Upgrading With Hacks : Best Practices [Re: Mark_S]
AllenAyres Offline
I type Like navaho

Registered: 03/10/00
Posts: 25581
Loc: 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?

Top
#315474 - 08/29/07 03:06 AM Re: Upgrading With Hacks : Best Practices [Re: AllenAyres]
blaaskaak Offline
Yarp™

Registered: 02/25/07
Posts: 330
Loc: 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.
_________________________

Top
#315476 - 08/29/07 07:03 AM Re: Upgrading With Hacks : Best Practices [Re: blaaskaak]
Gremelin Online
Administrator

Registered: 01/10/00
Posts: 5392
Loc: 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 - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
Page 2 of 2 < 1 2



Shout Box

Latest Posts
UBB.Threads 7 Beta 1 Released
by sunyuehua
04/26/13 01:44 AM
Beta Testing 7.1b1
by sunyuehua
04/26/13 01:43 AM
New Management
by sunyuehua
04/26/13 01:40 AM
(Views)Popular Topics
Known public proxy servers 1963588
Slash UBB 892844
Integrated Index Page (IIP) 5.3.1 676577
Finished-[6.5.2] Games Arcade Deluxe v1.9 570025
Q & A 498051
[6.0x] Who's Online 4.0.0 [Finished] 469322
Integrated Index Page (IIP) 5.1.1 467948
TLD Bv2.1 Released - Threads Links Directory 451614
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 385783
[6.3.x] [beta] Hit Hack 2.0 249971
Featured Member
Registered: 01/10/00
Posts: 5392
Forum Stats
13660 Members
60 Forums
37202 Topics
295795 Posts

Max Online: 738 @ 11/01/12 01:09 PM

 

 

 
fusionbb message board php hacks