Log in

View Full Version : Mini Mods - Forum Links In New Tabs


borbole
08-08-2010, 10:00 PM
This will make that all the forums that you will turn into redirected links, to open in a new window.

At forumhome_forumbit_level2_post template, find the following code:

<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>

And replace it with:

<vb:if condition="$forum['link']">
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}" target="_blank">{vb:raw forum.title}</a></h2>
<vb:else />
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
</vb:if>

Dr.osamA
08-10-2010, 03:45 AM
installed

thanxx man

keep it up

borbole
08-10-2010, 11:22 AM
Thanks :)

BUDIMAN
08-14-2010, 12:10 PM
what about if i want to make the subforum ( child forum ) open in new windows ?

borbole
08-15-2010, 02:26 PM
what about if i want to make the subforum ( child forum ) open in new windows ?

Make the same changes as described above at the forumhome_forumbit_level1_post template as well.

Blessewe
10-01-2010, 04:04 PM
Thank you! Thank you! Thank you! You are Awesome...

borbole
10-01-2010, 04:07 PM
Thank you! Thank you! Thank you! You are Awesome...

You are most welcome. Glad to see that it came in handy to you :)

zonaenlinea
10-01-2010, 05:15 PM
what effect does that in 4.0.7 do not see where I have to give to see what that does ise indicating funka not

borbole
10-01-2010, 06:07 PM
what effect does that in 4.0.7 do not see where I have to give to see what that does ise indicating funka not

I am sorry but I idn''t quite understand what you meant.

tattooz
10-08-2010, 05:02 PM
Just what I was looking for. Thanks

borbole
10-08-2010, 07:00 PM
Just what I was looking for. Thanks

You are welcome :)

robbiefritz
11-10-2010, 03:59 PM
Fantastic! Two thumbs up borbole.

saadessa
11-10-2010, 05:30 PM
any demo please

hyperviperx99
09-24-2011, 09:43 PM
I don't understand what this does, but I would like to know.

Please clarify

ar15dcm
04-17-2012, 08:50 AM
Hi,

I have a forum catagory called LINKS with 3 sub-forums. Each of the sub forums have "forum links". Once the mod is applied the first sub-forum links work. However the other two do not.

www.riflecompetition.com
LINKS > AFFILIATES does work
LINKS> RANGES and COMPETITIVE ORGANIZATIONS do no work.

I am going to revert until I hear back from you. Thank you for your assistance.

Dean