07-22-2006, 09:36 AM
|
#2 |
| | | | The simplest way would be to add a if(){filter} in private.php, after the PM is checked for basic errors. Then add the option to the User Groups or to make based on each user, add it to the User Permissions. You might be able to make it as a plug in, but plug ins are really dumb, because they process more data then just doing a full stop when a violation you have setup takes place.
This afternoon I am going to do some work on one of my clients boards that is running 3.5.4, I will have look at how something like this can be implemented and post some code so you can do it! You will need to add another table in your database, so the filter can store domain names and ip(s) of sites that the filter should or should not filter as being in violation of your linking rules! If you don't want to add a table for this, then a file could also be used!
demo
| |