I think you are not understanding killer.
Try to post the following links;
http://www.yaldaram.com [error]
http://yaldaram.com [error]
yaldaram.com [no-error]
Here first two shows errors while the rest of two don't throw error. Because first two are using "http://" in there URLs. This plugin restrict the use of http:// in links, because this makes the links "click-able".
In the rest of two links, yaldaram.com is NOT click-able because it is not "click-able", www.yaldaram.com shows error because when you try to post with www , MyBB automatically adds http:// as a prefix of www. which makes the links "click-able".
This plugin is designed to restrict the use of such click-able links, other wise if you restrict the use of even www, then I would have to say that you are going to lose your users by annoying them.
---------
Its a nice suggestion, I've added this in the new version, available for download on the first post.
Try to post the following links;
http://www.yaldaram.com [error]
http://yaldaram.com [error]
www.yaldaram.com
[No-error]yaldaram.com [no-error]
Here first two shows errors while the rest of two don't throw error. Because first two are using "http://" in there URLs. This plugin restrict the use of http:// in links, because this makes the links "click-able".
In the rest of two links, yaldaram.com is NOT click-able because it is not "click-able", www.yaldaram.com shows error because when you try to post with www , MyBB automatically adds http:// as a prefix of www. which makes the links "click-able".
This plugin is designed to restrict the use of such click-able links, other wise if you restrict the use of even www, then I would have to say that you are going to lose your users by annoying them.
---------
(2010-12-27, 01:37 PM)killer Wrote: I'm not a programmer but I just made some edit in your plugin to complete my request, that to add number of posts in warning message.
I replaced
$post->set_error(sprintf("You cannot post clickable links to this forum threads and posts.", "No Links Allowed"));
$post->set_error(sprintf("You cannot post clickable links to this forum threads and posts. Unless you have ".$posts." posts", "No Links Allowed"));
Its a nice suggestion, I've added this in the new version, available for download on the first post.