Code: Select all
<!-- IF postrow.RANK_TITLE == 'Something' -->
HTML
<!-- ENDIF -->
We used bold and br tags in ranks on 3.1.5 and it worked fine. If that was a bug, then it was a fine one and I need it back in my lifethecoalman wrote: Sat Sep 21, 2024 10:44 pm Input of HTML anywhere hasn't been allowed in phpBB since 2007 with the original release of 3.0 if I recall correctly. If that was possible then it was a bug. You must of either had extension or modification to allow it. There has been extensions/modifications in the past but those were never available here. Because it's security issue we don't allow support for it of any kind.
Try this in template:Code: Select all
<!-- IF postrow.RANK_TITLE == 'Something' --> HTML <!-- ENDIF -->
Code: Select all
<!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd class="profile-rank">{postrow.RANK_TITLE}<!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->
Code: Select all
<!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd class="profile-rank"><strong>{postrow.RANK_TITLE}</strong><br><!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->
It was a small edit, but guess so you are also right with the template filethecoalman wrote: Sat Sep 21, 2024 11:48 pm As I already mentioned there is no support given here for HTML inputs and that applies to asking for it or giving it. Additionally If you are going to go through the effort of editing php files you might as well just do it right in the template.