SMF2.1:Themes and Layout: Difference between revisions From Online Manual

Jump to: navigation, search
No edit summary
 
(→‎Member Options: fixed contraction)
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{versions|versions}}
{{WIP}}
{{versions|versionsmore}}
{{TOCright}}
 
Themes can provide a different look and feel for a forum, and sometimes for specific boards. A very skilled design can make a forum easier to use, and of course make it look great. Administrators can install and configure as many themes as they would like to provide for their members' comfort and enjoyment. Or they may choose to use only one theme, perhaps as a sense of identity for the forum, like branding.
 
The more themes you have to manage, the more work is required to maintain them, through upgrades of not just the themes, but upgrades to the core forum program, as well as to any other modifications you might install. Also keep in mind dealing with error messages when some upgrade, or even a changed setting somewhere, suddenly creates some kind of incompatibility. These are all things to be considered when deciding how many themes you want to install.


{{TOCright}}
''Admin Center > Configuration > Themes and Layout'' has four main tabs or sub-menu items: ''Manage and Install'', ''Theme Settings'', ''Member Options'', and ''Modify Themes''.
===Manage and Install===
The ''Manage and Install'' page is the default page loaded in the Themes and Layout section of the [[SMF2.1:Administration Center|Administration Center]]. Here you can select whether the [[SMF default theme]] can be chosen, which [[Theme]] guests will use, as well as other options. The following are all the options shown on this page:


====Themes and Layout Settings====
==Manage and Install==
On this page, you can download, install, and manage themes.  Options for this tab/page are described below, in three sections: ''Settings'', ''Obtaining Themes'', and ''Install a Theme''.


'''Themes that the user is able to select''' - When clicking ''[ Show the list of themes ]'' a list of all the Themes currently installed on your forum will appear with a checkbox before their name. Checking the box will allow users to select the theme, otherwise if it is unchecked the theme can only be used by [[Administrator]]s.
===Settings===
*'''Allow members to select their own themes''' - Check the box if you want to allow your members to choose a theme from two or more themes which you provide for them.
*'''Themes that the user is able to select''' - Click ''[ Show the list of themes ]'' to show all the themes currently installed. Check the one or ones which you want your members to be able to use. Any that are not checked, will not be available for members, but administrators can still use them.
*'''Overall forum default''' - Specify the overall forum default theme. This theme will be used for guests, new members, and members who did not choose a theme, including members who specifically chose the default theme for their own.
*'''Reset everyone to''' - You can reset all members to a specific theme, regardless of their theme preference. Note that even when this setting is set to ''No change'', all users that have ''Forum or Board Default'' set as their theme in their profile will still have their theme changed when the option, ''Overall forum default'' is changed.


*'''Overall forum default''' - Specify the overall Forum default theme. This theme will be used for guests, new members and members who did not specify any theme.
Click the '''''Save''''' button in the bottom, right corner of this section, when you finish with those settings.
*'''Reset everyone to''' - You can reset all members to a specific theme, regardless of their theme preference. Note that even when this setting is set to ''No change'', all users that have ''Forum or Board Default'' set as their theme in their profile will still have their theme changed when the setting ''Overall forum default'' is changed.


