![]() |
May i get a final hack ?
Thanks:D |
I would'nt call it final but the Code in my last post is all you need to install it.
Put the PHP Code into index.php and forumdisplay.php after PHP Code:
|
In EXCHANGEs code add
PHP Code:
PHP Code:
Code:
<a href="showthread.php?s=$session[sessionhash]&goto=lastpost&forumid=$forum[forumid]" title="$fulltitle"><b>$lastposttitle</b></a> |
Any change of a mod for this so it will take thread titles correctly from sub forums.
Or someone in the know giving me a clue so I can make the modifications myself? |
I put this one in my site as EXCHANGE detailed and it works great. Just had to make one little change for an English site, in the forumhome_lastpostby template I used this instead-\\
<table cellpadding="0" cellspacing="0" border="0" width="100%" id="ltlink"> <tr align="right"> <td nowrap rowspan="2">$icon</td> <td nowrap><smallfont><a href="showthread.php?s=$session[sessionhash]&goto=lastpost&forumid=$forum[forumid]"><b>$lastposttitle</b></a></smallfont></td> <td nowrap rowspan="2"> <a href="showthread.php?s=$session[sessionhash]&goto=lastpost&forumid=$forum[forumid]"><img src="images/lastpost.gif" border="0" alt="Go to last post"></a></td> </tr> <tr align="right"> <td nowrap><smallfont>$forum[lastpostdate] <font color="#666686">$forum[lastposttime]</font><br> by <a href="member.php?s=$session[sessionhash]&action=getinfo&find=lastposter&forumid=$forum[forumid]"><b>$forum[lastposter]</b></a></smallfont></td> </tr> </table> All i did was change "von" to "by" so the message reads that it is by someone, not von someone. Otherwise thanks a million for this! |
Thx is missed that when putting it back to english :)
|
My icons are coming out wrong. for example icon7.gif points to icon14.gif??
Also why the need to add any code to forumdisplay.php?? |
@ somnium
:p I made the same hack (LastTitleHack) some days before :p you can turn it off for each board of your choise (e.g. private board) in your CP maybe we shall work together the next time ;) |
Quote:
|
Thanks. BTW I figured out the problem. For some people I guess it won't affect them depending on the names chosen for the icons but the code was wrong for me and I had to redo it. Also streamlined a couple of things. Busy today but I can post my version of it if someone needs it.
|
All times are GMT. The time now is 01:46 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|