Hello,
some time ago I wanted all the links to open in a different browser.
I found the way to do this overhere: http://www.phpbb.com/kb/article/links-o ... w-windows/
However, I just realized that there a are a couple of links that I would like to open in the exact same browsers (for example links to other topics or posts). Is it possible to add another BBCode for these links and if so, how can I do this? (What should I add to what textarea?)
Thanks a lot for your time.
Marieke
p.s. I use 3.0.7-PL1
BBCode for links
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe exactly what it is you want.
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe exactly what it is you want.
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
Re: BBCode for links
You need to have anchor tags with diffrent targets.
So, your default is that links open in diffrent tabs:
So, your default is that links open in diffrent tabs:
Your new tag has to open tags in same window:URL = <a href="URL" target="_blank"></a>
URL = <a href="URL" target="_self"></a>
Re: BBCode for links
Yes exactly!
However, how do I add a new BBCode for that since I can't 'use' URL again.
Could you please tell me what to add that? (What I should add to the different textareas etc.)
However, how do I add a new BBCode for that since I can't 'use' URL again.
Could you please tell me what to add that? (What I should add to the different textareas etc.)
Re: BBCode for links
Make 2 BBCodes:
BB:
HTML:
Help:
BB:
HTML:
Help:
BB:
Code: Select all
[surl]{URL}[/surl]
Code: Select all
<a href="{URL}" target="_self">{URL}</a>
Display on posting page: YESLink opening on same page: [surl]URL[/surl] or [surl=URL]Display text[/surl]
BB:
Code: Select all
[surl={URL}]{TEXT}[/surl]
Code: Select all
<a href="{URL}" target="_self">{TEXT}</a>
Display on posting page: NO*NONE*
Re: BBCode for links
there was no need to do that, this mod does exactly what you want without having to use bbcodes for the links! it automatically makes them open up in the same window or another window, and super easy to install!
http://www.phpbb.com/community/viewtopi ... 0&t=581660
http://www.phpbb.com/community/viewtopi ... 0&t=581660