Miscellaneous changes to default templates
Page 1 of 1
Miscellaneous changes to default templates
Miscellaneous changes to default templates |
Interest of this topicThis only topic is reserved for posting minor changes to default templates. These are changes made as part of a fix or minor improvement to existing functionality. Although all significant updates are usually subject to a dedicated announcement on our support forum and are accompanied, if necessary, by instructions on modifying custom templates, some small fixes are not announced in this way. Sometimes, the improvement affects only one version of the forum or concerns a template very rarely modified by users. To help you stay up to date and easily find the history of all changes, we will post all "minor" updates to default templates here. As a reminder, in case of change, the basic templates are automatically updated on all forums, however administrators who have customized their templates must make the changes manually. Follow this topicDo not hesitate to watch the replies of this topic in order to be informed of the modifications of the templates to be made. |
A Forumotion Important Announcement |
skouliki, SLGray, SarkZKalie and Mimóza like this post
Template modcp_body: Display of topic authors on the Moderator Control Panel
Display of topic authors on the Moderator Control Panel: modcp_body template update
Following one of suggestions or our community, topic authors are now displayed on a forum's mass moderation panel.
| Administrators who have customized the template modcp_body before 23 August 2022 should consider the changes below. (Administrators who have not customized this template are not affected by these changes included natively in the basic template of the forum.) |
Changes for the modcp_body template
- Awesomebb:
REPLACE- Code:
<td data-th="{L_TOPICS} : ">{topicrow.TOPIC_TYPE}<a class="topictitle" href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a></td>
WITH- Code:
<td data-th="{L_TOPICS} : ">{topicrow.TOPIC_TYPE}
<a class="topictitle" href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a>
<span class="forum-lastpost-author"><i class="material-icons">person</i><strong><a class="author" href="{topicrow.U_VIEW_AUTHOR}">{topicrow.TOPIC_AUTHOR}</a></strong></span>
</td>
- ModernBB:
REPLACE- Code:
<td>{topicrow.TOPIC_TYPE}<a class="topictitle" href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a></td>
WITH- Code:
<td>{topicrow.TOPIC_TYPE}
<a class="topictitle" href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a>
<div class="topic-author">
{topicrow.L_BY} <a href="{topicrow.U_VIEW_AUTHOR}">{topicrow.TOPIC_AUTHOR}</a>
</div>
</td>
- PHPBB2:
REPLACE- Code:
<td class="row1"><span class="topictitle">{topicrow.TOPIC_TYPE}<a class="topictitle" href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a></span></td>
WITH- Code:
<td class="row1">
<span class="topictitle">{topicrow.TOPIC_TYPE}<a class="topictitle" href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a></span>
<div class="postdetails">
{topicrow.L_BY} <a class="gensmall" href="{topicrow.U_VIEW_AUTHOR}">{topicrow.TOPIC_AUTHOR}</a>
</div>
</td>
- PHPBB3:
REPLACE- Code:
<td>{topicrow.TOPIC_TYPE}<a class="topictitle" href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a></td>
WITH- Code:
<td>
{topicrow.TOPIC_TYPE}<a class="topictitle" href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a>
<div class="span-tab">
{topicrow.L_BY} <a href="{topicrow.U_VIEW_AUTHOR}">{topicrow.TOPIC_AUTHOR}</a>
</div>
</td>
- Invision:
REPLACE- Code:
<td class="row2">{topicrow.TOPIC_TYPE}<a class="topictitle" href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a></td>
WITH- Code:
<td class="row2">
{topicrow.TOPIC_TYPE}<a class="topictitle" href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a>
<div class="topic-author">
{topicrow.L_BY} <a href="{topicrow.U_VIEW_AUTHOR}">{topicrow.TOPIC_AUTHOR}</a>
</div>
</td>
- PunBB:
REPLACE- Code:
<td class="tcr">{topicrow.TOPIC_TYPE}<a class="topictitle" href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a></td>
WITH- Code:
<td class="tcr">
{topicrow.TOPIC_TYPE}<a class="topictitle" href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a>
<div class="gensmall">
{topicrow.L_BY} <a href="{topicrow.U_VIEW_AUTHOR}">{topicrow.TOPIC_AUTHOR}</a>
</div>
</td>
| The template affected by the changes below can be found here:
|
AwesomeBB, template overall_header: Fixed display of live notifications
[AwesomeBB] Display of live notifications: updated overall_header template
Small fixes have been made to the AwesomeBB version to improve the display of live forum notifications.
Admins who customized the overall_header template before 5 September 2022 should consider the changes below:
- AWESOMEBB:
REPLACE:- Code:
<div id="notif-menu" class="hidden">
<div class="main-menu-headline" data-text="_lang['Notifications']"></div>
<ul id="notif_list">
<li id="notif-view-all"><a href="/profile?mode=editprofile&page_profil=notifications" data-text="_lang['Notif_see_all']"></a></li>
</ul>
<div id="live_notif">
</div>
</div>
WITH:- Code:
<div id="notif-menu" class="hidden">
<div class="main-menu-headline" data-text="_lang['Notifications']"></div>
<ul id="notif_list">
<li id="notif-view-all"><a href="/profile?mode=editprofile&page_profil=notifications" data-text="_lang['Notif_see_all']"></a></li>
</ul>
</div>
<div id="live_notif">
</div>
| The template affected by the changes below can be found here:
|
[Mobile version] Template privmsgs_read_body / Fixed bug on PM view
[Mobile version] Fix of a bug on the view of a PM: update of the template privmsgs_read_body
In mobile version, a small modification of the template privmsgs_read_body has been made to fix a bug on the view of a PM.
(It was a link on the floating button which had the action of sending a new PM and not a response).
The mobile version's privmsgs_read_body template is rarely customized, but if you edited it before 6 September 2022, here are the changes to make:
- ALL VERSIONS:
REPLACE:- Code:
<a href="{POST_PM_URL}" class="btn-floating">
WITH:- Code:
<a href="{REPLY_PM_URL}" class="btn-floating" title="{L_REPLY}">
| The template affected by the changes below can be found here:
|
[ModernBB]Template viewforum_body / Display description of each forum and sub-forum
[ModernBB] Display of the description of each forum and sub-forum: update of the template viewforum_body
For those using the ModernBB version, we now display the description of each forum and sub-forum on its respective page.
In case of template viewforum_body modified before 7 September 2022, here are the changes to make:
- MODERNBB:
ADD:- Code:
<!-- BEGIN switch_forum_desc -->
<div id="page-desc" class="block">
<div class="page-desc-content">
<div>{SINGLE_FORUM_DESC}</div>
</div>
</div>
<!-- END switch_forum_desc -->
BEFORE:- Code:
<div class="topic-actions">
<div class="pagination">
{PAGINATION}
</div>
<div class="topic-actions-buttons">
<!-- BEGIN show_plus_menu -->
<a href="{U_MARK_READ}"><i class="ion-android-checkmark-circle"></i>{L_MARK_TOPICS_READ}</a>
<script type="text/javascript">//<![CDATA[
var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}';
var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}';
var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}';
var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}';
insert_plus_menu_new('f{FORUM_ID}&f={FORUM_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
//]]>
</script>
<!-- END show_plus_menu -->
</div>
</div>
| The template affected by the changes below can be found here:
|
[AwesomeBB] Template search_results_topics / Display of topic icons on the search pages
[AwesomeBB] Display of topic icons on the watched topics page and the search pages: updated search_results_topics template
In AwesomeBB version, we display now the topic icons on the watched topics page and the search pages.
Admins who customized the search_results_topics template before 5 September 2022 should consider the changes below:
- AWESOMEBB:
REPLACE :- Code:
<div class="block-topics-icon {searchresults.ROW_ALT_CLASS} {searchresults.TOPIC_READ_STATUS} {searchresults.ICON_CLASS}" title="{searchresults.L_TOPIC_FOLDER_ALT}">
<i class="material-icons">forum</i>
WITH :- Code:
<div class="block-topics-icon {searchresults.ROW_ALT_CLASS} {searchresults.TOPIC_READ_STATUS} {searchresults.ICON_CLASS}" title="{searchresults.L_TOPIC_FOLDER_ALT}">
<i class="material-icons">{searchresults.ICON_NAME}</i>
| The template affected by the changes below can be found here:
|
Niko, MattiaDes, Jucarese and Mat like this post
Similar topics
» Templates randomly not loading
» Forced Default Templates .
» templates
» How to use the templates?
» Modifications in the templates and CSS
» Forced Default Templates .
» templates
» How to use the templates?
» Modifications in the templates and CSS
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum