View Single Post
digin
Member
Join Date: Nov 2019
Old 05-11-2021 , 02:37   Re: [ANY] Smart Link Remover
Reply With Quote #82

Quote:
Originally Posted by paulo_crash View Post
I think you got it fixed in part, come on.

I configured SmartLink_whitelist.cfg as follows:
PHP Code:
"SmartLinkRemover Whitelist"
{
    
"twitch.tv"                                            "a"
    "youtube.com"                                        "a"
    "twitter.com"                                        "a"

Players that enter links in the nick, no matter what the link is removed, so far so good.

Player with privileges, who enters the link of this whitelist will, but will only go if the link is exactly the same.

Example, I left my nick crashzk | twitch.tv/crashzk, it removes the entire link leaving only crashzk.

You would have to put the complete link to work on the whitelist, or that would be a BUG, ​​just putting the main domain should work for everyone who was going to use this link and had privileges to use it.
I don't think it's a bug, but that's how the regex works in that plugin
digin is offline