Posts: 893
Threads: 49
Joined: Jun 2009
Reputation:
44
Description
This is a pretty basic plugin that edits external URLs (ones that go outside of your forum) in posts to redirect the user to a "notification" page. The user is notified that they are leaving your site and can either click back or continue to the destination site.
Download
http://community.mybb.com/mods.php?action=view&pid=493
Support
You can ask questions here or on our
IcyBoards Community Forums.
Screenshots
RedHat Certified Systems Administrator
Posts: 893
Threads: 49
Joined: Jun 2009
Reputation:
44
2015-05-20, 07:18 PM
(This post was last modified: 2015-05-20, 07:56 PM by spork985.)
Yes. It didn't work right when I tried it and a few people on IcyBoards wanted the plugin. I can't remember what the problems were that I was having. I can set it up again if that would help and provide details in your thread.
RedHat Certified Systems Administrator
Posts: 893
Threads: 49
Joined: Jun 2009
Reputation:
44
2015-05-21, 12:23 PM
(This post was last modified: 2015-05-21, 12:23 PM by spork985.)
That's a good point, thanks. It looks like MyBB appends a "target='_blank'" (open link in new tab) by default to links. I suppose one should update the text to day "Otherwise, please close this page". This can be done in the "Global Templates > iblinkwarning" template.
RedHat Certified Systems Administrator
Posts: 893
Threads: 49
Joined: Jun 2009
Reputation:
44
2015-05-22, 11:31 AM
(This post was last modified: 2015-05-22, 11:31 AM by spork985.)
(2015-05-22, 06:08 AM)Omar G. Wrote: IMO bburl and homeurl should be forced to be white-listed independent of the setting and I would explode iblinkwarning_domains outside the foreach loop but other than that there is nothing specially wrong with it. Luck.
I agree, thank you for the feedback. A new build has been uploaded with the following changes:
1) Added bburl and homeurl to whitelist by default
2) Moved explode outside of for loop
3) Changed text on redirect page
http://community.mybb.com/mods.php?action=view&pid=493
RedHat Certified Systems Administrator