Here are the changes that have been made in the most widely used templates in SMF. This doc will be useful for both the theme authors or for the ones that have a custom theme. If you don't have some of the files in your theme's directory, don't worry, the file from the default theme will be used instead:
- style.css (#post_style)
- index template (#post_index)
- BoardIndex template (#post_BoardIndex)
- MessageIndex template (#post_MessageIndex)
- Display template (#post_Display)
style.css
.mirrortab_first, .mirrortab_back, .mirrortab_last
.mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last
.mirrortab_back
.mirrortab_back, .mirrortab_active_back
.mirrortab_last
{
background-image: url(images/mirrortab_last.gif);
background-repeat: no-repeat;
width: 6px;
}
.mirrortab_active_first
{
background-image: url(images/mirrortab_active_first.gif);
background-repeat: no-repeat;
width: 6px;
}
.mirrortab_active_back
{
background-image: url(images/mirrortab_active_back.gif);
background-repeat: repeat-x;
}
.mirrortab_active_last
{
background-image: url(images/mirrortab_active_last.gif);
background-repeat: no-repeat;
width: 8px;
}
.mirrortab_back a:link , .mirrortab_back a:visited
.mirrortab_back a:link , .mirrortab_back a:visited, .mirrortab_active_back a:link , .mirrortab_active_back a:visited
.mirrortab_back a:hover
.mirrortab_back a:hover, .mirrortab_active_back a:hover
/* The AJAX notifier */
#ajax_in_progress
{
background: #32CD32;
color: white;
text-align: center;
font-weight: bold;
font-size: 18pt;
padding: 3px;
width: 100%;
position: fixed;
top: 0;
left: 0;
}
index template
// Version: 1.1 RC2; index
// Version: 1.1 RC3; index
$settings['theme_version'] = '1.1 RC2';
$settings['theme_version'] = '1.1 RC3';
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc2p"></script>
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc3"></script>
// The ?rc2 part of this link is just here to make sure browsers don't cache it wrongly.
echo '
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/style.css?rc2" />
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc2" media="print" />';
// The ?rc3 part of this link is just here to make sure browsers don't cache it wrongly.
echo '
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/style.css?rc3" />
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc3" media="print" />';
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else
{
echo '
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else
{
echo ' </span>
<form action="', $scripturl, '?action=login2" method="post" class="middletext" style="margin: 3px 1ex 1px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
<form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" class="middletext" style="margin: 3px 1ex 1px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
<option value="302400">', $txt['smf49'], '</option>
<option value="43200">', $txt['smf49'], '</option>
<form action="', $scripturl, '?action=search2" method="post" style="margin: 0;">
<form action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '" style="margin: 0;">
</div>
</body></html>';
</div>';
// The following will be used to let the user know that some AJAX process is running
echo '
<div id="ajax_in_progress" style="display: none;', $context['browser']['is_ie'] && !$context['browser']['is_ie7'] ? 'position: absolute;' : '', '">', $txt['ajax_in_progress'], '</div>
</body></html>';
BoardIndex template
// Version: 1.1 RC2; BoardIndex
// Version: 1.1 RC3; BoardIndex
<td class="middletext" valign="top" nowrap="nowrap"><b>', $post['link'], '</b> ', $txt[525], ' ', $post['poster']['link'], ' (', $post['board']['link'], ')</td>
<td class="middletext" valign="top"><b>', $post['link'], '</b> ', $txt[525], ' ', $post['poster']['link'], ' (', $post['board']['link'], ')</td>
<form action="', $scripturl, '?action=login2" method="post" style="margin: 0;">
<form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" style="margin: 0;">
MessageIndex template
// Version: 1.1 RC2; MessageIndex
// Version: 1.1 RC3; MessageIndex
<form action="', $scripturl, '?action=quickmod;board=', $context['current_board'], '.', $context['start'], '" method="post" name="quickModForm" id="quickModForm" style="margin: 0;">';
<form action="', $scripturl, '?action=quickmod;board=', $context['current_board'], '.', $context['start'], '" method="post" accept-charset="', $context['character_set'], '" name="quickModForm" id="quickModForm" style="margin: 0;">';
<td class="windowbg' , $topic['is_sticky'] ? '3' : '' , '" valign="middle" ', (!empty($topic['quick_mod']['remove']) ? 'id="topic_' . $topic['first_post']['id'] . '" onmouseout="mouse_on_div = 0;" onmouseover="mouse_on_div = 1;" ondblclick="modify_topic(\'' . $topic['id'] . '\', \'' . $topic['first_post']['id'] . '\', \'' . $context['session_id'] . '\');"' : ''), '>';
<td class="windowbg' , !empty($settings['seperate_sticky_lock']) && $topic['is_sticky'] ? '3' : '' , '" valign="middle" ', (!empty($topic['quick_mod']['remove']) ? 'id="topic_' . $topic['first_post']['id'] . '" onmouseout="mouse_on_div = 0;" onmouseover="mouse_on_div = 1;" ondblclick="modify_topic(\'' . $topic['id'] . '\', \'' . $topic['first_post']['id'] . '\', \'' . $context['session_id'] . '\');"' : ''), '>';
<form action="', $scripturl, '" method="get" name="jumptoForm">
<form action="', $scripturl, '" method="get" accept-charset="', $context['character_set'], '" name="jumptoForm">
Display template
// Version: 1.1 RC2; Display
// Version: 1.1 RC3; Display
<form action="', $scripturl, '?action=vote;topic=', $context['current_topic'], '.', $context['start'], ';poll=', $context['poll']['id'], '" method="post" style="margin: 0px;">
<form action="', $scripturl, '?action=vote;topic=', $context['current_topic'], '.', $context['start'], ';poll=', $context['poll']['id'], '" method="post" accept-charset="', $context['character_set'], '" style="margin: 0px;">
<b>', $event['title'] , '</b> ' , ($event['can_edit'] ? '<a href="' . $event['modify_href'] . '" >[' . $txt['calendar_shortedit'] . ']</a> ' : '') , ': ', $event['start_date'], ($event['start_date'] != $event['end_date'] ? ' - ' . $event['end_date'] : ''), '
', ($event['can_edit'] ? '<a href="' . $event['modify_href'] . '" style="color: red;">*</a> ' : ''), '<b>', $event['title'], '</b>: ', $event['start_date'], ($event['start_date'] != $event['end_date'] ? ' - ' . $event['end_date'] : ''), '
<form action="', $scripturl, '?action=quickmod2;topic=', $context['current_topic'], '.', $context['start'], '" method="post" name="quickModForm" id="quickModForm" style="margin: 0;" onsubmit="return in_edit_mode == 1 ? modify_save(\'' . $context['session_id'] . '\') : confirm(\'' . $txt['quickmod_confirm'] . '\');">';
<form action="', $scripturl, '?action=quickmod2;topic=', $context['current_topic'], '.', $context['start'], '" method="post" accept-charset="', $context['character_set'], '" name="quickModForm" id="quickModForm" style="margin: 0;" onsubmit="return in_edit_mode == 1 ? modify_save(\'' . $context['session_id'] . '\') : confirm(\'' . $txt['quickmod_confirm'] . '\');">';
<input type="checkbox" name="msgs[]" value="', $message['id'], '" class="check" onclick="document.getElementById(\'quickmodSubmit\').style.display = \'\';" />';
<input type="checkbox" name="msgs[]" value="', $message['id'], '" class="check" ', empty($settings['use_tabs']) ? 'onclick="document.getElementById(\'quickmodSubmit\').style.display = \'\';"' : '', ' />';
if ($context['user']['is_logged'] && $settings['show_mark_read'])
$normal_buttons['custom'] = array('text' => 'mark_unread', 'image' => 'markunread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=topic;t=' . $context['mark_unread_time'] . ';topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id']);
elseif ($context['can_add_poll'])
$normal_buttons['custom'] = array('text' => 'add_poll', 'image' => 'add_poll.gif', 'lang' => true, 'url' => $scripturl . '?action=editpoll;add;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id']);
if ($context['can_add_poll'])
$normal_buttons['custom'] = array('text' => 'add_poll', 'image' => 'add_poll.gif', 'lang' => true, 'url' => $scripturl . '?action=editpoll;add;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id']);
elseif ($context['user']['is_logged'] && $settings['show_mark_read'])
$normal_buttons['custom'] = array('text' => 'mark_unread', 'image' => 'markunread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=topic;t=' . $context['mark_unread_time'] . ';topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id']);
'sticky' => array('test' => 'can_sticky', 'text' => empty($context['is_locked']) ? 'smf277' : 'smf278', 'image' => 'admin_sticky.gif', 'lang' => true, 'url' => $scripturl . '?action=sticky;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id']),
'sticky' => array('test' => 'can_sticky', 'text' => empty($context['is_sticky']) ? 'smf277' : 'smf278', 'image' => 'admin_sticky.gif', 'lang' => true, 'url' => $scripturl . '?action=sticky;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id']),
<input type="hidden" name="sc" value="', $context['session_id'], '" />
<input type="hidden" name="sc" value="', $context['session_id'], '" />';
if (empty($settings['use_tabs']))
echo '
<form action="', $scripturl, '" method="get" style="padding:0; margin: 0;">
<form action="', $scripturl, '" method="get" accept-charset="', $context['character_set'], '" style="padding:0; margin: 0;">
<form action="', $scripturl, '?action=post2" method="post" name="postmodify" id="postmodify" onsubmit="submitonce(this);" style="margin: 0;">
<input type="hidden" name="topic" value="' . $context['current_topic'] . '" />
<input type="hidden" name="subject" value="' . $txt['response_prefix'] . $context['subject'] . '" />
<form action="', $scripturl, '?action=post2" method="post" accept-charset="', $context['character_set'], '" name="postmodify" id="postmodify" onsubmit="submitonce(this);" style="margin: 0;">
<input type="hidden" name="topic" value="' . $context['current_topic'] . '" />
<input type="hidden" name="subject" value="' . $context['response_prefix'] . $context['subject'] . '" />
<input type="button" value="', $txt['spell_check'], '" onclick="spellCheck(\'postmodify\', \'message\');" />';
<input type="button" value="', $txt['spell_check'], '" onclick="spellCheck(\'postmodify\', \'message\');" tabindex="5"/>';
<form name="spell_form" id="spell_form" method="post" target="spellWindow" action="', $scripturl, '?action=spellcheck"><input type="hidden" name="spellstring" value="" /></form>';
<form action="', $scripturl, '?action=spellcheck" method="post" accept-charset="', $context['character_set'], '" name="spell_form" id="spell_form" target="spellWindow"><input type="hidden" name="spellstring" value="" /></form>';
What about register.template.php?
Cheers,
Jason
Well only a few themes modify the Register.template.php, which theme are you using?
Quote from: forsakenlad on August 13, 2006, 11:32:39 AM
Well only a few themes modify the Register.template.php, which theme are you using?
Hi::Ha (http://www.simplemachines.org/community/index.php?topic=34485.0) is an example.
Not sure what (if anything) was altered but it includes that file in the Theme download.
Well I'll compare it and let you know, the register template does include a lot of changes due to captcha being added in RC3.
No need really. I just dropped the rc3 version in and all is well.
-Jason
Allright, I'd advise you check your forum error log because the theme is not compatible you might get errors on some places, especially the forms.
You see? This is why I said smf's theme system needed to be changed and this is exactly why I said the php should not be mixed with the html for the templates.
Well there are reasons for php themes to exist, this has been discussed a lot of time before on the forum, please search and read through the benefits stated before.
Uh huh... So if you're wanting to keep the php and html in the templates mixed (which has no real advantages, take a que from phpbb), why not just make it so that mods, upgrades, etc.. can search for and make the needed changes in all templates or user selectable templates instead of just the default template.
Well php templates are one of the reasons that I made the switch from phpbb to smf so ermm they do have advantages (of course this varies heavily at the amount of customizations you want to make), anyway I am not going to argue about this here as it is out of the context of the topic. If you believe we would be better off with html templates please make a post in the Feature Requests board stating the advantages HTML templates would have.
I'm waiting for some dope themes to get upgraded to RC3 before I make the change, and a lot of the dope themes for SMF are m3talc0re. phpBB is dope, but they've been building phpBB3 for years now. I'll be sure to search for the thread that discusses the benefits of having php based themes. Peace.
how can i set the default theme width to 100%
Quote from: forsakenlad on August 06, 2006, 01:32:44 PM
Here are the changes that have been made in the most widely used templates in SMF. This doc will be useful for both the theme authors or for the ones that have a custom theme. If you don't have some of the files in your theme's directory, don't worry, the file from the default theme will be used instead:
- style.css (#post_style)
- index template (#post_index)
- BoardIndex template (#post_BoardIndex)
- MessageIndex template (#post_MessageIndex)
- Display template (#post_Display)
All I can say is thankyou for taking the time to breakdown these modifications. I'll have to check the other templates as well as many of my themes rely on heavy php customization in conjunction with TP.
I think Im gonna wait until Bloc's next beta release and convert them all to RC3 and TPv9+. Again thanks for this, I'll be bookmarking this thread, and if you note other template changes or I do I'll also let you know.
~Storm
Quote from: StormLrd on August 25, 2006, 01:31:50 PM
All I can say is thankyou for taking the time to breakdown these modifications. I'll have to check the other templates as well as many of my themes rely on heavy php customization in conjunction with TP.
I think Im gonna wait until Bloc's next beta release and convert them all to RC3 and TPv9+. Again thanks for this, I'll be bookmarking this thread, and if you note other template changes or I do I'll also let you know.
~Storm
Blocs Theme might just update for you.
I use Alienation and I was able to put the changes said here that I wanted (ignored the ones that did allowcharset because we are english only forum)..
I would just try to upgrade... makes more sense...
Quote from: StormLrd on August 25, 2006, 01:31:50 PM
Quote from: forsakenlad on August 06, 2006, 01:32:44 PM
Here are the changes that have been made in the most widely used templates in SMF. This doc will be useful for both the theme authors or for the ones that have a custom theme. If you don't have some of the files in your theme's directory, don't worry, the file from the default theme will be used instead:
- style.css (#post_style)
- index template (#post_index)
- BoardIndex template (#post_BoardIndex)
- MessageIndex template (#post_MessageIndex)
- Display template (#post_Display)
All I can say is thankyou for taking the time to breakdown these modifications. I'll have to check the other templates as well as many of my themes rely on heavy php customization in conjunction with TP.
I think Im gonna wait until Bloc's next beta release and convert them all to RC3 and TPv9+. Again thanks for this, I'll be bookmarking this thread, and if you note other template changes or I do I'll also let you know.
~Storm
Well I would be glad if you had comitted and published some other template files. Thanks.
So no changes to any of the profile templates ??
Very cool. ;D Thanks for posting this!! ;D
There are changes but I haven't posted them as templates don't modify them a lot.
I see...
I added some user fields from one of [unknown]'s tutorials and that's why I ask about it.
Well then the easiest way to update them would be to copy over the new Profile.template.php from the default theme and redo the changes.
Yeah I figured that...
I have a test site so no big deal I can take my time... Once I have my test site up and running if I just moved all of the files from the test site into my production site and applied the needed database upgrade I should be good to go right ??
I am hoping that is the case... The MODS are the same on both sites so the db tables for those should not need updating just the RC-3 updates right ??
I think I am right.... Just need the reassurance is all.. ;D
Yep you will have no problems just do the template changes and then upload the upgrade package and run upgrade.php Though I advise you to check if the mods you will be using are compatible with SMF 1.1 RC3 before using them on a production enviroment.
Yes all of the mods will be installed and tested on my test forum running RC-3 before it goes live.
Thanks for the re-assurance!! ;D
Quote from: forsakenlad on August 26, 2006, 12:21:54 PM
Well I would be glad if you had comitted and published some other template files. Thanks.
I will m8, I'm limited on my internet connection until the 14th, so Ive been pretty idle lately other than a few theme conversions from Nuke to SMF/TP. I havnt been as active here on SMF as on TP simply because I didnt want to confuse anyone with TP info on themes. But when I convert my themes up to RC3 and TPv9.5+ it will give me a good chance to evalute some of the other pages as some use admin.template, recent.template, whotemplate, not sure what else I'll have to review them.
My Themes: StormLrd (http://www.tinyportal.net/smf/index.php?board=127.0)
The reason they arent in the list here is that I go straight to the SMF with the Tiny Portal mod already incorporated into it. Some of my themes could be reversed to straight SMF but they wont look as good.
But Im very greatful for your work and others here at SMF m8 so keep it up
~Storm
I would like to request you to post all the changes in other files.
My themes become useless du to the changes.
You don't need to update all of the files, which theme are you using and what templates does it contain?
Well i made many changes to themes to give them the desired effects.
I also included the admin files for CSS changes.
If there are great changes please let me know of them.
The themes i made are:
http://themes.simplemachines.org/index.php?lemma=67
http://themes.simplemachines.org/index.php?lemma=75
http://themes.simplemachines.org/index.php?lemma=77
Hmm... I wish I'd looked for this info before updating my theme. I've made changes in a lot more files than the ones listed here, but it would have been helpful regardless!
This is the only thing about SMF that really gets my back up, I have customised loads on my site all through the template files, and you only seem to post the changes to the major files, I have chenged the profile files, how do I know if I am missing features ??
I love the templating system and think it is the most powerful ever, that said you need to pull your finger out with regards to keeping designers updated with every single change. so themes don't end up missing out on major features.
Forsakenland Thanks for all the effort you put into this updating my theme was a breeze and am inspired to make another one
great work
Quote from: 3guk on September 05, 2006, 08:35:12 AM
This is the only thing about SMF that really gets my back up, I have customised loads on my site all through the template files, and you only seem to post the changes to the major files, I have chenged the profile files, how do I know if I am missing features ??
I love the templating system and think it is the most powerful ever, that said you need to pull your finger out with regards to keeping designers updated with every single change. so themes don't end up missing out on major features.
Agreed. In the end, ultimatelly we will need a list of all modifications made, not just the ones made to the files only the majority of the themes use. One of the great reasons why being Open-Source is good. It promotes betterment for everybody by improving everyone's coding development.
Whats really needed is this overview from way back to 1.0.5-1.0.8...since 1.0.x, 1.1RC1 and 1.1RC2 each have been out so long, lots of themes are based on them. to update you should really just look up the right conversion doc and go from there. I will attempt to set this up.
Btw..the changes in style.css from 1.1RC2 to 1.1RC3 is really just to add the AJAX notifier. I don't why changes in the tabs styles were listed, maybe a very early version of 1.1Rc2 was used.
Can someone please explain what this thread is about to me? I'm new at this and I really don't get it, but it looks useful.
Bloc if you could do that that would be superb.
The last mod (AJAX) to 'index template' is not working for me. I get the following error:
QuoteTemplate Parse Error!
There was a problem loading the /Themes/smFox/index.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
parse error, unexpected T_STRING, expecting ',' or ';'
Thank You forsakenlad To Hand The Health
To update your custom RC2 template files that are not listed in the fist post, this is the main procedure:
1. Open the file (really? :P)
2. Search for this:
<form
3. when you find an instance of this, look at the same line and find this:
method="post"
4. Replace with:
method="post" accept-charset="', $context['character_set'], '"
5. Return to step 2 and find the other one. You will need to repeat this 12 times for Profile.template.php file, as an example.
All Rıght forsakenlad Thıs Theme Is It Becoming
I have juno RC2 theme installed....( thanks to Bloc )
http://themes.simplemachines.org/index.php?lemma=15
and in the admin it says the following files are RC2
Quote
BoardIndex.template.php 1.1 RC2
Display.template.php 1.1 RC2
MessageIndex.template.php 1.1 RC2
Themes.template.php 1.1 RC2
index.template.php 1.1 RC2
This initial post suggests updating the following files to make a theme RC3
* style.css
* index template
* BoardIndex template
* MessageIndex template
* Display template
I seem to have an xtra file not listed that isnt RC3
Themes.template.php
can anyone tell me what code changes if any would be required ?
Thanks in advance....
I need Aa New Damage RC3
I cant find some stuff to change in the code of this theme...
Could anyone update it and upload? would be rly good :P
Hurraaayyy.....Bloc released RC3 version of juno...
http://www.tinyportal.net/smf/index.php?topic=9136.0
Thanks man.....u da best :)
Quote from: tones_ie on September 24, 2006, 02:53:24 AM
Themes.template.php
I dont think that there have been any changes to that file. So you can either leave it or:
Find:
// Version: 1.1 RC2; Themes
change to:
// Version: 1.1 RC3; Themes
-AwwLilMaggie
Quote from: AwwLilMaggie on October 05, 2006, 08:31:59 AM
Quote from: tones_ie on September 24, 2006, 02:53:24 AM
Themes.template.php
I dont think that there have been any changes to that file. So you can either leave it or:
Find:
// Version: 1.1 RC2; Themes
change to:
// Version: 1.1 RC3; Themes
-AwwLilMaggie
Incorrect on that one.
Here are my notes on it. I'll clean them up and add a menu list of quick links when I can but this is from rc2 default to rc3 default on nearly all the files.
http://www.tinyportal.net/smf/index.php?topic=9435.0
Well, I never said that were none, I didnt think that there were any. Anyway, the theme thats being used is one of Bloc's and he's that they all work for RC3 now, so I'd download then theme's RC3 version and extract the relevant files from it and overwrite the RC2 version with the RC3.
-AwwLilMaggie
Quote from: AwwLilMaggie on October 08, 2006, 11:21:26 AM
Well, I never said that were none, I didnt think that there were any. Anyway, the theme thats being used is one of Bloc's and he's that they all work for RC3 now, so I'd download then theme's RC3 version and extract the relevant files from it and overwrite the RC2 version with the RC3.
-AwwLilMaggie
sorry didnt mean to sound ugly aboutit that wasnt my intention.
I know. I was simply saying an alternative way of updating the file without manually editing bits of code.
yes, unless you are designing them yourself and wish to update your previous themes. I figured sense i had gone through them all updating my themes and Bloc's themes I'd share them with everyone else.
they might not be perfect but they cover the major changes.
True. But I had to log in to view the thread, maybe it'll be worth while if you documented here too?
-AwwLilMaggie
didnt realize that, kk I'll see what I can do.
Your more than welcome to create and sticky a post here with all the template changes I ran across AwwLilMaggie I dont mind at all. Im a little swamped at the moment, took me a month just to finally post them up at bloc zone lol. :-[
All Rıght forksalend That, There These Some File Exchange They Aunt RC2 Stay From Them One Problem Become... ::)
Seems like you are Turkish and with the fact you can't speak English I advise you PM me if you've got any problems.
I would like to be informed on how I can hide the labels of images.
I don't know why but after upgrading to RC3 in the SMFoneblue theme
the labels (links) of image appeared and it is quite ugly.
Sample:
QuoteThanks in advance
Just copy over the display.template.php from the babylon theme to the smfone theme folder.
I have the Display.template.php of the smfone already deleted.
Anyway I did what you suggest with no result.
Do you know where are the labels located in the php files in order to erase them once and for all?
I had copied the default/Display.template.php.
Now everything works fine.
Thnx!
another problem just occurred though.
In the top of every topic is displayed in SMFone the users who watch the topic.
After replacing the Displatytemplate this feature disappeared, I suppose because the babylon theme
doesn't support such a feature.
Any idea on how I can make it display the users?
To my knowledge the Displaytemplate from default theme supports that feature,
so I think the best is to copy over that template and erase the lines which makes labels to appear
Hello,
I was now updating my template to the 1.1 RC3 (to update to 1.1 after) and I had a problems.
In the boardindex.php I can't find this code:
td class="middletext" valign="top" nowrap="nowrap"><b>', $post['link'], '</b> ', $txt[525], ' ', $post['poster']['link'], ' (', $post['board']['link'], ')</td>
Can you please help me?
Thanks!
I've found the equivalent code in my template, can anyone help me?
<tr>
<td align="left" valign="top" nowrap="nowrap">[', $post['board']['link'], ']</td>
<td valign="top">', $post['link'], ' ', $txt[525], ' ', $post['poster']['link'], '</td>
<td align="right" valign="top" nowrap="nowrap">', $post['time'], '</td>
</tr>
anyone? :(
what about 1.1.2...should we just do the RC3 update? Or is there a different one?
If you're going from 1.1 RC2 to 1.1.2 then do the RC2 -> RC3 -> 1.1 Final and you'll be set.
-ALM
Please. Put the changes from RC3 -> RC4 and RC4 to RC5.
Why SMF don't public patch and code changes from previous version like phpBB?
This is way out of date, these changes are for the 1.1 line.
As for public changes, look in the mod's files and you'll find a list of changes.
Lol :D Now i look at topic and its not 2.0 :laugh:
And where is the changes? Link please.
there is a diff posted in the upgrade announcement thread.