News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Mark thread poster in 1.0.6?

Started by Atarian, January 21, 2006, 05:14:52 PM

Previous topic - Next topic

Atarian

Is there a way to differentiate the thread poster in every thread? Like make their name bold and put something like "Thread Poster" under their name on every post they have in their thread?

Thanks!

Atarian

Sorry to bump this, but it is still something I could get use out of if it can be done.

Thanks!

Compuart

Add a check in Display.template.php like:
if ($context['topic_starter_id'] == $message['member']['id'])
  echo 'topic starter';
Hendrik Jan Visser
Former Lead Developer & Co-founder www.simplemachines.org
Personal Signature:
Realitynet.nl -> ExpeditieRobinson.net / PekingExpress.org / WieIsDeMol.Com

Atarian


Atarian

Looks like this doesn't work on 1.0.6
Is there another way to make it work?

Thanks again

Compuart

You'd need to add after:
Code (Display.php) Select
$context['user']['started'] = $ID_MEMBER == $topicinfo['ID_MEMBER_STARTED'] && !$user_info['is_guest'];

this line:
$context['topic_starter_id'] = $topicinfo['ID_MEMBER_STARTED'];
Hendrik Jan Visser
Former Lead Developer & Co-founder www.simplemachines.org
Personal Signature:
Realitynet.nl -> ExpeditieRobinson.net / PekingExpress.org / WieIsDeMol.Com

Advertisement: