I have a phpBB board 3 with prosilver style.
When a user clicks on a link in a post the browser will open it in the same tab. Is it possible that I can change it, so that the browser opens the links in a new tab or window?
To complete Steve's answer, if you only want alter links in a post, you only have to edit the bbcode.html
file.
phpBB/styles/prosilver/template/bbcode.html
file,Search (line 26 on last version) :
<!-- BEGIN url --><a href="{URL}" class="postlink">{DESCRIPTION}</a><!-- END url -->
Replace it with :
<!-- BEGIN url --><a href="{URL}" target="_blank" class="postlink">{DESCRIPTION}</a><!-- END url -->
I hope to be helpful,
(Sorry for my language, I'm not fluent in English)
Location file : https://github.com/phpbb/phpbb/blob/develop-ascraeus/phpBB/styles/prosilver/template/bbcode.html