Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
To be honest there's not much we can do to help you, since this modifications is for very outdated version which is no longer supported, maybe you should consider hiring some professional php developer for this task?