Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Topic started by: forsakenlad on January 07, 2006, 02:40:49 PM

Title: Template changes from SMF 1.1 RC1 to 1.1 RC2
Post by: forsakenlad on January 07, 2006, 02:40:49 PM
This topic is for people who want to upgrade their custom themes from 1.1 RC1 to 1.1 RC2. Note that this update is only for ones that are using a custom theme. These changes aren't necesarry for the new default, the babylon (old default) or the classic theme. Here is the list of most commonly modified templates. Don't worry if you don't have that file in your theme's folder, in that case the file from the default theme will be used:


These are all the changes to get your templates to properly work with SMF 1.1 RC2. I would like to thank Grudge for his helpful post providing the compatibility template ;)
Title: Re: Template changes from SMF 1.1 RC1 to 1.1 RC2
Post by: forsakenlad on January 09, 2006, 08:47:06 AM
style.css

Code (Add Anywhere) Select
/* No image should have a border when linked */
a img
{
   border: 0;
}


Code (Find) Select
/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg

Code (Replace) Select
/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg, .windowbg3


Code (Find) Select
.catbg
{
background-image: url(images/catbg.jpg);
}

Code (Replace) Select
.catbg, .catbg3
{
background-image: url(images/catbg.jpg);
}


Code (Find) Select
.catbg, .catbg2
Code (Replace) Select
.catbg, .catbg2, .catbg3
Title: Re: Template changes from SMF 1.1 RC1 to 1.1 RC2
Post by: forsakenlad on January 11, 2006, 02:12:05 PM
index template

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

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

/* Set a setting that tells the theme that it can render the tabs. */
$settings['use_tabs'] = false;

/* Use plain buttons - as oppossed to text buttons? */
$settings['use_buttons'] = false;

/* Show sticky and lock status seperate from topic icons? */
$settings['seperate_sticky_lock'] = false;


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

Code (Find&Remove) Select
var smf_session_id = "', $context['session_id'], '";

Code (Find) Select
// The ?rc1 part of this link is just here to make sure browsers don't cache it wrongly.
Code (Replace) Select
// The ?rc2 part of this link is just here to make sure browsers don't cache it wrongly.

Code (Find) Select
<link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/style.css?rc1" />
<link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/print.css?rc1" media="print" />';

Code (Replace) Select
<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 (Find) Select
smf_setThemeOption("collapse_header", mode ? 1 : 0);';
Code (Replace) Select
smf_setThemeOption("collapse_header", mode ? 1 : 0, null, "', $context['session_id'], '");';

Code (Find) Select
<form action="', $scripturl, '?action=login2" method="post" style="margin: 3px 1ex 1px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this);"' : '', '>
Code (Replace) Select
<form action="', $scripturl, '?action=login2" method="post" style="margin: 3px 1ex 1px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>

Code (Find) Select
// If we're on a certain board, limit it to this board ;).
if (!empty($context['current_board']))

Code (Replace) Select
// Search within current topic?
if (!empty($context['current_topic']))
echo '
<input type="hidden" name="topic" value="', $context['current_topic'], '" />';

// If we're on a certain board, limit it to this board ;).
elseif (!empty($context['current_board']))


Code (Find) Select
<a href="', $scripturl, '?action=help" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" style="margin: 2px 0;" border="0" />' : $txt[119]), '</a>', $context['menu_separator'];
Code (Replace) Select
<a href="', $scripturl, '?action=help">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/help.gif" alt="' . $txt[119] . '" style="margin: 2px 0;" border="0" />' : $txt[119]), '</a>', $context['menu_separator'];

Code (Find) Select

?>

Code (Add Before) Select

// Generate a strip of buttons, out of buttons.
function template_button_strip($button_strip, $direction = 'top', $force_reset = false, $custom_td = '')
{
global $settings, $buttons, $context, $txt, $scripturl;

if (empty($button_strip))
return '';

// Create the buttons...
foreach ($button_strip as $key => $value)
{
if (isset($value['test']) && empty($context[$value['test']]))
{
unset($button_strip[$key]);
continue;
}
elseif (!isset($buttons[$key]) || $force_reset)
$buttons[$key] = '<a href="' . $value['url'] . '" ' .( isset($value['custom']) ? $value['custom'] : '') . '>' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . ($value['lang'] ? $context['user']['language'] . '/' : '') . $value['image'] . '" alt="' . $txt[$value['text']] . '" border="0" />' : $txt[$value['text']]) . '</a>';

$button_strip[$key] = $buttons[$key];
}

echo '
<td ', $custom_td, '>', implode($context['menu_separator'], $button_strip) , '</td>';
}
Title: Re: Template changes from SMF 1.1 RC1 to 1.1 RC2
Post by: forsakenlad on January 11, 2006, 02:13:31 PM
BoardIndex template

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

MessageIndex template

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

Code (Find) Select
// If Quick Moderation is enabled (and set to checkboxes - 1) start the form.
if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && !empty($context['topics']))
echo '
<form action="', $scripturl, '?action=quickmod;board=', $context['current_board'], '.', $context['start'], '" method="post" style="margin: 0;">';

Code (Replace) Select
// If Quick Moderation is enabled start the form.
if (!empty($options['display_quick_mod']) && !empty($context['topics']))
echo '
<form action="', $scripturl, '?action=quickmod;board=', $context['current_board'], '.', $context['start'], '" method="post" name="quickModForm" id="quickModForm" style="margin: 0;">';


Code (Find) Select
<td class="windowbg" valign="middle">
', $topic['first_post']['link'];

Code (Replace) Select
<td class="windowbg" 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'] . '\');"' : ''), '>
<span id="msg_' . $topic['first_post']['id'] . '">', $topic['first_post']['link'], '</span>';


Code (Find) Select
<a href="', $topic['new_href'], '"><img src="', $settings['images_url'], '/', $context['user']['language'], '/new.gif" alt="', $txt[302], '" border="0" /></a>';
Code (Replace) Select
<a href="', $topic['new_href'], '" id="newicon' . $topic['first_post']['id'] . '"><img src="', $settings['images_url'], '/', $context['user']['language'], '/new.gif" alt="', $txt[302], '" border="0" /></a>';

Code (Find) Select
<span class="smalltext">', $topic['pages'], '</span>
Code (Replace) Select
<span class="smalltext" id="pages' . $topic['first_post']['id'] . '">', $topic['pages'], '</span>

Code (Find) Select
if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && !empty($context['topics']))
Code (Replace) Select
if (!empty($options['display_quick_mod']) && !empty($context['topics']))

Code (Find) Select
}

function theme_show_buttons()

Code (Add Before) Select

// Javascript for inline editing.
echo '
<script language="JavaScript" type="text/javascript" src="' . $settings['default_theme_url'] . '/xml_board.js"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[

// Hide certain bits during topic edit.
hide_prefixes.push("pages", "newicon");

// Use it to detect when we\'ve stopped editing.
document.onmousedown = mouse_down;

var mouse_on_div;
function mouse_down(e)
{
if (in_edit_mode == 1 && mouse_on_div == 0)
modify_topic_save("', $context['session_id'], '");
}

// For templating, shown when an inline edit is made.
function modify_topic_show_edit(subject)
{
// Just template the subject.
setInnerHTML(cur_subject_div, \'<input type="text" name="subject" value="\' + subject + \'" size="60" style="width: 99%;"  maxlength="80" /><input type="hidden" name="topic" value="\' + cur_topic_id + \'" /><input type="hidden" name="msg" value="\' + cur_msg_id.substr(4) + \'" />\');
}

// And the reverse for hiding it.
function modify_topic_hide_edit(subject)
{
// Re-template the subject!
setInnerHTML(cur_subject_div, \'<a href="', $scripturl, '?topic=\' + cur_topic_id + \'.0">\' + subject + \'</a>\');
}
// ]]></script>';
Title: Re: Template changes from SMF 1.1 RC1 to 1.1 RC2
Post by: forsakenlad on January 11, 2006, 02:14:50 PM
Display template

Code (Find) Select
<td style="padding-right: 2ex;">', $option['option'], '</td>', $context['allow_poll_view'] ? '
Code (Replace) Select
<td style="padding-right: 2ex;', $option['voted_this'] ? 'font-weight: bold;' : '', '">', $option['option'], '</td>', $context['allow_poll_view'] ? '

Code (Find) Select
<td valign="middle" width="85%" style="padding-left: 6px;">
Code (Replace) Select
<td valign="middle" width="85%" style="padding-left: 6px;" id="top_subject">

Code (Find) Select
if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && $context['can_remove_post'])
Code (Replace) Select
// if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && $context['can_remove_post'])

Code (Find) Select
<form action="', $scripturl, '?action=quickmod2;topic=', $context['current_topic'], '.', $context['start'], '" method="post" name="quickModForm" id="quickModForm" style="margin: 0;">';
Code (Replace) 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 (Find) Select
<b><a href="', $message['href'], '">', $message['subject'], '</a></b>';
Code (Replace) Select
<div style="font-weight: bold;" id="subject_', $message['id'], '">
<a href="', $message['href'], '">', $message['subject'], '</a>
</div>';


Code (Find) Select
<a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';sesc=', $context['session_id'], '" onclick="if (!currentSwap) doQuote(', $message['id'], '); else window.location.href = this.href; return false;">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/quote.gif" alt="' . $txt[145] . '" border="0" />' : $txt[145]), '</a>';
Code (Replace) Select
<a href="', $scripturl, '?action=post;quote=', $message['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';num_replies=', $context['num_replies'], ';sesc=', $context['session_id'], '" onclick="doQuote(', $message['id'], ', \'', $context['session_id'], '\'); return false;">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/quote.gif" alt="' . $txt[145] . '" border="0" />' : $txt[145]), '</a>';

Code (Find) Select
<div class="post">', $message['body'], '</div>
Code (Replace) Select
<div class="post"', $message['can_modify'] ? ' id="msg_' . $message['id'] . '"' : '', '>', $message['body'], '</div>', $message['can_modify'] ? '
<img src="' . $settings['images_url'] . '/icons/modify_inline.gif" alt="" align="right" id="modify_button_' . $message['id'] . '" style="cursor: pointer;" onclick="modify_msg(\'' . $message['id'] . '\', \'' . $context['session_id'] . '\')" />' : '' , '


Code (Find) Select
<td valign="bottom" class="smalltext">';
Code (Replace) Select
<td valign="bottom" class="smalltext" id="modified_', $message['id'], '">';

Code (Find) Select
</table>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[';

if (!empty($options['display_quick_reply']))
echo '
var currentSwap = ', $options['display_quick_reply'] == 2 ? 'false' : 'true', ';

function swapOptions()
{
document.getElementById("quickReplyExpand").src = smf_images_url + "/" + (currentSwap ? "collapse.gif" : "expand.gif");
document.getElementById("quickReplyOptions").style.display = currentSwap ? "" : "none";

currentSwap = !currentSwap;
}';
else
echo '
var currentSwap = true';

echo '

function doQuote(messageid)
{
if (currentSwap)
window.location.href = "', $scripturl, '?action=post;quote=" + messageid + ";topic=', $context['current_topic'], '.', $context['start'], ';sesc=', $context['session_id'], '";
else
{
if (window.XMLHttpRequest)
getXMLDocument("', $scripturl, '?action=quotefast;quote=" + messageid + ";sesc=', $context['session_id'], ';xml", onDocReceived);
else
reqWin("', $scripturl, '?action=quotefast;quote=" + messageid + ";sesc=', $context['session_id'], '", 240, 90);

if (navigator.appName == "Microsoft Internet Explorer")
window.location.hash = "quickreply";
else
window.location.hash = "#quickreply";
}
}
function onDocReceived(XMLDoc)
{
var text = "";
for (var i = 0; i < XMLDoc.getElementsByTagName("quote")[0].childNodes.length; i++)
text += XMLDoc.getElementsByTagName("quote")[0].childNodes[i].nodeValue;

replaceText(text, document.forms.postmodify.message);
}
function expandThumb(thumbID)
{
var img = document.getElementById("thumb_" + thumbID);
var link = document.getElementById("link_" + thumbID);
var tmp = img.src;
img.src = link.href;
link.href = tmp;
img.style.width = "";
img.style.height = "";
return false;
}

Code (Replace) Select
</table>';

if ($context['show_spellchecking'])
echo '
<script language="JavaScript" type="text/javascript" src="' . $settings['default_theme_url'] . '/spellcheck.js"></script>';

echo '
<script language="JavaScript" type="text/javascript" src="' . $settings['default_theme_url'] . '/xml_topic.js"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
quickReplyCollapsed = ', !empty($options['display_quick_reply']) && $options['display_quick_reply'] == 2 ? 'false' : 'true', ';

smf_topic = ', $context['current_topic'], ';
smf_start = ', $context['start'], ';
smf_show_modify = ', $settings['show_modify'] ? '1' : '0', ';

// On quick modify, this is what the body will look like.
var smf_template_body_edit = \'<div id="error_box" style="padding: 4px; color: red;"></div><textarea class="editor" name="message" rows="12" style="width: 94%; margin-bottom: 10px;">%body%</textarea><br /><input type="hidden" name="sc" value="', $context['session_id'], '" /><input type="hidden" name="topic" value="', $context['current_topic'], '" /><input type="hidden" name="msg" value="%msg_id%" /><div style="text-align: center;"><input type="submit" name="post" value="', $txt[10], '" onclick="return modify_save(\\\'' . $context['session_id'] . '\\\');" accesskey="s" />&nbsp;&nbsp;', $context['show_spellchecking'] ? '<input type="button" value="' . $txt['spell_check'] . '" onclick="spellCheck(\\\'quickModForm\\\', \\\'message\\\');" />&nbsp;&nbsp;' : '', '<input type="submit" name="cancel" value="', $txt['modify_cancel'], '" onclick="return modify_cancel();" /></div>\';

// And this is the replacement for the subject.
var smf_template_subject_edit = \'<input type="text" name="subject" value="%subject%" size="60" style="width: 99%;"  maxlength="80" />\';

// Restore the message to this after editing.
var smf_template_body_normal = \'%body%\';
var smf_template_subject_normal = \'<a href="', $scripturl, '?topic=', $context['current_topic'], '.msg%msg_id%#msg%msg_id%">%subject%</a>\';
var smf_template_top_subject = "', $txt[118], ': %subject% &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')"

if (window.XMLHttpRequest)
showModifyButtons();


Code (Find) Select
document.getElementById("quickmodSubmit").style.display = "none";
// ]]></script>

Code (Replace) Select
document.getElementById("quickmodSubmit").style.display = "none";
// ]]></script>';
echo '


Code (Find&Remove) Select
if ($context['show_spellchecking'])
echo '
<script language="JavaScript" type="text/javascript" src="' . $settings['default_theme_url'] . '/spellcheck.js"></script>';



Code (Find) Select
<td colspan="2" class="catbg"><a href="javascript:swapOptions();"><img src="', $settings['images_url'], '/', $options['display_quick_reply'] == 2 ? 'collapse' : 'expand', '.gif" alt="+" border="0" id="quickReplyExpand" /></a> <a href="javascript:swapOptions();">', $txt['quick_reply_1'], '</a></td>
Code (Replace) Select
<td colspan="2" class="catbg"><a href="javascript:swapQuickReply();"><img src="', $settings['images_url'], '/', $options['display_quick_reply'] == 2 ? 'collapse' : 'expand', '.gif" alt="+" border="0" id="quickReplyExpand" /></a> <a href="javascript:swapQuickReply();">', $txt['quick_reply_1'], '</a></td>

Code (Find) Select
$moderationButtons[] = $settings['use_image_buttons'] ? '<input type="image" name="submit" id="quickmodSubmit" src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/delete_selected.gif" alt="' . $txt['quickmod_delete_selected'] . '" onclick="return confirm(\'' . $txt['quickmod_confirm'] . '\');" />' : '<a href="javascript:document.forms.quickModForm.submit();" onclick="return confirm(\'' . $txt['quickmod_confirm'] . '\');" id="quickmodSubmit">' . $txt['quickmod_delete_selected'] . '</a>';
Code (Replace) Select
$moderationButtons[] = $settings['use_image_buttons'] ? '<input type="image" name="submit" id="quickmodSubmit" src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/delete_selected.gif" alt="' . $txt['quickmod_delete_selected'] . '" />' : '<a href="javascript:document.forms.quickModForm.submit();" id="quickmodSubmit">' . $txt['quickmod_delete_selected'] . '</a>';
Title: Re: Template changes from SMF 1.1 RC1 to 1.1 RC2
Post by: forsakenlad on January 11, 2006, 02:19:12 PM
The replies were deleted because I had to reorganize the topic to make it more user-friendly. I apologise to ones that I have deleted the posts of.
Title: Re: Template changes from SMF 1.1 RC1 to 1.1 RC2
Post by: fugiFox on March 03, 2006, 02:19:05 PM
Following your instruction (editing CSS) I got rid of the annoying borders of the images llke Reply, Quote etc.
but the borders arounf smilies and buttons in the "Post reply" box still remain.
Title: Re: Template changes from SMF 1.1 RC1 to 1.1 RC2
Post by: forsakenlad on March 03, 2006, 04:22:30 PM
You shouldn't have had those, can you send me a link?
Title: Re: Template changes from SMF 1.1 RC1 to 1.1 RC2
Post by: fugiFox on March 04, 2006, 06:18:14 AM
www.thmmy.gr
SMFoneBLue theme

I've sent u a pm with a testing user
Title: Re: Template changes from SMF 1.1 RC1 to 1.1 RC2
Post by: EuropeanWars on March 05, 2006, 07:35:30 AM
Hello,

I followed all handling above, it's ok... but, there is nevertheless a problem on the level of the messages.

I put 2 image:
http://kidixx.free.fr/Divers/probleme.PNG (http://kidixx.free.fr/Divers/probleme.PNG)
http://kidixx.free.fr/Divers/probleme_2.PNG (http://kidixx.free.fr/Divers/probleme_2.PNG)

Could you say to me how to make so that that becomes again "normal"?  Thank you very much
Title: Re: Template changes from SMF 1.1 RC1 to 1.1 RC2
Post by: FikretAkın on March 17, 2006, 09:44:46 AM
Thanks forsakenlad ;)
Teşekkürler forsakenlad
Title: Re: Template changes from SMF 1.1 RC1 to 1.1 RC2
Post by: forsakenlad on March 17, 2006, 11:35:26 AM
Quote from: fugi on March 04, 2006, 06:18:14 AM
www.thmmy.gr
SMFoneBLue theme

I've sent u a pm with a testing user

I haven't recieved it, but for the Saf themes you can use the Saf auto updater ;)

Quote from: EuropeanWars on March 05, 2006, 07:35:30 AM
Hello,

I followed all handling above, it's ok... but, there is nevertheless a problem on the level of the messages.

I put 2 image:
http://kidixx.free.fr/Divers/probleme.PNG (http://kidixx.free.fr/Divers/probleme.PNG)
http://kidixx.free.fr/Divers/probleme_2.PNG (http://kidixx.free.fr/Divers/probleme_2.PNG)

Could you say to me how to make so that that becomes again "normal"?  Thank you very much

That theme already has a RC2 compatible version please use that one.

Quote from: FikretAkın on March 17, 2006, 09:44:46 AM
Thanks forsakenlad ;)
Teşekkürler forsakenlad

Thanks ;)
Title: Re: Template changes from SMF 1.1 RC1 to 1.1 RC2
Post by: $כђiŹøƒ®ΣиiΛ™ on March 17, 2006, 12:31:21 PM
Deneyipte yapamadığım ve çok aradığım bir şeydi bu.
Teşekürler Forsakenlad....
Title: Re: Template changes from SMF 1.1 RC1 to 1.1 RC2
Post by: RebelRose on May 04, 2006, 11:50:24 AM
I need to update:

SMF File           Your Version    Current Version
SMF Package         SMF 1.1 RC2     SMF 1.1 RC2
Sources                  1.1 RC2         1.1 RC2-1
Default Templates     1.1 RC2        1.1 RC2
Language Files          1.1 RC2        1.1 RC2
Current Templates     1.1 RC1         1.1 RC2

I am using a custom theme based on Themis,

Changing the code you have listed here will that update things the way I need them to be?  I am very, very new at this, and code is not a strong point of mine. I did look over some of the php files listed above and not all the code listed above is on some of the files, how does that work?

Thanking you in advance for any assistance. Waiting patiently by!!

Title: Re: Template changes from SMF 1.1 RC1 to 1.1 RC2
Post by: Deaks on May 04, 2006, 05:23:01 PM
the parts marked red are not a theme section these are source files, you will find more details aswell as the patch to sort the red here (http://www.simplemachines.org/community/index.php?topic=78841.0)
Title: Re: Template changes from SMF 1.1 RC1 to 1.1 RC2
Post by: RebelRose on May 04, 2006, 05:28:06 PM
Quote from: sloopz on May 04, 2006, 05:23:01 PM
the parts marked red are not a theme section these are source files, you will find more details aswell as the patch to sort the red here (http://www.simplemachines.org/community/index.php?topic=78841.0)

Thank You I will check that section
Title: Re: Template changes from SMF 1.1 RC1 to 1.1 RC2
Post by: CiPHeR66 on May 08, 2006, 03:55:10 PM
SMF 1.1 RC2 with SMFone_blue Theme:


Current Templates 1.1 RC1 1.1 RC2
  BoardIndex.template.php 1.1 RC2 1.1 RC2
  Calendar.template.php 1.0 1.1 RC2
  Display.template.php 1.0.3 1.1 RC2
  InstantMessage.template.php 1.0 ??
  MessageIndex.template.php 1.1 RC1 1.1 RC2
  Profile.template.php 1.0.4 1.1 RC2
  Search.template.php 1.0 1.1 RC2
  Settings.template.php 1.1 RC1 1.1 RC2
  index.template.php 1.1 RC2 1.1 RC2


Does anybody have a working copy of SMFone Blue Sky that is finalized for SMF 1.1 RC2?  If they do, can they post the zip here?

I am having problems with this Theme in the sense that the posts show the posters info across the top of the post, instead of down the left side, and also there is no option in Profile to select an avatar - it is completely gone.

Thanks in advance.
Title: Re: Template changes from SMF 1.1 RC1 to 1.1 RC2
Post by: Deaks on May 08, 2006, 04:08:46 PM
Quote from: CiPHeR66 on May 08, 2006, 03:55:10 PM

I am having problems with this Theme in the sense that the posts show the posters info across the top of the post, instead of down the left side, and also there is no option in Profile to select an avatar - it is completely gone.


these updates are not official they have been done using in a sense guess work as there is no 1.0.x ---> 1.1 changes list as of yet, so please wait

The user info at the top of the post is a feature of this specific theme if you dont like that then in your themes directory delete Display.template.php.

To fix the profile then delete profile.template.php

deleting the files will convert them to the default version (or the version you have in your default folder)