TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 18, 2024, 02:17:22 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 190
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 129
  • Total: 129

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.

sgilleland

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

G6Cad

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.