PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
Mithoron
Guest





PostPosted: Sat May 03, 2003 11:05 am Reply with quote Back to top

With so many different mod's out there, many authors are posting change logs such that you don't have to totally replace a file with another to make one mod work...and resulting in another stopping to work.

For example, this mod alters the base admin.php file; however, many of the NSN scripts and other mods do as well. It starts to get cumbersome to manually edit these each time a new mod comes out so that the others are not broken as overwritting the file causes them to break.

Is it possible to list the changes made to the base files such that people can edit them appropriately?

Thanx!
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sat May 03, 2003 2:05 pm Reply with quote Back to top

When I get a mod from somewhere, I run a compare utility against what I already have installed at my site and proceed accordingly. I understand both sides. Some of us are very involved in several sites and don't always have the time to do 'change' logs. I publish change logs if it is my original stuff, but if you have a heavily hacked site then a change log on a module that you've already hacked isn't going to help you much, because I may or may not have hacked the original mod. It could get really crazy and cumbersome.

I recommend just running your own change/compare/diff utility against either the original or your current copy and go from there.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Cakepro
Guest





PostPosted: Sun May 04, 2003 8:47 pm Reply with quote Back to top

Mithoron posted the exact question I wanted to ask.

Can you recommend a "change/compare/diff utility" so I can do just that? I do alot of the NSN modifications to files too, and this would be an ideal way for me to figure out exactly what's different in programs who do not include changelog files.

Thanks,
Sherri
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun May 04, 2003 8:54 pm Reply with quote Back to top

I use Textpad as my editor and it provides one. I also just read about a windoz one called windiff (I think) and it's free from MS. Of course on linux you can use the diff command. HTH
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Cakepro
Guest





PostPosted: Mon May 05, 2003 12:10 am Reply with quote Back to top

Hi Gaylen ~

I installed your News-module-allows-ordering hack and it works great!

Whenever I modify a file, such as admin.php, I always rename the old one something like admin_pre_news_mod_ordering.php and then upload the modified one with the correct name. Luckily, the only modification I had ever made before to my admin.php file was to install an event calendar, and the changest that the calendar author made to the admin.php file was very well documented. I took your admin.php file and modified it with the calendar information. Which brings me to my point (finally!)...

Before your admin.php file was uploaded on my server, whenever I went into the Administration view of my site, all of the blocks on the right side of the page were cut off, and the administration panel encompassed the middle and right sides of the page. Now that I've applied your hack, the right blocks remain and the administration panel and all its content is squished into the middle. Can you tell me what had made that change and how I can change it back?

Thank you for the recommendation. WinDiff is not free, and TextPad offers a free trial, so I downloaded it. I definitely prefer EditPlus for editing but it doesn't have a compare command...go figure. Anyway, it doesn't do me any good to compare files when the lines that need to be added to an existing file have to be placed somewhere specific and I don't have a clue where to put them.

So, may I please suggest for the php newbies like me, if in the future you do more awesome hacks, that you test it on vanilla/unhacked/unmodified phpnuke files and document your changes? I know that's pretty bold of me to ask you to do this being that you have done this wonderful thing without charge and for the most part, it's thankless, but nonetheless I wanted to make this little suggestion for the users of your excellent hacks.

Thank you,
Sherri
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Mon May 05, 2003 4:55 am Reply with quote Back to top

Now how can I resist this Embarassed ? I'll see what I can do Wink

To answer your question about the right blocks, I prefer that. I use 1280x1024 so I used $index=1 in the admin.php file. Just change it back to $index=0 or delete it altogether.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
sharlein
Member Emeritus


Joined: Nov 19, 2002
Posts: 322
Location: On the Road

PostPosted: Mon May 05, 2003 10:09 am Reply with quote Back to top

Another compare/diff is CSDiff, and it is free!!!!!!!(for non-commerial use)
View user's profile Send private message
Mithoron
Hangin' Around


Joined: May 05, 2003
Posts: 34

PostPosted: Mon May 05, 2003 7:43 pm Reply with quote Back to top

Well, I was hoping for the authors to actually post the changes they've made to the file. After even a year, with upgrades from 5.5, to 60, to 6.5 in all its beta forms, and all the mods and personal changes, there are quite a few changes to my base files. Using a compare utility it's almost impossible to see what was removed because of some other utility or the new mod I am trying to implement.

Right now, between Event Calendar, NSN Groups, and a few others, my admin.php and module.php files have about 25 changes to them each...some are rather obvious as to what module they belong to, whereas others after all this time I have no clue. Embarassed

I use DiffDoc for my changes...but it still is a bit cumbersome to figure out some of the changes, hehehe.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Mon May 05, 2003 7:59 pm Reply with quote Back to top

OK! I will take responsibility for my little corner of this nuked world Laughing . I will try to get a change log out within the next 2 weeks or so.. Sorry, but I've got vacation on the horizon and I am pretty swamped right now, but I will.

Thanks for all the GREAT feedback!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Mithoron
Hangin' Around


Joined: May 05, 2003
Posts: 34

PostPosted: Mon May 05, 2003 8:02 pm Reply with quote Back to top

Hehehe, thanx Gaylen!

A few other authors are also doing the same...and it's really appreciated by those of us who are code-deficient Wink
View user's profile Send private message
Guest






PostPosted: Tue May 06, 2003 7:52 am Reply with quote Back to top

Hey ~ vacation takes priority over everything! Wink Go recharge your internal batteries so you can come back here and continue to do great stuff.

Thanks for telling me how to get the page back to how it was. Having the right blocks show is actually quite handy (I just had to get used to it).

Thanks!
~ Sherri
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Mon Jul 05, 2004 5:52 am Reply with quote Back to top

I use a utility called, co-incidentally 'Compare It' - free to and works like a charm!
For editing, I use Crimson Editor - another freebie!
View user's profile Send private message Send e-mail Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Mon Jul 05, 2004 7:43 am Reply with quote Back to top

Thanks for the reminder! I have been using Compare-It for several years. I don't know why I didn't mention it! Senior moment I guess Bang Head
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum