Page 1 of 1
Feature Request: Deny URL
Posted: 31 Aug 2009, 14:30
by Momo_102
Hi,
Your guestbook component is very good, but I miss a feature.
Parameter Deny Links: Yes/No
If Yes: Test Title and Content if there exist any hyperlinks. In that case don't allow saving and throw an error message.
If've done the test with the search of following words:
href=
www.
.html
.htm
.asp
.aspx
.php
http:
https:
With that check i was able to run a guestbook without SPAM and without using captcha.
Best regards,
Momo_102
Re: Feature Request: Deny URL
Posted: 08 Sep 2009, 15:27
by Arco
That would be great to have! I noticed that many people also put links to their own websites and projects in the guestbook message, which I don't want. It's a guestbook, if you have something nice to say, please do so, but promote your links on websites that are intended to serve that purpose.
Another handy feature would be to remove empty lines at the end of a message. For some reason people often press Enter to add a blank line (some even manage to enter several blank lines...).
Re: Feature Request: Deny URL
Posted: 08 Sep 2009, 19:11
by Jan
Hi, you can set how many links will be displayed in message, so you can set it to zero, so no links will be displayed.
Jan
Re: Feature Request: Deny URL
Posted: 09 Sep 2009, 01:05
by Arco
Hi Jan,
Thanks for your reply. I have set it to 0 (zero), but it only removes the hyperlink. The text (i.e. "
www.domain.com") is still visible, it's just not clickable anymore. If it's possible to add an option that forbids users to enter links to other websites, that would be great!
Re: Feature Request: Deny URL
Posted: 12 Sep 2009, 22:16
by Jan
Hi, no there is no such option, so this needs to be customized
Jan
Re: Feature Request: Deny URL
Posted: 22 Sep 2009, 13:07
by Momo_102
If you like, I do the changes and send back the patch.
Regards,
Momo_102
Re: Feature Request: Deny URL
Posted: 23 Sep 2009, 20:09
by Jan
Ok
Re: Feature Request: Deny URL
Posted: 27 Sep 2009, 23:27
by Momo_102
Done.
I copied the original files (.orig). You can download the modified version from:
http://web8.hostbaar.ch/download/com_ph ... enyurl.zip
Hope to find these changes in your next version
If you have any question you can drop me a PM in this forum.
Regards,
Momo_102
Re: Feature Request: Deny URL
Posted: 05 Oct 2009, 22:05
by Jan
Hi, thank you for this file.
Jan