[BS] Regex censor [Deleted]

Unfortunately I can not. My license expired before this version was released 🤷‍♂️



Regex: /https:\/\/www\.domain\.com\/vb\/showthread\.php\?t=([0-9]*)/isu
Replace: https://domain.com/threads/\1
Thank you for this!
What does the 'isu' reference?
Does this already replace signature urls in this case?
 
Unfortunately I can not. My license expired before this version was released 🤷‍♂️



Regex: /https:\/\/www\.domain\.com\/vb\/showthread\.php\?t=([0-9]*)/isu
Replace: https://domain.com/threads/\1
I would be happy to cover the cost of your renewal if it would help.
As I'm now experiencing this as well.
 
I don't know, I'm not interested in comparing add-ons
Oh - good answer. Not. :rolleyes: (n)
1628708281925.png
A little bit more text description at your addon landing page and I doesnt has to ask you. ;)

This add on does not replace content on the database level, but replace when the content is served to the visitor.
Each has its own pros & cons, based on what do you need in your board. :)
Thanks, thats what I have to know. Thanks. :)
Is there any experience of the performance with this addon here?
 
What type of experiences are you looking for with performance?

I haven't measured anything, but multiple forums, it's working well, and I believe it's running on macrumors as well.
So depending on your setup it could be different.


@021 Thank you for the update!
Is there a chance you can help me replace another url?

Old: http://www.domain.co.uk/viewtopic.php?f=12&t=551
new: https://www.domain.co.uk/threads/551

Would it be similar to:
Regex: /https:\/\/www\.domain\.co.uk\/viewtopic\.php\?f=([0-9]*)
Replace: https://www.domain.co.uk/threads/\1
 
Oh - good answer. Not. :rolleyes: (n)
A little bit more text description at your addon landing page and I doesnt has to ask you. ;)
Sorry, I'm not very interested in distributing this add-on. I posted it rather than a tool for those in need, and not as some kind of my product. You won't ask a hammer manufacturer to tell you how their hammer differs from another manufacturer's hammer. This add-on is a hammer, not a full-fledged product that I would like to distribute.


Regex: /http:\/\/(www\.)?domain\.co\.uk\/viewtopic\.php\?f=[0-9]*&t=([0-9]*)/s
Replace: https://www.domain.co.uk/threads/\2
 
Suggestion (which i have added myself in my board, but maybe other users of this add-on need this too) :)

To make regex censor works in conversation message, add 1 more template modification in conversation_message_macros

Search type type : Simple replacement

find :
Code:
bb_code($message.message

replace :
Code:
$0 | bs_regex_censor
 
Last edited:
  • Like
Reactions: arn
We are using your add-on to censor out email addresses, but are looking for a way to bypass the censor somehow?
There is place where we would like to display a list of email addresses...

Thanks!
 
We are using your add-on to censor out email addresses, but are looking for a way to bypass the censor somehow?
There is place where we would like to display a list of email addresses...

Thanks!
You must do some modification to the addons, and the idea is if certain keyword is detected within a post, that post won't be filtered at all by this addon.
 
Top Bottom