Solved What's up with not being able to post simple replies?

There is an addon for this but it costs $45.
I guess that might be the one I mentioned in Post #12

I thought if you were already using such an addon then you may have missed the whitelist capability - but now we know you're not using one.

All these always come with extra wallet pressure 😖
 
I did miss that addon because I use dark theme and the links don't show up unless you hover over them. Long story why that is the case now. And I will have to remove that link because it goes to a website for pirate software.

There is no budget for any addons anymore. Post-Covid, advertising revenue for the site is now a tiny fraction of what it was and so the only direction I am looking at is downgrading the hosting costs.
 
Something like this should get you quite far:
Code:
/(([http|ftp|file|mailto|imap|tel|ldap]s?):\/\/(?!(www.)?access-programmers.co.uk)[\w\.\/\-=?#]+)/i
(based on the pattern in Philipp's link)
I think it certainly deserves a test, don't you?
 
I think it certainly deserves a test, don't you?
The only problem is that it won't match straight urls's like www.spamsite.com - the offending text needs to include the protocol and ://

Whether that is a real issue, I don't know. It depends on at which point the spam filter runs the check.

Does it occur after whatever other forum code has run to turn what it sees as a url into an actual html link? In which case it doesn't matter as the protocol will have been added.

If not (which I suspect is the case) then extra checks will be required and may override the above pattern anyway.

I was limited for time yesterday, so only did quick testing. RegExp is a dark art to me where I am never really certain that the pattern will do exactly what I want!

If I have time later I will look at seeing if I can improve it.
 
Out of interest how long until a user can post links? I think it is a good measure & is required, quite frustrating sometimes, I'm 50 or so posts in & still unable to link :eek:.
Internal links or external?
 
You need 100 posts. We had spammers hacking old accounts and dropping links and many of those users had 30 - 100 posts.
 

Users who are viewing this thread

Back
Top Bottom