Posted January 17, 20178 yr Hi, I would like to insert notes für guests in each first post of a topic after a specific number of characters. For example after 255 characters of the post. It would be great if somebody could help with the code, that I have to put in postContainer template (?) to realize that. Many thanks in advance! Mark
January 17, 20178 yr Community Expert The posts are now full HTML. You can’t just cut it off after a certain amount of characters. That could break the page terribly. You can hide entire posts though, like this plugin does nicely:
January 17, 20178 yr Author 18 minutes ago, opentype said: The posts are now full HTML. You can’t just cut it off after a certain amount of characters. That could break the page terribly. Thanks for your answer. So no way ... ? Hide entire posts is no option for me, just a note after a few lines.
January 17, 20178 yr Community Expert You can hide lines with CSS, if that helps you. The IPS 4 framework offers that. <div data-ipstruncate data-ipstruncate-type="remove" data-ipstruncate-size="2 lines"> This post gets cut off if it gets longer than 2 lines </div>
January 17, 20178 yr 8 minutes ago, mark007 said: Thanks for your answer. So no way ... ? Hide entire posts is no option for me, just a note after a few lines. I'll have a think about adding this to the above plugin.
Archived
This topic is now archived and is closed to further replies.