HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media


Welcome to TinyPortal. Please login or sign up.

September 21, 2023, 07:27:18 PM

Login with username, password and session length
  • Total Posts: 194,530
  • Total Topics: 21,180
  • Online today: 97
  • Online ever: 3,540
  • (September 03, 2022, 01:38:54 AM)
Users Online
Users: 1
Guests: 74
Total: 75

Template for new post

Started by sgilleland, December 04, 2008, 02:53:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


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]';

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

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,


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.