Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: forsakenlad on August 06, 2006, 01:32:44 PM

Title: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: 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:

Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: forsakenlad on August 06, 2006, 01:49:44 PM
style.css

Code (Find) Select
.mirrortab_first, .mirrortab_back, .mirrortab_last
Code (Replace) Select
.mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last

Code (Find) Select
.mirrortab_back
Code (Replace) Select
.mirrortab_back, .mirrortab_active_back

Code (Find) Select
.mirrortab_last
{
background-image: url(images/mirrortab_last.gif);
background-repeat: no-repeat;
width: 6px;
}

Code (Add After) Select
.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;
}


Code (Find) Select
.mirrortab_back a:link , .mirrortab_back a:visited
Code (Replace) Select
.mirrortab_back a:link , .mirrortab_back a:visited, .mirrortab_active_back a:link , .mirrortab_active_back a:visited

Code (Find) Select
.mirrortab_back a:hover
Code (Replace) Select
.mirrortab_back a:hover, .mirrortab_active_back a:hover

Code (Add Anywhere) Select
/* 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;
}
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: forsakenlad on August 06, 2006, 02:02:46 PM
index template

Code (Find) Select
// Version: 1.1 RC2; index
Code (Replace) Select
// Version: 1.1 RC3; index

Code (Find) Select
$settings['theme_version'] = '1.1 RC2';
Code (Replace) Select
$settings['theme_version'] = '1.1 RC3';

Code (Find) Select
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc2p"></script>
Code (Replace) Select
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/script.js?rc3"></script>


Code (Find) Select
// 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" />';

Code (Replace) Select
// 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" />';


Code (Find) Select
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else
{
echo '

Code (Replace) Select
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else
{
echo ' </span>


Code (Find) Select
<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'] . '\');"' : '', '>
Code (Replace) Select
<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'] . '\');"' : '', '>

Code (Find) Select
<option value="302400">', $txt['smf49'], '</option>

Code (Replace) Select
<option value="43200">', $txt['smf49'], '</option>


Code (Find) Select
<form action="', $scripturl, '?action=search2" method="post" style="margin: 0;">
Code (Replace) Select
<form action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '" style="margin: 0;">


Code (Find) Select
</div>
</body></html>';

Code (Replace) Select
</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>';
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: forsakenlad on August 06, 2006, 02:09:05 PM
BoardIndex template

Code (Find) Select
// Version: 1.1 RC2; BoardIndex
Code (Replace) Select
// Version: 1.1 RC3; BoardIndex

Code (Find) Select
<td class="middletext" valign="top" nowrap="nowrap"><b>', $post['link'], '</b> ', $txt[525], ' ', $post['poster']['link'], ' (', $post['board']['link'], ')</td>
Code (Replace) Select
<td class="middletext" valign="top"><b>', $post['link'], '</b> ', $txt[525], ' ', $post['poster']['link'], ' (', $post['board']['link'], ')</td>

Code (Find) Select
<form action="', $scripturl, '?action=login2" method="post" style="margin: 0;">
Code (Replace) Select
<form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" style="margin: 0;">

MessageIndex template

Code (Find) Select
// Version: 1.1 RC2; MessageIndex
Code (Replace) Select
// Version: 1.1 RC3; MessageIndex

Code (Find) Select
<form action="', $scripturl, '?action=quickmod;board=', $context['current_board'], '.', $context['start'], '" method="post" name="quickModForm" id="quickModForm" style="margin: 0;">';
Code (Replace) Select
<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;">';

Code (Find) Select
<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'] . '\');"' : ''), '>';
Code (Replace) Select
<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'] . '\');"' : ''), '>';

Code (Find) Select
<form action="', $scripturl, '" method="get" name="jumptoForm">

Code (Replace) Select
<form action="', $scripturl, '" method="get" accept-charset="', $context['character_set'], '" name="jumptoForm">
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: forsakenlad on August 06, 2006, 02:17:53 PM
Display template

Code (Find) Select
// Version: 1.1 RC2; Display
Code (Replace) Select
// Version: 1.1 RC3; Display

Code (Find) Select
<form action="', $scripturl, '?action=vote;topic=', $context['current_topic'], '.', $context['start'], ';poll=', $context['poll']['id'], '" method="post" style="margin: 0px;">
Code (Replace) Select
<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;">


Code (Find) Select
<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'] : ''), '
Code (Replace) Select
', ($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'] : ''), '

Code (Find) Select
<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'] . '\');">';
Code (Replace) Select
<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'] . '\');">';

Code (Find) Select
<input type="checkbox" name="msgs[]" value="', $message['id'], '" class="check" onclick="document.getElementById(\'quickmodSubmit\').style.display = \'\';" />';
Code (Replace) Select
<input type="checkbox" name="msgs[]" value="', $message['id'], '" class="check" ', empty($settings['use_tabs']) ? 'onclick="document.getElementById(\'quickmodSubmit\').style.display = \'\';"' : '', ' />';

Code (Find) Select
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']);

Code (Replace) Select
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']);


Code (Find) Select
'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']),

Code (Replace) Select
'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']),


Code (Find) Select
<input type="hidden" name="sc" value="', $context['session_id'], '" />
Code (Replace) Select
<input type="hidden" name="sc" value="', $context['session_id'], '" />';

if (empty($settings['use_tabs']))
echo '


Code (Find) Select
<form action="', $scripturl, '" method="get" style="padding:0; margin: 0;">
Code (Replace) Select
<form action="', $scripturl, '" method="get" accept-charset="', $context['character_set'], '" style="padding:0; margin: 0;">

Code (Find) Select
<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'] . '" />

Code (Replace) Select
<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'] . '" />


Code (Find) Select
<input type="button" value="', $txt['spell_check'], '" onclick="spellCheck(\'postmodify\', \'message\');" />';
Code (Replace) Select
<input type="button" value="', $txt['spell_check'], '" onclick="spellCheck(\'postmodify\', \'message\');" tabindex="5"/>';


Code (Find) Select
<form name="spell_form" id="spell_form" method="post" target="spellWindow" action="', $scripturl, '?action=spellcheck"><input type="hidden" name="spellstring" value="" /></form>';
Code (Replace) Select
<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>';
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: charlottezweb on August 13, 2006, 10:06:34 AM
What about register.template.php?

Cheers,
Jason
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: forsakenlad on August 13, 2006, 11:32:39 AM
Well only a few themes modify the Register.template.php, which theme are you using?
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: charlottezweb on August 13, 2006, 11:56:02 AM
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.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: forsakenlad on August 13, 2006, 01:24:43 PM
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.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: charlottezweb on August 13, 2006, 01:31:48 PM
No need really.  I just dropped the rc3 version in and all is well.

-Jason
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: forsakenlad on August 13, 2006, 04:13:27 PM
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.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: m3talc0re on August 22, 2006, 10:09:59 PM
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.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: forsakenlad on August 22, 2006, 10:13:26 PM
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.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: m3talc0re on August 22, 2006, 10:18:09 PM
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.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: forsakenlad on August 22, 2006, 11:36:35 PM
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.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: Revo1 on August 23, 2006, 05:36:31 AM
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.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: desistyle on August 24, 2006, 06:04:03 AM
how can i set the default theme width to 100%
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: 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
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: SleePy on August 26, 2006, 02:01:49 AM
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...
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: forsakenlad on August 26, 2006, 12:21:54 PM
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.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: Gargoyle on August 26, 2006, 02:26:11 PM
So no changes to any of the profile templates ??

Very cool. ;D Thanks for posting this!! ;D
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: forsakenlad on August 26, 2006, 03:47:57 PM
There are changes but I haven't posted them as templates don't modify them a lot.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: Gargoyle on August 26, 2006, 04:01:47 PM
I see...

I added some user fields from one of [unknown]'s tutorials and that's why I ask about it.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: forsakenlad on August 27, 2006, 12:16:49 AM
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.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: Gargoyle on August 27, 2006, 12:20:25 AM
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
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: forsakenlad on August 27, 2006, 01:08:13 AM
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.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: Gargoyle on August 27, 2006, 10:17:21 AM
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
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: StormLrd on August 29, 2006, 08:27:03 AM
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
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: rongup on August 29, 2006, 10:49:30 PM
I would like to request you to post all the changes in other files.
My themes become useless du to the changes.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: forsakenlad on August 30, 2006, 09:22:24 AM
You don't need to update all of the files, which theme are you using and what templates does it contain?
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: rongup on August 30, 2006, 11:11:01 PM
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
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: Der Spark on September 04, 2006, 05:58:26 AM
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!
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: 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.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: shishira on September 06, 2006, 02:01:40 AM
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
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: Revo1 on September 07, 2006, 08:03:00 AM
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.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: bloc on September 08, 2006, 11:14:28 AM
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.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: Kyo on September 14, 2006, 07:14:16 PM
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.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: 3guk on September 17, 2006, 09:46:18 AM
Bloc if you could do that that would be superb.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: philhyde on September 17, 2006, 10:25:34 AM
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 ';'
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: NeFReT on September 21, 2006, 07:57:04 AM
Thank You forsakenlad To Hand The Health  
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: Harzem on September 21, 2006, 04:17:35 PM
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.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: NeFReT on September 23, 2006, 06:27:22 AM
All Rıght forsakenlad Thıs Theme Is It Becoming
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: tones_ie on September 24, 2006, 02:53:24 AM
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....

Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: d1m0n on September 26, 2006, 08:16:40 AM
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
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: tones_ie on October 04, 2006, 04:38:17 AM
Hurraaayyy.....Bloc released RC3 version of juno...

http://www.tinyportal.net/smf/index.php?topic=9136.0

Thanks man.....u da best :)
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: Gary 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
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: StormLrd on October 08, 2006, 09:41:05 AM
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
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: Gary 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
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: StormLrd on October 08, 2006, 02:27:53 PM
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.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: Gary on October 08, 2006, 02:37:16 PM
I know. I was simply saying an alternative way of updating the file without manually editing bits of code.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: StormLrd on October 08, 2006, 02:40:16 PM
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.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: Gary on October 08, 2006, 05:18:15 PM
True. But I had to log in to view the thread, maybe it'll be worth while if you documented here too?

-AwwLilMaggie
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: StormLrd on October 08, 2006, 06:47:47 PM
didnt realize that, kk I'll see what I can do.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: StormLrd on October 08, 2006, 10:49:47 PM
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.   :-[
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: NeFReT on October 31, 2006, 07:16:49 PM
All Rıght forksalend That, There These Some File Exchange They Aunt RC2 Stay From Them One Problem Become... ::)
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: forsakenlad on November 01, 2006, 07:13:20 AM
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.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: fugiFox on November 04, 2006, 12:55:29 PM
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:
Quote
Thanks in advance
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: forsakenlad on November 05, 2006, 04:20:48 PM
Just copy over the display.template.php from the babylon theme to the smfone theme folder.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: fugiFox on November 07, 2006, 08:28:41 AM
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!


Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: fugiFox on November 07, 2006, 08:46:37 AM
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
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: tL0z on March 26, 2007, 06:02:52 PM
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!
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: tL0z on March 27, 2007, 06:28:26 PM
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>
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: tL0z on March 30, 2007, 07:38:19 AM
anyone? :(
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: LBizGrl on May 19, 2007, 02:38:09 PM
what about 1.1.2...should we just do the RC3 update? Or is there a different one?
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: Gary on May 19, 2007, 03:43:23 PM
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
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: Saibamen on February 12, 2011, 06:44:27 PM
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?
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: Gary on February 12, 2011, 06:55:49 PM
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.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: Saibamen on February 12, 2011, 07:02:56 PM
Lol :D Now i look at topic and its not 2.0 :laugh:

And where is the changes? Link please.
Title: Re: Template changes from SMF 1.1 RC2 to 1.1 RC3
Post by: Illori on February 14, 2011, 05:53:12 AM
there is a diff posted in the upgrade announcement thread.