TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 29, 2024, 09:53:45 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,173
  • Total Topics: 21,219
  • Online today: 152
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 73
  • Total: 73

If this character & is included in the topic title, then on the block of recent.

Started by @rjen, April 25, 2021, 08:49:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lurkalot

Rolled back to 2.0.17, if you look at the recent block the issue is gone, or it is for me.

tino

I can see that also. It's a clean install of 2.0.18 as I trashed all my old instances of TinyPortal on SMF recently. Although that shouldn't make a difference.

tino

Can you edit TPsubs.template.php on here and change short_subject in the TPortal_recentbox function to subject?

lurkalot

Thanks, I don't think I have a clean install of 2.0.18 to test this atm, I will do that soon though now you've mentioned it. ;)

I'll install the 2.0.18 patch on here again now. ;)

Quote from: tino on May 02, 2021, 07:07:25 PM
Can you edit TPsubs.template.php on here and change short_subject in the TPortal_recentbox function to subject?

Yep will give it a go. ;)

lurkalot

echo '
<a href="' . $w['href'] . '" title="' . $w['subject'] . '">' . $w['short_subject'] . '</a>
', $txt['by'], ' <b>', $w['poster']['link'],'</b> ';
if (!(TP_SMF21) && ($w['is_new']))


Tino, did you mean change 'short_subject' to just 'subject' or did you actually mean 'subject?'

tino

Change the name short_subject to subject

So $w['subject'], there's two instances in there to change I think.

lurkalot

Quote from: tino on May 02, 2021, 07:38:32 PM
Change the name short_subject to subject

So $w['subject'], there's two instances in there to change I think.

Thanks, yes there is two.  ;)

lurkalot

Quote from: tino on May 02, 2021, 07:38:32 PM
Change the name short_subject to subject

So $w['subject'], there's two instances in there to change I think.

OK, done.  You can see it fixed that issue, but the title is pretty long in the recent block now.  ;)

tino

Quote from: lurkalot on May 02, 2021, 07:45:28 PM
Quote from: tino on May 02, 2021, 07:38:32 PM
Change the name short_subject to subject

So $w['subject'], there's two instances in there to change I think.

OK, done.  You can see it fixed that issue, but the title is pretty long in the recent block now.  ;)

Thought it might, it's a SMF issue then.

lurkalot

Quote from: tino on May 02, 2021, 07:53:23 PM

Thought it might, it's a SMF issue then.


Thanks Tino. But when you say it's a SMF issue, do you mean it's a bug they have caused in SMF? or just something they have changed and we need to adapt TP for going forward?

Also you said it doesn't seem to happen with a clean install of 2.0.18, so is this something relevant only to the 2.0.18 patch they released?