Welcome to my guide to phpBB template design. This guide is meant to cover all the aspects of template design for phpBB so you can learn how to successfully create your own template for phpBB2.
I assume you already know a thing or two about web design such as basic HTML and CSS. Contrary to popular belief you do not need to know how to program in PHP (the programming language phpBB is written in) in order to make templates for phpBB. PHP code is not necessary in order to create a template and it is actually even disallowed in templates you submit at phpbb.com.
With phpBB3 on its way it may seem like a strange time to publish this guide, and yes it is, it has been waiting to be written and published for a long time now. However phpBB3’s template engine is very similar to the one in phpBB2 so the knowledge gained reading this guide applies to phpBB3 as well.
This guide doesn’t have to be read in sequence however I recommend you sit down and apply everything, it will help you gain an understanding of how it all fits together.
This document is constantly being edited and while it is a complete guide content may still be added. If you have comments or suggestions on topics you'd like to see covered please share them with me.
If you like this guide please link to it. Please note that you may neither republish this guide nor parts of it in any form or manner without permission, instead please refer your visitors here.
If you're interested in translating this guide to another language, please contact me.
This guide assumes that you have knowledge of HTML and cascading stylesheets (CSS). If you have no knowledge of either I recommend that you read some tutorials on HTML and CSS first. These are good places to start:
Apart from curiosity and patience, good things seldom come easily, you also need a few applications:
If you are running Windows I recommend SmartFTP, it is free and easy to use.
For editing templates, HTML and CSS I recommend ConText, a free open source programmer’s editor.
By my Apple loving friends I’ve been told that Mac users should look into:
http://smultron.sourceforge.net
If you are running a UNIX/Linux as operating system, a standard text editor such as VI/VIM, Emacs, Pico or Nano will do. You can use the FTP client that came with your system or distribution to upload and download files.
I will not explain how to use these applications, they all come with help files. If you get stuck with an application please consult its help files.
You will need to set up a working phpBB installation. I suggest you set up a new phpBB board for the sole purpose of designing and testing new templates and styles, that way you won’t risk messing up your own forum. It will need its own directory on the server as well as its own database. Free phpBB hosts that do not give you FTP access will not work, you need a regular hosting account or use the method described below. Again, I won’t go through this in any more detail so please refer to the documentation available at phpbb.com and elsewhere.
The best way to work when creating templates for phpBB is to have set up your own web server in such a way that you edit the files directly in your editor and make changes to the files in the web server’s web root directory without having to upload them manually with your FTP client. Some FTP clients, one of them being SmartFTP, allow you to edit files on the server. The way this works is the FTP client downloads the file, opens with your software and every time you save the file, the FTP client detects it and uploads the file back on the server. This works great when you edit one file at a time but when editing several files it soon becomes a bottleneck.
Once again, I will not cover how you configure your own web server locally; there are several tutorials online that explain the process. See this Wikipedia article for information on running a local server on your Windows machine:
http://en.wikipedia.org/wiki/WAMP
There are also application packages available on the Internet that automate the whole set up process making it a snap.
If you cannot configure a local web server, don’t worry, you can still use the edit feature in your FTP client to edit files remotely. You can also edit them locally and then upload them to the server and overwrite the old files. This works perfectly but takes more time than working with files locally.
When it comes to designs for phpBB, two terms are used the most: template and style. These are not the same even though downloadable designs for phpBB are by the phpBB Group referred to as styles.
The phpBB template engine, that is the part of phpBB that takes the template files as input and generates the forum as you see it in your browser, loads the template files and then take the data from the database and combines these and generates HTML which it then serves to the browser. The theme is stored in the database as a series of colors and filenames. The template engine takes this information as well and serves it to the browser as CSS code which the browser then applies to the HTML the template engine has generated.
Many templates use a separate CSS file instead of using themes, it makes it easier to edit and you can add your own CSS classes and rules. I prefer this method over storing the theme data in the database as a theme. The drawback is however that you can no longer change fonts and colors from within the admin panel but I will return to this later.
Templates and themes are therefore both necessary to change the design of your phpBB board. Together they are known as Styles but I don't think it's a very well-chosen term. It makes a lot of more sense to let Style refer to the information that is used for the stylesheet and template to the actual files. I, among other people, would propose: Template + Style = Theme
However, as I noted, in phpBB lingo:
Template + Theme = Style
I am using the words Style and Template interchangeably here but just for the sake of clarity and in official terms: theme is what's in the database, template is what's on the harddrive and taken together they form a style.
Once you're all set, proceed to the next chapter where we'll create the foundation for your template and upload it to the server.
The template files phpBB uses are located in the folder called templates/ found in the phpBB/ folder in the folder in which you extracted the phpBB zip (or .tar.gz ) file. This is the folder where the file config.php is found. On your server you may have put the files from the root folder in another folder, perhaps one called forums/.
Note: I will from now on type folder names as with a trailing slash (example: templates/) and file names without a trailing, this is standard syntax and is good to know because it’s how you type file paths on most server operating systems. I may also refer to folders as 'directories'.
If you look inside the templates/ folder you will see at least one folder, most likely named subSilver. This folder contains all the template files for the default subSilver template which is the template included with all phpBB installations. It is wise to keep this folder, even if you create your own theme, since many MODs and other parts of phpBB depend on it.
Now that we've located the templates/ folder the next logical step is to create a folder for our new template. Start by going to the templates/ folder on your harddrive where you extracted the phpBB files. We will use subSilver and base our design on it, so start by making a copy of that folder. Once the copy process is complete, rename the new folder myTemplate.
Since we copied subSilver all the files in the myTemplate/ folder will be the original subSilver files. We will be required to edit these as they refer to the subSilver template, and not your new myTemplate template. To change all references we first have to rename two files manually, and then replace a piece of text inside all the other files. Don't worry, it's not very hard, and only takes a minute.
Begin by opening the myTemplate/ folder, locate the files subSilver.css and subSilver.cfg, then rename these files to myTemplate.css and myTemplate.cfg respectively.
Next step is to replace all instances of the string "subSilver" inside the files in this folder. String is a programmer's term for a fragment of text. A string is also a type of variable used for storing values that consist of characters, but I'll explain variables later.
Windows users, download the application BK ReplaceEm from this website which we will use to replace subSilver strings inside our new template: http://www.orbit.org/replace/
Mac user should try Smultron: http://smultron.sourceforge.net/index.html
Linux/UNIX users can use GREP or AWK. I will not provide any instructions for Smultron, I do not have a Mac myself but I've been told it's easy to use.
Those using UNIX/Linux should be familiar enough with their operating system to be able to use GREP or AWK.
If you need help, please ask someone you know, use Google or post in my forums and I'll try to help you.
Below is a short tutorial on using ReplaceEm.
After you have downloaded and installed the ReplaceEm application, start it. You will see a screen similar to the one below (click to zoom):
Start by clicking Add Group, type myTemplate and press Enter. Then right-click on the new Replace Group you just made and select "Add File(s)"
Click "Use folder", in the field "Include File Filter", enter "*.tpl,*.cfg". Click the Backup tab and uncheck "Enable file backup" Now click the "..." button next to the field labeled "Source File / Folder Path" and select the myTemplate/ folder we created in the previous steps, then click OK.
Now look in the lower portion of the application, where there are two columns with captions "Original Text" and "Replament Text". Double-click to the top-left one and enter subSilver, then double-click the top right one and enter myTemplate. It should look something like this, again click the image to zoom:
Now select Replace -> Start-Replacing. You will see a progress bar and a log which means the replacement process is complete. Scroll to the bottom of the log, 84 files should have been processed, 18 altered.
Tada! Now you have your own template! Hang on and read about how you go about installing it.
If you replaced the files in the download location, as instructed, copy the myTemplate/ folder from the templates/ folder there to either the template design board’s templates/ folder on the server or to the phpBB templates/ folder located in your local web server’s web root folder, depending on your setup.
Now go to your template design board. Either by accessing your local web server by entering localhost/phpBB2 in your browser’s location field, provided phpBB is located in the phpBB2 folder in your local web server’s web root directory. Or by going to the website address (URL) where the board is. Log in and go to the administration panel and click Add under Styles Admin, if everything was done correctly in the previous steps you should now see a template called myTemplate in the list of templates that you can install. Click “Install” next to it and you’re done.
Before we can start playing around with this template there are two things we should do: set it as default template for the board, and set it to override user styles, you can access these options by clicking Configuration under General Admin. By doing this you can see how well the template works both for guests and users that have logged in. Another advantage is that you won’t have to worry about logging in all the time. You’ll spend a lot of time making small changes in files and reloading in your browser to see the results.
Wow, wasn’t that easy? Or at least far from as hard as you’d imagined? It won’t get more difficult either, so on to the next chapter where we begin editing our newly created subSilver clone.
As you see a template consists of several files, each file is used for a certain part of the template. Some files are used for multiple pages. The developers of phpBB have been quite ingenious in using the same files for several different functions to keep the number of files to a minimum.
The page below has a list of all the files and explains the function of each of them, I suggest you read it and familiarize yourself with it. Make sure to add it to your bookmarks/favorites for quick access later, it will come in handy as you proceed.
http://www.jakob-persson.com/node/542
All the files for the Administration Panel area are located in the admin/ folder in your myTemplate/ folder, you will not have to edit these files as they are only visible to the administrator of the board. I use subSilver default files for this area, it saves me time not having to update these files manually every time changes are made to the phpBB template files.
As I explained in Part 1, a template consists of template files and at least one theme. A theme is basically formalized CSS. A template can have several themes associated with it, all of which may have different fonts, colors and table background images.
The colors, fonts and images you specify when you edit a theme in the administration panel are output in the overall_header.tpl file. If you open that file you will find a whole lot of CSS in wrapped in <STYLE> tags. Instead of values like regular CSS you will see code like this: {T_BODY_BGCOLOR}. These are called variables and are placeholders for values, the template engine will replace these when it parses the file, which happens every time someone access your board or one of its pages. These variables are replaced by the settings you entered when you edited the theme in the admin panel.
As I mentioned earlier, there's an alternative method, instead of using phpBB themes you can use your own CSS file. If you scroll to the top overall_header.tpl you will find this line:
<!-- link rel="stylesheet" href="templates/myTemplate/{T_HEAD_STYLESHEET}" type="text/css" -->
By deleting the style tags below and all CSS code between them and replace the line above with
<link rel="stylesheet" href="templates/myTemplate/{T_HEAD_STYLESHEET}" type="text/css">
you will be able to use the myTemplate.css file for your CSS code. This file already contains the same code as in overall_header.tpl when parsed with the default subSilver theme, so switching to the CSS file shouldn't affect the appearance of your forum.
Whether you want to use a theme or a CSS file with your template is up to you. The easiest way to change your board's appearance is to create a new theme for it, the theme will use mostly the same graphics and template files as subSilver so you can't customize your board that much, but it's an easy way to do something as simple as changing the font.
You can also create your own template and deliver it with several themes included; I will explain how this works later in this guide.
Perhaps you recall that word I mentioned earlier: variable, it may seem like a complex concept but it really isn't. There are variables in basic algebra which we all learn in school. When programming, an expression such as x = 4 will assign the value 4 to the variable x. Variables in phpBB templates work exactly the same way, they represent a value: for example an integer (whole number) or a string (fragment of text).
When you code a template you use HTML combined with variables, or placeholders for variables. Variables can be recognized by the braces that surround them, an example from index_body.tpl:
{L_LOGIN_LOGOUT}
Which, for those who have chosen English as forum language, is replaced by "Log in" or "Log out" (depending on whether the user is logged out or logged in).
Apart from variable placeholders there is also something called a block. A block is a part of your code, marked with certain block code, that is generated iteratively, in other words repeated for a set number of times. This may seem abstract at first but let me show you an example from index_body.tpl:
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2" class="thCornerL" height="25" nowrap="nowrap"> {L_FORUM} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_TOPICS} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_POSTS} </th>
<th class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<!-- BEGIN catrow -->
<tr>
<td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
<td class="rowpic" colspan="3" align="right"> </td>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
</span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
</span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
<!-- END catrow -->
</table>
The TR and TH tags make up the header for the table of categories and forums, i.e. the captions that say Forum, Topics, Posts and Last Post. Directly below is a block marker, it says that the code between it and its END counterpart makes up a block. As you see, this block contains the code for creating the categories on the forum index. This code will be repeated, with the variable placeholders replaced by the category address/url for its link ({catrow.U_VIEWCAT}) and its name ({catrow.CAT_DESC}).
Within the category block is the forum block, so for every category, this block will be repeated as well, generating the list of forums, building and populating the table with forum names, descriptions, number of topics, posts, information about the last post and a list of moderators to mention a few.
The third typ of template markup is the switch, it is a conditional control structure, as a programmer would explain it. A switch consists of a pair of markers, BEGIN and END with a condition. The condition might be that the user that requested the current page (that is the user clicked a link that led to it) is not logged in. You can see such an example here below taken from index_body.tpl where a switch is used to hide the log in box if the user is already logged in, or in other words, only show the log in box if the user is logged out:
<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="28"><a name="login"></a><span class="cattitle">{L_LOGIN_LOGOUT}</span></td>
</tr>
<tr>
<td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}:
<input class="post" type="text" name="username" size="10" />
{L_PASSWORD}:
<input class="post" type="password" name="password" size="10" maxlength="32" />
<!-- BEGIN switch_allow_autologin -->
{L_AUTO_LOGIN}
<input class="text" type="checkbox" name="autologin" />
<!-- END switch_allow_autologin -->
<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
</span> </td>
</tr>
</table>
</form>
<!-- END switch_user_logged_out -->
Customizing your forum template is essentially about editing the HTML and putting the block markers, switches and variable placeholders where you need them.
A few words of advice, due to the way the phpBB template engine (also called parser) is designed, there are a few restrictions:
If any one of these criteria isn't met the parsing of the page will fail and you will get an error message. It will most likely refer to template.php and mention eval()'d. You can read more about it here:
http://www.phpbb.com/kb/article/parse-error-evald-code/
Every tpl file has access to different variable placeholders, you can find a list of variable placeholders organized by what tpl file they are available for here:
http://www.jakob-persson.com/node/541
I believe you have your work cut out for you know, going through every TPL file and design it to your liking. Remember to keep backup copies of your files in case something goes wrong so you can revert back to a previous version. Should you run into problems you're welcome to request help here at my forums.
In part four of this guide I will cover some common questions and problems when designing phpBB templates, talk some more about themes and what you can do with them and how you do to export your template so that you can distribute it for others to use and enjoy as well as write about a thing or two I've learnt when designing for phpBB. So keep reading and designing!
This fourth part of the guide covers a number of techniques and methods I’ve used as well as provide answers to some common questions. It is recommend you at least look through this section to see if there's anything you might find useful.
A question often asked is about how to change the link colors for moderator and administrator user listed in the Who’s Online box and on the Who’s Online page. It’s relatively easy, you will need to edit the colors for “font color 2” and “font color 3” in Administration Panel -> Styles Admin -> Management.
Like I mentioned previously in the guide while on the topic of styles, phpBB uses field values stored in the database for colors, background images and fonts. The colors used for moderator and administrator user links cannot be defined in the external stylesheet (CSS file) so they need defined in the style (stored in the database). In the default subSilver template, “font color 3” is also used for table headers.
The page for showing topics, viewtopic_body.tpl contains the buttons that are displayed below posts. I call these “post buttons”. There’s a post button for ICQ, and in the default subSilver template there’s also a snippet for JavaScript code that shows a user’s ICQ online status by overlaying it with a green ICQ flower.
The same code is used in profile_view_body.tpl to display the user’s ICQ online status.
If you redesign this post button you may either have to remove or edit this code. It’s a simple piece of JavaScript so remove all the code between the <script>…</script> tags, remove the <noscript> and </noscript> and only keep the template variable placeholder for the image.
When you make a poll topic in phpBB, the result of the votes will be shown as bars, one for each option. These bars consist of three images, a left cap image, an image that is repeated to create the center of the bar and a right cap. The code for these bars can be found in viewtopic_poll_result.tpl.
Originally, the poll result bars weren’t intended to be designed this way. Instead the developers intended one image to be used, and for it to be stretched by setting its width to represent the per cent of votes. There was also the intention of supporting votebars in several colors, or designs. If you open the CFG file (myTemplate.cfg) you will find the following code:
$images['voting_graphic'][0] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][1] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][2] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][3] = "$current_template_images/voting_bar.gif";
$images['voting_graphic'][4] = "$current_template_images/voting_bar.gif";
By removing the code for adding the left and right end caps and assigning a different bar image for each of these you can display poll results as up to five differently colored bars. I haven’t used done myself but I imagine that if there are more than five options the colors are reused.
If you find it hard to keep track of what tpl file is used for what forum part or page there’s a simple way to keep track of it. Open every tpl file and add an HTML comment containing its filename at the top and the bottom of it. So if you edit viewtopic_body.tpl you would add the comment <!-- start of viewtopic_body.tpl --> at the top, and <!-- end of viewtopic_body.tpl --> at the end of the file after all the other HTML and template code.
You can create multiple themes to be associated with your style. These can introduce minor changes such as different fonts faces, colors or background images. In order for this to work it is important that you use all or some of the CSS code from subSilver's overall_header.tpl file. In case you have removed it from your copy of overall_header.tpl, you can simple copy it from subSilver's overall_header.tpl and paste it in your file. You can then remove or edit it as you like. Each of the variable placeholders here takes data from the theme configuration which is done in Administration Panel -> Styles Admin -> Management. The variable names and the field names are more or less the same so figuring out where what goes is relatively easy.
You create the new theme by going Administration Panel -> Styles Admin -> Create. What’s important here is that you choose your template and the CSS stylesheet file you wish to use (just enter its filename). Remember that what you enter on this page will override the CSS in your stylesheet file since it is loaded after it and in order for it to work the <style>...</style> code in overall_header.tpl must be intact (see an unaltered copy of subSilver's overall_header.tpl if unsure).
A template for phpBB includes to CFG-files. These can be recognized by their file extension: .cfg. There are usually two CFG-files, theme_info.cfg and templateName.cfg (where templateName is the name of the template).
This file is where the theme/style info is written when you export your themes/styles as explained in part five of this guide. It is only read when you import a theme/style. You shouldn’t attempt to edit this file manually, instead use Admin Panel -> Styles Admin -> Management to modify your themes/styles.
This file is a lot more interesting and unlike theme_info.cfg this file is parsed every time you load a forum page. I’ve pasted the contents of subSilver.cfg here below. As you can see it contains a lot of values. Technically it is what programmers call an array and here is where all the image filenames used in your template are defined. First of all it defines the directory where the images are stored:
$current_template_images = $current_template_path . "/images";
This cfg file also defines the image filenames used by the template variable placeholders. You can achieve some rather cool special effects by modifying these.
As I mentioned earlier, this file defines filenames for graphics and as you can see most of these are defined. However some aren’t. One that may come in handy when you create your template is the image used to show when a user has new PMs. By assigning filenames of images to the following lines you can for example use an animated GIF image to draw the user’s attention to there being unread messages in his/her PM inbox. I used this technique for a board I designed for a customer.
$images['pm_new_msg'] = "";
$images['pm_no_new_msg'] = "";
Then use {PRIVMSG_IMG} in your template files where you want the image to show.
This technique was originally devised by Daz of forumimages.com. Unfortunately his site along with all the tutorials, graphics and templates hosted there is no longer available.
I used this method to create fading post buttons in Cobalt, you can check it out in the styles demo forum to see how it looks. It works in most browsers, but I know for sure it works in Firefox and Internet Explorer.
This method requires you to edit several files, begin by adding the following code at the beginning of templateName.cfg (right before “do not alter” comment):
$ifade = 'onmouseover="this.className='imgfull'" onmouseout="this.className='imgfade'';
Then find the post button image paths, they’re right below where it sets the path to the images directory, should look something like this:
$images['icon_quote'] = "$current_template_images/{LANG}/icon_quote.gif";
There are twelve of them (around line 29 through 41), alter all of them this way:
$images['icon_quote'] = "$current_template_images/{LANG}/icon_quote.gif\" class=\"imgfade\" " . "$ifade";
$images['icon_edit'] = "$current_template_images/{LANG}/icon_edit.gif\" class=\"imgfade\" " . "$ifade";
$images['icon_search'] = "$current_template_images/{LANG}/icon_search.gif\" class=\"imgfade\" " . "$ifade";
$images['icon_profile'] = "$current_template_images/{LANG}/icon_profile.gif\" class=\"imgfade\" " . "$ifade";
$images['icon_pm'] = "$current_template_images/{LANG}/icon_pm.gif\" class=\"imgfade\" " . "$ifade";
$images['icon_email'] = "$current_template_images/{LANG}/icon_email.gif\" class=\"imgfade\" " . "$ifade";
$images['icon_delpost'] = "$current_template_images/icon_delete.gif\" class=\"imgfade\" " . "$ifade";
$images['icon_ip'] = "$current_template_images/{LANG}/icon_ip.gif\" class=\"imgfade\" " . "$ifade";
$images['icon_www'] = "$current_template_images/{LANG}/icon_www.gif\" class=\"imgfade\" " . "$ifade";
$images['icon_icq'] = "$current_template_images/{LANG}/icon_icq_add.gif\" class=\"imgfade\" " . "$ifade";
$images['icon_aim'] = "$current_template_images/{LANG}/icon_aim.gif\" class=\"imgfade\" " . "$ifade";
$images['icon_yim'] = "$current_template_images/{LANG}/icon_yim.gif\" class=\"imgfade\" " . "$ifade";
$images['icon_msnm'] = "$current_template_images/{LANG}/icon_msnm.gif\" class=\"imgfade\" " . "$ifade";
What remains is modifying your stylesheet file to add the two new CSS classes we used, add this code anywhere in it:
.imgfade{filter:alpha(opacity=50); -moz-opacity:0.5}
.imgfull{filter:alpha(opacity=100); -moz-opacity:1}
Alternatively put it in overall_header.tpl, between the tags.
You can add this fading effect to almost any button by modifying the CFG file the same way done above, or by adding this code to its img tag:
class="imgfade" onmouseover="this.className='imgfull'" onmouseout="this.className='imgfade'"
Once you’re done editing and feel confident everything works as intended and that every problem or bug has been fixed it’s time to consider releasing your template. Releasing your template is something both the phpBB project and the community benefits from and is a great way to support phpBB and give something back to the community.
This part of the guide will cover the steps required to successfully release your template as well as supporting it.
When you’ve come to the point when you feel that your template is complete, perfect in every regard, or perhaps just good enough, ask a couple of your friends and members of your family to check it out for you, post and test everything they can see. We tend to become blind to our own mistakes so it’s always a good idea to have someone else look it over and give you a second opinion. It will help you fix problems you may have ignored unknowingly.
Do this a couple of times, work iteratively, request a template check, fix the problems and request a new one. Repeat as many times as necessary. It’s time well spent since every fix discovered after release will take a lot more time fixing then than it would have should you have fixed it before you released your template. Discovering problems after release doesn’t just give people a bad impression of the template you have spent so many hours perfecting; you will also have to resubmit your template at various sites which still doesn’t guarantee that people will actually use the new version in favor of the old one.
Once you’re done testing, verifying and checking it’s time to export your style. As I explained earlier, the theme is stored in the database and contains, among other things, the colors for the moderator and administrator user links in the Who’s Online box.
When a user adds a template and its associated themes, these values are loaded from the theme_info.cfg file into their own database so unless you write these changes to your theme_info.cfg file they will not be included. This is precisely what happens when you Export a style, all the database entries associated with it will be written to the theme_info.cfg file. Should phpBB fail to write to the file you can try changing the permissions for it and setting them to 777 (chmod 777). You can also download it and save/upload it manually.
Once exporting is complete you are ready to distribute your template so that others may use it.
The first step should be to go through your template’s files and images and delete everything that isn’t needed. You may want to keep some stuff so it might be wise to have a working template copy and one you distribute. Remove all unnecessary files from the distribution copy.
You may also want to include a readme file with your template. I usually include an HTML file with basic information about the template, who made it, who the copyright belongs to and its terms of use. I also include a blank image to use as canvas to help forum owners create their own forum logo, something many people have expressed appreciation of.
Most template designers also add a small copyright and credit notice to the footer of the template. It is recommended that you put your name, copyright with year and website link after the phpBB copyright notice. This is both a service to you as well as the users of your template as they can easily find your site when they need to get an updated version of your template or require support.
When you’re done it’s time to zip your files. You should compress the whole template’s folder, the archive should contain a folder. The user should be able to extract your archive file directly in the templates/ folder.
If you are using Windows, open the archive and remove any thumbs.db files. These are used by Windows to store the thumbnails you see when viewing folders with images in Windows. The thumbs.db files take up extra space and may increase the archive file’s size by up to 80%.
It is recommended that you use ZIP compression as it is a compression format most people are familiar with. If you are using Windows you can use the Compressed Folder feature to create ZIP files however I tend to prefer third party applications.
The archive should have a name in the format templatenameYYY where YYY is your template’s version. The first version is usually 1.00 (myTemplate100.zip) but as you make minor changes such as fixing bugs and accommodating for template changes required due to changes to phpBB you need to increase the version number. Minor changes are usually affecting the second decimal (1.01, 1.02 and so on). Major changes such as adding graphics, making radical layout changes should affect the first decimal (1.10, 1.20) and so. It is important that you use a consistent and rational version numbering method as it will indicate the extent of changes between versions.
When your ZIP-file is ready you should test it. Extract it and use it at another forum, upload the files and add it in the Administration Panel (Administration Panel –> Styles Admin -> Add) and make sure everything works as intended. This is your final “pre flight” check and your last chance to make changes and fix problems.
If everything is in order all that remains is release your template on the Internet. I recommend submitting it to phpbb.com and phpbbhacks.com as these are the sites where most people go to find templates for phpBB. I also strongly recommend you make the template available for download at your own website.
So your template is finished, released and everyone seems to love it, is your work over yet?
Well that’s up to you. If you don’t feel like doing anything more then that’s okay, it’s your call but if you want to keep your template popular, and continue to support the community you should support your template. Supporting your template consists of:
With all that said I’d like to wish you the best of luck. Remember that determination and an iron will are your best friends so don't give up and keep trying. With enough effort anything's possible!
In case this guide has made you interested in how phpBB templates work from a more technical point of view, there's a great article in the phpBB Knowledge Base. You can do a lot of fun stuff with templates and by modifying phpBB, and it's not as hard as it may seem. Break the learning process into small steps and you will soon be standing on the shoulders of giants.
Should you have any questions regarding this guide or template design in general feel free to post at my forums here.
The appendix contains resources referred to in the guide that used to be external but have been mirrored here since the original versions have been taken down.
This list was originally hosted in the phpbb.com website knowledge base but later removed after the remake of phpbb.com. The article is mirrored here as a reference for the template design guide. Scroll down the page to view the article.
You can find the entire article using the Wayback Machine here:
http://web.archive.org/web/20060616185517/www.phpbb.com/kb/article.php?article_id=198
The article is Copyright © phpBB Group/CyberAlien 2004.
Description: List of tpl files with explanation what file is used for. |
Author: CyberAlien |
Date: Thu Apr 15, 2004 7:17 pm |
Type: Info |
Keywords: tpl, template, templates |
Category: Styles |
Hello, This document explains what each tpl file is used for. First let me explain how phpBB templates are used. Every page generated by phpBB consists of at least 3 templates. Every page has header, content and footer. For main pages header is always overall_header.tpl and footer is always overall_footer.tpl, for popups and topic review header is simple_header.tpl and footer is simple_footer.tpl. Between contents of those files phpBB puts content of current page. Also sometimes phpBB puts other files before content page, like error_body.tpl when there is error. Here is list of all tpl files (in alphabetical order):
|
A list of phpBB Template Variables, formerly hosted at http://www.phpbb.com/listvars.php but lost after the remake of the phpbb.com website. The list is now hosted here (scroll down to view it). It can also be accessed using the Wayback Machine:
http://web.archive.org/web/20060510033535/http://www.phpbb.com/styles/listvars.php
Please note that button images may be missing in this mirrored copy but they are available at the URL above.
The variable list is Copyright © The phpBB Group.
Variable | Variable Description | Example | Block |
SITENAME | database site name value | ||
SITE_DESCRIPTION | database site description value | ||
PAGE_TITLE | current page title | ||
LAST_VISIT_DATE | date user last visited board | ||
CURRENT_TIME | current board time | ||
TOTAL_USERS_ONLINE | total users currently online | ||
LOGGED_IN_USER_LIST | list of users logged in | ||
RECORD_USERS | most users ever online count | ||
PRIVATE_MESSAGE_INFO | private messages info | You have no new private messages | |
PRIVATE_MESSAGE_INFO_UNREAD | unread private messages count | ||
PRIVATE_MESSAGE_NEW_FLAG | 1 for new private messages 0 for none new | ||
PRIVMSG_IMG | private messages images, changes when there are new ones | ||
L_USERNAME | language variable for username | username | |
L_PASSWORD | language variable for password | password | |
L_LOGIN_LOGOUT | this variable toggles between "login" and "logout [username]" depending if you logged in out out | loggout [username] login | |
L_LOGIN | login language variable | login | |
L_LOG_ME_IN | log in automatically language variable | Log me on automatically each visit | |
L_AUTO_LOGIN | same as L_LOG_ME_IN | ||
L_INDEX | the string holding the forum name and "forum index" | community forum index | |
L_REGISTER | register language variable | register | |
L_PROFILE | profile language variable | profile | |
L_SEARCH | search language variable | search | |
L_PRIVATEMSGS | private messages language string | private messages | |
L_WHO_IS_ONLINE | who is online language variable | who is online | |
L_MEMBERLIST | memberlist language string | memberlist | |
L_FAQ | faq language string | FAQ | |
L_USERGROUPS | usergroups language string | usergroups | |
L_SEARCH_NEW | search for new post since last visits language string | View posts since last visit | |
L_SEARCH_UNANSWERED | search for unanswered posts language string | View unanswered posts | |
L_SEARCH_SELF | search for your posts language string | View your posts | |
L_WHOSONLINE_ADMIN | admin colours for the who is online ledgend | [ Administrator ] | |
L_WHOSONLINE_MOD | moderator colour for the who is online legend | [ Moderator ] | |
U_SEARCH_UNANSWERED | search for unanswered posts uri | search.php?search_id=unanswered | |
U_SEARCH_SELF | search for your posts uri | search.php?search_id=egosearch | |
U_SEARCH_NEW | search for new posts since last visit uri | search.php?search_id=newposts | |
U_INDEX | forum index uri | index.php | |
U_REGISTER | register user uri | profile.php?mode=register | |
U_PROFILE | edit profile uri | profile.php?mode=editprofile | |
U_PRIVATEMSGS | private messages page uri | privmsg.php?folder=inbox | |
U_PRIVATEMSGS_POPUP | private messages popup box uri | privmsg.php?mode=newpm | |
U_SEARCH | search page uri | search.php | |
U_MEMBERLIST | memberlist page uri | memberlist.php | |
U_MODCP | moderators panel uri | modcp.php | |
U_FAQ | faq page uri | faq.php | |
U_VIEWONLINE | view who is online page uri | viewonline.php | |
U_LOGIN_LOGOUT | login/logout uri, changes depending wether user is logged in or out | ||
U_MEMBERSLIST | same as U_MEMBERLIST | ||
U_GROUP_CP | usergroups control panel uri | groupcp.php | |
S_CONTENT_DIRECTION | left to right or right to left language setting | ltr | |
S_CONTENT_ENCODING | content encoding setting | iso-8859-1 | |
S_CONTENT_DIR_LEFT | left language variable | left | |
S_CONTENT_DIR_RIGHT | right language variable | right | |
S_TIMEZONE | board timezone setting (admin panel configuration) | All times are GMT + 10 Hours | |
S_LOGIN_ACTION | login box action paramater value | login.php | |
T_HEAD_STYLESHEET | current style stylesheet value | subSilver.css | |
T_BODY_BACKGROUND | current style background picture file | ||
T_BODY_BGCOLOR | current style body background colour | ||
T_BODY_TEXT | current style body text colour | ||
T_BODY_LINK | current style body link colour | ||
T_BODY_VLINK | current style body visited link | ||
T_BODY_ALINK | current style body active link colour | ||
T_BODY_HLINK | current style body hover link colour | ||
T_TR_COLOR1 | current style table row colour 1 | ||
T_TR_COLOR2 | current style table row colour 2 | ||
T_TR_COLOR3 | current style table row colour 3 | ||
T_TR_CLASS1 | current template table row class 1 | ||
T_TR_CLASS2 | current template table row class 2 | ||
T_TR_CLASS3 | current template table row class 3 | ||
T_TH_COLOR1 | current template table header colour 1 | ||
T_TH_COLOR2 | current template table header colour 2 | ||
T_TH_COLOR3 | current template table header colour 3 | ||
T_TH_CLASS1 | current template table header class 1 | ||
T_TH_CLASS2 | current template table header class 2 | ||
T_TH_CLASS3 | current template table header class 3 | ||
T_TD_COLOR1 | current template table element colour 1 | ||
T_TD_COLOR2 | current template table element colour 2 | ||
T_TD_COLOR3 | current template table element colour 3 | ||
T_TD_CLASS1 | current template table element class 1 | ||
T_TD_CLASS2 | current template table element class 2 | ||
T_TD_CLASS3 | current template table element class 3 | ||
T_FONTFACE1 | current template fontface 1 | ||
T_FONTFACE2 | current template fontface 2 | ||
T_FONTFACE3 | current template fontface 3 | ||
T_FONTSIZE1 | current template font size 1 | ||
T_FONTSIZE2 | current template font size 2 | ||
T_FONTSIZE3 | current template font size 3 | ||
T_FONTCOLOR1 | current template font colour 1 | ||
T_FONTCOLOR2 | current template font colour 2 | ||
T_FONTCOLOR3 | current template font colour 3 | ||
T_SPAN_CLASS1 | current template span class 1 | ||
T_SPAN_CLASS2 | current template span class 2 | ||
T_SPAN_CLASS3 | current template span class 3 | ||
NAV_LINKS | mozilla navigation links | ||
JUMPBOX | Add the forum jumpbox any where on a page |
Variable | Variable Description | Example | Block |
REGISTRATION | registration agreement language string | Registration Agreement Terms | |
AGREEMENT | coppa agreement language string | While the administrators and moderators... | |
AGREE_OVER_13 | coppa agree and over 13 language string | I Agree to these terms and am over 13 years of age | |
AGREE_UNDER_13 | coppa agree and under 13 language string | I Agree to these terms and am under 13 years of age | |
DO_NOT_AGREE | I do not agree coppa language string | I do not agree to these terms | |
U_AGREE_OVER13 | i agree to coppa over 13 uri | profile.php?mode=register&agreed=true | |
U_AGREE_UNDER13 | I agree to coppa under 13 uri | profile.php?mode=register&agreed=true&coppa=true |
Variable | Variable Description | Example | Block |
Variable | Variable Description | Example | Block |
MESSAGE_TITLE | Confirm language string | Confirm | |
MESSAGE_TEXT | confirm message, dependance on what needs confirmation | Are you sure you want to remove the selected topic/s? | |
L_YES | yes language string | yes | |
L_NO | no language string | no | |
S_CONFIRM_ACTION | form action param value | modcp.php | |
S_HIDDEN_FIELDS | list of hidden fields needed controlled by phpBB |
Variable | Variable Description | Example | Block |
ERROR_MESSAGE | error message generated by phpBB when an error occurs |
Variable | Variable Description | Example | Block |
L_FAQ_TITLE | faq title, language string | FAQ | |
L_BACK_TO_TOP | back to top language string | Back to top | |
BLOCK_TITLE | faq block title | phpBB 2 Issues | faq_block, faq_block_link |
ROW_COLOR | row colour, switches between row colour 1 and row colour 2 every second row | faq_block.faq_row, faq_block_link.faq_row_link | |
ROW_CLASS | row class, switches between class 1, and class 2 every second row | faq_block.faq_row, faq_block_link.faq_row_link | |
FAQ_QUESTION | faq question in the answers block | Who wrote this bulletin board? | faq_block.faq_row |
FAQ_ANSWER | faq answer requarding the corresponding question in the answer block | This software (in its unmodified form) is produced, released and is copyright phpBB Group. | faq_block.faq_row |
U_FAQ_ID | question bookmark uri for an anchor tag | faq_block.faq_row | |
FAQ_LINK | faq question in the link rows | Who wrote this bulletin board? | faq_block_link.faq_row_link |
U_FAQ_LINK | faq question link uri | #36 | faq_block_link.faq_row_link |
Variable | Variable Description | Example | Block |
L_GROUP_INFORMATION | group information language string | Group Information | |
L_GROUP_NAME | group name language variable | Group name | |
L_GROUP_DESC | group description language variable | Group description | |
L_GROUP_TYPE | group type language variable | Group type | |
L_GROUP_MEMBERSHIP | group membership language variable | Group membership | |
L_SUBSCRIBE | subscribe to group language variable | Subscribe | |
L_UNSUBSCRIBE | unsubscribe language variable | Unsubscribe | |
L_JOIN_GROUP | join this group language variable | Join Group | |
L_UNSUBSCRIBE_GROUP | unsubscribe from this group language string | Unsubscribe | |
L_GROUP_OPEN | open group language variable | Open group | |
L_GROUP_CLOSED | close group language variable | Closed group | |
L_GROUP_HIDDEN | hidden group language variable | Hidden group | |
L_UPDATE | update language variable | Update | |
L_GROUP_MODERATOR | group moderator language string | Group Moderator | |
L_GROUP_MEMBERS | group members language string | Group Members | |
L_PENDING_MEMBERS | pending members language string | Pending Members | |
L_SELECT_SORT_METHOD | select sort method language string | Select sort method | |
L_PM | private message language string | Private Message | |
L_EMAIL | email language string | ||
L_POSTS | posts language string | Posts | |
L_WEBSITE | website language string | Website | |
L_FROM | location language variable | Location | |
L_ORDER | order language variable | Order | |
L_SORT | sort language variable | Sort | |
L_SUBMIT | submit language string | Submit | |
L_AIM | aol instant messenger language string | AIM Address | |
L_YIM | yahoo messenger language string | Yahoo Messenger | |
L_MSNM | msn instant messenger language string | MSN Messenger | |
L_ICQ | icq language string | ICQ Number | |
L_SELECT | select language string | Select | |
L_REMOVE_SELECTED | remove selected language string | Remove Selected | |
L_ADD_MEMBER | add member language string | Add Member | |
L_FIND_USERNAME | find username language string | Find a username | |
GROUP_NAME | group name variable of the currently selected group | MOD-Team | |
GROUP_DESC | group description variable of the current group | The Modifications Team | |
GROUP_DETAILS | your current membership details for this group | You are a member of this group | |
MOD_ROW_COLOR | group moderator row colour | ||
MOD_ROW_CLASS | group moderator row class | ||
MOD_USERNAME | group moderator username | ||
MOD_FROM | group moderator location from his profile | ||
MOD_JOINED | the date the group moderator joined the board | ||
MOD_POSTS | group moderator post count | ||
MOD_AVATAR_IMG | group moderator avatar image uri | ||
MOD_PROFILE_IMG | group moderator profile image | ||
MOD_PROFILE | group moderator profile | ||
MOD_SEARCH_IMG | search group moderators posts image | ||
MOD_SEARCH | group moderator search posts | ||
MOD_PM_IMG | private message group moderator image | ||
MOD_PM | group moderator private message (text) | ||
MOD_EMAIL_IMG | group moderator e-mail image | ||
MOD_EMAIL | group moderator e-mail (text) | ||
MOD_WWW_IMG | group moderator webpage image | ||
MOD_WWW | group moderator webpage (text) | ||
MOD_ICQ_STATUS_IMG | group moderator icq status image | ||
MOD_ICQ_IMG | group moderator icq image (static) | ||
MOD_ICQ | group moderator icq (text) | ||
MOD_AIM_IMG | group moderator aim image | ||
MOD_AIM | group moderator aim (text) | ||
MOD_MSN_IMG | group moderator msn messenger profile image | ||
MOD_MSN | group moderator msn messenger profile (text) | ||
MOD_YIM_IMG | group moderator yahoo messenger profile image | ||
MOD_YIM | group moderator yahoo messenger profile (text) | ||
U_MOD_VIEWPROFILE | group moderators profile uri | ||
U_SEARCH_USER | search for user uri | search.php?mode=searchuser | |
S_GROUP_OPEN_TYPE | open group form field | ||
S_GROUP_CLOSED_TYPE | closed group form field | ||
S_GROUP_HIDDEN_TYPE | hidden group form field | ||
S_GROUP_OPEN_CHECKED | adds a checked value to the open group form field if its an open group | ||
S_GROUP_CLOSED_CHECKED | adds a checked value to the closed group form field if its an closed group | ||
S_GROUP_HIDDEN_CHECKED | adds a checked value to the hidden group form field if its an hidden group | ||
S_HIDDEN_FIELDS | group type form hidden fields | ||
S_MODE_SELECT | group mode select | ||
S_ORDER_SELECT | group mode order select box | ||
S_GROUPCP_ACTION | group cp form action param value | ||
ROW_COLOR | member row colour | member_row | |
ROW_CLASS | member row class | member_row | |
USERNAME | username of group member | member_row | |
FROM | group member location value | member_row | |
JOINED | date group member joined the board | member_row | |
POSTS | group member total posts | member_row | |
USER_ID | group member user id value | member_row | |
AVATAR_IMG | group member avatar image uri | member_row | |
PROFILE_IMG | group member profile image | member_row | |
PROFILE | group member profile (text) | member_row | |
SEARCH_IMG | search group members posts image | member_row | |
SEARCH | search group members posts (text) | member_row | |
PM_IMG | pm this group member image | member_row | |
PM | pm this group member (text) | member_row | |
EMAIL_IMG | e-mail this group member image | member_row | |
e-mail this group member (text) | member_row | ||
WWW_IMG | this group members website image | member_row | |
WWW | this group members website (text) | member_row | |
ICQ_STATUS_IMG | this group members icq status image | member_row | |
ICQ_IMG | this group members icq static image | member_row | |
ICQ | this group members icq (text) | member_row | |
AIM_IMG | this group members aim image | member_row | |
AIM | this group members aim (text) | member_row | |
MSN_IMG | this group members msn messenger profile image | member_row | |
MSN | this group members msn messenger profile (text) | member_row | |
MSN | this group members msn messenger (text) | member_row | |
YIM_IMG | this group members yahoo messenger image | member_row | |
YIM | this group members yahoo messenger (text) | member_row | |
U_VIEWPROFILE | this group members profile uri | member_row | |
L_NO_MEMBERS | this group has no members language string | This group has no members | switch_no_members |
PENDING_USER_BOX | insert the pending users for this group (groupcp_pending_info.tpl) |
Variable | Variable Description | Example | Block |
ROW_COLOR | member row colour | pending_members_row | |
ROW_CLASS | member row class | pending_members_row | |
USERNAME | username of group member | pending_members_row | |
FROM | group member location value | pending_members_row | |
JOINED | date group member joined the board | pending_members_row | |
POSTS | group member total posts | pending_members_row | |
USER_ID | group member user id value | pending_members_row | |
AVATAR_IMG | group member avatar image uri | pending_members_row | |
PROFILE_IMG | group member profile image | pending_members_row | |
PROFILE | group member profile (text) | pending_members_row | |
SEARCH_IMG | search group members posts image | pending_members_row | |
SEARCH | search group members posts (text) | pending_members_row | |
PM_IMG | pm this group member image | pending_members_row | |
PM | pm this group member (text) | pending_members_row | |
EMAIL_IMG | e-mail this group member image | pending_members_row | |
e-mail this group member (text) | pending_members_row | ||
WWW_IMG | this group members website image | pending_members_row | |
WWW | this group members website (text) | pending_members_row | |
ICQ_STATUS_IMG | this group members icq status image | pending_members_row | |
ICQ_IMG | this group members icq static image | pending_members_row | |
ICQ | this group members icq (text) | pending_members_row | |
AIM_IMG | this group members aim image | pending_members_row | |
AIM | this group members aim (text) | pending_members_row | |
MSN_IMG | this group members msn messenger profile image | pending_members_row | |
MSN | this group members msn messenger profile (text) | pending_members_row | |
MSN | this group members msn messenger (text) | pending_members_row | |
YIM_IMG | this group members yahoo messenger image | pending_members_row | |
YIM | this group members yahoo messenger (text) | pending_members_row | |
U_VIEWPROFILE | this group members profile uri | pending_members_row | |
L_SELECT | select langauge string | Select | |
L_APPROVE_SELECTED | approve selected language string | Approve selected | |
L_DENY_SELECTED | deny selected language string | Deny selected |
Variable | Variable Description | Example | Block |
L_GROUP_MEMBERSHIP_DETAILS | |||
L_JOIN_A_GROUP | |||
L_YOU_BELONG_GROUPS | |||
L_SELECT_A_GROUP | |||
L_PENDING_GROUPS | |||
L_SUBSCRIBE | |||
L_UNSUBSCRIBE | |||
L_VIEW_INFORMATION | |||
S_USERGROUP_ACTION | |||
S_HIDDEN_FIELDS | |||
GROUP_LIST_SELECT | |||
GROUP_PENDING_SELECT | |||
GROUP_MEMBER_SELECT |
Variable | Variable Description | Example | Block |
ROW_COLOR | current forum row colour in the loop (alternates) | catrow.forumrow | |
ROW_CLASS | current forum row class in the loop (alternates) | catrow.forumrow | |
FORUM_FOLDER_IMG | current forum in the loop, image (changes on new posts) | catrow.forumrow | |
FORUM_NAME | current forum in the loops name | catrow.forumrow | |
FORUM_DESC | current forum in the loops description | catrow.forumrow | |
POSTS | current forum in the loop post count | catrow.forumrow | |
TOPICS | current forum in the loop topic count | catrow.forumrow | |
LAST_POST | the last post made in this forum date, author and link | catrow.forumrow | |
MODERATORS | lists the moderators of this forum | catrow.forumrow | |
L_MODERATOR | forum moderators language string | Moderators | catrow.forumrow |
L_FORUM_FOLDER_ALT | forum folder alternative text | catrow.forumrow | |
U_VIEWFORUM | this forums viewforum URI variable | viewforum.php?f=1 | catrow.forumrow |
CAT_ID | current category id in the loop parse | catrow | |
CAT_DESC | current category title/description in the loop parse | catrow | |
U_VIEWCAT | current category URI in the loop parse | catrow | |
L_FORUM | forum language variable | ||
L_TOPICS | topics language string | ||
L_REPLIES | replies language string | ||
L_VIEWS | views language string | ||
L_POSTS | posts language string | ||
L_LASTPOST | last post language string | ||
L_NO_NEW_POSTS | no new posts language string | ||
L_NEW_POSTS | new posts language string | ||
L_NO_NEW_POSTS_LOCKED | no new posts locked language string | ||
L_NEW_POSTS_LOCKED | new posts locked language string | ||
L_ONLINE_EXPLAIN | explain the who is online box language string | ||
L_MODERATOR | moderator language string | ||
L_FORUM_LOCKED | forum locked language string | ||
L_MARK_FORUMS_READ | mark all forums read language string | ||
U_MARK_READ | mark all forums read uri |
Variable | Variable Description | Example | Block |
Variable | Variable Description | Example | Block |
L_GO | Go language variable | Go | |
L_JUMP_TO | Jump to language variable | Jump To | |
L_SELECT_FORUM | Select forum language string | Select Forum | |
S_JUMPBOX_SELECT | The jumpbox select box | ||
S_JUMPBOX_ACTION | Jumpbox forum action field |
Variable | Variable Description | Example | Block |
USERNAME | The user trying to logins name | Admin | |
L_ENTER_PASSWORD | Enter password language variable | Enter Password | |
L_SEND_PASSWORD | Send password language variable | Send new password | |
U_SEND_PASSWORD | send new password uri | ||
S_HIDDEN_FIELDS | the login_body form hidden fields |
Variable | Variable Description | Example | Block |
ROW_NUMBER | memberlist row number | 1 | memberrow |
ROW_COLOR | memberlist, current rows colour | memberrow | |
ROW_CLASS | memberlist, current rows class | memberrow | |
USERNAME | memberlist, Users username | memberrow | |
FROM | memberlist, Users location | memberrow | |
JOINED | memberlist, users joined date | memberrow | |
POSTS | memberlist, users post count | memberrow | |
AVATAR_IMG | memberlist, users current avatar image | memberrow | |
PROFILE_IMG | memberlist, link to users profile image | memberrow | |
PROFILE | memberlist, users profile, - text | memberrow | |
SEARCH_IMG | memberlist, search users post icon | memberrow | |
SEARCH | memberlist, search users post text | memberrow | |
PM_IMG | memberlist, pm user icon | memberrow | |
PM | memberlist, pm user text | memberrow | |
EMAIL_IMG | memberlist, email user icon | memberrow |
Variable | Variable Description | Example | Block |
MESSAGE_TITLE | |||
MESSAGE_TEXT |
Variable | Variable Description | Example | Block |
U_VIEW_TOPIC | topicrow | ||
TOPIC_FOLDER_IMG | topicrow | ||
TOPIC_TYPE | topicrow | ||
TOPIC_TITLE | topicrow | ||
REPLIES | topicrow | ||
LAST_POST_TIME | topicrow | ||
TOPIC_ID | topicrow | ||
L_TOPIC_FOLDER_ALT | topicrow | ||
PAGINATION | |||
PAGE_NUMBER | |||
L_GOTO_PAGE |
Variable | Variable Description | Example | Block |
MESSAGE_TITLE | |||
MESSAGE_TEXT | |||
L_MOVE_TO_FORUM | |||
L_LEAVESHADOW | |||
L_YES | |||
L_NO | |||
S_FORUM_SELECT | |||
S_MODCP_ACTION | |||
S_HIDDEN_FIELDS |
Variable | Variable Description | Example | Block |
L_SPLIT_TOPIC | |||
L_SPLIT_TOPIC_EXPLAIN | |||
L_AUTHOR | |||
L_MESSAGE | |||
L_SELECT | |||
L_SPLIT_SUBJECT | |||
L_SPLIT_FORUM | |||
L_POSTED | |||
L_SPLIT_POSTS | |||
L_SUBMIT | |||
L_SPLIT_AFTER | |||
L_POST_SUBJECT | |||
L_MARK_ALL | |||
L_UNMARK_ALL | |||
L_POST | |||
S_SPLIT_ACTION | |||
S_HIDDEN_FIELDS | |||
S_FORUM_SELECT | |||
ROW_COLOR | postrow | ||
ROW_CLASS | postrow | ||
POSTER_NAME | postrow | ||
POST_DATE | postrow | ||
POST_SUBJECT | postrow | ||
MESSAGE | postrow | ||
POST_ID | postrow | ||
S_SPLIT_CHECKBOX | postrow |
Variable | Variable Description | Example | Block |
L_IP_INFO | |||
L_THIS_POST_IP | |||
L_OTHER_IPS | |||
L_OTHER_USERS | |||
L_LOOKUP_IP | |||
L_SEARCH | |||
SEARCH_IMG | |||
IP | |||
U_LOOKUP_IP | |||
POSTS | |||
ROW_COLOR | iprow | ||
ROW_CLASS | iprow | ||
IP | iprow | ||
POSTS | iprow | ||
U_LOOKUP_IP | iprow | ||
ROW_COLOR | userrow | ||
ROW_CLASS | userrow | ||
USERNAME | userrow | ||
POSTS | userrow | ||
L_SEARCH_POSTS | userrow | ||
U_PROFILE | userrow | ||
U_SEARCHPOSTS | userrow |
Variable | Variable Description | Example | Block |
PHPBB_VERSION | |||
TRANSLATION_INFO | |||
ADMIN_LINK |
Variable | Variable Description | Example | Block |
Variable | Variable Description | Example | Block |
FORUM_NAME | |||
L_POST_A | |||
L_POST_SUBJECT | |||
U_VIEW_FORUM | |||
USERNAME | |||
SUBJECT | |||
MESSAGE | |||
HTML_STATUS | |||
BBCODE_STATUS | |||
SMILIES_STATUS | |||
L_SUBJECT | |||
L_MESSAGE_BODY | |||
L_OPTIONS | |||
L_PREVIEW | |||
L_SPELLCHECK | |||
L_SUBMIT | |||
L_CANCEL | |||
L_CONFIRM_DELETE | |||
L_DISABLE_HTML | |||
L_DISABLE_BBCODE | |||
L_DISABLE_SMILIES | |||
L_ATTACH_SIGNATURE | |||
L_NOTIFY_ON_REPLY | |||
L_DELETE_POST | |||
L_BBCODE_B_HELP | |||
L_BBCODE_I_HELP | |||
L_BBCODE_U_HELP | |||
L_BBCODE_Q_HELP | |||
L_BBCODE_C_HELP | |||
L_BBCODE_L_HELP | |||
L_BBCODE_O_HELP | |||
L_BBCODE_P_HELP | |||
L_BBCODE_W_HELP | |||
L_BBCODE_A_HELP | |||
L_BBCODE_S_HELP | |||
L_BBCODE_F_HELP | |||
L_EMPTY_MESSAGE | |||
L_FONT_COLOR | |||
L_COLOR_DEFAULT | |||
L_COLOR_DARK_RED | |||
L_COLOR_RED | |||
L_COLOR_ORANGE | |||
L_COLOR_BROWN | |||
L_COLOR_YELLOW | |||
L_COLOR_GREEN | |||
L_COLOR_OLIVE | |||
L_COLOR_CYAN | |||
L_COLOR_BLUE | |||
L_COLOR_DARK_BLUE | |||
L_COLOR_INDIGO | |||
L_COLOR_VIOLET | |||
L_COLOR_WHITE | |||
L_COLOR_BLACK | |||
L_FONT_SIZE | |||
L_FONT_TINY | |||
L_FONT_SMALL | |||
L_FONT_NORMAL | |||
L_FONT_LARGE | |||
L_FONT_HUGE | |||
L_BBCODE_CLOSE_TAGS | |||
L_STYLES_TIP | |||
U_VIEWTOPIC | |||
U_REVIEW_TOPIC | |||
S_HTML_CHECKED | |||
S_BBCODE_CHECKED | |||
S_SMILIES_CHECKED | |||
S_SIGNATURE_CHECKED | |||
S_NOTIFY_CHECKED | |||
S_TYPE_TOGGLE | |||
S_TOPIC_ID | |||
S_POST_ACTION | |||
S_HIDDEN_FORM_FIELDS | |||
POLLBOX | shows the poll edit/create box (posting_poll_body.tpl) | ||
TOPIC_REVIEW_BOX | shows the topic review box (posting_topic_review.tpl) | ||
POST_PREVIEW_BOX | shows a preview of the post being made (posting_preview.tpl) |
Variable | Variable Description | Example | Block |
L_ADD_A_POLL | |||
L_ADD_POLL_EXPLAIN | |||
L_POLL_QUESTION | |||
L_POLL_OPTION | |||
L_ADD_OPTION | |||
L_UPDATE_OPTION | |||
L_DELETE_OPTION | |||
L_POLL_LENGTH | |||
L_DAYS | |||
L_POLL_LENGTH_EXPLAIN | |||
L_POLL_DELETE | |||
POLL_TITLE | |||
POLL_LENGTH | |||
POLL_OPTION | poll_option_rows | ||
S_POLL_OPTION_NUM | poll_option_rows |
Variable | Variable Description | Example | Block |
TOPIC_TITLE | |||
POST_SUBJECT | |||
POSTER_NAME | |||
POST_DATE | |||
MESSAGE | |||
L_POST_SUBJECT | |||
L_PREVIEW | |||
L_POSTED | |||
L_POST |
Variable | Variable Description | Example | Block |
SMILEY_CODE | smilies_row.smilies_col | ||
SMILEY_IMG | smilies_row.smilies_col | ||
SMILEY_DESC | smilies_row.smilies_col | ||
L_MORE_SMILIES | |||
U_MORE_SMILIES |
Variable | Variable Description | Example | Block |
ROW_COLOR | postrow | ||
ROW_CLASS | postrow | ||
MINI_POST_IMG | postrow | ||
POSTER_NAME | postrow | ||
POST_DATE | postrow | ||
POST_SUBJECT | postrow | ||
MESSAGE | postrow | ||
L_MINI_POST_ALT | postrow | ||
L_AUTHOR | |||
L_MESSAGE | |||
L_POSTED | |||
L_POST_SUBJECT | |||
L_TOPIC_REVIEW |
Variable | Variable Description | Example | Block |
BOX_NAME | |||
INBOX_IMG | |||
SENTBOX_IMG | |||
OUTBOX_IMG | |||
SAVEBOX_IMG | |||
INBOX | |||
SENTBOX | |||
OUTBOX | |||
SAVEBOX | |||
POST_PM_IMG | |||
POST_PM | |||
INBOX_LIMIT_IMG_WIDTH | |||
INBOX_LIMIT_PERCENT | |||
BOX_SIZE_STATUS | |||
L_INBOX | |||
L_OUTBOX | |||
L_SENTBOX | |||
L_SAVEBOX | |||
L_MARK | |||
L_FLAG | |||
L_SUBJECT | |||
L_DATE | |||
L_DISPLAY_MESSAGES | |||
L_FROM_OR_TO | |||
L_MARK_ALL | |||
L_UNMARK_ALL | |||
L_DELETE_MARKED | |||
L_DELETE_ALL | |||
L_SAVE_MARKED | |||
S_PRIVMSGS_ACTION | |||
S_HIDDEN_FIELDS | |||
S_POST_NEW_MSG | |||
S_SELECT_MSG_DAYS | |||
U_POST_NEW_TOPIC | |||
ROW_COLOR | listrow | ||
ROW_CLASS | listrow | ||
FROM | listrow | ||
SUBJECT | listrow | ||
DATE | listrow | ||
PRIVMSG_FOLDER_IMG | listrow | ||
L_PRIVMSG_FOLDER_ALT | listrow | ||
S_MARK_ID | listrow | ||
U_READ | listrow | ||
U_FROM_USER_PROFILE | listrow | ||
PAGINATION | |||
PAGE_NUMBER | |||
L_GOTO_PAGE | |||
L_NO_MESSAGES |
Variable | Variable Description | Example | Block |
L_CLOSE_WINDOW | |||
L_MESSAGE |
Variable | Variable Description | Example | Block |
TOPIC_TITLE | |||
POST_SUBJECT | |||
MESSAGE_TO | |||
MESSAGE_FROM | |||
POST_DATE | |||
MESSAGE | |||
S_HIDDEN_FIELDS | |||
L_SUBJECT | |||
L_DATE | |||
L_FROM | |||
L_TO | |||
L_PREVIEW | |||
L_POSTED |
Variable | Variable Description | Example | Block |
INBOX_IMG | |||
SENTBOX_IMG | |||
OUTBOX_IMG | |||
SAVEBOX_IMG | |||
INBOX | |||
POST_PM_IMG | |||
REPLY_PM_IMG | |||
EDIT_PM_IMG | |||
QUOTE_PM_IMG | |||
POST_PM | |||
REPLY_PM | |||
EDIT_PM | |||
QUOTE_PM | |||
SENTBOX | |||
OUTBOX | |||
SAVEBOX | |||
BOX_NAME | |||
L_MESSAGE | |||
L_INBOX | |||
L_OUTBOX | |||
L_SENTBOX | |||
L_SAVEBOX | |||
L_FLAG | |||
L_SUBJECT | |||
L_POSTED | |||
L_DATE | |||
L_FROM | |||
L_TO | |||
L_SAVE_MSG | |||
L_DELETE_MSG | |||
S_PRIVMSGS_ACTION | |||
S_HIDDEN_FIELDS | |||
MESSAGE_TO | |||
MESSAGE_FROM | |||
RANK_IMAGE | |||
POSTER_JOINED | |||
POSTER_POSTS | |||
POSTER_FROM | |||
POSTER_AVATAR | |||
POST_SUBJECT | |||
POST_DATE | |||
MESSAGE | |||
PROFILE_IMG | |||
PROFILE | |||
SEARCH_IMG | |||
SEARCH | |||
EMAIL_IMG | |||
WWW_IMG | |||
WWW | |||
ICQ_STATUS_IMG | |||
ICQ_IMG | |||
ICQ | |||
AIM_IMG | |||
AIM | |||
MSN_IMG | |||
MSN | |||
YIM_IMG | |||
YIM |
Variable | Variable Description | Example | Block |
USERNAME | |||
CUR_PASSWORD | |||
NEW_PASSWORD | |||
PASSWORD_CONFIRM | |||
YIM | |||
ICQ | |||
MSN | |||
AIM | |||
OCCUPATION | |||
INTERESTS | |||
LOCATION | |||
WEBSITE | |||
SIGNATURE | |||
VIEW_EMAIL_YES | |||
VIEW_EMAIL_NO | |||
HIDE_USER_YES | |||
HIDE_USER_NO | |||
NOTIFY_PM_YES | |||
NOTIFY_PM_NO | |||
POPUP_PM_YES | |||
POPUP_PM_NO | |||
ALWAYS_ADD_SIGNATURE_YES | |||
ALWAYS_ADD_SIGNATURE_NO | |||
NOTIFY_REPLY_YES | |||
NOTIFY_REPLY_NO | |||
ALWAYS_ALLOW_BBCODE_YES | |||
ALWAYS_ALLOW_BBCODE_NO | |||
ALWAYS_ALLOW_HTML_YES | |||
ALWAYS_ALLOW_HTML_NO | |||
ALWAYS_ALLOW_SMILIES_YES | |||
ALWAYS_ALLOW_SMILIES_NO | |||
ALLOW_AVATAR | |||
AVATAR | |||
AVATAR_SIZE | |||
LANGUAGE_SELECT | |||
STYLE_SELECT | |||
TIMEZONE_SELECT | |||
DATE_FORMAT | |||
HTML_STATUS | |||
BBCODE_STATUS | |||
SMILIES_STATUS | |||
L_CURRENT_PASSWORD | |||
L_NEW_PASSWORD | |||
L_CONFIRM_PASSWORD | |||
L_CONFIRM_PASSWORD_EXPLAIN | |||
L_PASSWORD_IF_CHANGED | |||
L_PASSWORD_CONFIRM_IF_CHANGED | |||
L_SUBMIT | |||
L_RESET | |||
L_ICQ_NUMBER | |||
L_MESSENGER | |||
L_YAHOO | |||
L_WEBSITE | |||
L_AIM | |||
L_LOCATION | |||
L_OCCUPATION | |||
L_BOARD_LANGUAGE | |||
L_BOARD_STYLE | |||
L_TIMEZONE | |||
L_DATE_FORMAT | |||
L_DATE_FORMAT_EXPLAIN | |||
L_YES | |||
L_NO | |||
L_INTERESTS | |||
L_ALWAYS_ALLOW_SMILIES | |||
L_ALWAYS_ALLOW_BBCODE | |||
L_ALWAYS_ALLOW_HTML | |||
L_HIDE_USER | |||
L_ALWAYS_ADD_SIGNATURE | |||
L_AVATAR_PANEL | |||
L_AVATAR_EXPLAIN | |||
L_UPLOAD_AVATAR_FILE | |||
L_UPLOAD_AVATAR_URL | |||
L_UPLOAD_AVATAR_URL_EXPLAIN | |||
L_AVATAR_GALLERY | |||
L_SHOW_GALLERY | |||
L_LINK_REMOTE_AVATAR | |||
L_LINK_REMOTE_AVATAR_EXPLAIN | |||
L_DELETE_AVATAR | |||
L_CURRENT_IMAGE | |||
L_SIGNATURE | |||
L_SIGNATURE_EXPLAIN | |||
L_NOTIFY_ON_REPLY | |||
L_NOTIFY_ON_REPLY_EXPLAIN | |||
L_NOTIFY_ON_PRIVMSG | |||
L_POPUP_ON_PRIVMSG | |||
L_POPUP_ON_PRIVMSG_EXPLAIN | |||
L_PREFERENCES | |||
L_PUBLIC_VIEW_EMAIL | |||
L_ITEMS_REQUIRED | |||
L_REGISTRATION_INFO | |||
L_PROFILE_INFO | |||
L_PROFILE_INFO_NOTICE | |||
L_EMAIL_ADDRESS | |||
S_ALLOW_AVATAR_UPLOAD | |||
S_ALLOW_AVATAR_LOCAL | |||
S_ALLOW_AVATAR_REMOTE | |||
S_HIDDEN_FIELDS | |||
S_FORM_ENCTYPE | |||
S_PROFILE_ACTION |
Variable | Variable Description | Example | Block |
AVATAR_IMAGE | avatar_row.avatar_column | ||
AVATAR_NAME | avatar_row.avatar_column | ||
S_OPTIONS_AVATAR | avatar_row.avatar_option_column | ||
L_AVATAR_GALLERY | |||
L_SELECT_AVATAR | |||
L_RETURN_PROFILE | |||
L_CATEGORY | |||
S_CATEGORY_SELECT | |||
S_COLSPAN | |||
S_PROFILE_ACTION | |||
S_HIDDEN_FIELDS |
Variable | Variable Description | Example | Block |
ERROR_BOX | |||
USERNAME | |||
S_POST_ACTION | |||
L_SEND_EMAIL_MSG | |||
L_RECIPIENT | |||
L_SUBJECT | |||
L_MESSAGE_BODY | |||
L_MESSAGE_BODY_DESC | |||
L_EMPTY_SUBJECT_EMAIL | |||
L_EMPTY_MESSAGE_EMAIL | |||
L_OPTIONS | |||
L_CC_EMAIL | |||
L_SPELLCHECK | |||
L_SEND_EMAIL |
Variable | Variable Description | Example | Block |
USERNAME | |||
L_SEND_PASSWORD | |||
L_ITEMS_REQUIRED | |||
L_EMAIL_ADDRESS | |||
L_SUBMIT | |||
L_RESET | |||
S_PROFILE_ACTION |
Variable | Variable Description | Example | Block |
USERNAME | |||
JOINED | |||
POSTER_RANK | |||
RANK_IMAGE | |||
POSTS_PER_DAY | |||
POSTS | |||
PERCENTAGE | |||
POST_DAY_STATS | |||
POST_PERCENT_STATS | |||
SEARCH_IMG | |||
SEARCH | |||
PM_IMG | |||
PM | |||
EMAIL_IMG | |||
WWW_IMG | |||
WWW | |||
ICQ_STATUS_IMG | |||
ICQ_IMG | |||
ICQ | |||
AIM_IMG | |||
AIM | |||
MSN_IMG | |||
MSN | |||
YIM_IMG | |||
YIM | |||
LOCATION | |||
OCCUPATION | |||
INTERESTS | |||
AVATAR_IMG | |||
L_VIEWING_PROFILE | |||
L_ABOUT_USER | |||
L_AVATAR | |||
L_POSTER_RANK | |||
L_JOINED | |||
L_TOTAL_POSTS | |||
L_SEARCH_USER_POSTS | |||
L_CONTACT | |||
L_EMAIL_ADDRESS | |||
L_EMAIL | |||
L_PM | |||
L_ICQ_NUMBER | |||
L_YAHOO | |||
L_AIM | |||
L_MESSENGER | |||
L_WEBSITE | |||
L_LOCATION | |||
L_OCCUPATION | |||
L_INTERESTS | |||
U_SEARCH_USER | |||
S_PROFILE_ACTION |
Variable | Variable Description | Example | Block |
L_SEARCH_QUERY | |||
L_SEARCH_OPTIONS | |||
L_SEARCH_KEYWORDS | |||
L_SEARCH_KEYWORDS_EXPLAIN | |||
L_SEARCH_AUTHOR | |||
L_SEARCH_AUTHOR_EXPLAIN | |||
L_SEARCH_ANY_TERMS | |||
L_SEARCH_ALL_TERMS | |||
L_SEARCH_MESSAGE_ONLY | |||
L_SEARCH_MESSAGE_TITLE | |||
L_CATEGORY | |||
L_RETURN_FIRST | |||
L_CHARACTERS | |||
L_SORT_BY | |||
L_SORT_ASCENDING | |||
L_SORT_DESCENDING | |||
L_SEARCH_PREVIOUS | |||
L_DISPLAY_RESULTS | |||
L_FORUM | |||
L_TOPICS | |||
L_POSTS | |||
S_SEARCH_ACTION | |||
S_CHARACTER_OPTIONS | |||
S_FORUM_OPTIONS | |||
S_CATEGORY_OPTIONS | |||
S_TIME_OPTIONS | |||
S_SORT_OPTIONS | |||
S_HIDDEN_FIELDS |
Variable | Variable Description | Example | Block |
TOPIC_TITLE | searchresults | ||
FORUM_NAME | searchresults | ||
POST_SUBJECT | searchresults | ||
POST_DATE | searchresults | ||
POSTER_NAME | searchresults | ||
TOPIC_REPLIES | searchresults | ||
TOPIC_VIEWS | searchresults | ||
MESSAGE | searchresults | ||
MINI_POST_IMG | searchresults | ||
L_MINI_POST_ALT | searchresults | ||
U_POST | searchresults | ||
U_TOPIC | searchresults | ||
U_FORUM | searchresults | ||
PAGINATION | |||
PAGE_NUMBER | |||
L_AUTHOR | |||
L_MESSAGE | |||
L_FORUM | |||
L_TOPICS | |||
L_REPLIES | |||
L_VIEWS | |||
L_POSTS | |||
L_LASTPOST | |||
L_POSTED | |||
L_SUBJECT | |||
L_GOTO_PAGE |
Variable | Variable Description | Example | Block |
FORUM_NAME | searchresults | ||
FORUM_ID | searchresults | ||
TOPIC_ID | searchresults | ||
FOLDER | searchresults | ||
NEWEST_POST_IMG | searchresults | ||
TOPIC_FOLDER_IMG | searchresults | ||
GOTO_PAGE | searchresults | ||
REPLIES | searchresults | ||
TOPIC_TITLE | searchresults | ||
TOPIC_TYPE | searchresults | ||
VIEWS | searchresults | ||
TOPIC_AUTHOR | searchresults | ||
FIRST_POST_TIME | searchresults | ||
LAST_POST_TIME | searchresults | ||
LAST_POST_AUTHOR | searchresults | ||
LAST_POST_IMG | searchresults | ||
LAST_POST_IMG | searchresults | ||
U_VIEW_FORUM | searchresults | ||
U_VIEW_TOPIC | searchresults | ||
PAGINATION | |||
PAGE_NUMBER | |||
L_AUTHOR | |||
L_MESSAGE | |||
L_FORUM | |||
L_TOPICS | |||
L_REPLIES | |||
L_VIEWS | |||
L_POSTS | |||
L_LASTPOST | |||
L_POSTED | |||
L_SUBJECT | |||
L_GOTO_PAGE |
Variable | Variable Description | Example | Block |
USERNAME | |||
L_CLOSE_WINDOW | |||
L_SEARCH_USERNAME | |||
L_UPDATE_USERNAME | |||
L_SELECT | |||
L_SEARCH | |||
L_SEARCH_EXPLAIN | |||
L_CLOSE_WINDOW | |||
S_USERNAME_OPTIONS | |||
S_SEARCH_ACTION |
Variable | Variable Description | Example | Block |
PHPBB_VERSION | |||
TRANSLATION_INFO | |||
ADMIN_LINK |
Variable | Variable Description | Example | Block |
Variable | Variable Description | Example | Block |
FORUM_ID | |||
FORUM_NAME | |||
MODERATORS | |||
POST_IMG | |||
FOLDER_IMG | |||
FOLDER_NEW_IMG | |||
FOLDER_HOT_IMG | |||
FOLDER_HOT_NEW_IMG | |||
FOLDER_LOCKED_IMG | |||
FOLDER_LOCKED_NEW_IMG | |||
FOLDER_STICKY_IMG | |||
FOLDER_STICKY_NEW_IMG | |||
FOLDER_ANNOUNCE_IMG | |||
FOLDER_ANNOUNCE_NEW_IMG | |||
L_TOPICS | |||
L_REPLIES | |||
L_VIEWS | |||
L_POSTS | |||
L_LASTPOST | |||
L_MODERATOR | |||
L_MARK_TOPICS_READ | |||
L_POST_NEW_TOPIC | |||
L_NO_NEW_POSTS | |||
L_NEW_POSTS | |||
L_NO_NEW_POSTS_LOCKED | |||
L_NEW_POSTS_LOCKED | |||
L_NO_NEW_POSTS_HOT | |||
L_NEW_POSTS_HOT | |||
L_ANNOUNCEMENT | |||
L_STICKY | |||
L_POSTED | |||
L_JOINED | |||
L_AUTHOR | |||
S_AUTH_LIST | |||
U_VIEW_FORUM | |||
U_MARK_READ | |||
ROW_COLOR | topicrow | ||
ROW_CLASS | topicrow | ||
FORUM_ID | topicrow | ||
TOPIC_ID | topicrow | ||
TOPIC_FOLDER_IMG | topicrow | ||
TOPIC_AUTHOR | topicrow | ||
GOTO_PAGE | topicrow | ||
REPLIES | topicrow | ||
NEWEST_POST_IMG | topicrow | ||
TOPIC_TITLE | topicrow | ||
TOPIC_TYPE | topicrow | ||
VIEWS | topicrow | ||
FIRST_POST_TIME | topicrow | ||
LAST_POST_TIME | topicrow | ||
LAST_POST_AUTHOR | topicrow | ||
LAST_POST_IMG | topicrow | ||
L_TOPIC_FOLDER_ALT | topicrow | ||
U_VIEW_TOPIC | topicrow | ||
PAGINATION | |||
PAGE_NUMBER | |||
L_GOTO_PAGE | |||
L_NO_TOPICS |
Variable | Variable Description | Example | Block |
L_WHOSONLINE | |||
L_ONLINE_EXPLAIN | |||
L_USERNAME | |||
L_FORUM_LOCATION | |||
L_LAST_UPDATE | |||
ROW_COLOR | reg_user_row, guest_user_row | ||
ROW_CLASS | reg_user_row, guest_user_row | ||
USERNAME | reg_user_row, guest_user_row | ||
LASTUPDATE | reg_user_row, guest_user_row | ||
FORUM_LOCATION | reg_user_row, guest_user_row | ||
U_USER_PROFILE | reg_user_row, guest_user_row | ||
U_FORUM_LOCATION | reg_user_row, guest_user_row | ||
TOTAL_REGISTERED_USERS_ONLINE | |||
TOTAL_GUEST_USERS_ONLINE | |||
L_NO_REGISTERED_USERS_BROWSING | |||
L_NO_GUESTS_BROWSING |
Variable | Variable Description | Example | Block |
FORUM_ID | |||
FORUM_NAME | |||
TOPIC_ID | |||
TOPIC_TITLE | |||
PAGINATION | |||
PAGE_NUMBER | |||
POST_IMG | |||
REPLY_IMG | |||
L_AUTHOR | |||
L_MESSAGE | |||
L_POSTED | |||
L_POST_SUBJECT | |||
L_VIEW_NEXT_TOPIC | |||
L_VIEW_PREVIOUS_TOPIC | |||
L_POST_NEW_TOPIC | |||
L_POST_REPLY_TOPIC | |||
L_BACK_TO_TOP | |||
L_DISPLAY_POSTS | |||
L_LOCK_TOPIC | |||
L_UNLOCK_TOPIC | |||
L_MOVE_TOPIC | |||
L_SPLIT_TOPIC | |||
L_DELETE_TOPIC | |||
L_GOTO_PAGE | |||
S_TOPIC_LINK | |||
S_SELECT_POST_DAYS | |||
S_SELECT_POST_ORDER | |||
S_POST_DAYS_ACTION | |||
S_AUTH_LIST | |||
S_TOPIC_ADMIN | |||
S_WATCH_TOPIC | |||
U_VIEW_TOPIC | |||
U_VIEW_FORUM | |||
U_VIEW_OLDER_TOPIC | |||
U_VIEW_NEWER_TOPIC | |||
U_POST_NEW_TOPIC | |||
U_POST_REPLY_TOPIC | |||
ROW_COLOR | postrow | ||
ROW_CLASS | postrow | ||
POSTER_NAME | postrow | ||
POSTER_RANK | postrow | ||
RANK_IMAGE | postrow | ||
POSTER_JOINED | postrow | ||
POSTER_POSTS | postrow | ||
POSTER_FROM | postrow | ||
POSTER_AVATAR | postrow | ||
POST_DATE | postrow | ||
POST_SUBJECT | postrow | ||
MESSAGE | postrow | ||
SIGNATURE | postrow | ||
EDITED_MESSAGE | postrow | ||
MINI_POST_IMG | postrow | ||
PROFILE_IMG | postrow | ||
PROFILE | postrow | ||
SEARCH_IMG | postrow | ||
SEARCH | postrow | ||
PM_IMG | postrow | ||
PM | postrow | ||
EMAIL_IMG | postrow | ||
postrow | |||
WWW_IMG | postrow | ||
WWW | postrow | ||
ICQ_STATUS_IMG | postrow | ||
ICQ_IMG | postrow | ||
ICQ | postrow | ||
AIM_IMG | postrow | ||
AIM | postrow | ||
MSN_IMG | postrow | ||
MSN | postrow | ||
YIM_IMG | postrow | ||
YIM | postrow | ||
EDIT_IMG | postrow | ||
EDIT | postrow | ||
QUOTE_IMG | postrow | ||
QUOTE | postrow | ||
IP_IMG | postrow | ||
IP | postrow | ||
DELETE_IMG | postrow | ||
DELETE | postrow | ||
L_MINI_POST_ALT | postrow | ||
U_MINI_POST | postrow | ||
U_POST_ID | postrow | ||
POLL_DISPLAY | Displays the 'pollbox' at the top of a topic if there is a poll (viewtopic_poll_ballot.tpl, viewtopic_poll_result.tpl) |
Variable | Variable Description | Example | Block |
POLL_OPTION_ID | poll_option | ||
POLL_OPTION_ID | poll_option | ||
L_SUBMIT_VOTE | |||
L_VIEW_RESULTS | |||
U_VIEW_RESULTS | |||
POLL_QUESTION | |||
S_HIDDEN_FIELDS | |||
S_POLL_ACTION |
Variable | Variable Description | Example | Block |
POLL_OPTION_CAPTION | poll_option | ||
POLL_OPTION_RESULT | poll_option | ||
POLL_OPTION_PERCENT | poll_option | ||
POLL_OPTION_IMG | poll_option | ||
POLL_OPTION_IMG_WIDTH | poll_option | ||
L_TOTAL_VOTES | |||
TOTAL_VOTES |
1091 variables