View Single Post
Old 10 Nov 2016, 18:34
noypiscripter's Avatar
noypiscripter noypiscripter is offline
Join Date: Aug 2013
I think what the OP wants is to prevent users from pasting any link in the post and not just posting Link content type via the Link icon (next to the Camera icon) in the editor.

With lack of PHP hook locations, this will require hacking the createcontent.php frontend controller to parse the post content and remove all URLs before calling the API to save the post.
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer

GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic
Reply With Quote