| Author |
Message |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Thu Feb 20, 2003 7:59 pm |
  |
|
     |
 |
sting
Site Admin


Joined: Jul 24, 2003
Posts: 1985
Location: Apparently ALWAYS Online. . .
|
Posted:
Tue Oct 14, 2003 11:05 am |
  |
Thanks Zhen
-sting |
_________________ Is it paranoia if they are really out to get you?
-------------------------------------------------------
sting usually hangs out at nukehaven.net |
|
        |
 |
kjcdude
Captain


Joined: Jun 10, 2003
Posts: 441
Location: Southern California
|
Posted:
Tue Oct 14, 2003 3:07 pm |
  |
|
       |
 |
XEULAS
Captain


Joined: Oct 20, 2003
Posts: 335
|
Posted:
Sat Nov 15, 2003 11:46 am |
  |
This was fun read. Especially the parts about the history of nuke. My favorite quote:
| Quote: |
| The real fact is that, you as user, have the power to get them all, test them and in the darkness select your favorite system to rule the world. - by Francisco Burzi |
On one point I disagree these days: The biggest apparent php-nuke problem is not the documentation, its the upgrade process. Seems like any customization would be overwritten. Is there a popular coder method to prevent this?
It occurred to me that if all user changes were a seperate file... like 'changes.php' and included where necessary via line number or ..... |
|
|
    |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Sun Nov 16, 2003 5:51 pm |
  |
I concur, and its something that I've been thinking about insofar as NC releases go. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
sting
Site Admin


Joined: Jul 24, 2003
Posts: 1985
Location: Apparently ALWAYS Online. . .
|
Posted:
Sun Nov 16, 2003 7:48 pm |
  |
We need a decent RCS - that way as changes come out and you have local changes - you can choose to either : 1. Keep your changes 2. Merge your changes and the new changes or 3. Overwrite your changes with the new code...
Its not unheard of, I deal with it every time a new patch comes out for my administrative system at work...
-sting |
_________________ Is it paranoia if they are really out to get you?
-------------------------------------------------------
sting usually hangs out at nukehaven.net |
|
        |
 |
Guardian
Sergeant


Joined: Apr 05, 2003
Posts: 94
|
Posted:
Tue Nov 18, 2003 4:50 pm |
  |
If I might defer a certain portal that uses Perl....
The portal script contains a folder 'user' at root level, within that folder is basically a copy of all the site folders (no actual files).
At the beginning of every routine the code nips off (via a subroutine) to see if that routine is located within the appropriate subfolder within 'user' and if it finds one it uses it, otherwise carries on.
To expand further, say you have modified 'function menuimg($gfile)' in the navbar.php file under modules/Your_Account
the script runs off and checks to see if 'function menuimg($gfile) exists first under user/modules/Your_Account and if it does it runs that function rather than the one at root/modules/Your_Account
Something similar to this would also make it much easier to not only keep a track of all your changes/experiments but also makes 'fixes' easier to test as well. If a given fix doesnt work or screws the site, you can just delete it from the 'user' directory and you are back to the beginning.[/quote] |
|
|
   |
 |
chris-au
Elite Nuker


Joined: Jan 31, 2003
Posts: 717
|
Posted:
Tue Nov 18, 2003 7:57 pm |
  |
|
    |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Mon Nov 24, 2003 9:20 am |
  |
Good question, I don't know about it either. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
|
|