Sho
11-10-2002, 01:52 AM
Hi,
I added the ability to use a unique template for the first post in a thread (enable/disable per forum). With help from others, I also got it working to have a different editpost template for this first post.
The problem is, I also need different "username_loggedin" and "username_loggedout" templates. Not per styleset, but per forum. Also, only for the first post in a thread (= newthread, editpost for first post).
This gets done in functions.php, but I really have no idea how to use "$isfirst" and "$forumid" there to form an if clause. Please help me! :)
(Sorry for my cruel English.)
I added the ability to use a unique template for the first post in a thread (enable/disable per forum). With help from others, I also got it working to have a different editpost template for this first post.
The problem is, I also need different "username_loggedin" and "username_loggedout" templates. Not per styleset, but per forum. Also, only for the first post in a thread (= newthread, editpost for first post).
This gets done in functions.php, but I really have no idea how to use "$isfirst" and "$forumid" there to form an if clause. Please help me! :)
(Sorry for my cruel English.)