Ok, it works! Now, the part I don't understand. How do I get all this into postbit? I looked in function getpostbit, but I don't know where to start. :-\
I did put this in, is that what you meant by adding it to the global's list?
Code:
function getpostbit($post,$templatename) {
// sorts through all the stuff to return the postbit template
// user
global $bbuserinfo,$session,$ignore,$cookietimeout;
// showthread
global $counter,$firstnew,$sigcache,$highlight,$postid,$forum,$maker,$maker_mail,$model_dl;
// global options
global $showdeficon,$displayemails,$enablepms,$allowsignatures,$wordwrap,$dateformat,$timeformat,$logip,$replacewords,$postsperday,$avatarenabled,$registereddateformat,$viewattachedimages;
The threee variables are maker, maker_mail, and model_dl. All they need to do is show up in my first post of a thread. I already have a working hack that makes the first post of threads in a certain table its own template, which works fine. Basically, i need the ability to use them in "postbit."
What exactly do I change/add in the function to get maker, maker_mail, and Model_dl available in the "postbit" template?
Thanks!