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

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




Posts: 1
Registered: 8-11-2023
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!
View user's profile View All Posts By User
lottos
Administrator
********




Posts: 477
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 View All Posts By User

  Go To Top

Powered by XMB 1.9.12 (Debug Mode)
XMB Forum Software © 2001-2024 The XMB Group
[Queries: 16] [PHP: 43.6% - SQL: 56.4%]