Matteo1996
New Poster
Posts: 1
Registered: 8-11-2023
Member Is Offline
|
|
[New] Change the layout of lastpost in index
Full Board URL: http://localhost/
XMB Version: 1.9.12
Hello guys and girls.
I want to change a bit the layout of the last post columns in the index page. Actually I want to put the username in bold and not to link to the
thread. But in the templates I can't find wich part edit. I only found the variable (lastpost) but I have no idea from where edit it.
Can someone help me?
Thank you!
|
|
lottos
Administrator
Posts: 477
Registered: 6-3-2002
Member Is Offline
Mood: pass me a TimTam
|
|
UNTESTED AND MAY NOT WORK. BACKUP FIRST.
forumdisplay.php
change
$lastpost = "$lastreplydate {$lang['textat']} $lastreplytime<br />{$lang['textby']} $lastpostname";
to
$lastpost = "$lastreplydate {$lang['textat']} $lastreplytime<br />";
Template Name: index_forum_lastpost
change
<td bgcolor="{$THEME['altbg1']}" nowrap="nowrap"><a href="./viewthread.php?goto=lastpost&fid=$forum[fid]"
title="$lang[altlastpost]"><img src="{$THEME['imgdir']}/lastpost.gif" border="0" alt="$lang[altlastpost]" /></a></td>
to
<td bgcolor="{$THEME['altbg1']}" nowrap="nowrap"><a href="./viewthread.php?goto=lastpost&fid=$forum[fid]"
title="$lang[altlastpost]"><img src="{$THEME['imgdir']}/lastpost.gif" border="0" alt="$lang[altlastpost]" /></a> $lang['textby']
$lastpostname</td>
|
|