News:

Wondering if this will always be free?  See why free is better.

Main Menu

Mod creation guide/how-to/FAQ/help document?

Started by HMetal, March 17, 2006, 10:14:58 PM

Previous topic - Next topic

HMetal

Is there a mod creation guide or documentation or even a FAQ to give PHP coders a start on creating mods for SMF?

I am an experienced, professional PHP coder interested in creating some killer mods that would be useful to those running SMF for photography forums.

If there is not an official (or even unofficial) guide, if someone would point me in the direction on where to start, the first module I want to create needs to do the following:

1. When a post is about to be saved (not when previewed), the mod needs to scan the post for a given regular expression.  This must be done after the user pressed the save button but before or within the routine that does the final commit of the post, to the database.
2. My code needs to write data to a (new) database table row/record.
3. When a user enters a board and sees the post list, my mod needs to display a table cell (column) with information (from the database record noted above) which will reside between the message icon and the Subject of each post.

I know exactly what I want to do and know PHP inside and out, but I am new to SMF and if possible, would appreciate any help in creating this mod, which would lead to the creation of many others by me, perhaps as a thank you to all the good folks who helped me get started. :)

Thanks in advance,

Ray A. Akey
http://www.phofan.com [nofollow] - Photography Fan Community Forums
http://www.pbase.com/hmetal/pad [nofollow] - My Photo-A-Day Project

Dannii

"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

HMetal

http://www.phofan.com [nofollow] - Photography Fan Community Forums
http://www.pbase.com/hmetal/pad [nofollow] - My Photo-A-Day Project

Advertisement: