TinyPortal

Development => Support => Older SMF versions => Topic started by: sgilleland on December 04, 2008, 02:53:33 PM

Title: Template for new post
Post by: sgilleland on December 04, 2008, 02:53:33 PM
I use 09.8.3

I recently upgraded from 1.1.4 to 1.1.7 and I am not 100% sure that is what has caused my problem..but the only thing I can think of.

In my post.template.php file, I had added this code

// The below function prints the BBC, smileys and the message itself out.
if(!isset($context['current_topic']) && empty($context['message'])) $context['message'] = '[red]1. Describe one of your BIG DREAMS:[/red]



[red]2. List some things you already have in place for this BIG DREAM:[/red]



[red]3. List some things you still need for this BIG DREAM:[/red]';
theme_postbox($context['message']);

// If this message has been edited in the past - display when it was.
if (isset($context['last_modified']))
echo '
<tr>
<td valign="top" align="right">
<b>', $txt[211], ':</b>
</td>
<td>
', $context['last_modified'], '
</td>
</tr>';


When your created a New topic, it would show the 3 questions in the box....however, since upgrading, I just have and empty box not the template I need.   I have looked at my post.template.php and it appears to be exactly the same.  In fact, I even replaced it with an old copy before the update.  It appears that it is not the file that is causing my problem.  Any suggestions?  I know this is not a SMF board, however I need this fixed asap and have had it posted on SMF and have not been able to resolve it.

Thanks in advance,
Skip
Title: Re: Template for new post
Post by: G6Cad on December 04, 2008, 03:48:15 PM
If you know the code and what file you had it in before you upgraded, why not try and add it back in again ?
Also, this is not a TP question that we do support for, you have to browse to SMF forums to get them to help you out.