====Latest and Greatest Themes====
===Obtaining Themes===
This area shows a few of the latest themes, as well as one featured theme and one randomly selected ''Theme of the Moment'' from the [http://custom.simplemachines.org/themes/ Simple Machines Theme Site]. However, it may not show up properly if your computer cannot connect to the Simple Machines server.
In this section is a URL text link, which you can click to browse through, preview, search for, and download available themes.


====Install a New Theme====
===Install a New Theme===
This section provides three ways to install a new theme.
This section provides three ways to install a new theme.
* '''From a file''' -- a theme archive file, such as can be found on the [http://custom.simplemachines.org/themes/ Simple Machines Theme Site]
* '''From an archive''' - An archive is a compressed file, such a .zip or .tar.gz.
*# Find a theme archive file in the [http://custom.simplemachines.org/themes/ Simple Machines Theme Site] and download the file to your desktop. Be certain that this theme is compatible with your version of SMF. The version is also listed on the page where you downloaded the theme. Themes for prior versions of SMF will not work on SMF 2.1. Themes for SMF 2.1 will not work on prior versions.
*# After you have chosen one or more nice themes on the [http://custom.simplemachines.org/themes/ SMF Theme Site], download the archive files to your computer. Be certain that the theme is compatible with your version of SMF. Themes for prior versions of SMF will not work on SMF 2.1. Themes for SMF 2.1 will not work on prior versions.
*# Click the "Browse" button to the right of the "from a file" label.
*# Click the "Browse" button under "From an archive".
*# From the pop-up, navigate to the theme file (still compressed as a .zip or .tar.gz file) on your computer.
*# From the pop-up window, navigate to the theme file (still compressed as a .zip or .tar.gz file) on your computer.
*# Click Install and confirm if you want to install the theme in the popup
*# Click the Open button, at the bottom, right corner.
*# Installation will take a few seconds. If all goes well, the installer will tell you that the theme "... was installed successfully."
*# Back in SMF, click the '''''Upload''''' button. If all goes well, the installer will tell you that the theme "... was installed successfully." Note that there is no confirmation dialog or Cancel button, so be sure that you want to install it, when you click ''Upload'' button.
*# From your profile, select the theme, to test it.
*# From your profile, enable the new theme, to test it.
*# If you have any difficulties with the theme, switch back to the SMF default theme by using '''theme=1''' in your query string (example: <nowiki>http://www.simplemachines.org/community/index.php?theme=1</nowiki>)
*# If you have any difficulties with the new theme, switch back to the SMF default theme.
 
* '''Create a copy of Default named''' -- Use this to create a new copy of the default theme, which you can customize yourself.
*# In the input field, enter a name for your new theme.
*# Click the '''''Save''''' button.
 
* '''From a directory on the server''' -- Use this if the files are not packed into an archive, or have already been unpacked from an archive file.
*# Make sure the files are still properly arranged in directories, just as SMF expects to find them. Keeping them in subdirectories of your forum's Themes/ directory is the easiest way to do this.
*# Be certain that these theme files are compatible with your version of SMF, and that they include a file called theme_info.xml (for more on theme_info.xml, please read [[Packaging a Theme]]). Themes for prior versions of SMF will not work on SMF 2.1. Themes for SMF 2.1 will not work on prior versions.
*# Enter the directory location in the field.
*# Click the '''''Save''''' button.
 
==Theme Settings==
''Admin Center > Configuration > Themes and Layout > Theme Settings'' shows a list of all themes currently installed on the forum. On the right side of the page, beside each theme's name are 3 icons. Depending on whatever theme you might be using, these icons will look different. But they all provide the same functions.
 
The right of those 3 icons, ''Remove'', such as a red X or a trash can icon, removes this theme from your forum. It does not uninstall the theme from the server. It only removes it from the forum. If you want to remove the theme from your server, you will need to use FTP or your server's tools.
 
The middle of the 3 icons, ''Disable'', disables the theme, but does not remove it.
 
Clicking the left of the three icons, ''Settings'', displays a page of all the options and settings used by that theme. While these options are generally the same for all themes, they are not identical. You may find options in some themes that are not available in other themes.
 
<u>'''Please note:''' ''Admin Center > Configuration > Current Theme'' is considered to be a shortcut to the Settings icon on the Theme Settings page, for the theme you are personally using.</u> While it looks like it should be a free-standing page in the Configuration menu, it opens the same page as the Settings icon on the Theme Settings page, for the theme you are using. So it is a shortcut to your theme's options and settings. There is no shortcut to any other theme's settings.
 
Following are the descriptions for the Curve 2 default theme's options and settings. Remember that you may find other options if you are setting up other themes, but they are generally the same as these.
 
*'''This Theme's name''' - This field will be automatically filled with the name of the theme you clicked on. But you can change it if you like.
*'''This Theme's URL''' - This field will also be automatically filled, with the URL of the selected theme's main directory (the address in the browser).
*'''This Theme's images URL''' - This will be automatically filled with the URL of the images directory within that theme's directory. It does not have to be the same theme's directory. Some themes will use images from a different theme resulting in a different location.
*'''This Theme's directory''' - This field is automatically filled with the location of the theme's directory on your server.
*'''Logo image URL''' - If you leave this blank, either your forum's name, or the default logo will be displayed. Otherwise, upload your forum's logo wherever you like, and enter the URL here. Then your forum's logo will be displayed.
*'''Site slogan''' - If you leave this blank, the SMF logo will be displayed. Otherwise, enter a slogan or some kind of text -- "Welcome!", for example.
*'''Open Graph image''' - If you want your forum to be integrated with social media, enter the URL for an image, of the size suggested beside this option's field. Follow the text link "Open Graph" beside the field, to learn more about it.
<hr>
*'''Select default smiley set for this theme''' - Choose which set you want to use, from the four options in the dropdown menu.
<hr>
<hr>
* '''From a directory on the server''' -- If the files are not packed into an archive
*'''Enable random news line in the forum header''' - If checked, a news item will be shown randomly each time you refresh the page or navigate through the forum. The news items can be configured in ''Admin > Main > News and newsletters''.
*# Make sure the files are already arranged in directories, just as SMF expects to find them. Keeping them in subdirectories of your forum's Themes/ directory will make them easiest to keep track of
*'''Show news fader on board index''' - This will cause the news items to be shown with a fading effect between them.
*# Be certain that these theme files are compatible with your version of SMF, and that they include a file called theme_info.xml (for more on theme_info.xml, please read [[Packaging a Theme]]). The version is also listed on the page where you downloaded the theme. Themes for prior versions of SMF will not work on SMF 2.1. Themes for SMF 2.1 will not work on prior versions.
*'''Fading delay between items for the news fader''' - This sets the amount of time in milliseconds, before the next item is shown, in the news fader.
*# Select the "Install" button.
<hr>
<hr>
* '''Create a copy of Default named''' -- To create a new copy you can customize yourself
*'''Number of recent posts to display on board index''' - Here you can set the numbers of recent posts that will be displayed in the forum's main index. Set it to zero to disable this feature.
*# In the input box, enter a name for your new theme.
*'''Show statistics on board index''' - Enabling this will display detailed stats in the Info Center, at the bottom of the forum index page. Statistics such as total topics, total posts, total members, etc. will be shown.
*# Select the "Install" button.
*'''Show latest new member on board index''' - Enabling this will include the latest new member as part of the statistics in the Info Center.
*'''Show group key on board index''' - Enable or disable showing a membergroup color legend in the Users Online section of the Info Center section on the board Index page.
*'''Show who is viewing boards and topics''' - Three options are available to choose from. If you do not like this feature, simply choose Don't show. Otherwise either choose Show only numbers or Show Member names, to show how many members in numbers/names are looking at boards or topics.


===Theme Settings===
When you finish with all the settings, be sure to click the '''''Save''''' button in the bottom, right corner of the page.


====Themes List====
If you have questions about options in other themes, you could try visiting the [https://www.simplemachines.org/community/index.php Community Forum]. There are special boards set up specifically to provide support for each and every SMF theme. You could search the forum, in case other administrators have asked the same question before. If you do not find a helpful answer, you could post your question in a new topic.
The ''Themes Settings'' section of the Administration Center shows a list of all themes currently installed on the forum. Clicking on any Theme's name will take you to that theme's settings, exactly like current theme settings. If you want to remove a theme from your forum, then click on the red X, to the right of the theme's name. Doing this will only delete that theme reference from your forum settings. The actual theme contents will be left in your themes directory. To physically remove the theme from there, you need to do so using FTP.
<hr>
Looking at all the installed themes again, below the title bar containing the theme's name on the left and 3 icons on the right, there is more information about each theme. The same type of information is provided for each theme:
*'''Theme directory (templates):''' - This shows the location of the theme's directory on your server.
*'''URL to above directory:''' - This is the URL of the theme's directory, on the internet.
*'''URL to images directory:''' - This is the URL of the images directory, within the theme's directory.


At the bottom of this page is: '''Reset Theme URLs and Directories'''. Here you can reset the base url and base path to your themes directory by selecting '''Attempt to reset all themes'''.


'''When selecting the link for any theme listed on this page, or selecting the "Current Theme" option in the menu, you will be lead to page with the following settings:'''
Finally, below all your themes, at the bottom of this page is a section called '''''Reset Theme URLs and Directories'''''. If you need to move your theme's directories and reset their URLs, for some reason, you can do that here.


=====Theme URLs and Configuration=====
==Member Options==
''Admin Center > Configuration > Themes and Layout > Member Options'' lists all the installed themes. Each theme may have its own custom options for selection by your members. These include things like avatars, signatures, layout options and other similar options. Here you can change the defaults or reset everyone's options.


This part contains the paths needed for the theme as well as its name. The following fields are used in this part:
Please note that some themes may use the default options, in which case they will not have their own options.
*'''This Theme's name''' - Although this field will be filled with a theme name, you can change it if you like. This will only affect the name that will be shown to members when they choose a theme from their profiles.
*'''This Theme's URL''' - This will be also filled automatically with the location of the theme main directory (the address you use in a browser's bar).
*'''This Theme's images URL''' - This is similar to the above but must point to the images directory that the theme uses. It does not have to be the same location as the theme directory. Some themes will use images from a different theme resulting in a different location.
*'''This Theme's directory''' - This one is different from the previous two. It will contain the exact location/path of the theme directory in your website. If you do not know where your theme directory is, you can try clicking the Edit Server Settings and looking at the content of SMF Directory, adding /Themes/your_theme to that will be your theme current location.


=====Theme Options and Preferences=====
The options are organized into three groups, for each installed theme. The first two groups allow you to set or re-set the same options, except they apply to different groups of users. The third group is very different, in that it does not affect individual options -- it changes them all at once. Read more:
This part contains various settings that will affect the look and functionality of a theme. Note that some themes may add some new options here. Also from here, you can set or reset options for members. The following is a description of each element found in this part:
*'''Logo image URL''' - Put in a url to a logo image you would like to use on the top of your forum.
*'''Site slogan''' - If supplied, this text will replace the simple machines logo.
*'''Select default smiley set for this theme''' - Here you can choose which smiley set the theme will be using. You can choose the global smiley set used by the forum or one from the available sets or none.
*'''Forum width''' - This sets the width of the pages of your forum. If it's set to less than 100%, you might see gaps at the edges of each page. This only, really, needs to be adjusted if your pages seem to wide, or two narrow, for your browser. Although, please remember that changing this setting will affect all of your members, not just you.
*'''Show current position in forum as link instead of text''' - When you browse the forum, your current location is displayed on top. This location can be shown as just text; or as links, to simplify navigation.
*'''Enable and show 'Mark as Read' buttons''' - This will give you the option to show or disable viewing 'Mark as Read' button that can be found in [[Board index]] and message index.
*'''Allow users to turn off word censoring''' - If ticked, members can choose whether or not to censor words. For this to work a list of words must be entered first in (Edit Censored Words).
*'''Enable random news line in the forum header''' - If ticked a news item will be shown randomly each time you refresh the page or navigate through the forum. The news items can be configured in ''Admin > Main > News and newsletters''.
*'''Show news fader on board index''' - This will cause a news box to be shown in the Board index that will display all news items with a fading effect between them. You can control how long a news item is shown by setting the time in milliseconds to display each item in the news fader field.
*'''Fading delay between items for the news fader''' - This sets the amount of time that each news item is displayed, before the next item is shown, in the news fader.
*'''Number of recent posts to display on board index''' - Here you can set the numbers of recent posts that will be displayed in the forum's main index. Set it to zero to disable showing any posts.
*'''Show statistics on board index''' - Enabling this will display detailed stats on the info center such as total topics, total posts, total members, etc. Disabling it will hide the stats in the info center and show basic stats above the first [[Category]] in board index. Also, a personal message bar will be shown at the end of the info center if the user is logged in, and a login bar if the user is logged out.
*'''Show latest [[Member]] on board index''' - This option will work with enable statistics on board index unchecked. It will add a welcome note and link to the latest member.
*'''Show group key on board index''' - Enable or disable showing a membergroup color legend in the Who's Online block in the Info Center section of the board Index.
*'''Show who is viewing the Board index and posts''' - Three options are available to choose from. If you do not like this feature, simply choose Don't show. Otherwise either choose Show only numbers or Show Member names, to show how many members in numbers/names are looking at a [[Board]], [[Message index]], or a post.
*'''Show last modification date on modified posts''' - If ticked, this will cause a note to be written in each modified post, which will state the name of the member who modified it and the time of modification.
*'''Show view [[Profile]] button under post''' - If ticked, this will display a small icon below the member's name in their posts that will take you to that member's profile.
*'''Show user avatars in message view''' - Enable or disable showing of a member's [[Avatar]] in posts under his/her name.
*'''Show personal text in message view''' - Enable or disable showing personal text in posts under the Member avatar.
*'''Show gender images in message view''' - Enable or disable showing a gender image in posts under the member's name. The gender image is a small icon that indicates if the member is male or female. This is only useful if members select their gender in their profiles.
*'''Hide [[Post]] group titles for grouped members''' - Enabling this will hide a member's post group title on the message view if they are assigned to a non-post based group.
*'''Show BBC Buttons on Posting and PM Send Pages''' - This will either show or hide Bulletin Board Code buttons. The BBC will be not affected, only the buttons will be hidden if this option is ticked.
*'''Enable collapsible additional Post options''' - This option controls showing extra options when posting such as notify me of replies, and attach. You may either always show those options on or hide them and use an arrow to display them.


===Member Options===
#'''Configure guest and new user options for this theme''' - These are the default values for some member-specific settings. Changing these will only affect new members and guests. Check the box to make the statement next to it true, otherwise the option will not be used. See the options described just a bit below.
On the '''Member options''' page of your Administration Center you can control the default theme options for your members.
#'''Change current options for all members using this theme''' - These will reset the very same member-specific options, except in this case, for everyone. The options are described a few lines below. They work like this:
#*To change an option, select "Change" from the dropdown menu on the left. Then choose the specific setting you want on the right -- check a box, or not; choose something from a dropdown menu; set a specific value; etc.
#*To use the default, select "Default" from the dropdown menu on the left.
#*Otherwise, select "Don't change" to keep it as-is, whatever it is.
#'''Remove all members' options and use the defaults''' - Click this to remove any non-default options a user has already selected for the theme they are using. Next to the link you can see the number of members who are using non-default options for that theme. '''NOTE!''' <u>One click changes them all at once. Also NO confirmation dialog will be presented before everything is reset. Consider this option carefully before using it!</u>


====Resetting the options====
First you will be given the following options for each theme you have installed on your forum:
*'''Configure guest and new user options for this theme''' - These are the default values for some member specific settings. Changing these will only affect new members and guests. Check the box to make the statement next to it true, otherwise the option will not be used.
*'''Change current options for all members using this theme''' - The options below will reset options for everyone. To change an option, select "change" in the box next to it, and then select a value for it. To use the default, select "remove". Otherwise, use "don't change" to keep it as-is.
*'''Remove all member's options and use the defaults''' - This option will remove any altered options a user has selected from the default options set for the theme the member is using. Next to the link you can see the number of members that are using non-default options for that theme. '''Note:''' no confirmation will be asked before the reset to default the options.


=====The options and their meanings=====
Here is the description for each of the options available in the first and second groups numbered above.


Upon clicking on one of the above options you will be taken to a page that has the following theme options that you can manage:
*'''Board and Topic Display'''
*'''Show board descriptions inside boards.''' - This will show the description you see next to each board on the board Index inside each board as well.
**'''Show sub-boards on every page inside boards, not just the first''' - If you select this, sub-boards (previously called "child boards") will be listed on every page of a board rather then just the first page. A board will have multiple pages when more topics than the defined number of topics per page has been reached.
*'''Show child boards on every page inside boards, not just the first.''' - If you select this, child boards will be listed on every page of a board rather then just the first page. A board will have multiple pages when more topics than the defined number of topics per page has been reached.
**'''Show most recent posts at the top in topic view''' - Having this checked will show the newest posts first in a topic and the replies will get older and older as they go along, instead of the typical format, showing the oldest posts first.
*'''Use sidebar menus instead of dropdown menus when possible''' - This option allows to set as default to use a sidebar with all the navigation menus whenever possible in SMF's interface (e.g. in the [[Administration Center|admin panel]]) instead of the dropdown menus.
**'''Don't show users' avatars''' - Select this to hide the display of members' avatars. This may speed page viewing for those who have a limited internet connection.
*'''Don't show users' avatars.''' - Select this to hide the display of members' avatars. This may speed page viewing for those who have dial-up internet connection.
**'''Don't show users' signatures''' - To disable the showing of signatures under posts, check this.
*'''Don't show users' signatures.''' - To disable the showing of signatures underneath each post made by a member, check this.
**'''Hide messages posted by members on my ignore list''' - If activated, the messages posted by members listed in the user's [[Profile#Buddies.2FIgnore_List|ignore list]] will not be displayed. This box is checked by default.
*'''Leave words uncensored.''' - With this setting checked, words that normally would be replaced with the censor filter will be left untouched.
*'''Posting'''
*'''Return to topics after posting by default.''' - Check this box if you wish to return to the post you just submitted instead of returning to the index of the board you posted the topic in.
**'''Return to topics after posting by default''' - Check this box if you wish to return members to the post they just submitted instead of returning them to the index of the board in which they posted the topic. This box is checked by default.
*'''Don't warn on new replies made while posting.''' - While posting a topic, another member could have posted a [[reply]] since you started posting a reply, with this unchecked, a warning will be shown before the post is submitted telling you a reply was made to the topic. Check this if you wish to not show the warning and just submit the reply.
**'''Don't warn on new replies made while posting''' - Sometimes when users post a reply, no matter how fast they might be, someone else could post a reply ahead of them. If you leave this box unchecked, they would see a warning after they click Submit, that someone else posted a message while they were typing and composing their reply. It gives users a chance to edit their message before it is posted, to take the other member's comments into consideration. Generally this helps to keep a discussion more smooth and straight-forward.
*'''Show most recent posts at the top.''' - Having this checked will show the newest posts first in a topic and the replies will get older and older as they go along instead of showing the oldest posts first.
**'''Turn notification on when you post or reply to a topic''' - When this is checked, whenever a user posts a message, they will be automatically notified when someone else replies to it.
*'''Show most recent personal messages at top.''' - Checking this will show the most recent personal messages on the top, and they will go down as they get older and older.
**'''Load editor in WYSIWYG mode by default''' - Checking this will have the ''What You See Is What You Get'' style editor shown as the default editor for all members. Note that users can switch back and forth to the editor they want, by clicking the ''Toggle'' icon beside the bbcode buttons.
*'''Hide messages posted by members on my ignore list''' - If activated the messages posted by members present in the user's [[Profile#Buddies.2FIgnore_List|ignore list]] will not be displayed.
**'''Enable automatic saving of drafts''' - Checking this box automatically saves an unfinished message for users, if the window is closed or browsed away before it is finished.
*'''Show WYSIWYG editor on post page by default''' - Checking this will have the ''What You See Is What You Get'' style postbox shown as the default editor each time the posting page is loaded. You can always switch back and forth to the editor you want however by clicking the ''Toggle'' icon next the bbcode buttons.
**'''Enable the selection of drafts from the posting screen''' - If a user has any unfinished drafts, they can see and select them, when they try to post another message. It gives them the opportunity to finish and send them, or to delete them. This option is checked by default.
*'''Show a pop-up when I receive new messages''' - Set this to have a pop-up shown to the user after they receive a new personal message.
*'''Moderation'''
*'''Save a copy of each Personal Message in my sent items by default.''' - With this selected, the checkbox when sending a a personal message to save a copy of the message into your sent items directory will be initially checked.
**'''Show quick-moderation as''' - Choose whether you wish to show quick moderation boxes on the message index next to each topic, as icons (which would disable the use of mass-moderation), checkboxes or not show them at all.
*'''Remove the inbox label when applying another label'''. - With this checked, when a label is applied to a personal message, the inbox label of the personal message will be removed.
*'''Personal Messages'''
*'''Turn notification on when you post or reply to a topic.''' - With this checked, the checkbox to send out notification of replies to a topic you post in will by default be checked.
**'''Show a pop-up when I receive new messages''' - Set this to have a pop-up shown to the user after they receive a new personal message. This option is checked by default.
*'''Topics to display per page''' - Determines how many topics (topic subject with link to topic, as well as view and reply count and last post information) should be shown per page on the topic listing when inside of a board.
**'''Show most recent personal messages at top''' - Checking this will show the most recent personal messages on the top, and they will go down as they get older and older.
*'''Messages to display per page''' - Determines how many posts should be shown per page when inside of a topic.
**'''Remove the inbox label when applying another label''' - With this checked, when a label is applied to a personal message, the inbox label of the personal message will be removed.
*'''Use Quick Reply on Topic display''' - Select if you wish to not show [[quick reply]] at all, or show it but collapsed, or just show it at full height.
*'''Calendar'''
*'''Show quick-moderation as.''' - Select whether you wish to show quick moderation boxes on the message index next to each topic of a board as icons (which would disable the use of mass-moderation), checkboxes or not show them at all.
**'''Default view on Calendar page''' - Choose from the dropdown menu, ''List view, Month view,'' or ''Week view''.
**'''First day of the week on the calendar''' - Choose which day you want for the first day of the week, from the dropdown menu.
*Be sure to click the '''''Save''''' button at the bottom, right corner, when you finish making all your choices.


===Modify Themes===
==Modify Themes==


Every theme you have installed on your Forum is listed here. Underneath every theme the following are listed:
Here again, is a list of all the themes which have been installed on your forum. This section specifically provides options for modifying the themes directly. You can modify the source codes and/or stylesheets.


'''Browse the templates and files in this theme''' - Lists all template files a theme has. You may click on any template file and edit it straight from there.
'''Browse the templates and files in this theme''' - Lists all template files a theme has. You may click on any template file and edit it straight from there.
Line 121: Line 140:
'''Copy a template from the Theme this is based on''' - Here you can select a template file that the Theme is based on (usually the default SMF theme) and copy it over to the theme.
'''Copy a template from the Theme this is based on''' - Here you can select a template file that the Theme is based on (usually the default SMF theme) and copy it over to the theme.


''It is not recommended to edit a theme in this way as no [[backup]] is created if an improper edit is made so there is nothing to restore which can not be done if the forum is in a crashed state.''
'''''Please note:'''It is NOT recommended to use any of those three links to edit the theme. First, the text editor provided in those sections does not make backups for you. And second, the edits that you make there are automatic and live. So a wrong edit might break the forum, and you will not have a backup file to fix it. Instead, (1) make your own backup file before you start, (2) use your own text editor to make the edits, (3) upload them to your server, and (4) if the edits caused a problem, use your backup file to fix it. ''
 


{{ {{Localized|As an administrator 2.1}}}}
{{ {{Localized|As an administrator 2.1}}}}

Latest revision as of 00:52, 1 January 2024

Under construction-48.png Work in progress, expect frequent changes. Under construction-48.png

Please see SMF1.1:Themes and Layout, SMF2.0:Themes and Layout or SMF2.1:Themes and Layout depending on the version of SMF you are using.

Themes can provide a different look and feel for a forum, and sometimes for specific boards. A very skilled design can make a forum easier to use, and of course make it look great. Administrators can install and configure as many themes as they would like to provide for their members' comfort and enjoyment. Or they may choose to use only one theme, perhaps as a sense of identity for the forum, like branding.

The more themes you have to manage, the more work is required to maintain them, through upgrades of not just the themes, but upgrades to the core forum program, as well as to any other modifications you might install. Also keep in mind dealing with error messages when some upgrade, or even a changed setting somewhere, suddenly creates some kind of incompatibility. These are all things to be considered when deciding how many themes you want to install.

Admin Center > Configuration > Themes and Layout has four main tabs or sub-menu items: Manage and Install, Theme Settings, Member Options, and Modify Themes.

Manage and Install

On this page, you can download, install, and manage themes. Options for this tab/page are described below, in three sections: Settings, Obtaining Themes, and Install a Theme.

Settings

  • Allow members to select their own themes - Check the box if you want to allow your members to choose a theme from two or more themes which you provide for them.
  • Themes that the user is able to select - Click [ Show the list of themes ] to show all the themes currently installed. Check the one or ones which you want your members to be able to use. Any that are not checked, will not be available for members, but administrators can still use them.
  • Overall forum default - Specify the overall forum default theme. This theme will be used for guests, new members, and members who did not choose a theme, including members who specifically chose the default theme for their own.
  • Reset everyone to - You can reset all members to a specific theme, regardless of their theme preference. Note that even when this setting is set to No change, all users that have Forum or Board Default set as their theme in their profile will still have their theme changed when the option, Overall forum default is changed.

Click the Save button in the bottom, right corner of this section, when you finish with those settings.

Obtaining Themes

In this section is a URL text link, which you can click to browse through, preview, search for, and download available themes.

Install a New Theme

This section provides three ways to install a new theme.

  • From an archive - An archive is a compressed file, such a .zip or .tar.gz.
    1. After you have chosen one or more nice themes on the SMF Theme Site, download the archive files to your computer. Be certain that the theme is compatible with your version of SMF. Themes for prior versions of SMF will not work on SMF 2.1. Themes for SMF 2.1 will not work on prior versions.
    2. Click the "Browse" button under "From an archive".
    3. From the pop-up window, navigate to the theme file (still compressed as a .zip or .tar.gz file) on your computer.
    4. Click the Open button, at the bottom, right corner.
    5. Back in SMF, click the Upload button. If all goes well, the installer will tell you that the theme "... was installed successfully." Note that there is no confirmation dialog or Cancel button, so be sure that you want to install it, when you click Upload button.
    6. From your profile, enable the new theme, to test it.
    7. If you have any difficulties with the new theme, switch back to the SMF default theme.
  • Create a copy of Default named -- Use this to create a new copy of the default theme, which you can customize yourself.
    1. In the input field, enter a name for your new theme.
    2. Click the Save button.
  • From a directory on the server -- Use this if the files are not packed into an archive, or have already been unpacked from an archive file.
    1. Make sure the files are still properly arranged in directories, just as SMF expects to find them. Keeping them in subdirectories of your forum's Themes/ directory is the easiest way to do this.
    2. Be certain that these theme files are compatible with your version of SMF, and that they include a file called theme_info.xml (for more on theme_info.xml, please read Packaging a Theme). Themes for prior versions of SMF will not work on SMF 2.1. Themes for SMF 2.1 will not work on prior versions.
    3. Enter the directory location in the field.
    4. Click the Save button.

Theme Settings

Admin Center > Configuration > Themes and Layout > Theme Settings shows a list of all themes currently installed on the forum. On the right side of the page, beside each theme's name are 3 icons. Depending on whatever theme you might be using, these icons will look different. But they all provide the same functions.

The right of those 3 icons, Remove, such as a red X or a trash can icon, removes this theme from your forum. It does not uninstall the theme from the server. It only removes it from the forum. If you want to remove the theme from your server, you will need to use FTP or your server's tools.

The middle of the 3 icons, Disable, disables the theme, but does not remove it.

Clicking the left of the three icons, Settings, displays a page of all the options and settings used by that theme. While these options are generally the same for all themes, they are not identical. You may find options in some themes that are not available in other themes.

Please note: Admin Center > Configuration > Current Theme is considered to be a shortcut to the Settings icon on the Theme Settings page, for the theme you are personally using. While it looks like it should be a free-standing page in the Configuration menu, it opens the same page as the Settings icon on the Theme Settings page, for the theme you are using. So it is a shortcut to your theme's options and settings. There is no shortcut to any other theme's settings.

Following are the descriptions for the Curve 2 default theme's options and settings. Remember that you may find other options if you are setting up other themes, but they are generally the same as these.

  • This Theme's name - This field will be automatically filled with the name of the theme you clicked on. But you can change it if you like.
  • This Theme's URL - This field will also be automatically filled, with the URL of the selected theme's main directory (the address in the browser).
  • This Theme's images URL - This will be automatically filled with the URL of the images directory within that theme's directory. It does not have to be the same theme's directory. Some themes will use images from a different theme resulting in a different location.
  • This Theme's directory - This field is automatically filled with the location of the theme's directory on your server.
  • Logo image URL - If you leave this blank, either your forum's name, or the default logo will be displayed. Otherwise, upload your forum's logo wherever you like, and enter the URL here. Then your forum's logo will be displayed.
  • Site slogan - If you leave this blank, the SMF logo will be displayed. Otherwise, enter a slogan or some kind of text -- "Welcome!", for example.
  • Open Graph image - If you want your forum to be integrated with social media, enter the URL for an image, of the size suggested beside this option's field. Follow the text link "Open Graph" beside the field, to learn more about it.

  • Select default smiley set for this theme - Choose which set you want to use, from the four options in the dropdown menu.

  • Enable random news line in the forum header - If checked, a news item will be shown randomly each time you refresh the page or navigate through the forum. The news items can be configured in Admin > Main > News and newsletters.
  • Show news fader on board index - This will cause the news items to be shown with a fading effect between them.
  • Fading delay between items for the news fader - This sets the amount of time in milliseconds, before the next item is shown, in the news fader.

  • Number of recent posts to display on board index - Here you can set the numbers of recent posts that will be displayed in the forum's main index. Set it to zero to disable this feature.
  • Show statistics on board index - Enabling this will display detailed stats in the Info Center, at the bottom of the forum index page. Statistics such as total topics, total posts, total members, etc. will be shown.
  • Show latest new member on board index - Enabling this will include the latest new member as part of the statistics in the Info Center.
  • Show group key on board index - Enable or disable showing a membergroup color legend in the Users Online section of the Info Center section on the board Index page.
  • Show who is viewing boards and topics - Three options are available to choose from. If you do not like this feature, simply choose Don't show. Otherwise either choose Show only numbers or Show Member names, to show how many members in numbers/names are looking at boards or topics.

When you finish with all the settings, be sure to click the Save button in the bottom, right corner of the page.

If you have questions about options in other themes, you could try visiting the Community Forum. There are special boards set up specifically to provide support for each and every SMF theme. You could search the forum, in case other administrators have asked the same question before. If you do not find a helpful answer, you could post your question in a new topic.


Looking at all the installed themes again, below the title bar containing the theme's name on the left and 3 icons on the right, there is more information about each theme. The same type of information is provided for each theme:

  • Theme directory (templates): - This shows the location of the theme's directory on your server.
  • URL to above directory: - This is the URL of the theme's directory, on the internet.
  • URL to images directory: - This is the URL of the images directory, within the theme's directory.


Finally, below all your themes, at the bottom of this page is a section called Reset Theme URLs and Directories. If you need to move your theme's directories and reset their URLs, for some reason, you can do that here.

Member Options

Admin Center > Configuration > Themes and Layout > Member Options lists all the installed themes. Each theme may have its own custom options for selection by your members. These include things like avatars, signatures, layout options and other similar options. Here you can change the defaults or reset everyone's options.

Please note that some themes may use the default options, in which case they will not have their own options.

The options are organized into three groups, for each installed theme. The first two groups allow you to set or re-set the same options, except they apply to different groups of users. The third group is very different, in that it does not affect individual options -- it changes them all at once. Read more:

  1. Configure guest and new user options for this theme - These are the default values for some member-specific settings. Changing these will only affect new members and guests. Check the box to make the statement next to it true, otherwise the option will not be used. See the options described just a bit below.
  2. Change current options for all members using this theme - These will reset the very same member-specific options, except in this case, for everyone. The options are described a few lines below. They work like this:
    • To change an option, select "Change" from the dropdown menu on the left. Then choose the specific setting you want on the right -- check a box, or not; choose something from a dropdown menu; set a specific value; etc.
    • To use the default, select "Default" from the dropdown menu on the left.
    • Otherwise, select "Don't change" to keep it as-is, whatever it is.
  3. Remove all members' options and use the defaults - Click this to remove any non-default options a user has already selected for the theme they are using. Next to the link you can see the number of members who are using non-default options for that theme. NOTE! One click changes them all at once. Also NO confirmation dialog will be presented before everything is reset. Consider this option carefully before using it!


Here is the description for each of the options available in the first and second groups numbered above.

  • Board and Topic Display
    • Show sub-boards on every page inside boards, not just the first - If you select this, sub-boards (previously called "child boards") will be listed on every page of a board rather then just the first page. A board will have multiple pages when more topics than the defined number of topics per page has been reached.
    • Show most recent posts at the top in topic view - Having this checked will show the newest posts first in a topic and the replies will get older and older as they go along, instead of the typical format, showing the oldest posts first.
    • Don't show users' avatars - Select this to hide the display of members' avatars. This may speed page viewing for those who have a limited internet connection.
    • Don't show users' signatures - To disable the showing of signatures under posts, check this.
    • Hide messages posted by members on my ignore list - If activated, the messages posted by members listed in the user's ignore list will not be displayed. This box is checked by default.
  • Posting
    • Return to topics after posting by default - Check this box if you wish to return members to the post they just submitted instead of returning them to the index of the board in which they posted the topic. This box is checked by default.
    • Don't warn on new replies made while posting - Sometimes when users post a reply, no matter how fast they might be, someone else could post a reply ahead of them. If you leave this box unchecked, they would see a warning after they click Submit, that someone else posted a message while they were typing and composing their reply. It gives users a chance to edit their message before it is posted, to take the other member's comments into consideration. Generally this helps to keep a discussion more smooth and straight-forward.
    • Turn notification on when you post or reply to a topic - When this is checked, whenever a user posts a message, they will be automatically notified when someone else replies to it.
    • Load editor in WYSIWYG mode by default - Checking this will have the What You See Is What You Get style editor shown as the default editor for all members. Note that users can switch back and forth to the editor they want, by clicking the Toggle icon beside the bbcode buttons.
    • Enable automatic saving of drafts - Checking this box automatically saves an unfinished message for users, if the window is closed or browsed away before it is finished.
    • Enable the selection of drafts from the posting screen - If a user has any unfinished drafts, they can see and select them, when they try to post another message. It gives them the opportunity to finish and send them, or to delete them. This option is checked by default.
  • Moderation
    • Show quick-moderation as - Choose whether you wish to show quick moderation boxes on the message index next to each topic, as icons (which would disable the use of mass-moderation), checkboxes or not show them at all.
  • Personal Messages
    • Show a pop-up when I receive new messages - Set this to have a pop-up shown to the user after they receive a new personal message. This option is checked by default.
    • Show most recent personal messages at top - Checking this will show the most recent personal messages on the top, and they will go down as they get older and older.
    • Remove the inbox label when applying another label - With this checked, when a label is applied to a personal message, the inbox label of the personal message will be removed.
  • Calendar
    • Default view on Calendar page - Choose from the dropdown menu, List view, Month view, or Week view.
    • First day of the week on the calendar - Choose which day you want for the first day of the week, from the dropdown menu.
  • Be sure to click the Save button at the bottom, right corner, when you finish making all your choices.

Modify Themes

Here again, is a list of all the themes which have been installed on your forum. This section specifically provides options for modifying the themes directly. You can modify the source codes and/or stylesheets.

Browse the templates and files in this theme - Lists all template files a theme has. You may click on any template file and edit it straight from there.

Edit this theme's style sheet - Shows the theme's style sheet. There is a built in preview of the theme you are editing and you can see what the changes would look like before you even save the changes.

Copy a template from the Theme this is based on - Here you can select a template file that the Theme is based on (usually the default SMF theme) and copy it over to the theme.

Please note:It is NOT recommended to use any of those three links to edit the theme. First, the text editor provided in those sections does not make backups for you. And second, the edits that you make there are automatic and live. So a wrong edit might break the forum, and you will not have a backup file to fix it. Instead, (1) make your own backup file before you start, (2) use your own text editor to make the edits, (3) upload them to your server, and (4) if the edits caused a problem, use your backup file to fix it.


Main

Configuration

Forum

Members

Maintenance

Miscellaneous




Advertisement: