Print Topic - Archive

E-Blah Community  /  Themes and Images  /  Theme Variables / Template Variables
Posted by: Tim Linden, February 8, 2006, 8:36pm
<blah v="$title">

What can yall use? What are the variables you can use? I'd like to be able to make a link to the current page being viewed. IE: if the "Themes & Images" board is being viewed, a link to that - if "Theme Variables / Template Variables" thread is being viewed, a link to that.
Posted by: Martin, February 9, 2006, 2:09am; Reply: 1
<blah v="$username">
Displays the current user's name. By default you will find this at the masthead right beside your board's name.

<blah v="$userwelcome">
Displays the User Welcome - Good Morning [yourname]

<blah v="$wmessage">
Time of Day" message (such as, "Good Evening")

<blah v="$displayuser">
Good morning user w/ PM info

<blah v="$title">
Page title

<blah v="$mbname">
Name of forum, as set in Admin/Settings

<blah v="$boardnm">
Name of board you are currenly on (blank if none)

<blah v="$boardid">
ID of current board

<blah v="$userpm">
"pm" stands for Private Message. This tag displays the number of private messages you receive on your board's inbox.

<blah v="$date_time">
This tag displays the current date and time.

The following are the links to the individual buttons instead of the menubar.
<blah v="$homemenu">
<blah v="$helpmenu">
<blah v="$calmenu">
<blah v="$searchmenu">
<blah v="$adminmenu">
<blah v="$profilemenu">
<blah v="$loginmenu">

<blah v="$menubar">
Displays the menu icons for your board.

<blah main> This one takes up the biggest part of your screen. This is where all the categories, boards, messages, etc. is displayed. In short, this is the main board interface.

<blah v="$copyright"> This display the E-Blah Copyright at the bottom of the page and must be included unless a license is purchased.


These are the ones I know, you could maybe use part of the "Where Is" as this links to any board that is being viewed.
Posted by: Justin, February 9, 2006, 5:34pm; Reply: 2
That's a good list there, Martin.  :)
Posted by: Asharad, February 9, 2006, 7:20pm; Reply: 3
This needs to be in a FAQ or stickied somewhere.  I've been looking for this too.  Thanks Martin.
Posted by: Tim Linden, February 11, 2006, 10:52am; Reply: 4
I stickied it and took out my sillified posts =P

Thanks Martin!
Posted by: fraktalisman, February 26, 2007, 6:53am; Reply: 5
The variable "username" has changed, in Eblah 10.2 it displays the internal user number instead. And the old "screenname" variable does not work anymore either.
Print page generated: November 20, 2008, 3:01pm