Jump to content


Photo

t_read replacement


We still reference t_read in the database templates, but, that replacement has been removed.. or.. Rather, isn't included in IPB anymore.

So.. If you installed Content on a forum that started out as 3.1.4 or lower, you have an icon showing.

If you installed content on a forum that wasn't started until 3.2.0 or higher, you have no icon showing.

This is for database listing template, but.. might be other places as well

Status: Fixed
Version: 2.3.6
Fixed In: 0


8 Comments

Updating Fixed In to: 0
Updating Status to: Not a Bug
Updating Version to: 0

skin_global_other -> generateTopicIcon (the method used to generate the icon for topics) still uses the same replacements. We will continue to use the same methods used by topics.

<if test="topicUnreadDot:|:$imgArray['show_dot']">
        {parse replacement="t_unread_dot"}
    <else />
        {parse replacement="t_unread"}
    </if>

Besides - best I can tell you're wrong. This is in the replacements file in SVN right now

't_unread'            => "<img src='{style_image_url}/t_unread.png' alt='{lang:pm_open_new}' /><br />",
't_unread_dot'        => "<img src='{style_image_url}/t_unread_dot.png' alt='{lang:you_posted_here}' /><br />",
Photo
Marcher Technologies
Aug 08 2012 03:17 PM
<if test="!$record['_isRead']">
{parse replacement="t_unread"}
<else />
{parse replacement="t_read"}
</if>
he is not wrong,
database listing, demosite.xml, therefore stock.... as a side note, it would be actually nice to have t_unread_dot properly shown.
I didn't say he was wrong that we're using those - I said he's wrong that the forums AREN'T using those. The forums still use those, and they're still defined in the replacements file.
Photo
Marcher Technologies
Aug 10 2012 08:30 AM

I didn't say he was wrong that we're using those - I said he's wrong that the forums AREN'T using those. The forums still use those, and they're still defined in the replacements file.

t_read is not defined, it is only present on an upgraded from 3.1.4 install.
't_read_dot' => "<img src='{style_image_url}/t_read_dot.png' alt='{lang:you_posted_here}' title='{lang:you_posted_here}' /><br />",
't_unread' => "<img src='{style_image_url}/t_unread.png' alt='{lang:pm_open_new}' /><br />",
't_unread_dot' => "<img src='{style_image_url}/t_unread_dot.png' alt='{lang:you_posted_here}' /><br />",
this has been such since 3.2 IPB has it not? :unsure:
Updating Status to: Confirmed - Skin Issue

Errrr....it appears this report has confused me.

I guess we can simply remove the call to "t_read" if it's an issue for some reason.
Updating Fixed In to: 2.3.3
Updating Status to: Fixed
Updating Version to: 2.3.2

-
Photo
Ryan Ashbrook
Sep 16 2013 11:31 AM
Updating Fixed In to: 0
Updating Status to: Confirmed - General
Updating Version to: 2.3.6

This has apparently made it's way back in.

Photo
Ryan Ashbrook
Sep 16 2013 11:34 AM
Updating Status to: Fixed

-