Quote:
Originally Posted by josh_krz
Thank you kh99, so all I need to do is create the database column and add the field within the template for this to work?
|
Right. Also, it should automatically be read in so in most places where you have a $threaddata array, your field value should be there. So for example if you wanted to display the value on the showthread page, you shouldn't need to do anything extra to read it from the database.
BTW, another thing this example doesn't handle is editing the thread.
Quote:
Looking at that XML these things seems pretty straight forward, if there were some definite way to know what classes and functions to use 
How do people learn how to code plugins, there must be some cache of resources somewhere outlining these things?
|
Yeah, I don't know how most people learned, but I just started reading the code. For example if I wanted to add a field to a thread, I'd see that when I'm creating a new thread it goes to newthread.php, so I'd look at that to see what was going on (yeah, it's easy for me to say but I know it takes a lot of time).