Hi Zoro,

I've updated to 5.x.2.3 and noticed that now the word 'Array' follows the user link in the forum list pages. I've attached a snapshot of the effected area so you can see.

CommentFileSizeAuthor
Picture 1.png2.92 KBoccupant

Comments

daniel.hunt’s picture

Assigned: Unassigned » daniel.hunt

This isn't happening with the exact same code on unreal.ie ...

Are you sure you're using the right version?

snailian’s picture

I get this too. It appears that it's printing "Array" rather than the LastPost icon.

In line 2013:

$rows[] = array('data' => _uieforum_format($Thread->LastPost, $Thread->LastPoster)." ".uieforum_get_thread_link_text_last_post($Thread, _uieforum_icon(null, null, null, 'newpost.gif')), 'class' => 'created');

replace it with:

$rows[] = array('data' => _uieforum_format($Thread->LastPost, $Thread->LastPoster));

And then line 2050:

$lastreply = $ThreadInfo->LastPost ? _uieforum_format($ThreadInfo->LastPost, $ThreadInfo->uid) ." ".uieforum_get_thread_link_text_last_post($ThreadInfo, _uieforum_icon(null, null, null, 'newpost.gif')) : '';

replace with:

$lastreply = $ThreadInfo->LastPost ? _uieforum_format($ThreadInfo->LastPost, $ThreadInfo->uid) : '';

That will remove the word "array", but you still won't have a link to the last post.

It looks like the problem may be with the array $var at the bottom of the function uieforum_get_thread_link_text_last_post() located in functions.inc.php

pomliane’s picture

Status: Active » Closed (won't fix)

This version of UIE Forum is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.