did u install it using the root\install_altt\install.php ?voice903fm wrote:I did the mod install and it's not working. I purged the cache and it still did do anything. My board is still working fine but the mod didn't take. I'm using the 1.2.3 version of the mod.
Can someone one confirm I added the last part of the mod right.
<!-- IF forumrow.LAST_POST_TIME --><dfn>{L_LAST_POST}</dfn> <!-- IF forumrow.LAST_TOPIC_TITLE_SHORT --><a style="font-weight: bold;" href="{forumrow.U_LAST_TOPIC}" title="{forumrow.LAST_TOPIC_TITLE}">{forumrow.LAST_TOPIC_TITLE_SHORT}</a><br /><!-- ELSEIF forumrow.LAST_POST_SUBJECT_SHORT --><a style="font-weight: bold;" href="{forumrow.U_LAST_POST}" title="{forumrow.LAST_POST_SUBJECT}">{forumrow.LAST_POST_SUBJECT_SHORT}</a><br /><!-- ENDIF -->
{L_POST_BY_AUTHOR} {forumrow.LAST_POSTER_FULL}
<a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a> <br />{L_POSTED_ON_DATE} {forumrow.LAST_POST_TIME}<!-- ELSE -->{L_NO_POSTS}<!-- ENDIF -->
Yes, it's mentioned in the DIY-Instructionsvoice903fm wrote:Duhhh no I didn't. I wasn't aware that I was suppose to. Did I miss that somewhere in the instructions?
It's working now. Thanks.
Code: Select all
$last_post_subject = $row['forum_last_post_subject'];
Code: Select all
if ($row['forum_last_post_id'])
{
$last_post_subject = censor_text($row['forum_last_post_subject']);
$last_post_time = $user->format_date($row['forum_last_post_time']);
$last_post_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id_last_post'] . '&p=' . $row['forum_last_post_id']) . '#p' . $row['forum_last_post_id'];
}
else
{
$last_post_subject = $last_post_time = $last_post_url = '';
}
Just open the install.xmkl with one of your browsers and follow all the Instructions.Dennix wrote:How do I install this?
Ive looked trough 7 pages in this topic now, but I just dont know where to start.
Where do I upload the stuff to that came out of the zip file?
(thanks in advance)
you may takeFliggerty wrote:Hello,
I set out to install this mod, but ran into a small problem with the file edits. I am running phpBB v3.0.0, so I am attempting to install v1.2.3 of this mod.
In the file includes/functions.php, it says to find this line:That line is not found in there anywhere. I suppose I might have changed it with another mod, though I'm not sure which, nor do I remember modifying this part of this file. Anyway, the closest I can find in there looks like this:Code: Select all
$last_post_subject = $row['forum_last_post_subject'];
So where exactly would I insert the new lines here?Code: Select all
if ($row['forum_last_post_id']) { $last_post_subject = censor_text($row['forum_last_post_subject']); $last_post_time = $user->format_date($row['forum_last_post_time']); $last_post_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id_last_post'] . '&p=' . $row['forum_last_post_id']) . '#p' . $row['forum_last_post_id']; } else { $last_post_subject = $last_post_time = $last_post_url = ''; }
Thanks for the help, and thanks for this mod!
--Fligg
Code: Select all
$last_post_subject = censor_text($row['forum_last_post_subject']);