News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Error with TPortal mod

Started by nanoarray, February 27, 2005, 04:12:17 PM

Previous topic - Next topic

nanoarray

When I use "
" codes, the posting looks fine.   But when I go to the frontpage, the posting shows those "
" codes in the message.  On the other hand, if I use "[list'][li]", the codes don't show up in the posting on the frontpage.

bloc

Thats because the blocks are parsed for UBBC codes and smilies, while articles are not.

Why that last one don't work, could be of the apostrophe in there.

nanoarray

I put apostrophe with "list", otherwise it won't show up here.

My real problem is with "table".  When the posting shows up in the frontpage, the table codes
also show up.  But if you go to the posting itself, the message is in a table format without the codes showing up--this is how it should be and what I want.

nanoarray

I'll give an example what I mean.


Date:  XXX
Where: XXX
So the message is in a table format and this is what I see if I go to that posting itself.  But when I go to the frontpage, the following shows up instead.


[table]
[tr]
[td]Date:[/td][td]XXX[/td]
[/tr]
[tr]
[td]Where:[/td][td]XXX[/td]
[/tr]
[/table]
This is what I see on the frontpage.  The codes show up along with the message, which is incorrectly handled by the program.

nanoarray

Can someone post this code into your forum and see if it shows up correctly on the frontpage?  Thanks.


[table]
[tr]
[td]Location:[/td][td]XXX[/td]
[/tr]
[tr]
[td]Venue:[/td][td]XXX[/td]
[/tr]
[tr]
[td]Organizer:[/td][td]XXX
#1234 Rd.
XXX, XX V6J 1V8
XXX
[/td]
[/tr]
[tr]
[td]Website:[/td][td]www.xxx.com[/td]
[/tr]
[/table]

bloc

Ah, I see why this is happening..if you have turned on the "Length of posts to show on frontpage(in charachters):" to a set length, it will truncate the message, meaning if a start [ table ] gets its closing tag cut off, it will not render the table, but the codes as text instead.

I will see if I can provide a workaround for this.

Advertisement: