Notifications
Clear all

wpForo 1.x.x [Closed] External Links

7 Posts
3 Users
0 Reactions
1,168 Views
Posts: 9
Topic starter
(@mpearson65)
Active Member
Joined: 4 years ago

Hello, I want to be certain that users never add a link in a forum that does not open in another tab. It seems this is not possible with the settings available (unless I missed it)? Please let me know if that is the case. If so, then my options would be to replace the current wysiwyg editor with a different one or ask my developer to make the changes to the links on the backend.

Thanks for your help!

6 Replies
dimalifragis
Posts: 2615
(@dimalifragis)
Famed Member
Joined: 4 years ago

https://wpforo.com/community/?wpfs=external+links

You can't replace the html editor (Tinymce) with something else.

Posts: 9
Topic starter
(@mpearson65)
Active Member
Joined: 4 years ago

Hi, I did find some good ones out there with excellent API documentation. I don't foresee any issues with replacing it within this plugin. Please let me know if that is not the case.

dimalifragis
Posts: 2615
(@dimalifragis)
Famed Member
Joined: 4 years ago

Not sure i understand what API is needed. Force all links to open to a new tab and that's it. Unless i didn't not understood your question right.

What plugin is this?

Robert
Posts: 10589
Admin
(@robert)
Support Team
Joined: 9 years ago
Posted by: @mpearson65

Hello, I want to be certain that users never add a link in a forum that does not open in another tab.

Could you please explain it simpler? So you want all URLs to be opened in a new tab? At this moment all external URLs are opened in new tab, only internal (URLs within your site) are opened in the same tab.

2 Replies
(@mpearson65)
Joined: 4 years ago

Active Member
Posts: 9

@robert Hi Robert, yes, I just want all URL’s to open a new tab. I don’t want any direct linking from the site (if it’s a link to my site that is fine). However, when a user clicks to add a link, they get to choose if they want the link to open in a new tab or not (option for target - new window). I just want to default to a new window (target=“_blank”) so that users cannot choose. Thanks!

Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10589

@mpearson65,

You can hide that checkbox (Open in a new tab) using CSS. Insert this CSS code in Dashboard > Forums > Settings > Styles > Custom CSS Code textarea, save it, delete all caches, go to forum front-end and press Ctrl+F5:

.mce-container-body.mce-abs-layout .mce-checkbox.mce-abs-layout-item.mce-last.mce-checked{
     display:none!important;
}