XF 2.2 How to edit profile post "write something" text?

duderuud

Well-known member
We get quite a few profile comments that are (probably) meant to be private messages.

So I would like the prefilled "write something" text in the profile post comment textbox a bit more expplanatory. How can I edit that text? It cannot be done with phrasing...

profilepost.webp
 
The placeholder text is provided by the phrase write_something. The trailing ellipsis is hard-coded into the profile_post_macros template, so you would need to edit the template too if you wanted to adjust that.
 
The placeholder text is provided by the phrase write_something. The trailing ellipsis is hard-coded into the profile_post_macros template, so you would need to edit the template too if you wanted to adjust that.
or
That all said, you don't have to edit the template.

Notice how the ellipsis or the colon is actually part of the phrase name. That's because it is a modifier. That ... isn't actually what appears in the phrase. It's actually this . We see that ... (dot dot dot) and replace it with (horizontal ellipsis character). So where does the come from?

It comes from your language. If you edit your language, e.g. the "English (US)" language you will see there's an entry for the "Ellipsis character". Empty that out and save it, and that should remove them all, automatically.
 
Yeah, though worth noting that adjusting it in the language will change the ellipsis display everywhere. If you simply wanted to add/remove it for a single usage, you'd need to edit the corresponding template.
 
Back
Top Bottom