XMB Forum Software
Not logged in [Login - Register]
Go To Bottom

Printable Version  
Author: Subject: [New] Change the layout of lastpost in index
Matteo1996
Unregistered




Posts: N/A
Registered: N/A
Member Is Offline


posted on 8-16-2023 at 02:13 AM
[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: 486
Registered: 6-3-2002
Member Is Offline

Mood: pass me a TimTam

posted on 8-16-2023 at 02:29 AM



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&amp;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&amp;fid=$forum[fid]" title="$lang[altlastpost]"><img src="{$THEME['imgdir']}/lastpost.gif" border="0" alt="$lang[altlastpost]" /></a> $lang['textby'] $lastpostname</td>
View user's profile

  Go To Top

Powered by XMB 1.10.00-beta-2 (Debug Mode)
XMB Forum Software © 2001-2025 The XMB Group
[Queries: 14] [PHP: 23.5% - SQL: 76.5%]