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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 341
  • Total: 341

[bugtracker] RSS Feeds in Blocks Not Rendering Graphic/Icon

Started by Bryan, March 11, 2009, 03:08:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bryan

See: http://www.tinyportal.net/index.php/topic,28756.msg229285.html#msg229285

Block RSS feeds in TP 1.0 beta 3 do not show graphic/icon at all in Firefox and Chrome, while IE shows a broken image icon.

bloc

- RSS block did not interpret image tag in RSS feeds properly.Fixed for TP v1.0 beta 4.

Open up TPmodules.php and find:
printf("<img src='%s' alt='' style='margin: 0;' />", trim($tpimage));

and replace with:
printf("<a href='%s'><img src='%s' alt='%s' /></a>", trim($link),trim($curl),htmlspecialchars(trim($title)));

This website is proudly hosted on Crocweb Cloud Website Hosting.