ich würde gerne in der viewtopic einen Link einfügen der nur für den TopicStarter (Nicht für die,die auf das thema geantwortet haben) sichtbar ist.Ist das irgendwie machbar?
Wäre nett wenn mir da jemand weiterhelfen könnte

Grüße JLoop
Code: Alles auswählen
//
// Topic watch information
//
Code: Alles auswählen
$sql = "SELECT t.topic_id, t.topic_first_post_id, p.post_id, p.poster_id
FROM " . TOPICS_TABLE . " t, " . POSTS_TABLE . " p
WHERE t.topic_id = " . $topic_id . "
AND t.topic_first_post_id = p.post_id";
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
if ($row['poster_id'] == $userdata['user_id'] AND $userdata['user_id'] != '-1')
{
$topicstarter_link = '<a href="lala.html">Lala</a>'
}
Code: Alles auswählen
'S_WATCH_TOPIC' => $s_watching_topic,
Code: Alles auswählen
'U_TOPICSTARTER' => $topicstarter_link,
Code: Alles auswählen
{U_TOPICSTARTER}