Raised This Month: $226 Target: $400
 56% 

[ANY] Smart Link Remover


Post New Thread Reply   
 
Thread Tools Display Modes
henk717
Member
Join Date: Jun 2009
Old 12-30-2020 , 16:11   Re: [ANY] Smart Link Remover
Reply With Quote #71

Works nicely on my server, but i did replace the regex with my own.

((?:\\d{1,3}\\.){3}\\d{1,3}|(?:[\\S]+(?:\\.(?!\\d)(?!\\.)[\\S]+))) (Replace \\ with \ if you do not use it hardcoded in the plugin or want to test it elsewhere).

This filter is a bit aggressive, but it catches anything that is connected like websites would have been including IP addresses and removes it outright. So anything connected by a dot without additional spaces gets removed with this regex.
__________________


www.bouncyball.eu - Revolution Coop - Join - Spectate
henk717 is offline
Skippydingledoo
Junior Member
Join Date: Jul 2020
Location: Denmark
Old 01-18-2021 , 06:10   Re: [ANY] Smart Link Remover
Reply With Quote #72

Maybe make it so people needs to blacklist the links/urls instead of whitelisting
Skippydingledoo is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 01-18-2021 , 15:53   Re: [ANY] Smart Link Remover
Reply With Quote #73

Quote:
Originally Posted by Skippydingledoo View Post
Maybe make it so people needs to blacklist the links/urls instead of whitelisting
Plugins like this one (and many others) are typically made to make the life of the server operators easier.

Making it the opposite way, blacklisting instead of whitelisting, would put up more of a burden on the sever operators, as you would likely have to blacklist thousands of websites, which would make the life of the server operators harder, instead of just whitelisting the (e.g. 15) ones that you want people to be able to see.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Tonblader
Senior Member
Join Date: Jul 2011
Location: Peru
Old 01-19-2021 , 07:48   Re: [ANY] Smart Link Remover
Reply With Quote #74

Can add this:
Is it possible to set a player's nickname and not change it?
Save it with your steamuserid
Tonblader is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 03-05-2021 , 15:24   Re: [ANY] Smart Link Remover
Reply With Quote #75

Has anyone managed to fix the BUG from not working the SmartLink_whitelist.cfg file? Even though playres have privileges and access to use the links, they are still removed.
__________________
paulo_crash is offline
Sandervraun
Senior Member
Join Date: May 2019
Old 03-07-2021 , 09:38   Re: [ANY] Smart Link Remover
Reply With Quote #76

Maybe add a flag, so it doesn't remove "Tags" on certain flagged players.. EX if I want to have "admin" in my name.. other players, who do not have my flag, will have it removed.
Sandervraun is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 03-07-2021 , 19:53   Re: [ANY] Smart Link Remover
Reply With Quote #77

Quote:
Originally Posted by Sandervraun View Post
Maybe add a flag, so it doesn't remove "Tags" on certain flagged players.. EX if I want to have "admin" in my name.. other players, who do not have my flag, will have it removed.
Perhaps this already helps you with your problem: https://forums.alliedmods.net/showthread.php?p=2127388
__________________
paulo_crash is offline
digin
Member
Join Date: Nov 2019
Old 05-04-2021 , 11:23   Re: [ANY] Smart Link Remover
Reply With Quote #78

Quote:
Originally Posted by paulo_crash View Post
Has anyone managed to fix the BUG from not working the SmartLink_whitelist.cfg file? Even though playres have privileges and access to use the links, they are still removed.
Quote:
Originally Posted by Andrzej View Post
whitelist doesn't work. Mayby update?
try this one https://github.com/ilyasafr/SmartLinkRemover works on me
digin is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 05-04-2021 , 12:59   Re: [ANY] Smart Link Remover
Reply With Quote #79

Quote:
Originally Posted by digin View Post
Thank you, I sent it to the server already, testing everything here, as soon as possible I bring the feedback.
__________________
paulo_crash is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 05-08-2021 , 22:14   Re: [ANY] Smart Link Remover
Reply With Quote #80

Quote:
Originally Posted by digin 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.
__________________
paulo_crash is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:30.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode