Tutorial for Mod Tutorial for Mod
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Tutorial for Mod

Started by fas917, January 06, 2006, 03:14:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fas917

Hi,

I am new to coppermine and not a php wiz. I was hopping to find some tutorial on How to write a mod or alter cpg to suit my needs. Any help will be appreciated. Thanks.

ecto

That would be like writing a tutorial on how to write a tutorial. You could do it in an infinite number of ways. It totally depends on what you would like to do. Do you want to change a color somewhere? Change one line in one file. Do you want to change the whole way Coppermine goes about uploading pictures? Change a lot of lines in a lot of files..

I guess what you would want is some kind of "work flow schematic" for Coppermine, that shows which functions are involved in what, what they do, in what order they are called, etc. Sorry, no such tutorial exists. The devs have it in their heads, and people who do mods learn by reading the code and testing.

fas917

Yes, I want a work flow schematic for cpg showing what functions are involved and most of the globle veriables. The reason is, I have used someone to write a mod for older version of cpg but he is no where to be found to update it for the current one. So, I took it to myself to write/update my own mod that way I dont have to depand on someone else for mod and I can contribute to cpg as well.

Thanks for you reply.