![]() |
Different "username_loggedin" per forum and position in thread
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.) |
Ok, it's global.php. Think I got it myself.
|
Got the "per forum" part figured out, now I'm trying to find out how to use "$isfirst" in global.php.
|
Well, just wrote a $differentlogincode. Easier. Done.
|
All times are GMT. The time now is 03:30 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|