Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted November 2, 20222 yr Spammers appear to have picked up a new trick by undoing hyperlink formatting in their posts making it harder for people to report those spam posts. The links look like normal inline text. Is there a way to prevent users from changing the default <a> formatting on the forums so they can't mask hyperlinks?
November 4, 20222 yr I would need more information as to what exactly they are changing. Also, does the group have the "can post html" setting switched on? If so, that should be switched off
January 20, 20241 yr Author On 11/4/2022 at 8:58 AM, Marc Stridgen said: I would need more information as to what exactly they are changing. Also, does the group have the "can post html" setting switched on? If so, that should be switched off Apologies for the delay here. Posting HTML is off as far as we can tell for any non-admin group. Is there a way to force the formatting of any link? We just need to be able to spot it easier. I figure it's something I likely need to edit in the template? They will also format it to look like the inline text of the post. Any pointers or tips are appreciated. Thank you for your time and assistance. Edited January 20, 20241 yr by The Britain
January 21, 20241 yr Author Solution For anyone else that runs into this, I dropped this at the bottom of my custom.css to force a style on links in comments/posts. Currently, when they edit the format IPB uses <span> to do inline styling. This should override it. Not responsible for any issues this causes: .cPost .ipsComment_content .ipsType_richText a span { color:yourcolorhere !important; } .cPost .ipsComment_content .ipsType_richText a { text-decoration:underline !important; } Edited January 21, 20241 yr by The Britain