Xyphen
01-27-2004, 03:50 PM
I need to know if someone can tell me how to generate different postbit template.
Eg, A topic is created, the first post of the topic is different then the rest, also this can be customized for different forums by specifying the FORUM ID's to use the custom postbit template for. Just the one first post, and the rest of them different, kind of like someone posts a wallpaper so the first post looks like a Gallery sort of thing or whatever and the rest appear as comments.
Anyone can do that?? if not, thanks anyways.
Something like this in the showthread functions file...
if $forumid = 24 and $postnumber = 1 then fetch template $custompostbit // for the main post part
else if $forumid = 24 fetch template $custompostbit2 // for the comments part
i know its not just a two line thing, but i'm just writing that to let u kno what im talking about, lol
Eg, A topic is created, the first post of the topic is different then the rest, also this can be customized for different forums by specifying the FORUM ID's to use the custom postbit template for. Just the one first post, and the rest of them different, kind of like someone posts a wallpaper so the first post looks like a Gallery sort of thing or whatever and the rest appear as comments.
Anyone can do that?? if not, thanks anyways.
Something like this in the showthread functions file...
if $forumid = 24 and $postnumber = 1 then fetch template $custompostbit // for the main post part
else if $forumid = 24 fetch template $custompostbit2 // for the comments part
i know its not just a two line thing, but i'm just writing that to let u kno what im talking about, lol